fix:修正界面更新逻辑问题。

This commit is contained in:
2024-08-28 09:35:45 +08:00
parent f9796c7090
commit 49c4a40dc9
4 changed files with 55 additions and 28 deletions

View File

@@ -51,7 +51,7 @@ public:
public:
void set_work_exe(char* path);
void generate_table_widget();
void push_content(const std::vector<Element_t*>& eles, std::size_t page = 1);
void push_content(const std::vector<Element_t*>& eles, std::size_t page = 1, bool auto_jump_pre = false);
private:
bool read(const QString& file_path);
@@ -64,9 +64,9 @@ private:
void reset();
void judge_btn_page();
void copy_key();
bool edit_property(Element_t* target, int row);
bool edit_property(Element_t* target, int row, bool is_copy);
void init_menu();
void ele_update_gui(Element_t* target, int row);
void ele_update_gui(Element_t* target, const QString& pre_value = "");
void show_custom_menu();
void sort_by_repeat(std::vector<Element_t*>& vec);
void copy_multi_data();