1 #ifndef BRANCHPROPERTYWINDOW_H
2 #define BRANCHPROPERTYWINDOW_H
4 #include "ui_branchpropwindow.h"
11 #include "attributedelegate.h"
12 #include "branchobj.h"
13 #include "mapeditor.h"
16 class QAbstractItemModel;
18 class BranchPropertyWindow:public QDialog
22 BranchPropertyWindow (QWidget *parent=0);
23 ~BranchPropertyWindow ();
24 void setBranch (BranchObj *);
25 void setMapEditor (MapEditor *);
28 void frameTypeChanged (int);
29 void framePenColorClicked ();
30 void frameBrushColorClicked ();
31 void framePaddingChanged(int);
32 void frameBorderWidthChanged(int);
33 void linkHideUnselectedChanged (int);
34 void incImgVerChanged (int);
35 void incImgHorChanged (int);
36 void addAttributeClicked();
37 void deleteAttributeClicked();
43 void closeEvent( QCloseEvent* );
46 void connectSignals();
47 void disconnectSignals();
49 Ui::BranchPropertyWindow ui;
57 QAbstractItemModel *attributeModel;
59 AttributeDelegate delegate;