kysdk-qtwidgets/test/testLunarDateEdit/widget.h
raw| 1 | #ifndef WIDGET_H |
| 2 | #define WIDGET_H |
| 3 | |
| 4 | #include "klunardateedit.h" |
| 5 | #include <QCheckBox> |
| 6 | #include <QWidget> |
| 7 | |
| 8 | using namespace kdk; |
| 9 | |
| 10 | class Widget : public QWidget |
| 11 | { |
| 12 | Q_OBJECT |
| 13 | public: |
| 14 | Widget(QWidget *parent = nullptr); |
| 15 | ~Widget(); |
| 16 | |
| 17 | private slots: |
| 18 | void on_checkBox_clicked(bool checked); |
| 19 | |
| 20 | private: |
| 21 | QCheckBox *m_pLunarCheckBox; |
| 22 | KLunarDateEdit *m_pLunarDateEdit; |
| 23 | }; |
| 24 | |
| 25 | #endif // WIDGET_H |