datetimedialog.h 912 B

1234567891011121314151617181920212223242526272829
  1. #ifndef DATETIMEDIALOG_H
  2. #define DATETIMEDIALOG_H
  3. #include "../dialog.h"
  4. #include <QJsonObject>
  5. #include <QLineEdit>
  6. #include <QCheckBox>
  7. #include <QPushButton>
  8. #include <QRadioButton>
  9. class DateTimeDialog : public Dialog {
  10. public:
  11. DateTimeDialog(QJsonObject* cfgObj);
  12. virtual void setPaneContents() override;
  13. void prepareToSave(QLineEdit* timeFormatLineEdit,
  14. QCheckBox* showDateCheckBox,
  15. QLineEdit* dateFormatLineEdit,
  16. QCheckBox* weekNumbersCheckBox,
  17. QRadioButton* mondayRadioButton,
  18. QRadioButton* tuesdayRadioButton,
  19. QRadioButton* wednesdayRadioButton,
  20. QRadioButton* thursdayRadioButton,
  21. QRadioButton* fridayRadioButton,
  22. QRadioButton* saturdayRadioButton);
  23. };
  24. #endif // DATETIMEDIALOG_H