1234567891011121314151617181920212223242526272829303132333435 |
- #ifndef IMPORTTEMPLATE_H
- #define IMPORTTEMPLATE_H
- #include <QDialog>
- class TemplateItem;
- namespace Ui {
- class ImportTemplate;
- }
- class ImportTemplate : public QDialog
- {
- Q_OBJECT
- public:
- explicit ImportTemplate(QStringList& tabList,QWidget *parent = nullptr);
- ~ImportTemplate();
- void createRow(int row,int num,const QString& text); /* 创建一行数据 */
- signals:
- void signal_templateName(QString name);
- void signal_deleteTemplate(QString name); /* 删除一个模版 */
- private slots:
- void do_ok();
- void do_seletctRow(int row,int col); /* 选中一行 */
- private:
- Ui::ImportTemplate *ui;
- QString m_templateName; /* 模版名称 */
- };
- #endif // IMPORTTEMPLATE_H
|