KMDI::MainWindow Class Reference
List of all members.Detailed Description
Definition at line 72 of file mainwindow.h.
Public Slots | |
void | prevToolViewInDock () |
void | nextToolViewInDock () |
Signals | |
void | collapseOverlapContainers () |
void | toggleTop () |
void | toggleLeft () |
void | toggleRight () |
void | toggleBottom () |
Public Member Functions | |
MainWindow (QWidget *parentWidget, const char *name="") | |
virtual | ~MainWindow () |
TabWidget * | tabWidget () |
KMDI::ToolViewAccessor * | createToolWindow () |
KMDI::ToolViewAccessor * | addToolWindow (QWidget *pWnd, KDockWidget::DockPosition pos=KDockWidget::DockNone, QWidget *pTargetWnd=0L, int percent=50, const QString &tabToolTip=0, const QString &tabCaption=0) |
void | deleteToolWindow (KMDI::ToolViewAccessor *accessor) |
void | deleteToolWindow (QWidget *pWnd) |
void | setToolViewStyle (int flags) |
Protected Member Functions | |
void | findToolViewsDockedToMain (QPtrList< KDockWidget > *list, KDockWidget::DockPosition dprtmw) |
void | dockToolViewsIntoContainers (QPtrList< KDockWidget > &widgetsToReparent, KDockWidget *container) |
Protected Attributes | |
KMDIPrivate::GUIClient * | m_guiClient |
QMap< QWidget *, KMDI::ToolViewAccessor * > * | m_toolViews |
KDockWidget * | m_leftContainer |
KDockWidget * | m_rightContainer |
KDockWidget * | m_topContainer |
KDockWidget * | m_bottomContainer |
KMDI::TabWidget * | m_tabWidget |
Friends | |
class | KMDI::ToolViewAccessor |
Constructor & Destructor Documentation
|
Constructor.
Definition at line 100 of file mainwindow.cpp. |
|
Destructor.
Definition at line 116 of file mainwindow.cpp. |
Member Function Documentation
|
Usually called from addWindow() when adding a tool view window. It reparents the given widget as toplevel and stay-on-top on the application's main widget.
Definition at line 259 of file mainwindow.cpp. |
|
Using this method you have to use the setWidget method of the access object, and it is very recommendet, that you use the widgetContainer() method for the parent of your newly created widget.
Definition at line 254 of file mainwindow.cpp. |
|
delete the toolview belonging to the given pWnd
Definition at line 300 of file mainwindow.cpp. |
|
delete the toolview belonging to the given accessor
Definition at line 295 of file mainwindow.cpp. |
|
Sets the appearance of the toolview tabs.
Definition at line 310 of file mainwindow.cpp. |
|
get the central tabwidget add all your content as child to this widget or as multiple tabs
Definition at line 249 of file mainwindow.cpp. |
The documentation for this class was generated from the following files: