cumbia-qtcontrols 1.x
Qt widgets on top of the cumbia C++ library
|
QuXtraWidgetI defines an interface for widgets created by an implementation of QuXtraWidgetPluginI. More...
#include <quxtrawidgetplugininterface.h>
Public Types | |
enum | Type { Reader = 0x1 , Writer = 0x2 , ReaderWriter = 0x3 , Reader = 0x1 , Writer = 0x2 , ReaderWriter = 0x3 } |
enum | Type { Reader = 0x1 , Writer = 0x2 , ReaderWriter = 0x3 , Reader = 0x1 , Writer = 0x2 , ReaderWriter = 0x3 } |
Public Member Functions | |
virtual | ~QuXtraWidgetI () |
virtual CuContext * | getContext () const =0 |
getContext subclasses must provide a pointer to the CuContext in use More... | |
virtual QString | link () const =0 |
link returns the name of the link (i.e. the source of a reader or the target of a writer) More... | |
virtual void | setLink (const QString &s)=0 |
setLink sets the name of the link (source or target) More... | |
virtual void | unsetLink ()=0 |
unsetLink remove the source [target] linked to the reader [writer] More... | |
virtual Type | getType () const =0 |
getType returns a combination of QuXtraWidgetI::Type flags More... | |
virtual | ~QuXtraWidgetI () |
virtual CuContext * | getContext () const =0 |
getContext subclasses must provide a pointer to the CuContext in use More... | |
virtual QString | link () const =0 |
link returns the name of the link (i.e. the source of a reader or the target of a writer) More... | |
virtual void | setLink (const QString &s)=0 |
setLink sets the name of the link (source or target) More... | |
virtual void | unsetLink ()=0 |
unsetLink remove the source [target] linked to the reader [writer] More... | |
virtual Type | getType () const =0 |
getType returns a combination of QuXtraWidgetI::Type flags More... | |
QuXtraWidgetI defines an interface for widgets created by an implementation of QuXtraWidgetPluginI.
Since QuXtraWidgetPluginI::create methods instantiate a QWidget, QuXtraWidgetI can be accessed through a dynamic_cast.
enum QuXtraWidgetI::Type |
enum QuXtraWidgetI::Type |
|
inlinevirtual |
|
inlinevirtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
getType returns a combination of QuXtraWidgetI::Type flags
|
pure virtual |
getType returns a combination of QuXtraWidgetI::Type flags
|
pure virtual |
link returns the name of the link (i.e. the source of a reader or the target of a writer)
This is the equivalent of either source or target and must be implemented by subclasses.
Subclasses are advised to provide either a source or target property mapped to link and setLink to read and write the property, respectively:
\codeline Q_PROPERTY(QString source READ link WRITE setLink)
|
pure virtual |
link returns the name of the link (i.e. the source of a reader or the target of a writer)
This is the equivalent of either source or target and must be implemented by subclasses.
Subclasses are advised to provide either a source or target property mapped to link and setLink to read and write the property, respectively:
\codeline Q_PROPERTY(QString source READ link WRITE setLink)
|
pure virtual |
setLink sets the name of the link (source or target)
s | the name of the link to connect to the desired engine. |
This is the equivalent of either setSource or setTarget and must be implemented by subclasses.
Subclasses are advised to provide either a source or target property mapped to link and setLink to read and write the property, respectively.
\codeline Q_PROPERTY(QString source READ link WRITE setLink)
|
pure virtual |
setLink sets the name of the link (source or target)
s | the name of the link to connect to the desired engine. |
This is the equivalent of either setSource or setTarget and must be implemented by subclasses.
Subclasses are advised to provide either a source or target property mapped to link and setLink to read and write the property, respectively.
\codeline Q_PROPERTY(QString source READ link WRITE setLink)
|
pure virtual |
unsetLink remove the source [target] linked to the reader [writer]
Must be implemented by subclasses.
|
pure virtual |
unsetLink remove the source [target] linked to the reader [writer]
Must be implemented by subclasses.