![]() |
Scanframe Modular Application 0.1.0
|
Widget for showing sf::Variable value types integer and floating point having a minimum and maximum value. More...
#include <VariableBar.h>
Public Member Functions | |
VariableBar (QWidget *parent=nullptr) | |
Constructor. | |
void | keyPressEvent (QKeyEvent *event) override |
Overridden from base class. | |
QSize | minimumSizeHint () const override |
Overridden from base class. | |
int | nameLevel () const |
Gets the name level shown. | |
void | setNameLevel (int level=-1) const |
Sets the name level shown. | |
![]() | |
VariableWidgetBase (QWidget *parent, QObject *self) | |
Constructor. | |
~VariableWidgetBase () override | |
Destructor. | |
void | addPropertyPages (sf::PropertySheetDialog *sheet) override |
Overridden from base class sf::ObjectExtension::addPropertyPages(). | |
void | setId (gii::IdType id) |
Property 'variableId' set method. | |
gii::IdType | getId () const |
Property 'variableId' get method. | |
Variable & | getVariable () const |
Gets the reference to the underlying Variable instance. | |
void | setConverted (bool) const |
Property 'converted' set method. | |
bool | getConverted () const |
Property 'converted' get method. | |
void | setReadOnly (bool) |
Property 'converted' set method. | |
bool | getReadOnly () const |
Property 'converted' get method. | |
bool | isRequiredProperty (const QString &name) override |
Overridden from base class 'ObjectExtension' to write only the properties that mean anything. | |
![]() | |
virtual bool | getSaveChildren () const |
Gets if the children needs saving by the FormBuilder class. | |
Protected Member Functions | |
bool | isRequiredProperty (const QString &name) override |
Overridden from base class 'sf::ObjectExtension'. | |
void | applyReadOnly (bool yn) override |
Overridden from base class 'sf::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. | |
virtual | ~ObjectExtension ()=default |
Virtual destructor. | |
Properties | |
int | nameLevel |
![]() | |
qulonglong | idVariable |
bool | converted |
bool | readOnly |
Additional Inherited Members | |
![]() | |
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. It starts by testing the passed object itself. | |
![]() | |
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.
|
explicit |
Constructor.
|
overrideprotectedvirtual |
Overridden from base class 'sf::VariableWidgetBase'.
Implements sf::VariableWidgetBase.
|
overrideprotectedvirtual |
Overridden from base class 'sf::ObjectExtension'.
Implements sf::ObjectExtension.
|
override |
Overridden from base class.
|
override |
Overridden from base class.
int sf::VariableBar::nameLevel | ( | ) | const |
Gets the name level shown.
|
overrideprotected |
Overridden from base class.
void sf::VariableBar::setNameLevel | ( | int | level = -1 | ) | const |
Sets the name level shown.
|
readwrite |