From 5e74d49c960965e3134cda27f603024483a4a1d7 Mon Sep 17 00:00:00 2001 From: wumu <mayi@mayi.com> Date: 星期二, 07 五月 2024 22:44:53 +0800 Subject: [PATCH] 0507 --- internal_system_v1/threemergeproblemlist.h | 41 ++++++++++++++++++++++++++++++++++++++++- 1 files changed, 40 insertions(+), 1 deletions(-) diff --git a/internal_system_v1/threemergeproblemlist.h b/internal_system_v1/threemergeproblemlist.h index 0a3d898..3a5fbf5 100644 --- a/internal_system_v1/threemergeproblemlist.h +++ b/internal_system_v1/threemergeproblemlist.h @@ -1,7 +1,10 @@ -#ifndef THREEMERGEPROBLEMLIST_H +锘�#ifndef THREEMERGEPROBLEMLIST_H #define THREEMERGEPROBLEMLIST_H #include <QMainWindow> +#include "tableitemdelegate.h" +#include <QMenu> +#include <QAction> namespace Ui { class ThreeMergeProblemList; @@ -15,8 +18,44 @@ explicit ThreeMergeProblemList(QWidget *parent = 0); ~ThreeMergeProblemList(); + void initUi(); + void initProblemListUi(); + void initProblemResultUi(); + void initProblemRectBookUi(); + + void readCompanyFromSQL(); + + void loadDataFromSQL(const QString &arg1); +private slots: + // 闂娓呭崟 + void showMenuSlot(QPoint); + void deleteAction(); + + //澶勭悊缁撴灉 + void showMenuSlotResult(QPoint); + void deleteActionResult(); + + // 鏁存敼鍙拌处 + void showMenuSlotRectBook(QPoint); + void deleteActionRectBook(); + + void on_pushButton_addRow_3_clicked(); + + void on_pushButton_addRow_2_clicked(); + + void on_pushButton_addRow_clicked(); + + void on_comboBox_company_currentIndexChanged(const QString &arg1); + + void on_pushButton_save_2_clicked(); + + void on_pushButton_save_clicked(); + private: Ui::ThreeMergeProblemList *ui; + QMenu *m_menu; // 闂娓呭崟鑿滃崟 + QMenu *m_menuResult; // 鏁存敼鎴愭灉 + QMenu *m_menuRectBook; // 鏁存敼鍙拌处 }; #endif // THREEMERGEPROBLEMLIST_H -- Gitblit v1.8.0