| | |
| | | #ifndef CLIENTMAINWINDOW_H |
| | | #ifndef CLIENTMAINWINDOW_H |
| | | #define CLIENTMAINWINDOW_H |
| | | |
| | | #include <QMainWindow> |
| | | #include <QTableWidget> |
| | | #include "auditproject.h" |
| | | #include "auditworkload.h" |
| | | #include "problemmoney.h" |
| | |
| | | #include "caseclue.h" |
| | | #include "coverinfo.h" |
| | | #include "searchinfo.h" |
| | | #include "problemrectstandingbook.h" |
| | | #include "converinfo2.h" |
| | | |
| | | #include "xlsxdocument.h" |
| | | |
| | |
| | | ~ClientMainWindow(); |
| | | |
| | | void initUi(); |
| | | void readDataFromExcel(QString path); |
| | | bool readDataFromSQL(QString name); |
| | | void calc(); // 统计结果,多处地方触发了自动调用 |
| | | void searchComName(); |
| | | |
| | | private slots: |
| | | void on_pushButton_auditPro_clicked(); |
| | | |
| | |
| | | |
| | | 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); |
| | | |
| | | 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; |
| | |
| | | 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; |
| | | |
| | | }; |
| | | |
| | | #endif // CLIENTMAINWINDOW_H |