synthclone
0.3.0
|
Utility class for loading views created with QtDesigner. More...
#include <synthclone/designerview.h>
Protected Member Functions | |
DesignerView (const QString &path, QObject *parent=0) | |
Constructs a new DesignerView. More... | |
virtual | ~DesignerView () |
Destroys a DesignerView object. More... | |
![]() | |
View (QWidget *rootWidget, QObject *parent=0) | |
Constructs a new View. More... | |
virtual | ~View () |
Destroys the View object. More... | |
const QWidget * | getRootWidget () const |
Gets the root widget for this view. More... | |
QWidget * | getRootWidget () |
Gets the root widget for this view. More... | |
Additional Inherited Members | |
![]() | |
virtual void | setCloseEnabled (bool enabled) |
Enables/disables closing for this view. More... | |
virtual void | setVisible (bool visible) |
Sets the visibility of the root widget. More... | |
![]() | |
void | closeEnabledChanged (bool enabled) |
Emitted when closing is enabled/disabled. More... | |
void | closeRequest () |
Emitted when a root widget's close button is pressed. More... | |
void | visibilityChanged (bool visible) |
Emitted when the visibility flag for the view changes. More... | |
![]() | |
bool | isCloseEnabled () const |
Gets a boolean indicating whether or not closing of this view is enabled. More... | |
bool | isVisible () const |
Gets a boolean indicating whether or not the view is visible. More... | |
Utility class for loading views created with QtDesigner.
|
explicitprotected |
Constructs a new DesignerView.
This constructor should not be called directly; instead, subclass constructors should call this constructor.
path | The path to the QtDesigner file. |
parent | The parent object of the new DesignerView. |
|
protectedvirtual |
Destroys a DesignerView object.