branchpropwindow.h
author insilmaril
Sat Mar 31 09:28:27 2007 +0000 (2007-03-31)
changeset 442 dfbc371b7280
parent 421 5522d1da7e37
child 462 494a5b8c131e
permissions -rw-r--r--
1.8.70 Fixes in property window
insilmaril@421
     1
#ifndef BRANCHPROPERTYWINDOW_H
insilmaril@421
     2
#define BRANCHPROPERTYWINDOW_H
insilmaril@421
     3
insilmaril@421
     4
#include "ui_branchpropwindow.h"
insilmaril@421
     5
insilmaril@421
     6
#include "branchobj.h"
insilmaril@421
     7
#include "mapeditor.h"
insilmaril@421
     8
insilmaril@421
     9
class BranchPropertyWindow:public QDialog
insilmaril@421
    10
{
insilmaril@421
    11
	Q_OBJECT
insilmaril@421
    12
public:
insilmaril@421
    13
	BranchPropertyWindow (QWidget *parent=0);
insilmaril@421
    14
	void setBranch (BranchObj *);
insilmaril@421
    15
	void setMapEditor (MapEditor *);
insilmaril@421
    16
insilmaril@421
    17
private slots:
insilmaril@421
    18
	void frameTypeChanged (int);
insilmaril@440
    19
	void framePenColorClicked ();
insilmaril@440
    20
	void frameBrushColorClicked ();
insilmaril@421
    21
	void linkHideUnselectedChanged (int);
insilmaril@421
    22
insilmaril@421
    23
private:
insilmaril@421
    24
	Ui::BranchPropertyWindow ui;
insilmaril@421
    25
insilmaril@421
    26
	BranchObj *branch;
insilmaril@421
    27
	MapEditor *mapEditor;
insilmaril@440
    28
insilmaril@440
    29
	QColor penColor;	// FIXME replace this with Palette
insilmaril@440
    30
	QColor brushColor;
insilmaril@421
    31
};
insilmaril@421
    32
insilmaril@421
    33
#endif //