libyui-qt
Loading...
Searching...
No Matches
YQTimezoneSelector Class Reference
Inheritance diagram for YQTimezoneSelector:
Collaboration diagram for YQTimezoneSelector:

Public Member Functions

 YQTimezoneSelector (YWidget *parent, const std::string &timezoneMap, 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

YQTimezoneSelectorPrivated

Constructor & Destructor Documentation

◆ YQTimezoneSelector()

YQTimezoneSelector::YQTimezoneSelector ( YWidget * parent,
const std::string & timezoneMap,
const std::map< std::string, std::string > & timezones )

Constructor.

◆ ~YQTimezoneSelector()

YQTimezoneSelector::~YQTimezoneSelector ( )
virtual

Destructor.

Member Function Documentation

◆ currentZone()

string YQTimezoneSelector::currentZone ( ) const
virtual

subclasses have to implement this to return value

◆ preferredHeight()

int YQTimezoneSelector::preferredHeight ( )
virtual

Preferred height of the widget.

Reimplemented from YWidget.

◆ preferredWidth()

int YQTimezoneSelector::preferredWidth ( )
virtual

Preferred width of the widget.

Reimplemented from YWidget.

◆ setCurrentZone()

void YQTimezoneSelector::setCurrentZone ( const std::string & zone,
bool zoom )
virtual

subclasses have to implement this to set value

◆ setSize()

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

Set the new size of the widget.

Reimplemented from YWidget.


The documentation for this class was generated from the following files:
  • /builddir/build/BUILD/libyui-4.6.2-build/libyui-4.6.2/libyui-qt/src/YQTimezoneSelector.h
  • /builddir/build/BUILD/libyui-4.6.2-build/libyui-4.6.2/libyui-qt/src/YQTimezoneSelector.cc