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