change:更改以key的前些部分排序而不是全部。

This commit is contained in:
2024-08-20 16:47:09 +08:00
parent 7a1bee6708
commit 87625e8bc4
5 changed files with 98 additions and 107 deletions

View File

@@ -65,6 +65,10 @@ private:
void replace_content(bool is_common = true);
void backup_file();
private:
std::string extract_prefix(const std::string& name);
bool compare_by_prefix(const SElement_t& se1, const SElement_t& se2);
protected:
void closeEvent(QCloseEvent* event);
void keyPressEvent(QKeyEvent* event);