From 71c27f9ead97e52e50a59495c6955756e21004cf Mon Sep 17 00:00:00 2001 From: wumu <mayi@mayi.com> Date: 星期五, 01 十一月 2024 00:16:13 +0800 Subject: [PATCH] 1101 --- internal_system_v1/converinfo2.h | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/internal_system_v1/converinfo2.h b/internal_system_v1/converinfo2.h index 660afcd..c683c90 100644 --- a/internal_system_v1/converinfo2.h +++ b/internal_system_v1/converinfo2.h @@ -7,6 +7,8 @@ #include <QAxObject> #include "struct_data.h" #include <QSqlError> +#include "exporttofile.h" +#include <QMessageBox> namespace Ui { class ConverInfo2; @@ -27,14 +29,21 @@ void addTreeWidgetNode(QVariant upName, QVariant name); void createTreeNode(); + // 澶勭悊婊氳疆鐨勬搷浣滐紝绂佺敤涓嬫媺妗嗙殑婊氳疆浜嬩欢 + void disableWheelEvent(); + + bool eventFilter(QObject *watched, QEvent *event); + signals: void loadFinished(); // 鍔犺浇瀹屾垚鐨勪俊鍙� void loadProgress(int); // 鍔犺浇杩涘害 + void updateComboListSignal(QMap<QString,ComInfo> &); // 鏇存柊涓嬫媺妗嗙殑淇″彿 private slots: void showMenu(QPoint p); void addInfo(); void deleteInfo(); + void saveInfo(); // 瀵煎嚭淇濆瓨 void on_treeWidget_doubleClicked(const QModelIndex &index); void on_pushButton_commit_clicked(); @@ -43,6 +52,8 @@ void showExcelSlot(); // 鍔犺浇鏄剧ず鐢靛瓙琛ㄦ牸鐨勬Ы + void on_pushButton_save_to_file_clicked(); // 瀵煎嚭淇濆瓨 + private: Ui::ConverInfo2 *ui; QMenu *m_menu; -- Gitblit v1.8.0