1 #ifndef BRANCHPROPERTYEDITOR_H
2 #define BRANCHPROPERTYEDITOR_H
4 #include "ui_branchpropeditor.h"
10 // #include "attributedelegate.h"
11 #include "branchobj.h"
13 class QAbstractItemModel;
17 class BranchPropertyEditor : public QDialog {
20 BranchPropertyEditor(QWidget *parent = 0);
21 ~BranchPropertyEditor();
22 void setItem(TreeItem *);
23 void setModel(VymModel *);
26 void frameTypeChanged(int);
27 void framePenColorClicked();
28 void frameBrushColorClicked();
29 void framePaddingChanged(int);
30 void frameBorderWidthChanged(int);
31 void frameIncludeChildrenChanged(int);
32 void linkHideUnselectedChanged(int);
33 void incImgVerChanged(int);
34 void incImgHorChanged(int);
35 void childrenFreePositioningChanged(int);
36 void taskPriorityDeltaChanged(int);
37 void addAttributeClicked();
38 void deleteAttributeClicked();
44 void closeEvent(QCloseEvent *);
47 void connectSignals();
48 void disconnectSignals();
50 Ui::BranchPropertyEditor ui;
53 BranchItem *branchItem;
59 QAbstractItemModel *attributeModel;
61 //AttributeDelegate attributeDelegate;