branchpropwindow.h
author insilmaril
Wed, 11 Apr 2007 09:21:16 +0000
changeset 455 1462e380b82b
parent 440 c6a8651e6bbc
child 462 494a5b8c131e
permissions -rw-r--r--
Updated documentation about macros
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 //