Used by the DynamicSideViewerWidget to communicate with child widgets. More...
#include <ISideViewerWidget.h>
Public Member Functions | |
virtual IActionProvider * | actionProvider () const =0 |
Provides an action provider interface to provide actions to be shown in the SideWidgetWrapper class. | |
virtual QList< int > | destinationModes () const =0 |
Indication of the modes (which have dynamic side viewer widgets) in which the side viewer may appear. | |
virtual bool | isExclusive () const =0 |
Indicates if the widget is exclusive. | |
virtual bool | manageWidgets () const =0 |
When true, the dynamic side viewer widget will manage the lifetime of widgets returned through produceWidget(). | |
virtual QWidget * | produceWidget ()=0 |
Function which returns the side viewer widget. | |
virtual QList< int > | startupModes () const =0 |
Indicates if the widget should be shown on startup. | |
virtual QString | widgetLabel () const =0 |
The text used to represent the widget. | |
Public Member Functions inherited from Qtilities::Core::Interfaces::IObjectBase | |
virtual QObject * | objectBase ()=0 |
Returns the QObject* base of the interface. | |
virtual const QObject * | objectBase () const =0 |
Returns a const QObject* base of the interface. | |
QString | objectOriginID () const |
Allows interfaces to provide some sort of source identification. | |
void | setObjectOriginID (const QString &object_origin_id) |
Allows setting of the object source ID of this interface implementation. |
Used by the DynamicSideViewerWidget to communicate with child widgets.
|
pure virtual |
Indicates if the widget is exclusive.
When true, this widget can only appear once inside a dynamic side widget viewer.
Implemented in Qtilities::CoreGui::SideViewerWidgetFactory, Qtilities::Plugins::Help::ContentWidgetFactory, Qtilities::Plugins::Help::IndexWidgetFactory, and Qtilities::Plugins::Help::SearchWidgetFactory.
|
pure virtual |
Function which returns the side viewer widget.
Widget() must be able to produce a new widget every time it is called. The Qtilities::CoreGui::SideViewerWidgetFactory class was designed to help with this process.
The dynamic side viewer widget will manage the lifetime of widgets returned.
Implemented in Qtilities::CoreGui::SideViewerWidgetFactory, Qtilities::Plugins::Help::ContentWidgetFactory, Qtilities::Plugins::Help::IndexWidgetFactory, and Qtilities::Plugins::Help::SearchWidgetFactory.
Qtilities : Reference Documentation | Back to top |
Copyright © 2009-2013, Jaco Naudé
|