libyui-qt
2.43.5
|
Public Member Functions | |
YQTimezoneSelector (YWidget *parent, const std::string &pixmap, const std::map< std::string, std::string > &timezones) | |
virtual | ~YQTimezoneSelector () |
virtual int | preferredWidth () |
virtual int | preferredHeight () |
virtual void | setSize (int newWidth, int newHeight) |
virtual void | paintEvent (QPaintEvent *event) |
virtual void | mousePressEvent (QMouseEvent *event) |
virtual bool | event (QEvent *event) |
virtual std::string | currentZone () const |
virtual void | setCurrentZone (const std::string &zone, bool zoom) |
Protected Slots | |
void | slotBlink () |
Protected Attributes | |
YQTimezoneSelectorPrivate * | d |
Definition at line 34 of file YQTimezoneSelector.h.
YQTimezoneSelector::YQTimezoneSelector | ( | YWidget * | parent, |
const std::string & | pixmap, | ||
const std::map< std::string, std::string > & | timezones | ||
) |
Constructor.
Definition at line 112 of file YQTimezoneSelector.cc.
YQTimezoneSelector::~YQTimezoneSelector | ( | ) | [virtual] |
Destructor.
Definition at line 167 of file YQTimezoneSelector.cc.
std::string YQTimezoneSelector::currentZone | ( | ) | const [virtual] |
subclasses have to implement this to return value
Definition at line 331 of file YQTimezoneSelector.cc.
int YQTimezoneSelector::preferredHeight | ( | ) | [virtual] |
Preferred height of the widget.
Reimplemented from YWidget.
Definition at line 180 of file YQTimezoneSelector.cc.
int YQTimezoneSelector::preferredWidth | ( | ) | [virtual] |
Preferred width of the widget.
Reimplemented from YWidget.
Definition at line 174 of file YQTimezoneSelector.cc.
void YQTimezoneSelector::setCurrentZone | ( | const std::string & | zone, |
bool | zoom | ||
) | [virtual] |
subclasses have to implement this to set value
Definition at line 349 of file YQTimezoneSelector.cc.
void YQTimezoneSelector::setSize | ( | int | newWidth, |
int | newHeight | ||
) | [virtual] |
Set the new size of the widget.
Reimplemented from YWidget.
Definition at line 186 of file YQTimezoneSelector.cc.