branchpropwindow.h
author insilmaril
Wed, 11 Apr 2007 09:21:17 +0000
changeset 456 8cc3cb71f345
parent 440 c6a8651e6bbc
child 462 494a5b8c131e
permissions -rw-r--r--
Updated documentation about macros
     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 	void setBranch (BranchObj *);
    15 	void setMapEditor (MapEditor *);
    16 
    17 private slots:
    18 	void frameTypeChanged (int);
    19 	void framePenColorClicked ();
    20 	void frameBrushColorClicked ();
    21 	void linkHideUnselectedChanged (int);
    22 
    23 private:
    24 	Ui::BranchPropertyWindow ui;
    25 
    26 	BranchObj *branch;
    27 	MapEditor *mapEditor;
    28 
    29 	QColor penColor;	// FIXME replace this with Palette
    30 	QColor brushColor;
    31 };
    32 
    33 #endif //