|
ADTF Qt5
|
#include <qtxsystem_intf.h>
Inherited by adtf::ui::ant::cQtWindow.
Public Member Functions | |
| virtual tResult | Create (const char *strWindowID, QWidget &oParentWidget)=0 |
| Callback which in called within the applications main th thread to create a window. | |
| virtual tResult | Destroy (QWidget &oParentWidget)=0 |
| Callback which in called within the applications main th thread to deliver a destroy message to the windows implementation. | |
| virtual tResult | OnIdle ()=0 |
| virtual tResult | OnTimer ()=0 |
IWindow interface defintion for to
|
pure virtual |
Callback which in called within the applications main th thread to create a window.
This Callback is a reaction on a IQtXSystem::CreateWindow call. You are able to initialize your own widget set to pParentWidget and create your display.
| [in] | strWindowID | unique ID of the Window. The ID is to manage the different IWindow creations and has to be unique. |
| [in] | oParentWidget | parent widget to add you own sub widgets to. |
CreateWindow call.Implemented in adtf::ui::ant::cQtWindow.
|
pure virtual |
Callback which in called within the applications main th thread to deliver a destroy message to the windows implementation.
This Callback is a reaction on a IQtXSystem::DestroyWindow call or any quit of the XSystem and can be used to cleanup. Qt is using reference counting on widget. Added widgets to oParentWidget are invalid after functions return.
| [in] | oParentWidget | parent widget about to destroy. |
DestroyWindow call.Implemented in adtf::ui::ant::cQtWindow.
|
pure virtual |
Callback for actions within a idle thread.
Use this for low priority activity. The default xsystem calls this roughly at a 100ms interval. To update your UI based on input data prefer OnTimer().
Implemented in adtf::ui::ant::cQtWindow.
|
pure virtual |
Callback for actions within a steady timer. This function is called at a specific interval from within the GUI thread (default is 50ms).
Implemented in adtf::ui::ant::cQtWindow.