Public Types | Public Slots | Signals | Public Member Functions | Protected Member Functions | Properties

QWorkspace Class Reference

Search for all occurrences

Detailed Description

Definition at line 60 of file qworkspace.h.

#include <qworkspace.h>

Inheritance diagram for QWorkspace:
Inheritance graph
[legend]

List of all members.

Public Types

enum   WindowOrder { CreationOrder, StackingOrder }

Public Slots

void  setActiveWindow (QWidget *w)
void  cascade ()
void  tile ()
void  arrangeIcons ()
void  closeActiveWindow ()
void  closeAllWindows ()
void  activateNextWindow ()
void  activatePreviousWindow ()

Signals

void  windowActivated (QWidget *w)

Public Member Functions

  QWorkspace (QWidget *parent=0)
  ~QWorkspace ()
QWidget activeWindow () const
QWidgetList  windowList (WindowOrder order=CreationOrder) const
QWidget addWindow (QWidget *w, Qt::WindowFlags flags=0)
QSize  sizeHint () const
bool  scrollBarsEnabled () const
void  setScrollBarsEnabled (bool enable)
void  setBackground (const QBrush &background)
QBrush  background () const

Protected Member Functions

bool  event (QEvent *e)
void  paintEvent (QPaintEvent *e)
void  changeEvent (QEvent *)
void  childEvent (QChildEvent *)
void  resizeEvent (QResizeEvent *)
bool  eventFilter (QObject *, QEvent *)
void  showEvent (QShowEvent *e)
void  hideEvent (QHideEvent *e)
void  wheelEvent (QWheelEvent *e)

Properties

bool  scrollBarsEnabled
QBrush  background

Member Enumeration Documentation

Enumerator:
CreationOrder 
StackingOrder 

Definition at line 70 of file qworkspace.h.


Constructor & Destructor Documentation

QWorkspace ( QWidget parent = 0 ) [explicit]
~QWorkspace ( )

Member Function Documentation

QWidget* activeWindow ( ) const
QWidgetList windowList ( WindowOrder  order = CreationOrder ) const
QWidget* addWindow ( QWidget w,
Qt::WindowFlags  flags = 0 
)
QSize sizeHint ( ) const [virtual]

Reimplemented from QWidget.

bool scrollBarsEnabled ( ) const
void setScrollBarsEnabled ( bool  enable )
void setBackground ( const QBrush background )
QBrush background ( ) const
void windowActivated ( QWidget w ) [signal]
void setActiveWindow ( QWidget w ) [slot]
void cascade ( ) [slot]
void tile ( ) [slot]
void arrangeIcons ( ) [slot]
void closeActiveWindow ( ) [slot]
void closeAllWindows ( ) [slot]
void activateNextWindow ( ) [slot]
void activatePreviousWindow ( ) [slot]
bool event ( QEvent e ) [protected, virtual]

Reimplemented from QWidget.

void paintEvent ( QPaintEvent e ) [protected, virtual]

Reimplemented from QWidget.

void changeEvent ( QEvent ) [protected, virtual]

Reimplemented from QWidget.

void childEvent ( QChildEvent ) [protected, virtual]

Reimplemented from QObject.

void resizeEvent ( QResizeEvent ) [protected, virtual]

Reimplemented from QWidget.

bool eventFilter ( QObject ,
QEvent  
) [protected, virtual]

Reimplemented from QObject.

void showEvent ( QShowEvent e ) [protected, virtual]

Reimplemented from QWidget.

void hideEvent ( QHideEvent e ) [protected, virtual]

Reimplemented from QWidget.

void wheelEvent ( QWheelEvent e ) [protected, virtual]

Reimplemented from QWidget.


Property Documentation

bool scrollBarsEnabled [read, write]

Definition at line 63 of file qworkspace.h.

QBrush background [read, write]

Definition at line 64 of file qworkspace.h.


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

QWorkspace QWorkspace QWorkspace QWorkspace QWorkspace QWorkspace QWorkspace QWorkspace QWorkspace QWorkspace
QWorkspace QWorkspace QWorkspace QWorkspace QWorkspace QWorkspace QWorkspace QWorkspace QWorkspace QWorkspace