00001 #ifndef TIMEFORMATWIDGET_H 00002 #define TIMEFORMATWIDGET_H 00003 00004 #include <QWidget> 00005 class QComboBox; 00006 class Ui_TimeDateFormatWidgetPrototype; 00007 00008 class TimeFormatWidget : public QWidget 00009 { 00010 Q_OBJECT 00011 00012 public: 00013 TimeFormatWidget( QWidget* parent ); 00014 ~TimeFormatWidget(); 00015 QString resultString() const; 00016 int correctValue() const; 00017 QComboBox *combo1(); 00018 QComboBox *combo2(); 00019 public slots: 00020 void updateLabel(); 00021 void comboActivated(); 00022 void slotPersonalizeChanged(bool b); 00023 void slotDefaultValueChanged(const QString & ); 00024 void slotOffsetChanged(int); 00025 00026 private: 00027 Ui_TimeDateFormatWidgetPrototype* m_ui; 00028 }; 00029 00030 #endif // TIMEFORMATWIDGET_H