libyui-qt  2.49.2
YQTimezoneSelector Class Reference
Inheritance diagram for YQTimezoneSelector:
Collaboration diagram for YQTimezoneSelector:

Public Member Functions

 YQTimezoneSelector (YWidget *parent, const std::string &pixmap, const std::map< std::string, std::string > &timezones)
 Constructor.
 
virtual ~YQTimezoneSelector ()
 Destructor.
 
virtual int preferredWidth ()
 Preferred width of the widget. More...
 
virtual int preferredHeight ()
 Preferred height of the widget. More...
 
virtual void setSize (int newWidth, int newHeight)
 Set the new size of the widget. More...
 
virtual void paintEvent (QPaintEvent *event)
 
virtual void mousePressEvent (QMouseEvent *event)
 
virtual bool event (QEvent *event)
 
virtual std::string currentZone () const
 subclasses have to implement this to return value
 
virtual void setCurrentZone (const std::string &zone, bool zoom)
 subclasses have to implement this to set value
 

Protected Slots

void slotBlink ()
 

Protected Attributes

YQTimezoneSelectorPrivated
 

Detailed Description

Definition at line 34 of file YQTimezoneSelector.h.

Member Function Documentation

◆ preferredHeight()

int YQTimezoneSelector::preferredHeight ( )
virtual

Preferred height of the widget.

Reimplemented from YWidget.

Definition at line 181 of file YQTimezoneSelector.cc.

◆ preferredWidth()

int YQTimezoneSelector::preferredWidth ( )
virtual

Preferred width of the widget.

Reimplemented from YWidget.

Definition at line 175 of file YQTimezoneSelector.cc.

◆ setSize()

void YQTimezoneSelector::setSize ( int  newWidth,
int  newHeight 
)
virtual

Set the new size of the widget.

Reimplemented from YWidget.

Definition at line 187 of file YQTimezoneSelector.cc.


The documentation for this class was generated from the following files: