branchpropwindow.h
changeset 673 234b4900dfa8
parent 481 31196a98699c
child 721 12958f987bcf
     1.1 --- a/branchpropwindow.h	Wed Feb 27 16:09:06 2008 +0000
     1.2 +++ b/branchpropwindow.h	Wed Feb 27 16:09:06 2008 +0000
     1.3 @@ -5,10 +5,16 @@
     1.4  
     1.5  #include <QDialog>
     1.6  #include <QCloseEvent>
     1.7 +#include <QtGui>
     1.8  
     1.9 +
    1.10 +#include "attributedelegate.h"
    1.11  #include "branchobj.h"
    1.12  #include "mapeditor.h"
    1.13  
    1.14 +
    1.15 +class QAbstractItemModel;
    1.16 +
    1.17  class BranchPropertyWindow:public QDialog
    1.18  {
    1.19  	Q_OBJECT
    1.20 @@ -27,6 +33,8 @@
    1.21  	void linkHideUnselectedChanged (int);
    1.22  	void incImgVerChanged (int);
    1.23  	void incImgHorChanged (int);
    1.24 +	void addAttributeClicked();
    1.25 +	void deleteAttributeClicked();
    1.26  
    1.27  signals:
    1.28  	void windowClosed();
    1.29 @@ -45,6 +53,10 @@
    1.30  
    1.31  	QColor penColor;
    1.32  	QColor brushColor;
    1.33 +
    1.34 +	QAbstractItemModel *attributeModel;
    1.35 +
    1.36 +	AttributeDelegate delegate;
    1.37  };
    1.38  
    1.39  #endif //