branchpropwindow.h
author insilmaril
Sat, 31 Mar 2007 09:28:27 +0000
changeset 442 dfbc371b7280
parent 440 c6a8651e6bbc
child 462 494a5b8c131e
permissions -rw-r--r--
1.8.70 Fixes in property window
     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 //