#include "Widget.h"
Public Member Functions | |
Widget () | |
virtual | ~Widget () |
void | setWidgetOwner (const BasicServiceInformation &_owner) |
const BasicServiceInformation & | getWidgetOwner (void) const |
void | setWidgetEnabled (bool _enabled, int _counter=1) |
void | resetWidgetDisabledCounter (void) |
Resets the disabled counter back to 0. (like no disabled was called) | |
void | lockWidget (const LockTypeFlags &_flags, int _lockCount=1) |
void | unlockWidget (const LockTypeFlags &_flags, int _unlockCount=1) |
void | resetWidgetLockCounter (void) |
Public Member Functions inherited from ot::OTObject | |
OTObject (OTObject *_parentObject=(OTObject *) nullptr) | |
virtual | ~OTObject () |
void | setParentOTObject (OTObject *_newParent) |
OTObject * | getParentOTObject (void) |
const OTObject * | getParentOTObject (void) const |
void | registerDeleteNotifier (OTObject *_notifier) |
void | removeDeleteNotifier (OTObject *_notifier) |
const std::list< OTObject * > & | getChildOTObjects (void) const |
OTObject * | findChildOTObject (const std::string &_objectName) |
const OTObject * | findChildOTObject (const std::string &_objectName) const |
void | setOTObjectName (const std::string &_name) |
const std::string & | getOTObjectName (void) const |
Public Member Functions inherited from ot::QWidgetInterface | |
QWidgetInterface () | |
virtual | ~QWidgetInterface () |
virtual QWidget * | getQWidget (void)=0 |
Returns a pointer to the root widget of this object. | |
virtual const QWidget * | getQWidget (void) const =0 |
void | setOTWidgetFlags (const WidgetFlags &_flags) |
const WidgetFlags & | otWidgetFlags (void) const |
Protected Member Functions | |
virtual void | updateWidgetEnabledState (bool _enabled, bool _locked)=0 |
This method is called whenever the enabled state should be updated (e.g. setEnabled or setReadOnly). | |
Protected Member Functions inherited from ot::OTObject | |
virtual void | objectWasDestroyed (OTObject *_object) |
Protected Member Functions inherited from ot::QWidgetInterface | |
virtual void | otWidgetFlagsChanged (const WidgetFlags &_flags) |
ot::Widget::Widget | ( | ) |
|
virtual |
|
inline |
void ot::Widget::lockWidget | ( | const LockTypeFlags & | _flags, |
int | _lockCount = 1 ) |
void ot::Widget::resetWidgetDisabledCounter | ( | void | ) |
Resets the disabled counter back to 0. (like no disabled was called)
void ot::Widget::resetWidgetLockCounter | ( | void | ) |
void ot::Widget::setWidgetEnabled | ( | bool | _enabled, |
int | _counter = 1 ) |
|
inline |
void ot::Widget::unlockWidget | ( | const LockTypeFlags & | _flags, |
int | _unlockCount = 1 ) |
|
protectedpure virtual |
This method is called whenever the enabled state should be updated (e.g. setEnabled or setReadOnly).