42 #ifndef QMDISUBWINDOW_H 43 #define QMDISUBWINDOW_H 45 #include <QtGui/qwidget.h> 58 namespace QMdi {
class ControlContainer; }
67 AllowOutsideAreaHorizontally = 0x1,
68 AllowOutsideAreaVertically = 0x2,
69 RubberBandResize = 0x4,
77 QSize sizeHint()
const;
78 QSize minimumSizeHint()
const;
83 QWidget *maximizedButtonsWidget()
const;
84 QWidget *maximizedSystemMenuIconWidget()
const;
86 bool isShaded()
const;
91 void setKeyboardSingleStep(
int step);
92 int keyboardSingleStep()
const;
94 void setKeyboardPageStep(
int step);
95 int keyboardPageStep()
const;
98 void setSystemMenu(
QMenu *systemMenu);
99 QMenu *systemMenu()
const;
105 void windowStateChanged(Qt::WindowStates oldState, Qt::WindowStates newState);
106 void aboutToActivate();
110 void showSystemMenu();
119 void changeEvent(
QEvent *changeEvent);
121 void leaveEvent(
QEvent *leaveEvent);
131 #ifndef QT_NO_CONTEXTMENU 157 #endif // QT_NO_MDIAREA 159 #endif // QMDISUBWINDOW_H The QKeyEvent class describes a key event.
#define QT_END_NAMESPACE
This macro expands to.
QPointer< QWidget > widget
static void keyEvent(KeyAction action, QWidget *widget, char ascii, Qt::KeyboardModifiers modifier=Qt::NoModifier, int delay=-1)
#define Q_DECLARE_FLAGS(Flags, Enum)
The Q_DECLARE_FLAGS() macro expands to.
#define Q_DISABLE_COPY(Class)
Disables the use of copy constructors and assignment operators for the given Class.
#define Q_PRIVATE_SLOT(d, signature)
The QObject class is the base class of all Qt objects.
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QMoveEvent class contains event parameters for move events.
#define Q_DECLARE_OPERATORS_FOR_FLAGS(Flags)
The Q_DECLARE_OPERATORS_FOR_FLAGS() macro declares global operator|() functions for Flags...
The QMdiArea widget provides an area in which MDI windows are displayed.
The QHideEvent class provides an event which is sent after a widget is hidden.
The QResizeEvent class contains event parameters for resize events.
The QShowEvent class provides an event that is sent when a widget is shown.
The QMouseEvent class contains parameters that describe a mouse event.
The QChildEvent class contains event parameters for child object events.
The QTimerEvent class contains parameters that describe a timer event.
static void mouseEvent(MouseAction action, QWidget *widget, Qt::MouseButton button, Qt::KeyboardModifiers stateKey, QPoint pos, int delay=-1)
int keyboardSingleStep
sets how far a widget should move or resize when using the keyboard arrow keys.
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.
SubWindowOption
This enum describes options that customize the behavior of QMdiSubWindow.
The QCloseEvent class contains parameters that describe a close event.
The QMdiSubWindow class provides a subwindow class for QMdiArea.
The QFocusEvent class contains event parameters for widget focus events.
int keyboardPageStep
sets how far a widget should move or resize when using the keyboard page keys.