Base Dialog for a specific inspector dialog.
More...
#include <BaseInspectorDialog.hh>
Inherits QDialog.
Inherited by LevelInspectorDialog, StairsInspectorDialog, WallInspectorDialog, and WindowDoorInspectorDialog.
|
| 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...
|
| |
Base Dialog for a specific inspector dialog.
Constructor.
- Parameters
-
| [in] | _parent | Parent QWidget |
Qt signal emitted to indicate that changes should be applied.
| ignition::math::Color Color |
( |
| ) |
const |
Get the color.
- Returns
- Color.
| void InitColorComboBox |
( |
| ) |
|
Initiate color combo box.
| void InitTextureComboBox |
( |
| ) |
|
Initiate texture combo box.
Qt callback when the Apply button is pressed.
Qt callback when the Cancel button is pressed.
Qt callback when the Ok button is pressed.
| void SetColor |
( |
const ignition::math::Color & |
_color | ) |
|
Set the color.
- Parameters
-
| void SetTexture |
( |
const std::string & |
_texture | ) |
|
Set the texture.
- Parameters
-
| std::string Texture |
( |
| ) |
const |
Get the texture.
- Returns
- Texture.
Combo box for selecting the color.
| QComboBox* textureComboBox |
|
protected |
Combo box for selecting the texture.
The documentation for this class was generated from the following file: