opti:优化替换范围,添加正则替换功能。
This commit is contained in:
@@ -46,13 +46,14 @@ private:
|
||||
void show_custom_menu();
|
||||
void sort_by_repeat(std::vector<Element_t*>& vec);
|
||||
void copy_multi_data();
|
||||
void replace_content();
|
||||
void replace_content(bool is_common = true);
|
||||
void backup_file();
|
||||
|
||||
protected:
|
||||
void closeEvent(QCloseEvent* event);
|
||||
void keyPressEvent(QKeyEvent* event);
|
||||
void replace_str(const QString& pre, const QString& after, Element_t* ele);
|
||||
void replace_str(Element_t* ele, const QString& rg, const QString& after);
|
||||
private:
|
||||
Element_t* get_element_by_key(const QString& key);
|
||||
Element_t* get_element_by_row(int row);
|
||||
|
||||
Reference in New Issue
Block a user