branchpropwindow.h
author insilmaril
Wed Apr 25 16:02:54 2007 +0000 (2007-04-25)
changeset 468 82bd254b58da
parent 440 c6a8651e6bbc
child 481 31196a98699c
permissions -rw-r--r--
started doxygen documentation
     1 #ifndef BRANCHPROPERTYWINDOW_H
     2 #define BRANCHPROPERTYWINDOW_H
     3 
     4 #include "ui_branchpropwindow.h"
     5 
     6 #include "branchobj.h"
     7 #include "mapeditor.h"
     8 
     9 class BranchPropertyWindow:public QDialog
    10 {
    11 	Q_OBJECT
    12 public:
    13 	BranchPropertyWindow (QWidget *parent=0);
    14 	~BranchPropertyWindow ();
    15 	void setBranch (BranchObj *);
    16 	void setMapEditor (MapEditor *);
    17 
    18 private slots:
    19 	void frameTypeChanged (int);
    20 	void framePenColorClicked ();
    21 	void frameBrushColorClicked ();
    22 	void framePaddingChanged(int);
    23 	void frameBorderWidthChanged(int);
    24 	void linkHideUnselectedChanged (int);
    25 	void incImgVerChanged (int);
    26 	void incImgHorChanged (int);
    27 
    28 private:
    29 	void connectSignals();
    30 	void disconnectSignals();
    31 	
    32 	Ui::BranchPropertyWindow ui;
    33 
    34 	BranchObj *branch;
    35 	MapEditor *mapEditor;
    36 
    37 	QColor penColor;
    38 	QColor brushColor;
    39 };
    40 
    41 #endif //