synthclone 0.3.0
Loading...
Searching...
No Matches
synthclone::DesignerView Class Reference

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

#include <synthclone/designerview.h>

Inheritance diagram for synthclone::DesignerView:
[legend]
Collaboration diagram for synthclone::DesignerView:
[legend]

Protected Member Functions

 DesignerView (const QString &path, QObject *parent=0)
 Constructs a new DesignerView.
virtual ~DesignerView ()
 Destroys a DesignerView object.
Protected Member Functions inherited from synthclone::View
 View (QWidget *rootWidget, QObject *parent=0)
 Constructs a new View.
virtual ~View ()
 Destroys the View object.
const QWidget * getRootWidget () const
 Gets the root widget for this view.
QWidget * getRootWidget ()
 Gets the root widget for this view.

Additional Inherited Members

Public Slots inherited from synthclone::View
virtual void setCloseEnabled (bool enabled)
 Enables/disables closing for this view.
virtual void setVisible (bool visible)
 Sets the visibility of the root widget.
Signals inherited from synthclone::View
void closeEnabledChanged (bool enabled)
 Emitted when closing is enabled/disabled.
void closeRequest ()
 Emitted when a root widget's close button is pressed.
void visibilityChanged (bool visible)
 Emitted when the visibility flag for the view changes.
Public Member Functions inherited from synthclone::View
bool isCloseEnabled () const
 Gets a boolean indicating whether or not closing of this view is enabled.
bool isVisible () const
 Gets a boolean indicating whether or not the view is visible.

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: