synthclone  0.3.0
synthclone::DesignerView Class Reference

Utility class for loading views created with QtDesigner. More...

#include <synthclone/designerview.h>

Inheritance diagram for synthclone::DesignerView:
Collaboration diagram for synthclone::DesignerView:

Protected Member Functions

 DesignerView (const QString &path, QObject *parent=0)
 Constructs a new DesignerView. More...
 
virtual ~DesignerView ()
 Destroys a DesignerView object. More...
 
- Protected Member Functions inherited from synthclone::View
 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

- Public Slots inherited from synthclone::View
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...
 
- Signals inherited from synthclone::View
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...
 
- Public Member Functions inherited from synthclone::View
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...
 

Detailed Description

Utility class for loading views created with QtDesigner.

Constructor & Destructor Documentation

◆ DesignerView()

synthclone::DesignerView::DesignerView ( const QString &  path,
QObject *  parent = 0 
)
explicitprotected

Constructs a new DesignerView.

This constructor should not be called directly; instead, subclass constructors should call this constructor.

Parameters
pathThe path to the QtDesigner file.
parentThe parent object of the new DesignerView.

◆ ~DesignerView()

virtual synthclone::DesignerView::~DesignerView ( )
protectedvirtual

Destroys a DesignerView object.


The documentation for this class was generated from the following file: