RoutingContainerBase Class
The RoutingContainerBase can be inherited by container widgets to enables relative routing in widget children. More...
Header: | #include <CDPBaseWidgets/RoutingContainerBase.h> |
Inherited By: | CDPBaseButtonPopDlg, CDPBaseContainer, CDPBaseDialog, CDPBasePicture, CDPBaseUiLoaderWidget, NodeContainer, and RoutingContainer |
Public Types
typedef | ButtonUiMap |
Public Functions
RoutingContainerBase() | |
virtual QString | cdpFullTargetRouting() |
virtual QString | cdpTargetRouting() const |
virtual void | setCdpTargetRouting(const QString &routing) |
Static Public Members
void | reparentDialogChildrenToButtons(CDPBaseButtonPopDlg *topButton, ButtonUiMap &dialogParents) |
void | restoreDialogParentsFromList(ButtonUiMap &dialogParents) |
void | updateRelativeRoutingsInChildren(QObject *parent) |
Detailed Description
The RoutingContainerBase can be inherited by container widgets to enables relative routing in widget children.
Inherit the RoutingContainerBase and add the following properties:
Q_PROPERTY(QString cdpTargetRouting READ cdpTargetRouting WRITE setCdpTargetRouting) Q_PROPERTY(QString cdpFullTargetRouting READ cdpFullTargetRouting DESIGNABLE false)
Setting the cdpTargetRouting property enables child widgets to add relative routings using the dot character.
Member Function Documentation
RoutingContainerBase::RoutingContainerBase()
Default constructs an instance of RoutingContainerBase.
[virtual]
QString RoutingContainerBase::cdpFullTargetRouting()
[virtual]
QString RoutingContainerBase::cdpTargetRouting() const
See also setCdpTargetRouting().
[static]
void RoutingContainerBase::reparentDialogChildrenToButtons(CDPBaseButtonPopDlg *topButton, ButtonUiMap &dialogParents)
[static]
void RoutingContainerBase::restoreDialogParentsFromList(ButtonUiMap &dialogParents)
[virtual]
void RoutingContainerBase::setCdpTargetRouting(const QString &routing)
See also cdpTargetRouting().
[static]
void RoutingContainerBase::updateRelativeRoutingsInChildren(QObject *parent)
Get started with CDP Studio today
Let us help you take your great ideas and turn them into the products your customer will love.