author | insilmaril |
Wed Apr 25 16:02:54 2007 +0000 (2007-04-25) | |
changeset 477 | a9ac5dea9561 |
parent 440 | c6a8651e6bbc |
child 481 | 31196a98699c |
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@462 | 14 |
~BranchPropertyWindow (); |
insilmaril@421 | 15 |
void setBranch (BranchObj *); |
insilmaril@421 | 16 |
void setMapEditor (MapEditor *); |
insilmaril@421 | 17 |
|
insilmaril@421 | 18 |
private slots: |
insilmaril@421 | 19 |
void frameTypeChanged (int); |
insilmaril@440 | 20 |
void framePenColorClicked (); |
insilmaril@440 | 21 |
void frameBrushColorClicked (); |
insilmaril@462 | 22 |
void framePaddingChanged(int); |
insilmaril@462 | 23 |
void frameBorderWidthChanged(int); |
insilmaril@421 | 24 |
void linkHideUnselectedChanged (int); |
insilmaril@462 | 25 |
void incImgVerChanged (int); |
insilmaril@462 | 26 |
void incImgHorChanged (int); |
insilmaril@421 | 27 |
|
insilmaril@421 | 28 |
private: |
insilmaril@462 | 29 |
void connectSignals(); |
insilmaril@462 | 30 |
void disconnectSignals(); |
insilmaril@462 | 31 |
|
insilmaril@421 | 32 |
Ui::BranchPropertyWindow ui; |
insilmaril@421 | 33 |
|
insilmaril@421 | 34 |
BranchObj *branch; |
insilmaril@421 | 35 |
MapEditor *mapEditor; |
insilmaril@440 | 36 |
|
insilmaril@462 | 37 |
QColor penColor; |
insilmaril@440 | 38 |
QColor brushColor; |
insilmaril@421 | 39 |
}; |
insilmaril@421 | 40 |
|
insilmaril@421 | 41 |
#endif // |