func:添加选择文件功能并自动记录
This commit is contained in:
@@ -30,7 +30,7 @@ public:
|
||||
void push_content(const std::vector<Element_t*>& eles, std::size_t page = 1);
|
||||
|
||||
private:
|
||||
void read();
|
||||
void read(const QString& file_path);
|
||||
void search();
|
||||
void item_changed_handle(QTableWidgetItem* item);
|
||||
void save();
|
||||
@@ -43,6 +43,7 @@ private:
|
||||
bool edit_property(Element_t* target, int row);
|
||||
void init_menu();
|
||||
void ele_update_gui(Element_t* target, int row);
|
||||
void show_custom_menu();
|
||||
|
||||
protected:
|
||||
void closeEvent(QCloseEvent* event);
|
||||
@@ -72,5 +73,6 @@ private:
|
||||
std::size_t cur_page_{1};
|
||||
std::size_t all_page_{1};
|
||||
CAttributeEdit* attri_edit_{};
|
||||
OprBase base_{};
|
||||
};
|
||||
#endif // MAINWIDGET_H
|
||||
|
||||
Reference in New Issue
Block a user