From 20ffcfb5507daf34f81346ca3dfa4c031e7b2fe3 Mon Sep 17 00:00:00 2001 From: wumu <mayi@mayi.com> Date: 星期日, 27 四月 2025 22:13:53 +0800 Subject: [PATCH] 0427 --- internal_system_v1/clientmainwindow.h | 76 +++++++++++++++++++++++++++++++++++++ 1 files changed, 75 insertions(+), 1 deletions(-) diff --git a/internal_system_v1/clientmainwindow.h b/internal_system_v1/clientmainwindow.h index 03e085a..315aa15 100644 --- a/internal_system_v1/clientmainwindow.h +++ b/internal_system_v1/clientmainwindow.h @@ -1,7 +1,8 @@ -#ifndef CLIENTMAINWINDOW_H +锘�#ifndef CLIENTMAINWINDOW_H #define CLIENTMAINWINDOW_H #include <QMainWindow> +#include <QTableWidget> #include "auditproject.h" #include "auditworkload.h" #include "problemmoney.h" @@ -11,8 +12,17 @@ #include "punish.h" #include "caseclue.h" #include "coverinfo.h" +#include "searchinfo.h" +#include "problemrectstandingbook.h" +#include "converinfo2.h" #include "xlsxdocument.h" +#include "problemlist.h" +#include "problemrectificationresult.h" +#include "tableitemdelegate.h" +#include <QItemDelegate> +#include "threemergeproblemlist.h" + namespace Ui { class ClientMainWindow; @@ -27,6 +37,16 @@ ~ClientMainWindow(); void initUi(); + void readDataFromExcel(QString path); + bool readDataFromSQL(QString name); + void calc(); // 缁熻缁撴灉锛屽澶勫湴鏂硅Е鍙戜簡鑷姩璋冪敤 + void searchComName(); + + void delay(int msec); // 寤舵椂澶勭悊 + +signals: + void loadExcelSignal(); + private slots: void on_pushButton_auditPro_clicked(); @@ -50,6 +70,46 @@ void on_pushButton_openXlsxFile_clicked(); + void on_pushButton_importExcel_clicked(); + + void on_dateEdit_dateChanged(const QDate &date); + + void on_tableWidget_activated(const QModelIndex &index); + + void on_tableWidget_clicked(const QModelIndex &index); + + void on_tableWidget_itemEntered(QTableWidgetItem *item); + + void on_tableWidget_cellEntered(int row, int column); + + void on_tableWidget_cellClicked(int row, int column); + + void on_pushButton_save_clicked(); + + void on_comboBox_currentIndexChanged(const QString &arg1); + + void on_pushButton_reset_clicked(); + + void updateComboList(QMap<QString,ComInfo> & nameAndComInfos); // 鏇存柊涓嬫媺妗嗗垪琛� + + void on_pushButton_save_export_clicked(); + + void on_comboBox_company_currentTextChanged(const QString &arg1); + + void on_pushButton_merge_3And1_clicked(); + + void on_pushButton_search_clicked(); + +signals: + void sendDataToAuditProject(QVariantList); + void sendDataToAuditWorkLoad(QVariantList); + void sendDataToProblemMoney(QVariantList); + void sendDataToProblemCount(QVariantList); + void sendDataToProblemRectification(QVariantList); + void sendDataToProblemNoMoney(QVariantList); + void sendDataToPunish(QVariantList); + void sendDataToCaseClue(QVariantList); + private: Ui::ClientMainWindow *ui; AuditProject *m_auditPro; @@ -58,9 +118,23 @@ ProblemCount *m_problemCnt; ProblemRectification *m_probleRect; ProblemNotMoney *m_problemNotMon; + ProblemRectStandingBook *m_proRecStandingBook; Punish *m_punish; CaseClue *m_caseClue; CoverInfo *m_coverInfo; + SearchInfo *m_searchInfo; + QMap<QString,int> m_comInfo; + + // 鏂扮増鏈� + ConverInfo2* m_conInfo2; + ProblemList *m_problemList; + ProblemRectificationResult *m_problemRectifResult; + TableItemDelegate *m_tableItemDelegate; + QItemDelegate *m_editDelegate; // 鍙紪杈� + + // 3鍚堜竴 + ThreeMergeProblemList *m_threeMPList; + }; #endif // CLIENTMAINWINDOW_H -- Gitblit v1.8.0