20 #ifndef __SYNTHCLONE_VIEW_H__
21 #define __SYNTHCLONE_VIEW_H__
23 #include <QtGui/QWidget>
27 class CloseEventFilter;
38 class View:
public QObject {
133 View(QWidget *rootWidget, QObject *parent=0);
164 CloseEventFilter *closeEventFilter;
void closeEnabledChanged(bool enabled)
Emitted when closing is enabled/disabled.
virtual void setCloseEnabled(bool enabled)
Enables/disables closing for this view.
Definition: component.h:26
bool isCloseEnabled() const
Gets a boolean indicating whether or not closing of this view is enabled.
virtual void setVisible(bool visible)
Sets the visibility of the root widget.
void visibilityChanged(bool visible)
Emitted when the visibility flag for the view changes.
const QWidget * getRootWidget() const
Gets the root widget for this view.
bool isVisible() const
Gets a boolean indicating whether or not the view is visible.
void closeRequest()
Emitted when a root widget's close button is pressed.
virtual ~View()
Destroys the View object.
View(QWidget *rootWidget, QObject *parent=0)
Constructs a new View.
Utility view class.
Definition: view.h:38