1 #ifndef BRANCHPROPERTYWINDOW_H
2 #define BRANCHPROPERTYWINDOW_H
4 #include "ui_branchpropwindow.h"
11 #include "attributedelegate.h"
12 #include "branchobj.h"
15 class QAbstractItemModel;
17 class BranchPropertyWindow:public QDialog
21 BranchPropertyWindow (QWidget *parent=0);
22 ~BranchPropertyWindow ();
23 void setBranch (BranchObj *);
24 void setModel (VymModel *);
27 void frameTypeChanged (int);
28 void framePenColorClicked ();
29 void frameBrushColorClicked ();
30 void framePaddingChanged(int);
31 void frameBorderWidthChanged(int);
32 void linkHideUnselectedChanged (int);
33 void incImgVerChanged (int);
34 void incImgHorChanged (int);
35 void addAttributeClicked();
36 void deleteAttributeClicked();
42 void closeEvent( QCloseEvent* );
45 void connectSignals();
46 void disconnectSignals();
48 Ui::BranchPropertyWindow ui;
56 QAbstractItemModel *attributeModel;
58 AttributeDelegate delegate;