From aa013c2f4e69e2ba4eb72081dc004d8334d59257 Mon Sep 17 00:00:00 2001 From: wumu <mayi@mayi.com> Date: 星期一, 28 十月 2024 23:15:27 +0800 Subject: [PATCH] 1028 --- internal_system_v1/threemergeproblemlist.h | 27 ++++++++++++++++++++++++++- 1 files changed, 26 insertions(+), 1 deletions(-) diff --git a/internal_system_v1/threemergeproblemlist.h b/internal_system_v1/threemergeproblemlist.h index 1600cd2..5266b86 100644 --- a/internal_system_v1/threemergeproblemlist.h +++ b/internal_system_v1/threemergeproblemlist.h @@ -12,6 +12,9 @@ #include "comboboxdelegate.h" #include "datedelegate.h" +#include <QPdfWriter> +//#include <QtWebEngineWidgets/QtWebEngineWidgets> + namespace Ui { class ThreeMergeProblemList; } @@ -32,6 +35,14 @@ void readCompanyFromSQL(); void loadDataFromSQL(const QString &arg1); + int selectSQL(QString sql,QVector<QVector<QString>> &result); // 鎷跨粨鏋滈泦鐨剆ql + int changeSQL(QString sql); // 鎷挎潯鏁扮殑sql + int saveDataLine(int row); // 淇濆瓨鎸囧畾琛� 鍏堝垽鏂搴旂殑绱㈠紩id鏄惁瀛樺湪锛屽瓨鍦ㄥ垯鏇存柊锛屼笉瀛樺湪鍒欐柊寤烘彃鍏� + // 淇濇寔璺緞鍔犱笂 id+椤圭洰鍚嶇О + int saveFile(QString path, QString id,QString &absSavePath,QString proName); // 鏍规嵁id鏉ユ寚瀹氬瓙鐩綍杩涜鏂囦欢鐨勬嫹璐濆拰瀛樺偍 + + int loadPdfFile(QString path); // 鍔犺浇pdf鏂囦欢 + private slots: // 闂娓呭崟 void showMenuSlot(QPoint); @@ -43,7 +54,8 @@ // 鏁存敼鍙拌处 void showMenuSlotRectBook(QPoint); - void deleteActionRectBook(); + void deleteActionRectBook(); // 鍒犻櫎褰撳墠琛� + void saveActionRectBook(); // 淇濆瓨鍗曡 褰撳墠 void on_pushButton_addRow_3_clicked(); @@ -56,6 +68,17 @@ void on_pushButton_save_2_clicked(); void on_pushButton_save_clicked(); + + + void on_pushButton_search_clicked(); + + void on_pushButton_save_3_clicked(); + + void on_pushButton_moreSearch_clicked(); + + void on_pushButton_multiSearch_clicked(); + + void showSaveFile(); // 鏄剧ず宸茬粡淇濆瓨鐨勪綈璇佹枃浠� private: Ui::ThreeMergeProblemList *ui; @@ -74,6 +97,8 @@ ComboBoxDelegate *m_cbb_file_wri; // 闂鎻忚堪浣愯瘉 DateDelegate *m_date_ymd; // 鏃堕棿 骞存湀鏃� + + //QWebEngineView *m_pdfView; // 浣跨敤娴忚鍣ㄥ姞杞絧df鏂囦欢 }; #endif // THREEMERGEPROBLEMLIST_H -- Gitblit v1.8.0