ADTF_DISPLAY_TOOLBOX
3.8.0 (ADTF 3.14.3)
|
cQtWindow Base class for object mixins. More...
Public Member Functions | |
cBaseObjectSelectionMixin () | |
Constructor. | |
QWidget * | CreateView () override |
Creates the view with the XService. More... | |
tVoid | ReleaseView () override |
Releases the view with the XService. | |
tResult | InitScene () override |
Init the scene of this mixin. More... | |
tResult | ProcessInput (adtf::streaming::flash::ISampleReader *pReader, const adtf::ucom::ant::iobject_ptr< const adtf::streaming::ant::ISample > &pSample) override |
Process input override. More... | |
tResult | OnIdle () override |
Handle a an idle event. More... | |
Protected Member Functions | |
virtual void | AttachItemsToWidget (QWidget *pWidget) |
Creates Qt widgets for displaying data. More... | |
virtual tResult | UpdateWidgets (cBaseObjectScene *pScene, cBaseObject *pObj) |
Updates the Qt widgets based on the currently selected object. More... | |
Protected Attributes | |
std::unique_ptr< cImplementation > | m_pImplementation |
D-Pointer implementation. | |
cQtWindow Base class for object mixins.
These support selection (pick functionality).
Implement the cBaseObjectMixin::UpdateScene method to add data to your scene. To add additional widgets to display custom information overwrite the AttachItemsToWidget method. Call the base implementation at the beginning of your method and use pWidget->layout() to add your own widgets (optional). In your UpdateWidgets method call the base method and update your own widgets (Mind that the parameters can equal NULL, which means that no object is currently selected).
Definition at line 46 of file baseobjectselectionmixin.h.
|
protectedvirtual |
Creates Qt widgets for displaying data.
Overwrite this and call the base to add your own widgets.
pWidget | [in] The base widget of this mixin. |
|
override |
Creates the view with the XService.
|
override |
Init the scene of this mixin.
See adtf::disptb::mixinlib::IMixin for further reference.
|
override |
Handle a an idle event.
See adtf::disptb::mixinlib::IMixin for further reference.
|
override |
Process input override.
pReader | [in] pointer to the sample reader |
pSample | [in] pointer to current sample |
|
protectedvirtual |
Updates the Qt widgets based on the currently selected object.
Overwrite this and call the base to update your own widgets.
pScene | [in] The scene that the selected object belongs to, can be NULL. |
pObj | [in] The selected object, can be NULL. |