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

QMdiArea Class Reference

Search for all occurrences

Detailed Description

Definition at line 59 of file qmdiarea.h.

#include <qmdiarea.h>

Inheritance diagram for QMdiArea:
Inheritance graph
[legend]

List of all members.

Public Types

enum   AreaOption { DontMaximizeSubWindowOnActivation = 0x1 }
enum   WindowOrder { CreationOrder, StackingOrder, ActivationHistoryOrder }
enum   ViewMode { SubWindowView, TabbedView }

Public Slots

void  setActiveSubWindow (QMdiSubWindow *window)
void  tileSubWindows ()
void  cascadeSubWindows ()
void  closeActiveSubWindow ()
void  closeAllSubWindows ()
void  activateNextSubWindow ()
void  activatePreviousSubWindow ()

Signals

void  subWindowActivated (QMdiSubWindow *)

Public Member Functions

  QMdiArea (QWidget *parent=0)
  ~QMdiArea ()
QSize  sizeHint () const
QSize  minimumSizeHint () const
QMdiSubWindow currentSubWindow () const
QMdiSubWindow activeSubWindow () const
QList< QMdiSubWindow * >  subWindowList (WindowOrder order=CreationOrder) const
QMdiSubWindow addSubWindow (QWidget *widget, Qt::WindowFlags flags=0)
void  removeSubWindow (QWidget *widget)
QBrush  background () const
void  setBackground (const QBrush &background)
WindowOrder  activationOrder () const
void  setActivationOrder (WindowOrder order)
void  setOption (AreaOption option, bool on=true)
bool  testOption (AreaOption opton) const
void  setViewMode (ViewMode mode)
ViewMode  viewMode () const
bool  documentMode () const
void  setDocumentMode (bool enabled)
void  setTabShape (QTabWidget::TabShape shape)
QTabWidget::TabShape  tabShape () const
void  setTabPosition (QTabWidget::TabPosition position)
QTabWidget::TabPosition  tabPosition () const

Protected Slots

void  setupViewport (QWidget *viewport)

Protected Member Functions

bool  event (QEvent *event)
bool  eventFilter (QObject *object, QEvent *event)
void  paintEvent (QPaintEvent *paintEvent)
void  childEvent (QChildEvent *childEvent)
void  resizeEvent (QResizeEvent *resizeEvent)
void  timerEvent (QTimerEvent *timerEvent)
void  showEvent (QShowEvent *showEvent)
bool  viewportEvent (QEvent *event)
void  scrollContentsBy (int dx, int dy)

Properties

QBrush  background
WindowOrder  activationOrder
ViewMode  viewMode
bool  documentMode
QTabWidget::TabShape  tabShape
QTabWidget::TabPosition  tabPosition

Member Enumeration Documentation

enum AreaOption
Enumerator:
DontMaximizeSubWindowOnActivation 

Definition at line 75 of file qmdiarea.h.

enum ViewMode
Enumerator:
SubWindowView 
TabbedView 

Definition at line 86 of file qmdiarea.h.


Constructor & Destructor Documentation

QMdiArea ( QWidget parent = 0 )
~QMdiArea ( )

Member Function Documentation

QSize sizeHint ( ) const [virtual]
QSize minimumSizeHint ( ) const [virtual]
QMdiSubWindow* currentSubWindow ( ) const
QMdiSubWindow* activeSubWindow ( ) const
QList<QMdiSubWindow *> subWindowList ( WindowOrder  order = CreationOrder ) const
QMdiSubWindow* addSubWindow ( QWidget widget,
Qt::WindowFlags  flags = 0 
)
void removeSubWindow ( QWidget widget )
QBrush background ( ) const
void setBackground ( const QBrush background )
WindowOrder activationOrder ( ) const
void setActivationOrder ( WindowOrder  order )
void setOption ( AreaOption  option,
bool  on = true 
)
bool testOption ( AreaOption  opton ) const
void setViewMode ( ViewMode  mode )
ViewMode viewMode ( ) const
bool documentMode ( ) const
void setDocumentMode ( bool  enabled )
void setTabShape ( QTabWidget::TabShape  shape )
QTabWidget::TabShape tabShape ( ) const
void setTabPosition ( QTabWidget::TabPosition  position )
QTabWidget::TabPosition tabPosition ( ) const
void subWindowActivated ( QMdiSubWindow ) [signal]
void setActiveSubWindow ( QMdiSubWindow window ) [slot]
void tileSubWindows ( ) [slot]
void cascadeSubWindows ( ) [slot]
void closeActiveSubWindow ( ) [slot]
void closeAllSubWindows ( ) [slot]
void activateNextSubWindow ( ) [slot]
void activatePreviousSubWindow ( ) [slot]
void setupViewport ( QWidget viewport ) [protected, slot]
bool event ( QEvent event ) [protected, virtual]
bool eventFilter ( QObject object,
QEvent event 
) [protected, virtual]

Reimplemented from QObject.

void paintEvent ( QPaintEvent paintEvent ) [protected, virtual]
void childEvent ( QChildEvent childEvent ) [protected, virtual]

Reimplemented from QObject.

void resizeEvent ( QResizeEvent resizeEvent ) [protected, virtual]
void timerEvent ( QTimerEvent timerEvent ) [protected, virtual]

Reimplemented from QObject.

void showEvent ( QShowEvent showEvent ) [protected, virtual]

Reimplemented from QWidget.

bool viewportEvent ( QEvent event ) [protected, virtual]
void scrollContentsBy ( int  dx,
int  dy 
) [protected, virtual]

Property Documentation

QBrush background [read, write]

Definition at line 63 of file qmdiarea.h.

WindowOrder activationOrder [read, write]

Definition at line 64 of file qmdiarea.h.

ViewMode viewMode [read, write]

Definition at line 65 of file qmdiarea.h.

bool documentMode [read, write]

Definition at line 67 of file qmdiarea.h.

QTabWidget::TabShape tabShape [read, write]

Definition at line 70 of file qmdiarea.h.

QTabWidget::TabPosition tabPosition [read, write]

Definition at line 71 of file qmdiarea.h.


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

QMdiArea QMdiArea QMdiArea QMdiArea QMdiArea QMdiArea QMdiArea QMdiArea QMdiArea QMdiArea
QMdiArea QMdiArea QMdiArea QMdiArea QMdiArea QMdiArea QMdiArea QMdiArea QMdiArea QMdiArea