26 #ifndef YQTimezoneSelector_h 27 #define YQTimezoneSelector_h 30 #include <yui/YTimezoneSelector.h> 43 const std::string & pixmap,
44 const std::map<std::string,std::string> & timezones );
70 virtual void setSize(
int newWidth,
int newHeight );
72 virtual void paintEvent( QPaintEvent *event );
74 virtual void mousePressEvent ( QMouseEvent * event );
76 virtual bool event(QEvent *event);
97 #endif // YQTimeField_h
virtual int preferredHeight()
Preferred height of the widget.
virtual void setSize(int newWidth, int newHeight)
Set the new size of the widget.
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.
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