KMdiMainFrm Class Reference
#include <kmdimainfrm.h>
Detailed Description
Base class for all your special main frames.It contains the child frame area (QMainWindow's central widget) and a child view taskbar for switching the MDI views. Most methods are virtual functions for later overriding.
Basically, this class provides functionality for docking/undocking view windows and manages the taskbar. Usually a developer will only need to know about this class and KMdiChildView.
- General usage
class MyMainWindow : public KMdiMainFrm { .... };
to define your main window class and
MyMainWindow mainframe;
qApp->setMainWidget(&mainframe);
mainframe->addWindow(view1); // put it under MDI control
mainframe->addWindow(view2);
when you wish to use your main window class. The above example also adds a few windows to the frame.
KMdiMainFrm will provide the "Window" menu needed in common MDI applications. Just insert it in your main menu:
if ( !isFakingSDIApplication() ) { menuBar()->insertItem( i18n( "&Window" ), windowMenu() ); }
To synchronize the positions of the MDI control buttons inserted in your mainmenu:
void B_MainModuleWidget::initMenuBar() { setMenuForSDIModeSysButtons( menuBar() ); } ... void B_MainModuleWidget::resizeEvent ( QResizeEvent *e ) { KMdiMainFrm::resizeEvent( e ); setSysButtonsAtMenuPosition(); }
- Dynamic mode switching
The MDI mode can be gotten using mdiMode(). If you need to fake the look of an SDI application use fakeSDIApplication() to fake it and isFakingSDIApplication() to query whether or not an SDI interface is being faked.
You can dynamically change the shape of the attached MDI views using setFrameDecorOfAttachedViews().
Additionally, here's a hint how to restore the mainframe's settings from config file:
// restore MDI mode (toplevel, childframe, tabpage) int mdiMode = config->readIntEntry( "mainmodule session", "MDI mode", KMdi::ChildframeMode); switch (mdiMode) { case KMdi::ToplevelMode: { int childFrmModeHt = config->readIntEntry( "mainmodule session", "Childframe mode height", desktop()->height() - 50); mainframe->resize( m_pMdiMainFrm->width(), childFrmModeHt); mainframe->switchToToplevelMode(); } break; case KMdi::ChildframeMode: break; case KMdi::TabPageMode: { int childFrmModeHt = m_pCfgFileManager->readIntEntry( "mainmodule session", "Childframe mode height", desktop()->height() - 50); mainframe->resize( m_pMdiMainFrm->width(), childFrmModeHt); mainframe->switchToTabPageMode(); } break; default: break; } // restore a possible maximized Childframe mode bool maxChildFrmMode = config->readBoolEntry( "mainmodule session", "maximized childframes", true); mainframe->setEnableMaximizedChildFrmMode(maxChildFrmMode);
- Managing views
- tilePragma() - Tile the windows and allow them to overlap
- tileAnodine() - Tile the windows but don't allow them to overlap
- tileVertically() - Tile the windows vertically
- cascadeWindows() - cascade windows
- cascadeMaximized() - cascade windows and maximize their viewing area
- expandVertical() - expand all the windows to use the most amount of vertical space
- expandHorizontal() - expand all the windows to use the most amount of horizontal space
activateView(KMdiChildView*) and activateView(int index) set the appropriate MDI child view as the active one. It will be raised, will get an active MDI frame and will get the focus. Call activeView() to find out what the current MDI view is.
Use detachWindow() and attachWindow() for docking the MDI views to desktop and back.
Connect accels of your program with activatePrevWin(), activateNextWin() and activateView(int index).
Note: KMdiChildViews can be added in 2 meanings: Either as a normal child view (usually containing user document views) or as a tool-view (usually containing status, info or control widgets). The tool-views can be added as floating dockwidgets or as stay-on-top desktop windows in tool style.
Also, pay attention to the fact that when you click on the close button of MDI views that their close event should be redirected to closeWindow(). Otherwise the mainframe class will not get noticed about the deleted view and a dangling pointer will remain in the MDI control. The closeWindow() or the removeWindowFromMdi() method is for that issue. The difference is closeWindow() deletes the view object. So if your application wants to control that by itself, call removeWindowFromMdi() and call delete by yourself. See also KMdiChildView::closeEvent() for that issue.
Here's an example how you can suggest things for the adding of views to the MDI control via flags:
m_mapOfMdiWidgets.insert( pWnd, mh ); unsigned int mdiFlags = KMdi::StandardAdd; if ( !show ) mdiFlags |= KMdi::Hide; if ( !attach ) mdiFlags |= KMdi::Detach; if ( minimize ) mdiFlags |= KMdi::Minimize; if ( bToolWindow) mdiFlags |= KMdi::ToolWindow; if ( m_pMdiMainFrm->isFakingSDIApplication() ) { if ( attach ) //fake an SDI app mdiFlags |= KMdi::Maximize; } else { m_pMdiMainFrm->addWindow( pWnd, QPoint(20, 20), KMdi::AddWindowFlags(mdiFlags)); return; } m_pMdiMainFrm->addWindow( pWnd, KMdi::AddWindowFlags(mdiFlags));
Definition at line 239 of file kmdimainfrm.h.
Member Function Documentation
void KMdiMainFrm::setStandardMDIMenuEnabled | ( | bool | showModeMenu = true |
) |
Control whether or not the standard MDI menu is displayed when a context menu is displayed.
Definition at line 271 of file kmdimainfrm.cpp.
bool KMdiMainFrm::isInMaximizedChildFrmMode | ( | ) | [inline] |
Returns whether the application's MDI views are in maximized state or not.
Definition at line 313 of file kmdimainfrm.h.
KMdi::MdiMode KMdiMainFrm::mdiMode | ( | ) | [inline] |
Returns the MDI mode.
This can be one of the enumerations KMdi::MdiMode.
Definition at line 318 of file kmdimainfrm.h.
KMdiChildView * KMdiMainFrm::activeWindow | ( | ) |
QPopupMenu * KMdiMainFrm::taskBarPopup | ( | KMdiChildView * | pWnd, | |
bool | bIncludeWindowPopup = false | |||
) | [virtual] |
Returns a popup menu filled according to the MDI view state.
You can override this method to insert additional entries there. The popup menu is usually popuped when the user clicks with the right mouse button on a taskbar entry. The default entries are: Undock/Dock, Restore/Maximize/Minimize, Close and an empty sub-popup ( windowPopup() ) menu called Operations.
Definition at line 986 of file kmdimainfrm.cpp.
QPopupMenu * KMdiMainFrm::windowPopup | ( | KMdiChildView * | pWnd, | |
bool | bIncludeTaskbarPopup = true | |||
) | [virtual] |
Returns a popup menu with only a title "Window".
You can fill it with own operations entries on the MDI view. This popup menu is inserted as last menu item in taskBarPopup() .
Definition at line 974 of file kmdimainfrm.cpp.
void KMdiMainFrm::applyOptions | ( | ) | [virtual] |
Called in the constructor (forces a resize of all MDI views).
Definition at line 336 of file kmdimainfrm.cpp.
KMdiChildView * KMdiMainFrm::findWindow | ( | const QString & | caption | ) |
Returns the KMdiChildView belonging to the given caption string.
Definition at line 940 of file kmdimainfrm.cpp.
bool KMdiMainFrm::windowExists | ( | KMdiChildView * | pWnd, | |
ExistsAs | as | |||
) |
Returns whether this MDI child view is under MDI control (using addWindow() ) or not.
Definition at line 958 of file kmdimainfrm.cpp.
bool KMdiMainFrm::event | ( | QEvent * | e | ) | [virtual] |
Catches certain Qt events and processes it here.
Currently, here this catches only the KMdiViewCloseEvent (a KMdi user event) which is sent from itself in childWindowCloseRequest() right after a KMdiChildView::closeEvent() . The reason for this event to itself is simple: It just wants to break the function call stack. It continues the processing with calling closeWindow() . You see, a close() is translated to a closeWindow() . It is necessary that the main frame has to start an MDI view close action because it must remove the MDI view from MDI control, additionally.
This method calls QMainWindow::event , additionally.
Definition at line 1119 of file kmdimainfrm.cpp.
void KMdiMainFrm::setSysButtonsAtMenuPosition | ( | ) | [virtual] |
If there's a main menubar given, it will create the 4 maximize mode buttons there (undock, minimize, restore, close).
Definition at line 2261 of file kmdimainfrm.cpp.
virtual int KMdiMainFrm::taskBarHeight | ( | ) | [inline, virtual] |
virtual void KMdiMainFrm::setUndockPositioningOffset | ( | QPoint | offset | ) | [inline, virtual] |
Sets an offset value that is used on detachWindow() .
The undocked window is visually moved on the desktop by this offset.
Definition at line 384 of file kmdimainfrm.h.
KMdiIterator<KMdiChildView*>* KMdiMainFrm::createIterator | ( | ) | [inline] |
If you don't want to know about the inner structure of the KMdi system, you can use this iterator to handle with the MDI view list in a more abstract way.
The iterator hides what special data structure is used in KMdi. The caller must delete the iterator once he does not need it anymore.
Definition at line 393 of file kmdimainfrm.h.
void KMdiMainFrm::deleteIterator | ( | KMdiIterator< KMdiChildView * > * | pIt | ) | [inline] |
Deletes an KMdiIterator created in the KMdi library (needed for the windows dll problem).
Definition at line 408 of file kmdimainfrm.h.
QPopupMenu* KMdiMainFrm::windowMenu | ( | ) | const [inline] |
Returns a popup menu that contains the MDI controlled view list.
Additionally, this menu provides some placing actions for these views. Usually, you insert this popup menu in your main menubar as "Window" menu.
Definition at line 418 of file kmdimainfrm.h.
virtual void KMdiMainFrm::setBackgroundColor | ( | const QColor & | c | ) | [inline, virtual] |
virtual void KMdiMainFrm::setBackgroundPixmap | ( | const QPixmap & | pm | ) | [inline, virtual] |
Sets a background pixmap for the MDI view area widget.
Definition at line 428 of file kmdimainfrm.h.
void KMdiMainFrm::setDefaultChildFrmSize | ( | const QSize & | sz | ) | [inline] |
Sets a size that is used as the default size for a newly to the MDI system added KMdiChildView .
By default this size is 600x400. So all non-resized added MDI views appear in that size.
Definition at line 434 of file kmdimainfrm.h.
QSize KMdiMainFrm::defaultChildFrmSize | ( | ) | [inline] |
Returns the default size for a newly added KMdiChildView.
See setDefaultChildFrmSize() .
Definition at line 439 of file kmdimainfrm.h.
void KMdiMainFrm::setMinimumSize | ( | int | minw, | |
int | minh | |||
) | [virtual] |
int KMdiMainFrm::childFrameModeHeight | ( | ) | [inline] |
Returns the Childframe mode height of this.
Makes only sense when in Toplevel mode.
Definition at line 449 of file kmdimainfrm.h.
void KMdiMainFrm::setMenuForSDIModeSysButtons | ( | KMenuBar * | menuBar = 0 |
) | [virtual] |
Tells the MDI system a QMenu where it can insert buttons for the system menu, undock, minimize, restore actions.
If no such menu is given, KMdi simply overlays the buttons at the upper right-hand side of the main widget.
Definition at line 2188 of file kmdimainfrm.cpp.
static int KMdiMainFrm::frameDecorOfAttachedViews | ( | ) | [inline, static] |
- Returns:
- the decoration of the window frame of docked (attached) MDI views
Definition at line 461 of file kmdimainfrm.h.
void KMdiMainFrm::fakeSDIApplication | ( | ) |
An SDI application user interface is faked:.
- an opened view is always maximized
- buttons for maximized childframe mode aren't inserted in the main menubar
- taskbar and windowmenu are not created/updated
Definition at line 2833 of file kmdimainfrm.cpp.
bool KMdiMainFrm::isFakingSDIApplication | ( | ) | const [inline] |
- Returns:
- if we are faking an SDI application (fakeSDIApplication())
Definition at line 474 of file kmdimainfrm.h.
Definition at line 1165 of file kmdimainfrm.cpp.
void KMdiMainFrm::findRootDockWidgets | ( | QPtrList< KDockWidget > * | pRootDockWidgetList, | |
QValueList< QRect > * | pPositionList | |||
) |
void KMdiMainFrm::setSwitching | ( | const bool | switching | ) | [inline] |
KMdiChildView * KMdiMainFrm::createWrapper | ( | QWidget * | view, | |
const QString & | name, | |||
const QString & | shortName | |||
) | [slot] |
addWindow demands a KMdiChildView.
This method wraps every QWidget in such an object and this way you can put every widget under MDI control.
Definition at line 416 of file kmdimainfrm.cpp.
void KMdiMainFrm::addWindow | ( | KMdiChildView * | pWnd, | |
int | flags = KMdi::StandardAdd | |||
) | [virtual, slot] |
Adds a KMdiChildView to the MDI system.
The main frame takes control of it.
- Parameters:
-
pWnd the parent view. flags the flags for the view such as: - whether the view should be attached or detached.
- whether the view should be shown or hidden
- whether the view should be maximized, minimized or restored (normalized)
- whether the view should be added as tool view (stay-on-top and toplevel) or added as document-type view.
Definition at line 439 of file kmdimainfrm.cpp.
void KMdiMainFrm::addWindow | ( | KMdiChildView * | pWnd, | |
int | flags, | |||
int | index | |||
) | [slot] |
Adds a KMdiChildView to the MDI system.
The main frame takes control of it.
- Parameters:
-
pWnd the parent view. flags You can specify here whether: - the view should be attached or detached.
- shown or hidden
- maximized, minimized or restored (normalized)
- added as tool view (stay-on-top and toplevel) or added as document-type view.
index the index of the tab we should insert the new tab after. If index == -1 then the tab will just be appended to the end. Using this parameter in childview mode has no effect.
- Since:
- 3.3
Definition at line 444 of file kmdimainfrm.cpp.
void KMdiMainFrm::addWindow | ( | KMdiChildView * | pWnd, | |
QPoint | pos, | |||
int | flags = KMdi::StandardAdd | |||
) | [virtual, slot] |
Adds a KMdiChildView to the MDI system.
The main frame takes control of it.
- Parameters:
-
pWnd the parent view. pos move the child view to the specified position flags the flags for the view such as: - whether the view should be attached or detached.
- whether the view should be shown or hidden
- whether the view should be maximized, minimized or restored (normalized)
- whether the view should be added as tool view (stay-on-top and toplevel) or added as document-type view.
Definition at line 537 of file kmdimainfrm.cpp.
void KMdiMainFrm::addWindow | ( | KMdiChildView * | pWnd, | |
QRect | rectNormal, | |||
int | flags = KMdi::StandardAdd | |||
) | [virtual, slot] |
Adds a KMdiChildView to the MDI system.
The main frame takes control of it.
- Parameters:
-
pWnd the parent view. rectNormal Sets the geometry for this child view flags the flags for the view such as: - whether the view should be attached or detached.
- whether the view should be shown or hidden
- whether the view should be maximized, minimized or restored (normalized)
- whether the view should be added as tool view (stay-on-top and toplevel) or added as document-type view.
Definition at line 527 of file kmdimainfrm.cpp.
KMdiToolViewAccessor * KMdiMainFrm::addToolWindow | ( | QWidget * | pWnd, | |
KDockWidget::DockPosition | pos = KDockWidget::DockNone , |
|||
QWidget * | pTargetWnd = 0L , |
|||
int | percent = 50 , |
|||
const QString & | tabToolTip = 0 , |
|||
const QString & | tabCaption = 0 | |||
) | [virtual, slot] |
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 566 of file kmdimainfrm.cpp.
KMdiToolViewAccessor * KMdiMainFrm::createToolWindow | ( | ) | [slot] |
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 548 of file kmdimainfrm.cpp.
void KMdiMainFrm::removeWindowFromMdi | ( | KMdiChildView * | pWnd | ) | [virtual, slot] |
Removes a KMdiChildView from the MDI system and from the main frame`s control.
The caller is responsible for deleting the view. If the view is not deleted it will be reparented to 0
Definition at line 728 of file kmdimainfrm.cpp.
void KMdiMainFrm::closeWindow | ( | KMdiChildView * | pWnd, | |
bool | layoutTaskBar = true | |||
) | [virtual, slot] |
Removes a KMdiChildView from the MDI system and from the main frame`s control.
Note: The view will be deleted!
Definition at line 828 of file kmdimainfrm.cpp.
void KMdiMainFrm::slot_toggleTaskBar | ( | ) | [virtual, slot] |
void KMdiMainFrm::attachWindow | ( | KMdiChildView * | pWnd, | |
bool | bShow = true , |
|||
bool | bAutomaticResize = false | |||
) | [virtual, slot] |
Makes a main frame controlled undocked KMdiChildView docked.
Doesn't work on KMdiChildView which aren't added to the MDI system. Use addWindow() for that.
Definition at line 603 of file kmdimainfrm.cpp.
void KMdiMainFrm::detachWindow | ( | KMdiChildView * | pWnd, | |
bool | bShow = true | |||
) | [virtual, slot] |
Makes a docked KMdiChildView undocked.
The view window still remains under the main frame's MDI control.
Definition at line 662 of file kmdimainfrm.cpp.
void KMdiMainFrm::childWindowCloseRequest | ( | KMdiChildView * | pWnd | ) | [virtual, slot] |
Someone wants that the MDI view to be closed.
This method sends a KMdiViewCloseEvent to itself to break the function call stack. See also event() .
Definition at line 1113 of file kmdimainfrm.cpp.
void KMdiMainFrm::closeAllViews | ( | ) | [virtual, slot] |
void KMdiMainFrm::iconifyAllViews | ( | ) | [virtual, slot] |
void KMdiMainFrm::closeActiveView | ( | ) | [virtual, slot] |
void KMdiMainFrm::switchToToplevelMode | ( | ) | [virtual, slot] |
void KMdiMainFrm::switchToChildframeMode | ( | ) | [virtual, slot] |
void KMdiMainFrm::switchToTabPageMode | ( | ) | [virtual, slot] |
void KMdiMainFrm::switchToIDEAlMode | ( | ) | [virtual, slot] |
Docks all view windows.
Toolviews use dockcontainers
Definition at line 1822 of file kmdimainfrm.cpp.
void KMdiMainFrm::setIDEAlModeStyle | ( | int | flags | ) | [slot] |
Sets the appearance of the IDEAl mode.
See KMultiTabBar styles for the first 3 bits.
- Deprecated:
- use setToolviewStyle(int flags) instead
Definition at line 1737 of file kmdimainfrm.cpp.
void KMdiMainFrm::setToolviewStyle | ( | int | flags | ) | [slot] |
Sets the appearance of the toolview tabs.
- Parameters:
-
flags See KMdi::ToolviewStyle.
- Since:
- 3.3
Definition at line 1769 of file kmdimainfrm.cpp.
bool KMdiMainFrm::isViewTaskBarOn | ( | ) | [slot] |
- Returns:
- if the view taskbar should be shown if there are MDI views
This should be connected with your "View" menu.
Definition at line 2534 of file kmdimainfrm.cpp.
void KMdiMainFrm::showViewTaskBar | ( | ) | [virtual, slot] |
Shows the view taskbar.
This should be connected with your "View" menu.
Definition at line 2543 of file kmdimainfrm.cpp.
void KMdiMainFrm::hideViewTaskBar | ( | ) | [virtual, slot] |
Hides the view taskbar.
This should be connected with your "View" menu.
Definition at line 2550 of file kmdimainfrm.cpp.
void KMdiMainFrm::fillWindowMenu | ( | ) | [virtual, slot] |
virtual void KMdiMainFrm::cascadeWindows | ( | ) | [inline, virtual, slot] |
virtual void KMdiMainFrm::cascadeMaximized | ( | ) | [inline, virtual, slot] |
Cascades the windows resizing them to the maximum available size.
Definition at line 678 of file kmdimainfrm.h.
virtual void KMdiMainFrm::expandVertical | ( | ) | [inline, virtual, slot] |
virtual void KMdiMainFrm::expandHorizontal | ( | ) | [inline, virtual, slot] |
virtual void KMdiMainFrm::tilePragma | ( | ) | [inline, virtual, slot] |
virtual void KMdiMainFrm::tileAnodine | ( | ) | [inline, virtual, slot] |
virtual void KMdiMainFrm::tileVertically | ( | ) | [inline, virtual, slot] |
void KMdiMainFrm::setFrameDecorOfAttachedViews | ( | int | frameDecor | ) | [virtual, slot] |
Sets the decoration of the window frame of docked (attached) MDI views.
- Deprecated:
- Will be removed in KDE 4
Definition at line 2801 of file kmdimainfrm.cpp.
void KMdiMainFrm::setEnableMaximizedChildFrmMode | ( | bool | bEnable | ) | [virtual, slot] |
If in Childframe mode, we can switch between maximized or restored shown MDI views.
Definition at line 2422 of file kmdimainfrm.cpp.
void KMdiMainFrm::activateNextWin | ( | ) | [virtual, slot] |
void KMdiMainFrm::activatePrevWin | ( | ) | [virtual, slot] |
void KMdiMainFrm::activateFirstWin | ( | ) | [virtual, slot] |
Activates the view first viewed concerning to the access time.
Definition at line 2346 of file kmdimainfrm.cpp.
void KMdiMainFrm::activateLastWin | ( | ) | [virtual, slot] |
Activates the view last viewed concerning to the access time.
Definition at line 2379 of file kmdimainfrm.cpp.
void KMdiMainFrm::activateView | ( | int | index | ) | [virtual, slot] |
Activates the view with the tab page index (TabPage mode only).
Definition at line 2408 of file kmdimainfrm.cpp.
void KMdiMainFrm::createTaskBar | ( | ) | [protected, virtual] |
Creates a new MDI taskbar (showing the MDI views as taskbar entries) and shows it.
Definition at line 379 of file kmdimainfrm.cpp.
void KMdiMainFrm::createMdiManager | ( | ) | [protected, virtual] |
Creates the MDI view area and connects some signals and slots with the KMdiMainFrm widget.
Definition at line 361 of file kmdimainfrm.cpp.
void KMdiMainFrm::blockClearingOfWindowMenu | ( | bool | bBlocked | ) | [inline, protected] |
prevents fillWindowMenu() from m_pWindowMenu->clear().
You have to care for it by yourself. This is useful if you want to add some actions in your overridden fillWindowMenu() method.
Definition at line 764 of file kmdimainfrm.h.
KMdi::TabWidgetVisibility KMdiMainFrm::tabWidgetVisibility | ( | ) | [protected] |
void KMdiMainFrm::setTabWidgetVisibility | ( | KMdi::TabWidgetVisibility | ) | [protected] |
KTabWidget * KMdiMainFrm::tabWidget | ( | ) | const [protected] |
Returns the tabwidget used in IDEAl and Tabbed modes.
Returns 0 in other modes.
Definition at line 2929 of file kmdimainfrm.cpp.
void KMdiMainFrm::activateView | ( | KMdiChildView * | pWnd | ) | [protected, virtual, slot] |
Sets the focus to this MDI view, raises it, activates its taskbar button and updates the system buttons in the main menubar when in maximized (Maximize mode).
Definition at line 1056 of file kmdimainfrm.cpp.
void KMdiMainFrm::taskbarButtonRightClicked | ( | KMdiChildView * | pWnd | ) | [protected, virtual, slot] |
Activates the MDI view (see activateView() ) and popups the taskBar popup menu (see taskBarPopup() ).
Definition at line 1106 of file kmdimainfrm.cpp.
void KMdiMainFrm::switchOffMaximizeModeForMenu | ( | KMdiChildFrm * | oldChild | ) | [protected, slot] |
Turns the system buttons for maximize mode (SDI mode) off, and disconnects them.
Definition at line 2476 of file kmdimainfrm.cpp.
void KMdiMainFrm::updateSysButtonConnections | ( | KMdiChildFrm * | oldChild, | |
KMdiChildFrm * | newChild | |||
) | [protected, slot] |
Reconnects the system buttons form maximize mode (SDI mode) with the new child frame.
Definition at line 2499 of file kmdimainfrm.cpp.
void KMdiMainFrm::windowMenuItemActivated | ( | int | id | ) | [protected, slot] |
Usually called when the user clicks an MDI view item in the "Window" menu.
Definition at line 2731 of file kmdimainfrm.cpp.
void KMdiMainFrm::dockMenuItemActivated | ( | int | id | ) | [protected, slot] |
Usually called when the user clicks an MDI view item in the sub-popup menu "Docking" of the "Window" menu.
Definition at line 2757 of file kmdimainfrm.cpp.
void KMdiMainFrm::popupWindowMenu | ( | QPoint | p | ) | [protected, slot] |
void KMdiMainFrm::dragEndTimeOut | ( | ) | [protected, slot] |
The timer for main widget moving has elapsed -> send drag end to all concerned views.
Definition at line 2788 of file kmdimainfrm.cpp.
void KMdiMainFrm::closeViewButtonPressed | ( | ) | [protected, slot] |
internally used to handle click on view close button (TabPage mode, only)
Definition at line 2841 of file kmdimainfrm.cpp.
void KMdiMainFrm::lastChildFrmClosed | ( | ) | [signal] |
Signals the last attached KMdiChildView has been closed.
void KMdiMainFrm::lastChildViewClosed | ( | ) | [signal] |
Signals the last KMdiChildView (that is under MDI control) has been closed.
void KMdiMainFrm::leftTopLevelMode | ( | ) | [signal] |
Signals that the Toplevel mode has been left.
void KMdiMainFrm::childViewIsDetachedNow | ( | QWidget * | ) | [signal] |
Signals that a child view has been detached (undocked to desktop).
void KMdiMainFrm::collapseOverlapContainers | ( | ) | [signal] |
Signals we need to collapse the overlapped containers.
void KMdiMainFrm::mdiModeHasBeenChangedTo | ( | KMdi::MdiMode | ) | [signal] |
Signals the MDI mode has been changed.
The documentation for this class was generated from the following files: