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