Qyoto
4.0.5
Qyoto is a C# language binding for Qt
|
The QMdiArea widget provides an area in which MDI windows are displayed. More...
Public Types | |
enum | AreaOption { DontMaximizeSubWindowOnActivation = 1 } |
More... | |
enum | ViewMode { SubWindowView = 0, TabbedView = 1 } |
More... | |
enum | WindowOrder { ActivationHistoryOrder = 2, CreationOrder = 0, StackingOrder = 1 } |
More... | |
Public Member Functions | |
QMdiArea (QWidget parent=null) | |
| |
override void | CreateProxy () |
new void | ActivateNextSubWindow () |
| |
new void | ActivatePreviousSubWindow () |
| |
new QMdiSubWindow | AddSubWindow (QWidget widget, Qt.WindowType flags=0) |
| |
new void | CascadeSubWindows () |
| |
new void | CloseActiveSubWindow () |
| |
new void | CloseAllSubWindows () |
| |
new QMdiSubWindow | CurrentSubWindow () |
| |
override bool | OnEvent (QEvent @event) |
| |
override bool | EventFilter (QObject @object, QEvent @event) |
| |
override QSize | MinimumSizeHint () |
| |
new void | RemoveSubWindow (QWidget widget) |
| |
new void | SetOption (QMdiArea.AreaOption option, bool on=true) |
| |
override QSize | SizeHint () |
| |
new System.Collections.Generic.List < QMdiSubWindow > | SubWindowList (QMdiArea.WindowOrder order=QMdiArea.WindowOrder.CreationOrder) |
| |
new bool | TestOption (QMdiArea.AreaOption opton) |
| |
new void | TileSubWindows () |
| |
new void | Dispose () |
Public Member Functions inherited from QtGui.QAbstractScrollArea | |
QAbstractScrollArea (QWidget parent=null) | |
| |
new void | AddScrollBarWidget (QWidget widget, Qt.AlignmentFlag alignment) |
| |
override bool | OnEvent (QEvent arg1) |
| |
new QSize | MaximumViewportSize () |
| |
new System.Collections.Generic.List < QWidget > | ScrollBarWidgets (Qt.AlignmentFlag alignment) |
| |
new void | Dispose () |
Public Member Functions inherited from QtGui.QFrame | |
QFrame (QWidget parent=null, Qt.WindowType f=0) | |
| |
override bool | OnEvent (QEvent e) |
| |
new void | Dispose () |
Public Member Functions inherited from QtGui.QWidget | |
QWidget (QWidget parent=null, Qt.WindowType f=0) | |
| |
override void | CreateProxy () |
new System.Collections.Generic.List < QAction > | Actions () |
| |
new void | ActivateWindow () |
| |
new void | AddAction (QAction action) |
| |
new void | AddActions (System.Collections.Generic.List< QAction > actions) |
| |
new void | AdjustSize () |
| |
new QWidget | ChildAt (QPoint p) |
| |
new QWidget | ChildAt (int x, int y) |
| |
new void | ClearFocus () |
| |
new void | ClearMask () |
| |
new bool | Close () |
| |
new QRect | ContentsRect () |
| |
new void | CreateWinId () |
virtual int | DevType () |
new NativeULong | EffectiveWinId () |
| |
new void | EnsurePolished () |
| |
override bool | OnEvent (QEvent arg1) |
| |
new QWidget | FocusWidget () |
| |
new QFont | font () |
new QFontInfo | FontInfo () |
| |
new QFontMetrics | FontMetrics () |
| |
new QRect | geometry () |
new void | GetContentsMargins (ref int left, ref int top, ref int right, ref int bottom) |
| |
virtual System.IntPtr | GetDC () |
| |
new void | GrabGesture (Qt.GestureType type, Qt.GestureFlag flags=0) |
| |
new void | GrabKeyboard () |
| |
new void | GrabMouse () |
| |
new void | GrabMouse (QCursor arg1) |
| |
new int | GrabShortcut (QKeySequence key, Qt.ShortcutContext context=Qt.ShortcutContext.WindowShortcut) |
| |
new QGraphicsProxyWidget | GraphicsProxyWidget () |
| |
virtual int | HeightForWidth (int arg1) |
| |
new void | Hide () |
| |
new Qt.InputMethodHint | inputMethodHints () |
virtual object | InputMethodQuery (Qt.InputMethodQuery arg1) |
| |
new void | InsertAction (QAction before, QAction action) |
| |
new void | InsertActions (QAction before, System.Collections.Generic.List< QAction > actions) |
| |
new NativeULong | InternalWinId () |
new bool | IsAncestorOf (QWidget child) |
| |
new bool | IsEnabledTo (QWidget arg1) |
| |
new bool | IsEnabledToTLW () |
| |
new bool | IsHidden () |
| |
new bool | IsLeftToRight () |
new bool | IsRightToLeft () |
new bool | IsTopLevel () |
| |
new bool | IsVisibleTo (QWidget arg1) |
| |
new bool | IsWindow () |
| |
new void | Lower () |
| |
new QPoint | MapFrom (QWidget arg1, QPoint arg2) |
| |
new QPoint | MapFromGlobal (QPoint arg1) |
| |
new QPoint | MapFromParent (QPoint arg1) |
| |
new QPoint | MapTo (QWidget arg1, QPoint arg2) |
| |
new QPoint | MapToGlobal (QPoint arg1) |
| |
new QPoint | MapToParent (QPoint arg1) |
| |
new void | Move (int x, int y) |
new QWidget | NativeParentWidget () |
| |
new QWidget | NextInFocusChain () |
| |
new void | OverrideWindowFlags (Qt.WindowType type) |
| |
new void | OverrideWindowState (Qt.WindowState state) |
virtual QPaintEngine | PaintEngine () |
| |
new QPalette | palette () |
new QWidget | ParentWidget () |
| |
new QWidget | PreviousInFocusChain () |
| |
new void | Raise () |
| |
virtual void | ReleaseDC (System.IntPtr arg1) |
| |
new void | ReleaseKeyboard () |
| |
new void | ReleaseMouse () |
| |
new void | ReleaseShortcut (int id) |
| |
new void | RemoveAction (QAction action) |
| |
new void | Render (IQPaintDevice target) |
| |
new void | Render (QPainter painter) |
| |
new void | Render (IQPaintDevice target, QPoint targetOffset) |
| |
new void | Render (QPainter painter, QPoint targetOffset) |
| |
new void | Render (IQPaintDevice target, QPoint targetOffset, QRegion sourceRegion, QWidget.RenderFlag renderFlags=QWidget.RenderFlag.DrawWindowBackground|QWidget.RenderFlag.DrawChildren) |
| |
new void | Render (QPainter painter, QPoint targetOffset, QRegion sourceRegion, QWidget.RenderFlag renderFlags=QWidget.RenderFlag.DrawWindowBackground|QWidget.RenderFlag.DrawChildren) |
| |
new void | Repaint () |
| |
new void | Repaint (QRect arg1) |
| |
new void | Repaint (QRegion arg1) |
| |
new void | Repaint (int x, int y, int w, int h) |
| |
new void | Resize (int w, int h) |
new bool | RestoreGeometry (QByteArray geometry) |
| |
new QByteArray | SaveGeometry () |
| |
new void | Scroll (int dx, int dy) |
| |
new void | Scroll (int dx, int dy, QRect arg3) |
| |
new void | SetAttribute (Qt.WidgetAttribute arg1, bool on=true) |
| |
new void | SetBaseSize (int basew, int baseh) |
new void | SetContentsMargins (int left, int top, int right, int bottom) |
| |
new void | SetDisabled (bool arg1) |
| |
new void | SetFixedHeight (int h) |
| |
new void | SetFixedSize (QSize arg1) |
| |
new void | SetFixedSize (int w, int h) |
| |
new void | SetFixedWidth (int w) |
| |
new void | SetFocus () |
| |
new void | SetFocus (Qt.FocusReason reason) |
| |
new void | SetGeometry (int x, int y, int w, int h) |
new void | SetHidden (bool hidden) |
| |
new void | SetInputMethodHints (Qt.InputMethodHint hints) |
new void | SetMask (QBitmap arg1) |
| |
new void | SetMaximumSize (int maxw, int maxh) |
new void | SetMinimumSize (int minw, int minh) |
new void | SetParent (QWidget parent) |
| |
new void | SetParent (QWidget parent, Qt.WindowType f) |
| |
new void | SetShortcutAutoRepeat (int id, bool enable=true) |
| |
new void | SetShortcutEnabled (int id, bool enable=true) |
| |
new void | SetShown (bool shown) |
new void | SetSizeIncrement (int w, int h) |
new void | SetSizePolicy (QSizePolicy.Policy horizontal, QSizePolicy.Policy vertical) |
virtual void | SetVisible (bool visible) |
new void | Show () |
| |
new void | ShowFullScreen () |
| |
new void | ShowMaximized () |
| |
new void | ShowMinimized () |
| |
new void | ShowNormal () |
| |
new void | StackUnder (QWidget arg1) |
| |
new bool | TestAttribute (Qt.WidgetAttribute arg1) |
| |
new QWidget | TopLevelWidget () |
| |
new bool | UnderMouse () |
| |
new void | UngrabGesture (Qt.GestureType type) |
| |
new void | UnsetCursor () |
new void | UnsetLayoutDirection () |
new void | UnsetLocale () |
new void | Update () |
| |
new void | Update (QRect arg1) |
| |
new void | Update (QRegion arg1) |
| |
new void | Update (int x, int y, int w, int h) |
| |
new void | UpdateGeometry () |
| |
new QRegion | VisibleRegion () |
| |
new NativeULong | WinId () |
| |
new QWidget | Window () |
| |
new Qt.WindowType | WindowType () |
| |
new void | Dispose () |
new int | ColorCount () |
new int | Depth () |
new int | HeightMM () |
new int | LogicalDpiX () |
new int | LogicalDpiY () |
new int | NumColors () |
new bool | PaintingActive () |
new int | PhysicalDpiX () |
new int | PhysicalDpiY () |
new int | WidthMM () |
Public Member Functions inherited from QtCore.QObject | |
QObject (QObject parent=null) | |
| |
new bool | BlockSignals (bool b) |
| |
new System.Collections.Generic.List < QObject > | Children () |
| |
new bool | Connect (QObject sender, string signal, string member, Qt.ConnectionType type=Qt.ConnectionType.AutoConnection) |
| |
new void | DeleteLater () |
| |
new bool | Disconnect (QObject receiver, string member=null) |
| |
new bool | Disconnect (string signal=null, QObject receiver=null, string member=null) |
| |
new void | DumpObjectInfo () |
| |
new void | DumpObjectTree () |
| |
new System.Collections.Generic.List < QByteArray > | DynamicPropertyNames () |
| |
virtual bool | EventFilter (QObject arg1, QEvent arg2) |
| |
new bool | Inherits (string classname) |
| |
new void | InstallEventFilter (QObject arg1) |
| |
new bool | IsWidgetType () |
| |
new void | KillTimer (int id) |
| |
new object | Property (string name) |
| |
new void | RemoveEventFilter (QObject arg1) |
| |
new bool | SetProperty (string name, object value) |
| |
new void | SetUserData (uint id, QObjectUserData data) |
new bool | SignalsBlocked () |
| |
new int | StartTimer (int interval) |
| |
new QObjectUserData | UserData (uint id) |
new void | Dispose () |
Public Member Functions inherited from QtCore.Qt | |
delegate QTextStream | FuncQTextStreamQTextStream (QTextStream qTextStream) |
delegate string | FuncStringQByteArray (QByteArray qByteArray) |
delegate QByteArray | FuncQByteArrayString (string @string) |
delegate void | ActionQtMsgTypeString (QtMsgType qtMsgType, string @string) |
delegate QObject | FuncQObject () |
Public Member Functions inherited from QtGui.IQPaintDevice | |
new int | ColorCount () |
new int | Depth () |
int | DevType () |
System.IntPtr | GetDC () |
new int | Height () |
new int | HeightMM () |
new int | LogicalDpiX () |
new int | LogicalDpiY () |
new int | NumColors () |
QPaintEngine | PaintEngine () |
new bool | PaintingActive () |
new int | PhysicalDpiX () |
new int | PhysicalDpiY () |
void | ReleaseDC (System.IntPtr hdc) |
new int | Width () |
new int | WidthMM () |
Static Public Member Functions | |
static string | Tr (string s, string c=null) |
static string | Tr (string s, string c, int n) |
static string | TrUtf8 (string s, string c=null) |
static string | TrUtf8 (string s, string c, int n) |
Static Public Member Functions inherited from QtGui.QAbstractScrollArea | |
static string | Tr (string s, string c=null) |
static string | Tr (string s, string c, int n) |
static string | TrUtf8 (string s, string c=null) |
static string | TrUtf8 (string s, string c, int n) |
Static Public Member Functions inherited from QtGui.QFrame | |
static string | Tr (string s, string c=null) |
static string | Tr (string s, string c, int n) |
static string | TrUtf8 (string s, string c=null) |
static string | TrUtf8 (string s, string c, int n) |
Static Public Member Functions inherited from QtGui.QWidget | |
static QWidget | Find (NativeULong arg1) |
| |
static QWidget | KeyboardGrabber () |
| |
static QWidget | MouseGrabber () |
| |
static void | SetTabOrder (QWidget arg1, QWidget arg2) |
| |
static string | Tr (string s, string c=null) |
static string | Tr (string s, string c, int n) |
static string | TrUtf8 (string s, string c=null) |
static string | TrUtf8 (string s, string c, int n) |
Static Public Member Functions inherited from QtCore.QObject | |
static bool | Connect (QObject sender, QMetaMethod signal, QObject receiver, QMetaMethod method, Qt.ConnectionType type=Qt.ConnectionType.AutoConnection) |
| |
static bool | Connect (QObject sender, string signal, QObject receiver, string member, Qt.ConnectionType arg5=Qt.ConnectionType.AutoConnection) |
| |
static bool | Disconnect (QObject sender, QMetaMethod signal, QObject receiver, QMetaMethod member) |
| |
static bool | Disconnect (QObject sender, string signal, QObject receiver, string member) |
| |
static uint | RegisterUserData () |
static string | Tr (string s, string c=null) |
| |
static string | Tr (string s, string c, int n) |
| |
static string | TrUtf8 (string s, string c=null) |
| |
static string | TrUtf8 (string s, string c, int n) |
| |
Static Public Member Functions inherited from QtCore.Qt | |
static QDataStream | Write (QDataStream s, object p) |
static QDataStream | Write (QDataStream arg1, QSizeF arg2) |
static QTextStream | Write (QTextStream s, Qt.FuncQTextStreamQTextStream f) |
static QDataStream | Write (QDataStream arg1, QPoint arg2) |
static QDataStream | Write (QDataStream arg1, QLineF arg2) |
static QDataStream | Write (QDataStream arg1, QPointF arg2) |
static QDataStream | Write (QDataStream arg1, QChar arg2) |
static QDataStream | Write (QDataStream arg1, QByteArray arg2) |
static QDataStream | Write (QDataStream arg1, QEasingCurve arg2) |
static QDataStream | Write (QDataStream arg1, QRectF arg2) |
static QDataStream | Write (QDataStream arg1, QDateTime arg2) |
static QDataStream | Write (QDataStream arg1, QUrl arg2) |
static QDataStream | Write (QDataStream arg1, QTime arg2) |
static QDataStream | Write (QDataStream arg1, QLocale arg2) |
static QDataStream | Write (QDataStream arg1, QBitArray arg2) |
static QDataStream | Write (QDataStream arg1, QUuid arg2) |
static QDataStream | Write (QDataStream arg1, QLine arg2) |
static QDataStream | Write (QDataStream arg1, QDate arg2) |
static QDataStream | Write (QDataStream @out, QRegExp regExp) |
static QDataStream | Write (QDataStream arg1, QRect arg2) |
static QDataStream | Write (QDataStream arg1, QSize arg2) |
static QDataStream | Write (QDataStream s, QVariant.Type p) |
static QDataStream | Write (QDataStream arg1, string arg2) |
static QDataStream | Write (QDataStream @out, System.Collections.Generic.List< string > list) |
static QDataStream | Read (QDataStream arg1, QChar arg2) |
static QDataStream | Read (QDataStream arg1, QLocale arg2) |
static QDataStream | Read (QDataStream arg1, QRect arg2) |
static QDataStream | Read (QDataStream arg1, QEasingCurve arg2) |
static QDataStream | Read (QDataStream arg1, QDate arg2) |
static QDataStream | Read (QDataStream arg1, QUrl arg2) |
static QDataStream | Read (QDataStream arg1, QUuid arg2) |
static QTextStream | Read (QTextStream s, Qt.FuncQTextStreamQTextStream f) |
static QDataStream | Read (QDataStream arg1, QLineF arg2) |
static QDataStream | Read (QDataStream arg1, QRectF arg2) |
static QDataStream | Read (QDataStream arg1, QPointF arg2) |
static QDataStream | Read (QDataStream arg1, QLine arg2) |
static QDataStream | Read (QDataStream arg1, QBitArray arg2) |
static QDataStream | Read (QDataStream arg1, QSize arg2) |
static QDataStream | Read (QDataStream arg1, QDateTime arg2) |
static QDataStream | Read (QDataStream arg1, QTime arg2) |
static QDataStream | Read (QDataStream arg1, QPoint arg2) |
static QDataStream | Read (QDataStream @in, QRegExp regExp) |
static QDataStream | Read (QDataStream s, object p) |
static QDataStream | Read (QDataStream arg1, QByteArray arg2) |
static QDataStream | Read (QDataStream arg1, QSizeF arg2) |
static QDataStream | Read (QDataStream arg1, string arg2) |
static QDataStream | Read (QDataStream s, QVariant.Type p) |
static QDataStream | Read (QDataStream @in, System.Collections.Generic.List< string > list) |
static double | qAcos (double v) |
static void | qAddPostRoutine (System.Action arg1) |
static string | qAppName () |
static double | qAsin (double v) |
static double | qAtan (double v) |
static double | qAtan2 (double x, double y) |
static void | qBadAlloc () |
static int | qCeil (double v) |
static ushort | qChecksum (string s, uint len) |
static QByteArray | qCompress (QByteArray data) |
static QByteArray | qCompress (QByteArray data, int compressionLevel=-1) |
static QByteArray | qCompress (Pointer< byte > data, int nbytes) |
static QByteArray | qCompress (Pointer< byte > data, int nbytes, int compressionLevel=-1) |
static double | qCos (double v) |
static double | qExp (double v) |
static double | qFabs (double v) |
static double | qFastCos (double x) |
static double | qFastSin (double x) |
static string | qFlagLocation (string method) |
static int | qFloor (double v) |
static bool | qFuzzyCompare (double p1, double p2) |
static bool | qFuzzyCompare (float p1, float p2) |
static bool | qFuzzyIsNull (double d) |
static bool | qFuzzyIsNull (float f) |
static uint | qHash (QBitArray key) |
static uint | qHash (QChar key) |
static uint | qHash (QStringRef key) |
static uint | qHash (QUrl url) |
static uint | qHash (QPersistentModelIndex index) |
static uint | qHash (QByteArray key) |
static uint | qHash (QModelIndex index) |
static uint | qHash (uint key) |
static uint | qHash (sbyte key) |
static uint | qHash (byte key) |
static uint | qHash (short key) |
static uint | qHash (NativeLong key) |
static uint | qHash (ushort key) |
static uint | qHash (long key) |
static uint | qHash (ulong key) |
static uint | qHash (int key) |
static uint | qHash (string key) |
static uint | qHash (NativeULong key) |
static double | qInf () |
static Qt.ActionQtMsgTypeString | qInstallMsgHandler (Qt.ActionQtMsgTypeString arg1) |
static int | qIntCast (float f) |
static int | qIntCast (double f) |
static bool | qIsFinite (double d) |
static bool | qIsFinite (float f) |
static bool | qIsInf (float f) |
static bool | qIsInf (double d) |
static bool | qIsNaN (float f) |
static bool | qIsNaN (double d) |
static bool | qIsNull (float f) |
static bool | qIsNull (double d) |
static double | qLn (double v) |
static double | qPow (double x, double y) |
static double | qQNaN () |
static void | qRegisterStaticPluginInstanceFunction (Qt.FuncQObject function) |
static void | qRemovePostRoutine (System.Action arg1) |
static int | qRound (double d) |
static long | qRound64 (double d) |
static double | qSNaN () |
static bool | qSharedBuild () |
static double | qSin (double v) |
static double | qSqrt (double v) |
static bool | qStringComparisonHelper (QStringRef s1, string s2) |
static double | qTan (double v) |
static QByteArray | qUncompress (QByteArray data) |
static QByteArray | qUncompress (Pointer< byte > data, int nbytes) |
static string | qVersion () |
static void | Qbswap_helper (Pointer< byte > src, Pointer< byte > dest, int size) |
static QByteArray | Qgetenv (string varName) |
static bool | Qputenv (string varName, QByteArray value) |
static int | Qrand () |
static void | Qsrand (uint seed) |
static int | Qstrcmp (QByteArray str1, QByteArray str2) |
static int | Qstrcmp (QByteArray str1, string str2) |
static int | Qstrcmp (string str1, QByteArray str2) |
static int | Qstrcmp (string str1, string str2) |
static Pointer< sbyte > | Qstrcpy (Pointer< sbyte > dst, string src) |
static Pointer< sbyte > | Qstrdup (string arg1) |
static int | Qstricmp (string arg1, string arg2) |
static uint | Qstrlen (string str) |
static int | Qstrncmp (string str1, string str2, uint len) |
static Pointer< sbyte > | Qstrncpy (Pointer< sbyte > dst, string src, uint len) |
static int | Qstrnicmp (string arg1, string arg2, uint len) |
static uint | Qstrnlen (string str, uint maxlen) |
static string | QtTrId (string id, int n=-1) |
Protected Member Functions | |
QMdiArea (System.Type dummy) | |
override void | OnChildEvent (QChildEvent childEvent) |
| |
override void | OnPaintEvent (QPaintEvent paintEvent) |
| |
override void | OnResizeEvent (QResizeEvent resizeEvent) |
| |
override void | ScrollContentsBy (int dx, int dy) |
| |
new void | SetupViewport (QWidget viewport) |
| |
override void | OnShowEvent (QShowEvent showEvent) |
| |
new void | OnSubWindowActivated (QMdiSubWindow arg1) |
| |
override void | OnTimerEvent (QTimerEvent timerEvent) |
| |
override bool | OnViewportEvent (QEvent @event) |
| |
Protected Member Functions inherited from QtGui.QAbstractScrollArea | |
QAbstractScrollArea (System.Type dummy) | |
override void | OnContextMenuEvent (QContextMenuEvent arg1) |
| |
override void | OnDragEnterEvent (QDragEnterEvent arg1) |
| |
override void | OnDragLeaveEvent (QDragLeaveEvent arg1) |
| |
override void | OnDragMoveEvent (QDragMoveEvent arg1) |
| |
override void | OnDropEvent (QDropEvent arg1) |
| |
override void | OnKeyPressEvent (QKeyEvent arg1) |
| |
override void | OnMouseDoubleClickEvent (QMouseEvent arg1) |
| |
override void | OnMouseMoveEvent (QMouseEvent arg1) |
| |
override void | OnMousePressEvent (QMouseEvent arg1) |
| |
override void | OnMouseReleaseEvent (QMouseEvent arg1) |
| |
new void | SetViewportMargins (QMargins margins) |
| |
new void | SetViewportMargins (int left, int top, int right, int bottom) |
| |
new void | SetupViewport (QWidget viewport) |
| |
virtual bool | OnViewportEvent (QEvent arg1) |
| |
override void | OnWheelEvent (QWheelEvent arg1) |
| |
Protected Member Functions inherited from QtGui.QFrame | |
QFrame (System.Type dummy) | |
override void | OnChangeEvent (QEvent arg1) |
| |
new void | DrawFrame (QPainter arg1) |
Protected Member Functions inherited from QtGui.QWidget | |
QWidget (System.Type dummy) | |
virtual void | OnActionEvent (QActionEvent arg1) |
| |
virtual void | OnCloseEvent (QCloseEvent arg1) |
| |
new void | Create () |
| |
new void | Create (NativeULong arg1, bool initializeWindow=true, bool destroyOldWindow=true) |
| |
new void | OnCustomContextMenuRequested (QPoint pos) |
| |
new void | Destroy (bool destroyWindow=true, bool destroySubWindows=true) |
| |
virtual void | EnabledChange (bool arg1) |
virtual void | OnEnterEvent (QEvent arg1) |
| |
virtual void | OnFocusInEvent (QFocusEvent arg1) |
| |
new bool | FocusNextChild () |
| |
virtual bool | FocusNextPrevChild (bool next) |
| |
virtual void | OnFocusOutEvent (QFocusEvent arg1) |
| |
new bool | FocusPreviousChild () |
| |
virtual void | FontChange (QFont arg1) |
virtual void | OnHideEvent (QHideEvent arg1) |
| |
virtual void | OnInputMethodEvent (QInputMethodEvent arg1) |
| |
virtual void | OnKeyReleaseEvent (QKeyEvent arg1) |
| |
virtual void | LanguageChange () |
| |
virtual void | OnLeaveEvent (QEvent arg1) |
| |
virtual int | Metric (QPaintDevice.PaintDeviceMetric arg1) |
| |
virtual void | OnMoveEvent (QMoveEvent arg1) |
| |
virtual void | PaletteChange (QPalette arg1) |
new void | ResetInputContext () |
| |
virtual void | StyleChange (QStyle arg1) |
virtual void | OnTabletEvent (QTabletEvent arg1) |
| |
new void | UpdateMicroFocus () |
| |
virtual void | WindowActivationChange (bool arg1) |
Protected Member Functions inherited from QtCore.QObject | |
QObject (System.Type dummy) | |
virtual void | ConnectNotify (string signal) |
| |
virtual void | OnCustomEvent (QEvent arg1) |
| |
new void | OnDestroyed (QObject arg1=null) |
| |
virtual void | DisconnectNotify (string signal) |
| |
new int | Receivers (string signal) |
| |
new QObject | Sender () |
| |
new int | SenderSignalIndex () |
| |
Properties | |
Slot< QMdiSubWindow > | SubWindowActivated |
| |
new QMdiSubWindow | ActiveSubWindow [get, set] |
| |
new QBrush | Background [get, set] |
| |
new WindowOrder | ActivationOrder [get, set] |
| |
new ViewMode | viewMode [get, set] |
| |
new bool | DocumentMode [get, set] |
| |
new bool | TabsClosable [get, set] |
| |
new bool | TabsMovable [get, set] |
| |
new QTabWidget.TabShape | TabShape [get, set] |
| |
new QTabWidget.TabPosition | TabPosition [get, set] |
| |
static new QMetaObject | StaticMetaObject [get] |
new IQMdiAreaSignals | Emit [get] |
Properties inherited from QtGui.QAbstractScrollArea | |
virtual EventHandler < QEventArgs< QEvent > > | ViewportEvent |
| |
new QWidget | CornerWidget [get, set] |
| |
new QScrollBar | HorizontalScrollBar [get, set] |
| |
new QScrollBar | VerticalScrollBar [get, set] |
| |
new QWidget | Viewport [get, set] |
| |
override EventHandler < QEventArgs< QPaintEvent > > | PaintEvent |
| |
override EventHandler < QEventArgs< QActionEvent > > | ActionEvent |
| |
override EventHandler < QEventArgs< QEvent > > | ChangeEvent |
| |
override EventHandler < QEventArgs< QCloseEvent > > | CloseEvent |
| |
override EventHandler < QEventArgs < QContextMenuEvent > > | ContextMenuEvent |
| |
override EventHandler < QEventArgs< QDragEnterEvent > > | DragEnterEvent |
| |
override EventHandler < QEventArgs< QDragLeaveEvent > > | DragLeaveEvent |
| |
override EventHandler < QEventArgs< QDragMoveEvent > > | DragMoveEvent |
| |
override EventHandler < QEventArgs< QDropEvent > > | DropEvent |
| |
override EventHandler < QEventArgs< QEvent > > | EnterEvent |
| |
override EventHandler < QEventArgs< QFocusEvent > > | FocusInEvent |
| |
override EventHandler < QEventArgs< QFocusEvent > > | FocusOutEvent |
| |
override EventHandler < QEventArgs< QHideEvent > > | HideEvent |
| |
override EventHandler < QEventArgs < QInputMethodEvent > > | InputMethodEvent |
| |
override EventHandler < QEventArgs< QKeyEvent > > | KeyPressEvent |
| |
override EventHandler < QEventArgs< QKeyEvent > > | KeyReleaseEvent |
| |
override EventHandler < QEventArgs< QEvent > > | LeaveEvent |
| |
override EventHandler < QEventArgs< QMouseEvent > > | MouseDoubleClickEvent |
| |
override EventHandler < QEventArgs< QMouseEvent > > | MouseMoveEvent |
| |
override EventHandler < QEventArgs< QMouseEvent > > | MousePressEvent |
| |
override EventHandler < QEventArgs< QMouseEvent > > | MouseReleaseEvent |
| |
override EventHandler < QEventArgs< QMoveEvent > > | MoveEvent |
| |
override EventHandler < QEventArgs< QResizeEvent > > | ResizeEvent |
| |
override EventHandler < QEventArgs< QShowEvent > > | ShowEvent |
| |
override EventHandler < QEventArgs< QTabletEvent > > | TabletEvent |
| |
override EventHandler < QEventArgs< QWheelEvent > > | WheelEvent |
| |
new Qt.ScrollBarPolicy | VerticalScrollBarPolicy [get, set] |
| |
new Qt.ScrollBarPolicy | HorizontalScrollBarPolicy [get, set] |
| |
static new QMetaObject | StaticMetaObject [get] |
new IQAbstractScrollAreaSignals | Emit [get] |
Properties inherited from QtGui.QFrame | |
new int | FrameStyle [get, set] |
| |
new Shape | FrameShape [get, set] |
| |
new Shadow | FrameShadow [get, set] |
| |
new int | LineWidth [get, set] |
| |
new int | MidLineWidth [get, set] |
| |
new int | FrameWidth [get] |
| |
new QRect | FrameRect [get, set] |
| |
static new QMetaObject | StaticMetaObject [get] |
new IQFrameSignals | Emit [get] |
Properties inherited from QtGui.QWidget | |
virtual EventHandler < QEventArgs< QActionEvent > > | ActionEvent |
| |
virtual EventHandler < QEventArgs< QEvent > > | ChangeEvent |
| |
virtual EventHandler < QEventArgs< QCloseEvent > > | CloseEvent |
| |
virtual EventHandler < QEventArgs < QContextMenuEvent > > | ContextMenuEvent |
| |
virtual EventHandler < QEventArgs< QDragEnterEvent > > | DragEnterEvent |
| |
virtual EventHandler < QEventArgs< QDragLeaveEvent > > | DragLeaveEvent |
| |
virtual EventHandler < QEventArgs< QDragMoveEvent > > | DragMoveEvent |
| |
virtual EventHandler < QEventArgs< QDropEvent > > | DropEvent |
| |
virtual EventHandler < QEventArgs< QEvent > > | EnterEvent |
| |
virtual EventHandler < QEventArgs< QFocusEvent > > | FocusInEvent |
| |
virtual EventHandler < QEventArgs< QFocusEvent > > | FocusOutEvent |
| |
virtual EventHandler < QEventArgs< QHideEvent > > | HideEvent |
| |
virtual EventHandler < QEventArgs < QInputMethodEvent > > | InputMethodEvent |
| |
virtual EventHandler < QEventArgs< QKeyEvent > > | KeyPressEvent |
| |
virtual EventHandler < QEventArgs< QKeyEvent > > | KeyReleaseEvent |
| |
virtual EventHandler < QEventArgs< QEvent > > | LeaveEvent |
| |
virtual EventHandler < QEventArgs< QMouseEvent > > | MouseDoubleClickEvent |
| |
virtual EventHandler < QEventArgs< QMouseEvent > > | MouseMoveEvent |
| |
virtual EventHandler < QEventArgs< QMouseEvent > > | MousePressEvent |
| |
virtual EventHandler < QEventArgs< QMouseEvent > > | MouseReleaseEvent |
| |
virtual EventHandler < QEventArgs< QMoveEvent > > | MoveEvent |
| |
virtual EventHandler < QEventArgs< QPaintEvent > > | PaintEvent |
| |
virtual EventHandler < QEventArgs< QResizeEvent > > | ResizeEvent |
| |
virtual EventHandler < QEventArgs< QShowEvent > > | ShowEvent |
| |
virtual EventHandler < QEventArgs< QTabletEvent > > | TabletEvent |
| |
virtual EventHandler < QEventArgs< QWheelEvent > > | WheelEvent |
| |
Slot< QPoint > | CustomContextMenuRequested |
| |
new QPalette.ColorRole | BackgroundRole [get, set] |
| |
new QMargins | ContentsMargins [get, set] |
| |
new QWidget | FocusProxy [get, set] |
| |
new QPalette.ColorRole | ForegroundRole [get, set] |
| |
new QGraphicsEffect | GraphicsEffect [get, set] |
| |
new QInputContext | InputContext [get, set] |
| |
new QLayout | Layout [get, set] |
| |
new QRegion | Mask [get, set] |
| |
new QStyle | Style [get, set] |
| |
new Qt.WindowType | WindowFlags [get, set] |
new string | WindowRole [get, set] |
| |
new Qt.WindowState | WindowState [get, set] |
| |
new bool | Modal [get] |
| |
new Qt.WindowModality | WindowModality [get, set] |
| |
new bool | Enabled [get, set] |
| |
new QRect | Geometry [get, set] |
| |
new QRect | FrameGeometry [get] |
| |
new QRect | NormalGeometry [get] |
| |
new int | X [get] |
| |
new int | Y [get] |
| |
new QPoint | Pos [get, set] |
| |
new QSize | FrameSize [get] |
| |
new QSize | Size [get, set] |
| |
new int | Width [get] |
| |
new int | Height [get] |
| |
new QRect | Rect [get] |
| |
new QRect | ChildrenRect [get] |
| |
new QRegion | ChildrenRegion [get] |
| |
new QSizePolicy | SizePolicy [get, set] |
| |
new QSize | MinimumSize [get, set] |
| |
new QSize | MaximumSize [get, set] |
| |
new int | MinimumWidth [get, set] |
| |
new int | MinimumHeight [get, set] |
| |
new int | MaximumWidth [get, set] |
| |
new int | MaximumHeight [get, set] |
| |
new QSize | SizeIncrement [get, set] |
| |
new QSize | BaseSize [get, set] |
| |
new QPalette | Palette [get, set] |
| |
new QFont | Font [get, set] |
| |
new QCursor | Cursor [get, set] |
| |
new bool | MouseTracking [get, set] |
| |
new bool | IsActiveWindow [get] |
| |
new Qt.FocusPolicy | FocusPolicy [get, set] |
| |
new bool | Focus [get] |
| |
new Qt.ContextMenuPolicy | ContextMenuPolicy [get, set] |
| |
new bool | UpdatesEnabled [get, set] |
| |
new bool | Visible [get, set] |
| |
new bool | Minimized [get] |
| |
new bool | Maximized [get] |
| |
new bool | FullScreen [get] |
| |
new bool | AcceptDrops [get, set] |
| |
new string | WindowTitle [get, set] |
| |
new QIcon | WindowIcon [get, set] |
| |
new string | WindowIconText [get, set] |
| |
new double | WindowOpacity [get, set] |
| |
new bool | WindowModified [get, set] |
| |
new string | ToolTip [get, set] |
| |
new string | StatusTip [get, set] |
| |
new string | WhatsThis [get, set] |
| |
new string | AccessibleName [get, set] |
| |
new string | AccessibleDescription [get, set] |
| |
new Qt.LayoutDirection | LayoutDirection [get, set] |
| |
new bool | AutoFillBackground [get, set] |
| |
new string | StyleSheet [get, set] |
| |
new QLocale | Locale [get, set] |
| |
new string | WindowFilePath [get, set] |
| |
new Qt.InputMethodHint | InputMethodHints [get, set] |
| |
static new QMetaObject | StaticMetaObject [get] |
new ushort | Painters [get, set] |
new IQWidgetSignals | Emit [get] |
Properties inherited from QtCore.QObject | |
virtual EventHandler < QEventArgs< QChildEvent > > | ChildEvent |
| |
virtual EventHandler < QEventArgs< QEvent > > | CustomEvent |
| |
virtual EventHandler < QEventArgs< QEvent > > | Event |
| |
virtual EventHandler < QEventArgs< QTimerEvent > > | TimerEvent |
| |
Slot< QObject > | DestroyedQObject |
Slot | Destroyed |
| |
new QObject | Parent [get, set] |
| |
virtual System.IntPtr | SmokeObject [get, set] |
new string | ObjectName [get, set] |
| |
static new QMetaObject | StaticMetaObject [get] |
| |
static new QMetaObject | StaticQtMetaObject [get] |
new IQObjectSignals | Emit [get] |
Additional Inherited Members | |
Protected Attributes inherited from QtCore.QObject | |
object | Q_EMIT = null |
SmokeInvocation | interceptor |
readonly List< QEventHandler > | eventFilters = new List<QEventHandler>() |
The QMdiArea widget provides an area in which MDI windows are displayed.
QMdiArea functions, essentially, like a window manager for MDI windows. For instance, it draws the windows it manages on itself and arranges them in a cascading or tile pattern. QMdiArea is commonly used as the center widget in a QMainWindow to create MDI applications, but can also be placed in any layout. The following code adds an area to a main window:
QMainWindow *mainWindow = new QMainWindow;
mainWindow->setCentralWidget(mdiArea);
Unlike the window managers for top-level windows, all window flags (Qt::WindowFlags) are supported by QMdiArea as long as the flags are supported by the current widget style. If a specific flag is not supported by the style (e.g., the WindowShadeButtonHint), you can still shade the window with showShaded().
Subwindows in QMdiArea are instances of QMdiSubWindow. They are added to an MDI area with addSubWindow(). It is common to pass a QWidget, which is set as the internal widget, to this function, but it is also possible to pass a QMdiSubWindow directly.The class inherits QWidget, and you can use the same API as with a normal top-level window when programming. QMdiSubWindow also has behavior that is specific to MDI windows. See the QMdiSubWindow class description for more details.
A subwindow becomes active when it gets the keyboard focus, or when setFocus() is called. The user activates a window by moving focus in the usual ways. The MDI area emits the subWindowActivated() signal when the active window changes, and the activeSubWindow() function returns the active subwindow.
The convenience function subWindowList() returns a list of all subwindows. This information could be used in a popup menu containing a list of windows, for example.
The subwindows are sorted by the current WindowOrder. This is used for the subWindowList() and for activateNextSubWindow() and acivatePreviousSubWindow(). Also, it is used when cascading or tiling the windows with cascadeSubWindows() and tileSubWindows().
QMdiArea provides two built-in layout strategies for subwindows: cascadeSubWindows() and tileSubWindows(). Both are slots and are easily connected to menu entries.
Note: The default scroll bar property for QMdiArea is Qt::ScrollBarAlwaysOff.
See also QMdiSubWindow.
This enum describes options that customize the behavior of the QMdiArea.
Specifies the criteria to use for ordering the list of child windows returned by subWindowList(). The functions cascadeSubWindows() and tileSubWindows() follow this order when arranging the windows.
See also subWindowList().
|
protected |
QtGui.QMdiArea.QMdiArea | ( | QWidget | parent = null | ) |
Constructs an empty mdi area. parent is passed to QWidget's constructor.
new void QtGui.QMdiArea.ActivateNextSubWindow | ( | ) |
Gives the keyboard focus to another window in the list of child windows. The window activated will be the next one determined by the current activation order.
See also activatePreviousSubWindow() and QMdiArea::WindowOrder.
new void QtGui.QMdiArea.ActivatePreviousSubWindow | ( | ) |
Gives the keyboard focus to another window in the list of child windows. The window activated will be the previous one determined by the current activation order.
See also activateNextSubWindow() and QMdiArea::WindowOrder.
new QMdiSubWindow QtGui.QMdiArea.AddSubWindow | ( | QWidget | widget, |
Qt.WindowType | flags = 0 |
||
) |
Adds widget as a new subwindow to the MDI area. If windowFlags are non-zero, they will override the flags set on the widget.
The widget can be either a QMdiSubWindow or another QWidget (in which case the MDI area will create a subwindow and set the widget as the internal widget).
Note: Once the subwindow has been added, its parent will be the viewport widget of the QMdiArea.
QMdiArea mdiArea;
QMdiSubWindow *subWindow1 = new QMdiSubWindow;
subWindow1->setWidget(internalWidget1);
subWindow1->setAttribute(Qt::WA_DeleteOnClose);
mdiArea.addSubWindow(subWindow1);
QMdiSubWindow *subWindow2 =
mdiArea.addSubWindow(internalWidget2);
When you create your own subwindow, you must set the Qt::WA_DeleteOnClose widget attribute if you want the window to be deleted when closed in the MDI area. If not, the window will be hidden and the MDI area will not activate the next subwindow.
Returns the QMdiSubWindow that is added to the MDI area.
See also removeSubWindow().
new void QtGui.QMdiArea.CascadeSubWindows | ( | ) |
Arranges all the child windows in a cascade pattern.
See also tileSubWindows().
new void QtGui.QMdiArea.CloseActiveSubWindow | ( | ) |
Closes the active subwindow.
See also closeAllSubWindows().
new void QtGui.QMdiArea.CloseAllSubWindows | ( | ) |
Closes all subwindows by sending a QCloseEvent to each window. You may receive subWindowActivated() signals from subwindows before they are closed (if the MDI area activates the subwindow when another is closing).
Subwindows that ignore the close event will remain open.
See also closeActiveSubWindow().
|
virtual |
Reimplemented from QtGui.QAbstractScrollArea.
new QMdiSubWindow QtGui.QMdiArea.CurrentSubWindow | ( | ) |
Returns a pointer to the current subwindow, or 0 if there is no current subwindow.
This function will return the same as activeSubWindow() if the QApplication containing QMdiArea is active.
See also activeSubWindow() and QApplication::activeWindow().
new void QtGui.QMdiArea.Dispose | ( | ) |
Reimplemented from QObject::eventFilter().
|
virtual |
Reimplemented from QWidget::minimumSizeHint().
Reimplemented from QtGui.QAbstractScrollArea.
|
protectedvirtual |
Reimplemented from QObject::childEvent().
Reimplemented from QtCore.QObject.
override bool QtGui.QMdiArea.OnEvent | ( | QEvent @ | event | ) |
Reimplemented from QObject::event().
|
protectedvirtual |
Reimplemented from QWidget::paintEvent().
Reimplemented from QtGui.QAbstractScrollArea.
|
protectedvirtual |
Reimplemented from QWidget::resizeEvent().
Reimplemented from QtGui.QAbstractScrollArea.
|
protectedvirtual |
Reimplemented from QWidget::showEvent().
Reimplemented from QtGui.QWidget.
|
protected |
|
protectedvirtual |
Reimplemented from QObject::timerEvent().
Reimplemented from QtCore.QObject.
|
protected |
Reimplemented from QAbstractScrollArea::viewportEvent().
new void QtGui.QMdiArea.RemoveSubWindow | ( | QWidget | widget | ) |
Removes widget from the MDI area. The widget must be either a QMdiSubWindow or a widget that is the internal widget of a subwindow. Note widget is never actually deleted by QMdiArea. If a QMdiSubWindow is passed in its parent is set to 0 and it is removed, but if an internal widget is passed in the child widget is set to 0 but the QMdiSubWindow is not removed.
See also addSubWindow().
|
protectedvirtual |
Reimplemented from QAbstractScrollArea::scrollContentsBy().
Reimplemented from QtGui.QAbstractScrollArea.
new void QtGui.QMdiArea.SetOption | ( | QMdiArea.AreaOption | option, |
bool | on = true |
||
) |
If on is true, option is enabled on the MDI area; otherwise it is disabled. See AreaOption for the effect of each option.
See also AreaOption and testOption().
|
protected |
This slot is called by QAbstractScrollArea after setViewport() has been called. Reimplement this function in a subclass of QMdiArea to initialize the new viewport before it is used.
See also setViewport().
|
virtual |
Reimplemented from QWidget::sizeHint().
Reimplemented from QtGui.QAbstractScrollArea.
new System.Collections.Generic.List<QMdiSubWindow> QtGui.QMdiArea.SubWindowList | ( | QMdiArea.WindowOrder | order = QMdiArea.WindowOrder.CreationOrder | ) |
Returns a list of all subwindows in the MDI area. If order is CreationOrder (the default), the windows are sorted in the order in which they were inserted into the workspace. If order is StackingOrder, the windows are listed in their stacking order, with the topmost window as the last item in the list. If order is ActivationHistoryOrder, the windows are listed according to their recent activation history.
See also WindowOrder.
new bool QtGui.QMdiArea.TestOption | ( | QMdiArea.AreaOption | opton | ) |
Returns true if option is enabled; otherwise returns false.
See also AreaOption and setOption().
new void QtGui.QMdiArea.TileSubWindows | ( | ) |
Arranges all child windows in a tile pattern.
See also cascadeSubWindows().
|
static |
|
static |
|
static |
|
static |
|
getset |
This property holds the ordering criteria for subwindow lists.
This property specifies the ordering criteria for the list of subwindows returned by subWindowList(). By default, it is the window creation order.
This property was introduced in Qt 4.4.
|
getset |
Returns a pointer to the current active subwindow. If no window is currently active, 0 is returned.
Subwindows are treated as top-level windows with respect to window state, i.e., if a widget outside the MDI area is the active window, no subwindow will be active. Note that if a widget in the window in which the MDI area lives gains focus, the window will be activated.
Activates the subwindow window. If window is 0, any current active window is deactivated.
|
getset |
This property holds the background brush for the workspace.
This property sets the background brush for the workspace area itself. By default, it is a gray color, but can be any brush (e.g., colors, gradients or pixmaps).
|
getset |
This property holds whether the tab bar is set to document mode in tabbed view mode.
Document mode is disabled by default.
This property was introduced in Qt 4.5.
|
getprotected |
|
staticget |
|
addremove |
|
getset |
This property holds the position of the tabs in tabbed view mode.
Possible values for this property are described by the QTabWidget::TabPosition enum.
This property was introduced in Qt 4.4.
|
getset |
This property holds whether the tab bar should place close buttons on each tab in tabbed view mode.
Tabs are not closable by default.
This property was introduced in Qt 4.8.
|
getset |
This property holds the shape of the tabs in tabbed view mode.
Possible values for this property are QTabWidget::Rounded (default) or QTabWidget::Triangular.
This property was introduced in Qt 4.4.
|
getset |
This property holds whether the user can move the tabs within the tabbar area in tabbed view mode.
Tabs are not movable by default.
This property was introduced in Qt 4.8.