Dialog for configuring a building level.
More...
#include <LevelInspectorDialog.hh>
Inherits BaseInspectorDialog.
|
void | Applied () |
| Qt signal emitted to indicate that changes should be applied. More...
|
|
|
void | OnApply () |
| Qt callback when the Apply button is pressed. More...
|
|
void | OnCancel () |
| Qt callback when the Cancel button is pressed. More...
|
|
void | OnOK () |
| Qt callback when the Ok button is pressed. More...
|
|
Dialog for configuring a building level.
Constructor.
- Parameters
-
[in] | _parent | Parent QWidget. |
Qt signal emitted to indicate that changes should be applied.
Get the color.
- Returns
- Color.
Get the height of the level.
- Returns
- The level height in pixels.
void InitColorComboBox |
( |
| ) |
|
|
inherited |
Initiate color combo box.
void InitTextureComboBox |
( |
| ) |
|
|
inherited |
Initiate texture combo box.
std::string LevelName |
( |
| ) |
const |
Get the name of the level.
- Returns
- The level name.
Qt callback when the Apply button is pressed.
Qt callback when the Cancel button is pressed.
Qt callback when the Ok button is pressed.
Set the color.
- Parameters
-
void SetHeight |
( |
const double |
_height | ) |
|
Set the height of the level.
- Parameters
-
[in] | _height | Level height in pixels. |
void SetLevelName |
( |
const std::string & |
_levelName | ) |
|
Set the name of the level.
- Parameters
-
[in] | _levelName | New level name. |
void SetTexture |
( |
const std::string & |
_texture | ) |
|
|
inherited |
Set the texture.
- Parameters
-
void ShowFloorWidget |
( |
const bool |
_show | ) |
|
Show or hide the floor widget.
- Parameters
-
[in] | _show | True to show the widget, false to hide. |
std::string Texture |
( |
| ) |
const |
|
inherited |
Get the texture.
- Returns
- Texture.
Combo box for selecting the color.
QComboBox* textureComboBox |
|
protectedinherited |
Combo box for selecting the texture.
The documentation for this class was generated from the following file: