![]() |
Scanframe Modular Application 0.1.0
|
Line edit having a button. More...
#include <InformationIdEdit.h>


Public Member Functions | |
| InformationIdEdit (QWidget *parent=nullptr) | |
| void | setId (gii::IdType id) |
| Sets the id in the line edit. | |
| gii::IdType | getId () |
| Gets the id from the text in the line edit. | |
| bool | selectDialog (QWidget *parent=nullptr) |
| Opens the id selection dialog. | |
| bool | isRequiredProperty (const QString &name) override |
| Overridden from base class sf::ObjectExtension. | |
| void | setTypeId (gii::TypeId typeId) |
| Set the type of id set with setId(). | |
| gii::TypeId | getTypeId () const |
| Gets the type of id set with setId(). | |
Public Member Functions inherited from sf::ObjectExtension | |
| virtual void | addPropertyPages (PropertySheetDialog *sheet) |
| Adds the pages specific for this object. | |
| virtual bool | getSaveChildren () const |
| Gets if the children needs saving by the FormBuilder class. | |
Protected Member Functions | |
| void | focusOutEvent (QFocusEvent *event) override |
| overridden from base class. | |
| void | resizeEvent (QResizeEvent *) override |
| Overridden from base class QLineEdit. | |
Protected Member Functions inherited from sf::ObjectExtension | |
| ObjectExtension (QObject *object) | |
| Protected constructor only. Inlined so no external libs are need for designer. | |
| virtual | ~ObjectExtension ()=default |
| Virtual destructor. | |
Properties | |
| sf::gii::TypeId | typeId |
Additional Inherited Members | |
Static Public Member Functions inherited from sf::ObjectExtension | |
| 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. | |
Line edit having a button.
|
explicit |
Standard QWidget constructor.
|
overrideprotected |
overridden from base class.
| gii::IdType sf::InformationIdEdit::getId | ( | ) |
Gets the id from the text in the line edit.
| gii::TypeId sf::InformationIdEdit::getTypeId | ( | ) | const |
Gets the type of id set with setId().
|
overridevirtual |
Overridden from base class sf::ObjectExtension.
Implements sf::ObjectExtension.
|
overrideprotected |
Overridden from base class QLineEdit.
| bool sf::InformationIdEdit::selectDialog | ( | QWidget * | parent = nullptr | ) |
Opens the id selection dialog.
| parent | Optional, when nullptr the tool-button is the parent. |
| void sf::InformationIdEdit::setId | ( | gii::IdType | id | ) |
Sets the id in the line edit.
| void sf::InformationIdEdit::setTypeId | ( | gii::TypeId | typeId | ) |
Set the type of id set with setId().
|
readwrite |