savetotemplate.h 641 B

123456789101112131415161718192021222324252627282930313233343536
  1. #ifndef SAVETOTEMPLATE_H
  2. #define SAVETOTEMPLATE_H
  3. #include <QDialog>
  4. #include "common/globalinfo/globalinfo.h"
  5. namespace Ui {
  6. class SaveToTemplate;
  7. }
  8. class SaveToTemplate : public QDialog
  9. {
  10. Q_OBJECT
  11. public:
  12. explicit SaveToTemplate(PageType type, QWidget *parent = nullptr);
  13. ~SaveToTemplate();
  14. signals:
  15. void signal_templateName(QString name);
  16. private slots:
  17. void do_ok();
  18. private:
  19. void setWarning(bool flag); /* 设置报警 */
  20. private:
  21. Ui::SaveToTemplate *ui;
  22. PageType m_type; /* 是“播出时段”还是“执行计划” */
  23. };
  24. #endif // SAVETOTEMPLATE_H