45 #include <QtGui/qabstractscrollarea.h> 46 #include <QtGui/qtabwidget.h> 71 #ifndef QT_NO_TABWIDGET 78 DontMaximizeSubWindowOnActivation = 0x1
85 ActivationHistoryOrder
106 QBrush background()
const;
107 void setBackground(
const QBrush &background);
112 void setOption(
AreaOption option,
bool on =
true);
119 bool documentMode()
const;
120 void setDocumentMode(
bool enabled);
122 void setTabsClosable(
bool closable);
123 bool tabsClosable()
const;
125 void setTabsMovable(
bool movable);
126 bool tabsMovable()
const;
128 #ifndef QT_NO_TABWIDGET 141 void tileSubWindows();
142 void cascadeSubWindows();
143 void closeActiveSubWindow();
144 void closeAllSubWindows();
145 void activateNextSubWindow();
146 void activatePreviousSubWindow();
166 Q_PRIVATE_SLOT(d_func(),
void _q_processWindowStateChanged(
Qt::WindowStates,
Qt::WindowStates))
178 #endif // QT_NO_MDIAREA
bool documentMode
whether the tab bar is set to document mode in tabbed view mode.
#define QT_END_NAMESPACE
This macro expands to.
QPointer< QWidget > widget
#define Q_DECLARE_FLAGS(Flags, Enum)
The Q_DECLARE_FLAGS() macro expands to.
bool tabsClosable
whether the tab bar should place close buttons on each tab in tabbed view mode.
virtual void timerEvent(QTimerEvent *)
This event handler can be reimplemented in a subclass to receive timer events for the object...
static qreal position(QGraphicsObject *item, QDeclarativeAnchorLine::AnchorLine anchorLine)
bool tabsMovable
whether the user can move the tabs within the tabbar area in tabbed view mode.
#define Q_DISABLE_COPY(Class)
Disables the use of copy constructors and assignment operators for the given Class.
#define Q_PRIVATE_SLOT(d, signature)
ViewMode
This enum describes the view mode of the area; i.
The QObject class is the base class of all Qt objects.
#define QT_BEGIN_NAMESPACE
This macro expands to.
#define Q_DECLARE_OPERATORS_FOR_FLAGS(Flags)
The Q_DECLARE_OPERATORS_FOR_FLAGS() macro declares global operator|() functions for Flags...
virtual void childEvent(QChildEvent *)
This event handler can be reimplemented in a subclass to receive child events.
The QMdiArea widget provides an area in which MDI windows are displayed.
QTabWidget::TabShape tabShape
the shape of the tabs in tabbed view mode.
The QResizeEvent class contains event parameters for resize events.
The QShowEvent class provides an event that is sent when a widget is shown.
virtual bool eventFilter(QObject *, QEvent *)
Filters events if this object has been installed as an event filter for the watched object...
The QChildEvent class contains event parameters for child object events.
The QBrush class defines the fill pattern of shapes drawn by QPainter.
The QTimerEvent class contains parameters that describe a timer event.
QTabWidget::TabPosition tabPosition
the position of the tabs in tabbed view mode.
WindowOrder
Specifies the criteria to use for ordering the list of child windows returned by subWindowList().
AreaOption
This enum describes options that customize the behavior of the QMdiArea.
The QSize class defines the size of a two-dimensional object using integer point precision.
#define Q_DECLARE_PRIVATE(Class)
The QPaintEvent class contains event parameters for paint events.
The QEvent class is the base class of all event classes.
The QMdiSubWindow class provides a subwindow class for QMdiArea.
The QList class is a template class that provides lists.