author | insilmaril |
Wed Apr 25 16:02:54 2007 +0000 (2007-04-25) | |
changeset 459 | 9bc55005a0f1 |
parent 421 | 5522d1da7e37 |
child 462 | 494a5b8c131e |
permissions | -rw-r--r-- |
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 // |