branchpropwindow.h
author insilmaril
Tue Apr 10 13:22:55 2007 +0000 (2007-04-10)
changeset 449 5378ed53ec92
parent 421 5522d1da7e37
child 462 494a5b8c131e
permissions -rw-r--r--
1.8.71 Basic support for 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 //