PIValueTreeEdit File and Dir support

This commit is contained in:
2022-12-19 14:29:42 +03:00
parent dfba7f1510
commit dc2419dcad
8 changed files with 363 additions and 62 deletions

View File

@@ -58,6 +58,7 @@ public:
void rollback();
void clear();
void retranslate();
private:
enum class NewType {
@@ -95,6 +96,7 @@ private:
void reorder(const PIMap<int, int> & map) { simplify(map); }
void clear();
void changed();
void retranslate();
bool create_edit_buttons = false;
QToolButton * button_add;
@@ -122,7 +124,7 @@ private:
PIMap<PIString, QLabel *> comm_labels, label_labels;
Ui::PIValueTreeEditArray * ui_array;
GridWidgets * grid = nullptr;
mutable PIValueTree source;
mutable PIValueTree source, current;
bool is_grouping = true, is_full_edit = false;
};