1 #ifndef BRANCHPROPERTYEDITOR_H
2 #define BRANCHPROPERTYEDITOR_H
4 #include "ui_branchpropeditor.h"
11 //#include "attributedelegate.h"
12 #include "branchobj.h"
14 class QAbstractItemModel;
17 class BranchPropertyEditor:public QDialog
21 BranchPropertyEditor (QWidget *parent=0);
22 ~BranchPropertyEditor ();
23 void setItem (TreeItem *);
24 void setModel (VymModel *);
27 void frameTypeChanged (int);
28 void framePenColorClicked ();
29 void frameBrushColorClicked ();
30 void framePaddingChanged(int);
31 void frameBorderWidthChanged(int);
32 void frameIncludeChildrenChanged(int);
33 void linkHideUnselectedChanged (int);
34 void incImgVerChanged (int);
35 void incImgHorChanged (int);
36 void childrenFreePositioningChanged (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 delegate;