#ifndef THREEMERGEPROBLEMLIST_H #define THREEMERGEPROBLEMLIST_H #include #include "tableitemdelegate.h" #include #include #include "filedialogdelegate.h" #include "customheaderview.h" #include "comboboxdelegate.h" #include "datedelegate.h" namespace Ui { class ThreeMergeProblemList; } class ThreeMergeProblemList : public QMainWindow { Q_OBJECT public: 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; // 整改台账 FileDialogDelegate *m_fdd; CustomHeaderView *m_custonHV; ComboBoxDelegate *m_cbb_nw; // 内审或外审 DateDelegate *m_date_year; // 审计年度 ComboBoxDelegate *m_cbb_company; // 审计单位 ComboBoxDelegate *m_cbb_way; // 审计方式 ComboBoxDelegate *m_cbb_pro; // 审计项目 }; #endif // THREEMERGEPROBLEMLIST_H