25 #ifndef YTimezoneSelector_h 26 #define YTimezoneSelector_h 50 const std::string &pixmap,
51 const std::map<std::string, std::string> &timezones );
63 virtual const char *
widgetClass()
const {
return "YTimezoneSelector"; }
75 virtual bool setProperty(
const std::string & propertyName,
102 virtual void setCurrentZone(
const std::string &zone,
bool zoom ) = 0;
110 #endif // YMultiProgressMeter_h Transport class for the value of simple properties.
A set of properties to check names and types against.
virtual ~YTimezoneSelector()
Destructor.
virtual bool setProperty(const std::string &propertyName, const YPropertyValue &val)
Set a property.
A fancy widget with a world map.
virtual const YPropertySet & propertySet()
Return this class's property set.
virtual std::string currentZone() const =0
subclasses have to implement this to return value
virtual YPropertyValue getProperty(const std::string &propertyName)
Get a property.
virtual void setCurrentZone(const std::string &zone, bool zoom)=0
subclasses have to implement this to set value
virtual const char * widgetClass() const
Return a descriptive name of this widget class for logging, debugging etc.
YTimezoneSelector(YWidget *parent, const std::string &pixmap, const std::map< std::string, std::string > &timezones)
Constructor.