PIVariantEdit ready but widgets fullEditMode
This commit is contained in:
@@ -32,6 +32,7 @@ class QGridLayout;
|
||||
class QToolButton;
|
||||
class PIVariantEdit;
|
||||
class PIValueTreeEditParameters;
|
||||
class PIValueTreeEditReorder;
|
||||
namespace Ui {
|
||||
class PIValueTreeEditArray;
|
||||
}
|
||||
@@ -87,6 +88,7 @@ private:
|
||||
void add(const PIValueTree & vt, QWidget * w, bool is_group = false);
|
||||
int beginRow(const PIValueTree & vt, bool is_group);
|
||||
void rename(QString prev_name, QString new_name);
|
||||
void reorder(const PIMap<int, int> & map) { simplify(map); }
|
||||
void clear();
|
||||
void changed();
|
||||
|
||||
@@ -94,7 +96,7 @@ private:
|
||||
QToolButton * button_add;
|
||||
|
||||
private:
|
||||
void simplify();
|
||||
void simplify(const PIMap<int, int> & map = PIMap<int, int>());
|
||||
|
||||
int row_count = 0;
|
||||
QGridLayout * lay = nullptr;
|
||||
@@ -107,10 +109,12 @@ private:
|
||||
|
||||
QWidget * widget_array = nullptr;
|
||||
PIValueTreeEditParameters * widget_params;
|
||||
PIValueTreeEditReorder * widget_reorder;
|
||||
PIStringList root_path;
|
||||
PIVector<PIVariantEdit *> array_edits;
|
||||
PIMap<PIString, PIVariantEdit *> value_edits;
|
||||
PIMap<PIString, PIValueTreeEdit *> tree_edits;
|
||||
PIMap<PIString, QLabel *> comm_labels;
|
||||
Ui::PIValueTreeEditArray * ui_array;
|
||||
GridWidgets * grid = nullptr;
|
||||
mutable PIValueTree source;
|
||||
|
||||
Reference in New Issue
Block a user