Widget for showing sf::Variable value types integer and floating point having a minimum and maximum value.
More...
#include <VariableBar.h>
|
bool | isRequiredProperty (const QString &name) override |
| Overridden from base class '#ObjectExtension'.
|
|
void | applyReadOnly (bool yn) override |
| Overridden from base class 'VariableWidgetBase'.
|
|
void | paintEvent (QPaintEvent *event) override |
| Overridden from base class.
|
|
| ObjectExtension (QObject *object) |
| Protected constructor only. Inlined so no external libs are need for designer.
|
|
|
static const char * | propertyNameEditorObject () |
| Property name of the property which guides the layout editor to the proper parent.
|
|
static bool | inDesigner () |
| Gets the designer status.
|
|
static QObject * | getExtensionParent (QObject *obj, bool first=true) |
| Return if the passed object has this type as parent.
|
|
PrivateBase * | _p {nullptr} |
| Holds the private object or a derived one.
|
|
Widget for showing sf::Variable value types integer and floating point having a minimum and maximum value.
◆ VariableBar()
sf::VariableBar::VariableBar |
( |
QWidget * |
parent = nullptr | ) |
|
|
explicit |
◆ applyReadOnly()
void sf::VariableBar::applyReadOnly |
( |
bool |
yn | ) |
|
|
overrideprotectedvirtual |
◆ isRequiredProperty()
bool sf::VariableBar::isRequiredProperty |
( |
const QString & |
name | ) |
|
|
overrideprotectedvirtual |
◆ keyPressEvent()
void sf::VariableBar::keyPressEvent |
( |
QKeyEvent * |
event | ) |
|
|
override |
Overridden from base class.
◆ minimumSizeHint()
QSize sf::VariableBar::minimumSizeHint |
( |
| ) |
const |
|
override |
Overridden from base class.
◆ nameLevel()
int sf::VariableBar::nameLevel |
( |
| ) |
const |
Gets the name level shown.
◆ paintEvent()
void sf::VariableBar::paintEvent |
( |
QPaintEvent * |
event | ) |
|
|
overrideprotected |
Overridden from base class.
◆ setNameLevel()
void sf::VariableBar::setNameLevel |
( |
int |
level = -1 | ) |
|
Sets the name level shown.
◆ nameLevel
int sf::VariableBar::nameLevel |
|
readwrite |
The documentation for this class was generated from the following file: