• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdemdi
 

tdemdi

Public Types | Public Slots | Signals | Public Member Functions | Static Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | Static Protected Attributes | Friends | List of all members
KMdiMainFrm Class Reference

#include <tdemdimainfrm.h>

Inherits KParts::DockMainWindow.

Public Types

enum  ExistsAs { DocumentView , ToolView , AnyView }
 

Public Slots

KMdiChildView * createWrapper (TQWidget *view, const TQString &name, const TQString &shortName)
 
virtual void addWindow (KMdiChildView *pWnd, int flags=KMdi::StandardAdd)
 
void addWindow (KMdiChildView *pWnd, int flags, int index)
 
virtual void addWindow (KMdiChildView *pWnd, TQPoint pos, int flags=KMdi::StandardAdd)
 
virtual void addWindow (KMdiChildView *pWnd, TQRect rectNormal, int flags=KMdi::StandardAdd)
 
virtual KMdiToolViewAccessor * addToolWindow (TQWidget *pWnd, KDockWidget::DockPosition pos=KDockWidget::DockNone, TQWidget *pTargetWnd=0L, int percent=50, const TQString &tabToolTip=0, const TQString &tabCaption=0)
 
virtual void deleteToolWindow (TQWidget *pWnd)
 
virtual void deleteToolWindow (KMdiToolViewAccessor *accessor)
 
KMdiToolViewAccessor * createToolWindow ()
 
virtual void removeWindowFromMdi (KMdiChildView *pWnd)
 
virtual void closeWindow (KMdiChildView *pWnd, bool layoutTaskBar=true)
 
virtual void slot_toggleTaskBar ()
 
virtual void attachWindow (KMdiChildView *pWnd, bool bShow=true, bool bAutomaticResize=false)
 
virtual void detachWindow (KMdiChildView *pWnd, bool bShow=true)
 
virtual void childWindowCloseRequest (KMdiChildView *pWnd)
 
virtual void closeAllViews ()
 
virtual void iconifyAllViews ()
 
virtual void closeActiveView ()
 
virtual void switchToToplevelMode ()
 
virtual void finishToplevelMode ()
 
virtual void switchToChildframeMode ()
 
virtual void finishChildframeMode ()
 
virtual void switchToTabPageMode ()
 
virtual void finishTabPageMode ()
 
virtual void switchToIDEAlMode ()
 
virtual void finishIDEAlMode (bool full=true)
 
void setIDEAlModeStyle (int flags) TDE_DEPRECATED
 
void setToolviewStyle (int flags)
 
bool isViewTaskBarOn ()
 
virtual void showViewTaskBar ()
 
virtual void hideViewTaskBar ()
 
virtual void fillWindowMenu ()
 
virtual void cascadeWindows ()
 
virtual void cascadeMaximized ()
 
virtual void expandVertical ()
 
virtual void expandHorizontal ()
 
virtual void tilePragma ()
 
virtual void tileAnodine ()
 
virtual void tileVertically ()
 
virtual void setFrameDecorOfAttachedViews (int frameDecor)
 
virtual void setEnableMaximizedChildFrmMode (bool bEnable)
 
virtual void activateNextWin ()
 
virtual void activatePrevWin ()
 
virtual void activateFirstWin ()
 
virtual void activateLastWin ()
 
virtual void activateView (int index)
 
void prevToolViewInDock ()
 
void nextToolViewInDock ()
 

Signals

void lastChildFrmClosed ()
 
void lastChildViewClosed ()
 
void leftTopLevelMode ()
 
void childViewIsDetachedNow (TQWidget *)
 
void collapseOverlapContainers ()
 
void mdiModeHasBeenChangedTo (KMdi::MdiMode)
 
void viewActivated (KMdiChildView *)
 
void viewDeactivated (KMdiChildView *)
 
void toggleTop ()
 
void toggleLeft ()
 
void toggleRight ()
 
void toggleBottom ()
 

Public Member Functions

 KMdiMainFrm (TQWidget *parentWidget, const char *name="", KMdi::MdiMode mdiMode=KMdi::ChildframeMode, WFlags flags=(WFlags)(WType_TopLevel|WDestructiveClose))
 
void setStandardMDIMenuEnabled (bool showModeMenu=true)
 
void setManagedDockPositionModeEnabled (bool enabled)
 
bool isInMaximizedChildFrmMode ()
 
KMdi::MdiMode mdiMode ()
 
KMdiChildView * activeWindow ()
 
virtual TQPopupMenu * taskBarPopup (KMdiChildView *pWnd, bool bIncludeWindowPopup=false)
 
virtual TQPopupMenu * windowPopup (KMdiChildView *pWnd, bool bIncludeTaskbarPopup=true)
 
virtual void applyOptions ()
 
KMdiChildView * findWindow (const TQString &caption)
 
bool windowExists (KMdiChildView *pWnd, ExistsAs as)
 
virtual bool event (TQEvent *e)
 
virtual void setSysButtonsAtMenuPosition ()
 
virtual int taskBarHeight ()
 
virtual void setUndockPositioningOffset (TQPoint offset)
 
KMdiIterator< KMdiChildView * > * createIterator ()
 
void deleteIterator (KMdiIterator< KMdiChildView * > *pIt)
 
TQPopupMenu * windowMenu () const
 
virtual void setBackgroundColor (const TQColor &c)
 
virtual void setBackgroundPixmap (const TQPixmap &pm)
 
void setDefaultChildFrmSize (const TQSize &sz)
 
TQSize defaultChildFrmSize ()
 
virtual void setMinimumSize (int minw, int minh)
 
int childFrameModeHeight ()
 
virtual void setMenuForSDIModeSysButtons (KMenuBar *menuBar=0)
 
void fakeSDIApplication ()
 
bool isFakingSDIApplication () const
 
virtual bool eventFilter (TQObject *obj, TQEvent *e)
 
void findRootDockWidgets (TQPtrList< KDockWidget > *pRootDockWidgetList, TQValueList< TQRect > *pPositionList)
 
void setSwitching (const bool switching)
 
bool switching (void) const
 

Static Public Member Functions

static int frameDecorOfAttachedViews ()
 

Protected Slots

virtual void activateView (KMdiChildView *pWnd)
 
virtual void taskbarButtonRightClicked (KMdiChildView *pWnd)
 
void switchOffMaximizeModeForMenu (KMdiChildFrm *oldChild)
 
void updateSysButtonConnections (KMdiChildFrm *oldChild, KMdiChildFrm *newChild)
 
void windowMenuItemActivated (int id)
 
void dockMenuItemActivated (int id)
 
void popupWindowMenu (TQPoint p)
 
void dragEndTimeOut ()
 
void closeViewButtonPressed ()
 

Protected Member Functions

virtual void resizeEvent (TQResizeEvent *)
 
virtual void createTaskBar ()
 
virtual void createMdiManager ()
 
void blockClearingOfWindowMenu (bool bBlocked)
 
void findToolViewsDockedToMain (TQPtrList< KDockWidget > *list, KDockWidget::DockPosition dprtmw)
 
void dockToolViewsIntoContainers (TQPtrList< KDockWidget > &widgetsToReparent, KDockWidget *container)
 
TQStringList prepareIdealToTabs (KDockWidget *container)
 
void idealToolViewsToStandardTabs (TQStringList widgetNames, KDockWidget::DockPosition pos, int sizee)
 
KMdi::TabWidgetVisibility tabWidgetVisibility ()
 
void setTabWidgetVisibility (KMdi::TabWidgetVisibility)
 
class KTabWidget * tabWidget () const
 

Protected Attributes

KMdi::MdiMode m_mdiMode
 
KMdiChildArea * m_pMdi
 
KMdiTaskBar * m_pTaskBar
 
TQPtrList< KMdiChildView > * m_pDocumentViews
 
TQMap< TQWidget *, KMdiToolViewAccessor * > * m_pToolViews
 
KMdiChildView * m_pCurrentWindow
 
TQPopupMenu * m_pWindowPopup
 
TQPopupMenu * m_pTaskBarPopup
 
TQPopupMenu * m_pWindowMenu
 
TQPopupMenu * m_pDockMenu
 
TQPopupMenu * m_pMdiModeMenu
 
TQPopupMenu * m_pPlacingMenu
 
KMenuBar * m_pMainMenuBar
 
TQPixmap * m_pUndockButtonPixmap
 
TQPixmap * m_pMinButtonPixmap
 
TQPixmap * m_pRestoreButtonPixmap
 
TQPixmap * m_pCloseButtonPixmap
 
TQToolButton * m_pUndock
 
TQToolButton * m_pMinimize
 
TQToolButton * m_pRestore
 
TQToolButton * m_pClose
 
TQPoint m_undockPositioningOffset
 
bool m_bMaximizedChildFrmMode
 
int m_oldMainFrmHeight
 
int m_oldMainFrmMinHeight
 
int m_oldMainFrmMaxHeight
 
bool m_bSDIApplication
 
KDockWidget * m_pDockbaseAreaOfDocumentViews
 
TQDomDocument * m_pTempDockSession
 
bool m_bClearingOfWindowMenuBlocked
 
TQTimer * m_pDragEndTimer
 
bool m_bSwitching
 
KDockWidget * m_leftContainer
 
KDockWidget * m_rightContainer
 
KDockWidget * m_topContainer
 
KDockWidget * m_bottomContainer
 

Static Protected Attributes

static KMdi::FrameDecor m_frameDecoration = KMdi::KDELook
 

Friends

class KMdiChildView
 
class KMdiTaskBar
 
class KMdiToolViewAccessor
 

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

Your program mainwidget should inherit KMdiMainFrm. Then usually you'll just need addWindow() and removeWindowFromMdi() to control the views.

class MyMainWindow : public KMdiMainFrm
{ .... };
KMdiMainFrm
Base class for all your special main frames.
Definition: tdemdimainfrm.h:240

to define your main window class and

MyMainWindow mainframe;
tqApp->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() );
}
KMdiMainFrm::isFakingSDIApplication
bool isFakingSDIApplication() const
Definition: tdemdimainfrm.h:478
KMdiMainFrm::windowMenu
TQPopupMenu * windowMenu() const
Returns a popup menu that contains the MDI controlled view list.
Definition: tdemdimainfrm.h:422

To synchronize the positions of the MDI control buttons inserted in your mainmenu:

void B_MainModuleWidget::initMenuBar()
{
setMenuForSDIModeSysButtons( menuBar() );
}
...
void B_MainModuleWidget::resizeEvent ( TQResizeEvent *e )
{
KMdiMainFrm::resizeEvent( e );
setSysButtonsAtMenuPosition();
}
KMdiMainFrm::setMenuForSDIModeSysButtons
virtual void setMenuForSDIModeSysButtons(KMenuBar *menuBar=0)
Tells the MDI system a QMenu where it can insert buttons for the system menu, undock,...
Definition: tdemdimainfrm.cpp:2188
KMdiMainFrm::setSysButtonsAtMenuPosition
virtual void setSysButtonsAtMenuPosition()
If there's a main menubar given, it will create the 4 maximize mode buttons there (undock,...
Definition: tdemdimainfrm.cpp:2261
Dynamic mode switching

Dynamic switching of the MDI mode can be done via the following functions:

  • switchToChildframeMode()
  • switchToToplevelMode()
  • switchToTabPageMode()
  • switchToIDEAlMode()

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);
KMdiMainFrm::mdiMode
KMdi::MdiMode mdiMode()
Returns the MDI mode.
Definition: tdemdimainfrm.h:322

The maximized-Childframe mode means that currently all views are maximized in Childframe mode's application desktop.

Managing views

This class provides placing algorithms in Childframe mode. The following is a list of the window placement functions

  • 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, TQPoint(20, 20), KMdi::AddWindowFlags(mdiFlags));
return;
}
m_pMdiMainFrm->addWindow( pWnd, KMdi::AddWindowFlags(mdiFlags));
KMdi::AddWindowFlags
AddWindowFlags
During KMdiMainFrm::addWindow the enum AddWindowFlags is used to determine how the view is initialy b...
Definition: tdemdidefines.h:65
KMdi::StandardAdd
@ StandardAdd
standard is: show normal, attached, visible, document view (not toolview).
Definition: tdemdidefines.h:72

Definition at line 239 of file tdemdimainfrm.h.

Member Enumeration Documentation

◆ ExistsAs

enum KMdiMainFrm::ExistsAs

Definition at line 354 of file tdemdimainfrm.h.

Constructor & Destructor Documentation

◆ KMdiMainFrm()

KMdiMainFrm::KMdiMainFrm ( TQWidget *  parentWidget,
const char *  name = "",
KMdi::MdiMode  mdiMode = KMdi::ChildframeMode,
WFlags  flags = (WFlags)(WType_TopLevel | WDestructiveClose) 
)

Definition at line 139 of file tdemdimainfrm.cpp.

◆ ~KMdiMainFrm()

KMdiMainFrm::~KMdiMainFrm ( )
virtual

Definition at line 295 of file tdemdimainfrm.cpp.

Member Function Documentation

◆ activateFirstWin

void KMdiMainFrm::activateFirstWin ( )
virtualslot

Activates the view first viewed concerning to the access time.

Activates the view we accessed the most time ago.

Definition at line 2346 of file tdemdimainfrm.cpp.

◆ activateLastWin

void KMdiMainFrm::activateLastWin ( )
virtualslot

Activates the view last viewed concerning to the access time.

Activates the previously accessed view before this one was activated.

Definition at line 2379 of file tdemdimainfrm.cpp.

◆ activateNextWin

void KMdiMainFrm::activateNextWin ( )
virtualslot

Activates the next open view.

Definition at line 2298 of file tdemdimainfrm.cpp.

◆ activatePrevWin

void KMdiMainFrm::activatePrevWin ( )
virtualslot

Activates the previous open view.

Definition at line 2322 of file tdemdimainfrm.cpp.

◆ activateView [1/2]

void KMdiMainFrm::activateView ( int  index)
virtualslot

Activates the view with the tab page index (TabPage mode only)

Activates the view with a certain index (TabPage mode only)

Definition at line 2408 of file tdemdimainfrm.cpp.

◆ activateView [2/2]

void KMdiMainFrm::activateView ( KMdiChildView *  pWnd)
protectedvirtualslot

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 tdemdimainfrm.cpp.

◆ activeWindow()

KMdiChildView * KMdiMainFrm::activeWindow ( )

Returns the focused attached MDI view.

Definition at line 952 of file tdemdimainfrm.cpp.

◆ addToolWindow

KMdiToolViewAccessor * KMdiMainFrm::addToolWindow ( TQWidget *  pWnd,
KDockWidget::DockPosition  pos = KDockWidget::DockNone,
TQWidget *  pTargetWnd = 0L,
int  percent = 50,
const TQString &  tabToolTip = 0,
const TQString &  tabCaption = 0 
)
virtualslot

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 tdemdimainfrm.cpp.

◆ addWindow [1/4]

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
pWndthe parent view.
flagsYou 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.
indexthe 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 tdemdimainfrm.cpp.

◆ addWindow [2/4]

void KMdiMainFrm::addWindow ( KMdiChildView *  pWnd,
int  flags = KMdi::StandardAdd 
)
virtualslot

Adds a KMdiChildView to the MDI system.

The main frame takes control of it.

Parameters
pWndthe parent view.
flagsthe 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 tdemdimainfrm.cpp.

◆ addWindow [3/4]

void KMdiMainFrm::addWindow ( KMdiChildView *  pWnd,
TQPoint  pos,
int  flags = KMdi::StandardAdd 
)
virtualslot

Adds a KMdiChildView to the MDI system.

The main frame takes control of it.

Parameters
pWndthe parent view.
posmove the child view to the specified position
flagsthe 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 tdemdimainfrm.cpp.

◆ addWindow [4/4]

void KMdiMainFrm::addWindow ( KMdiChildView *  pWnd,
TQRect  rectNormal,
int  flags = KMdi::StandardAdd 
)
virtualslot

Adds a KMdiChildView to the MDI system.

The main frame takes control of it.

Parameters
pWndthe parent view.
rectNormalSets the geometry for this child view
flagsthe 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 tdemdimainfrm.cpp.

◆ applyOptions()

void KMdiMainFrm::applyOptions ( )
virtual

Called in the constructor (forces a resize of all MDI views)

Definition at line 336 of file tdemdimainfrm.cpp.

◆ attachWindow

void KMdiMainFrm::attachWindow ( KMdiChildView *  pWnd,
bool  bShow = true,
bool  bAutomaticResize = false 
)
virtualslot

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 tdemdimainfrm.cpp.

◆ blockClearingOfWindowMenu()

void KMdiMainFrm::blockClearingOfWindowMenu ( bool  bBlocked)
inlineprotected

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 768 of file tdemdimainfrm.h.

◆ cascadeMaximized

virtual void KMdiMainFrm::cascadeMaximized ( )
inlinevirtualslot

Cascades the windows resizing them to the maximum available size.

Definition at line 682 of file tdemdimainfrm.h.

◆ cascadeWindows

virtual void KMdiMainFrm::cascadeWindows ( )
inlinevirtualslot

Cascades the windows without resizing them.

Definition at line 677 of file tdemdimainfrm.h.

◆ childFrameModeHeight()

int KMdiMainFrm::childFrameModeHeight ( )
inline

Returns the Childframe mode height of this.

Makes only sense when in Toplevel mode.

Definition at line 453 of file tdemdimainfrm.h.

◆ childViewIsDetachedNow

void KMdiMainFrm::childViewIsDetachedNow ( TQWidget *  )
signal

Signals that a child view has been detached (undocked to desktop)

◆ childWindowCloseRequest

void KMdiMainFrm::childWindowCloseRequest ( KMdiChildView *  pWnd)
virtualslot

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 tdemdimainfrm.cpp.

◆ closeActiveView

void KMdiMainFrm::closeActiveView ( )
virtualslot

Closes the view of the active (topchild) window.

closes the view of the active (topchild) window

Definition at line 1265 of file tdemdimainfrm.cpp.

◆ closeAllViews

void KMdiMainFrm::closeAllViews ( )
virtualslot

Close all views.

close all views

Definition at line 1235 of file tdemdimainfrm.cpp.

◆ closeViewButtonPressed

void KMdiMainFrm::closeViewButtonPressed ( )
protectedslot

internally used to handle click on view close button (TabPage mode, only)

Definition at line 2841 of file tdemdimainfrm.cpp.

◆ closeWindow

void KMdiMainFrm::closeWindow ( KMdiChildView *  pWnd,
bool  layoutTaskBar = true 
)
virtualslot

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 tdemdimainfrm.cpp.

◆ collapseOverlapContainers

void KMdiMainFrm::collapseOverlapContainers ( )
signal

Signals we need to collapse the overlapped containers.

◆ createIterator()

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 397 of file tdemdimainfrm.h.

◆ createMdiManager()

void KMdiMainFrm::createMdiManager ( )
protectedvirtual

Creates the MDI view area and connects some signals and slots with the KMdiMainFrm widget.

Definition at line 361 of file tdemdimainfrm.cpp.

◆ createTaskBar()

void KMdiMainFrm::createTaskBar ( )
protectedvirtual

Creates a new MDI taskbar (showing the MDI views as taskbar entries) and shows it.

Definition at line 379 of file tdemdimainfrm.cpp.

◆ createToolWindow

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 tdemdimainfrm.cpp.

◆ createWrapper

KMdiChildView * KMdiMainFrm::createWrapper ( TQWidget *  view,
const TQString &  name,
const TQString &  shortName 
)
slot

addWindow demands a KMdiChildView.

This method wraps every TQWidget in such an object and this way you can put every widget under MDI control.

Definition at line 416 of file tdemdimainfrm.cpp.

◆ defaultChildFrmSize()

TQSize KMdiMainFrm::defaultChildFrmSize ( )
inline

Returns the default size for a newly added KMdiChildView.

See setDefaultChildFrmSize() .

Definition at line 443 of file tdemdimainfrm.h.

◆ deleteIterator()

void KMdiMainFrm::deleteIterator ( KMdiIterator< KMdiChildView * > *  pIt)
inline

Deletes an KMdiIterator created in the KMdi library (needed for the windows dll problem).

Definition at line 412 of file tdemdimainfrm.h.

◆ deleteToolWindow [1/2]

void KMdiMainFrm::deleteToolWindow ( KMdiToolViewAccessor *  accessor)
virtualslot

Definition at line 560 of file tdemdimainfrm.cpp.

◆ deleteToolWindow [2/2]

void KMdiMainFrm::deleteToolWindow ( TQWidget *  pWnd)
virtualslot

Definition at line 554 of file tdemdimainfrm.cpp.

◆ detachWindow

void KMdiMainFrm::detachWindow ( KMdiChildView *  pWnd,
bool  bShow = true 
)
virtualslot

Makes a docked KMdiChildView undocked.

The view window still remains under the main frame's MDI control.

Definition at line 662 of file tdemdimainfrm.cpp.

◆ dockMenuItemActivated

void KMdiMainFrm::dockMenuItemActivated ( int  id)
protectedslot

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 tdemdimainfrm.cpp.

◆ dockToolViewsIntoContainers()

void KMdiMainFrm::dockToolViewsIntoContainers ( TQPtrList< KDockWidget > &  widgetsToReparent,
KDockWidget *  container 
)
protected

Definition at line 1874 of file tdemdimainfrm.cpp.

◆ dragEndTimeOut

void KMdiMainFrm::dragEndTimeOut ( )
protectedslot

The timer for main widget moving has elapsed -> send drag end to all concerned views.

Definition at line 2788 of file tdemdimainfrm.cpp.

◆ event()

bool KMdiMainFrm::event ( TQEvent *  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 TQMainWindow::event , additionally.

Definition at line 1119 of file tdemdimainfrm.cpp.

◆ eventFilter()

bool KMdiMainFrm::eventFilter ( TQObject *  obj,
TQEvent *  e 
)
virtual

these are quite some assumptions: The key combination uses exactly one modifier key The WIN button in KDE is the meta button in Qt

Definition at line 1165 of file tdemdimainfrm.cpp.

◆ expandHorizontal

virtual void KMdiMainFrm::expandHorizontal ( )
inlinevirtualslot

Maximizes only in horizontal direction.

Definition at line 692 of file tdemdimainfrm.h.

◆ expandVertical

virtual void KMdiMainFrm::expandVertical ( )
inlinevirtualslot

Maximizes only in vertical direction.

Definition at line 687 of file tdemdimainfrm.h.

◆ fakeSDIApplication()

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 tdemdimainfrm.cpp.

◆ fillWindowMenu

void KMdiMainFrm::fillWindowMenu ( )
virtualslot

Update of the window menu contents.

Definition at line 2557 of file tdemdimainfrm.cpp.

◆ findRootDockWidgets()

void KMdiMainFrm::findRootDockWidgets ( TQPtrList< KDockWidget > *  pRootDockWidgetList,
TQValueList< TQRect > *  pPositionList 
)

find the root dockwidgets and store their geometry

Definition at line 1273 of file tdemdimainfrm.cpp.

◆ findToolViewsDockedToMain()

void KMdiMainFrm::findToolViewsDockedToMain ( TQPtrList< KDockWidget > *  list,
KDockWidget::DockPosition  dprtmw 
)
protected

Definition at line 1884 of file tdemdimainfrm.cpp.

◆ findWindow()

KMdiChildView * KMdiMainFrm::findWindow ( const TQString &  caption)

Returns the KMdiChildView belonging to the given caption string.

Definition at line 940 of file tdemdimainfrm.cpp.

◆ finishChildframeMode

void KMdiMainFrm::finishChildframeMode ( )
virtualslot

Definition at line 1571 of file tdemdimainfrm.cpp.

◆ finishIDEAlMode

void KMdiMainFrm::finishIDEAlMode ( bool  full = true)
virtualslot

Definition at line 2020 of file tdemdimainfrm.cpp.

◆ finishTabPageMode

void KMdiMainFrm::finishTabPageMode ( )
virtualslot

Definition at line 1647 of file tdemdimainfrm.cpp.

◆ finishToplevelMode

void KMdiMainFrm::finishToplevelMode ( )
virtualslot

Definition at line 1447 of file tdemdimainfrm.cpp.

◆ frameDecorOfAttachedViews()

static int KMdiMainFrm::frameDecorOfAttachedViews ( )
inlinestatic
Returns
the decoration of the window frame of docked (attached) MDI views

Definition at line 465 of file tdemdimainfrm.h.

◆ hideViewTaskBar

void KMdiMainFrm::hideViewTaskBar ( )
virtualslot

Hides the view taskbar.

This should be connected with your "View" menu.

Definition at line 2550 of file tdemdimainfrm.cpp.

◆ iconifyAllViews

void KMdiMainFrm::iconifyAllViews ( )
virtualslot

Iconfiy all views.

iconify all views

Definition at line 1254 of file tdemdimainfrm.cpp.

◆ idealToolViewsToStandardTabs()

void KMdiMainFrm::idealToolViewsToStandardTabs ( TQStringList  widgetNames,
KDockWidget::DockPosition  pos,
int  sizee 
)
protected

Definition at line 2133 of file tdemdimainfrm.cpp.

◆ isFakingSDIApplication()

bool KMdiMainFrm::isFakingSDIApplication ( ) const
inline
Returns
if we are faking an SDI application (fakeSDIApplication())

Definition at line 478 of file tdemdimainfrm.h.

◆ isInMaximizedChildFrmMode()

bool KMdiMainFrm::isInMaximizedChildFrmMode ( )
inline

Returns whether the application's MDI views are in maximized state or not.

Definition at line 317 of file tdemdimainfrm.h.

◆ isViewTaskBarOn

bool KMdiMainFrm::isViewTaskBarOn ( )
slot

Shows the view taskbar.

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 tdemdimainfrm.cpp.

◆ lastChildFrmClosed

void KMdiMainFrm::lastChildFrmClosed ( )
signal

Signals the last attached KMdiChildView has been closed.

◆ lastChildViewClosed

void KMdiMainFrm::lastChildViewClosed ( )
signal

Signals the last KMdiChildView (that is under MDI control) has been closed.

◆ leftTopLevelMode

void KMdiMainFrm::leftTopLevelMode ( )
signal

Signals that the Toplevel mode has been left.

◆ mdiMode()

KMdi::MdiMode KMdiMainFrm::mdiMode ( )
inline

Returns the MDI mode.

This can be one of the enumerations KMdi::MdiMode.

Definition at line 322 of file tdemdimainfrm.h.

◆ mdiModeHasBeenChangedTo

void KMdiMainFrm::mdiModeHasBeenChangedTo ( KMdi::MdiMode  )
signal

Signals the MDI mode has been changed.

◆ nextToolViewInDock

void KMdiMainFrm::nextToolViewInDock ( )
slot

Definition at line 2907 of file tdemdimainfrm.cpp.

◆ popupWindowMenu

void KMdiMainFrm::popupWindowMenu ( TQPoint  p)
protectedslot

Popups the "Window" menu.

See also windowPopup() .

Definition at line 2779 of file tdemdimainfrm.cpp.

◆ prepareIdealToTabs()

TQStringList KMdiMainFrm::prepareIdealToTabs ( KDockWidget *  container)
protected

Definition at line 2119 of file tdemdimainfrm.cpp.

◆ prevToolViewInDock

void KMdiMainFrm::prevToolViewInDock ( )
slot

Definition at line 2899 of file tdemdimainfrm.cpp.

◆ removeWindowFromMdi

void KMdiMainFrm::removeWindowFromMdi ( KMdiChildView *  pWnd)
virtualslot

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 tdemdimainfrm.cpp.

◆ resizeEvent()

void KMdiMainFrm::resizeEvent ( TQResizeEvent *  e)
protectedvirtual

Definition at line 392 of file tdemdimainfrm.cpp.

◆ setBackgroundColor()

virtual void KMdiMainFrm::setBackgroundColor ( const TQColor &  c)
inlinevirtual

Sets a background color for the MDI view area widget.

Definition at line 427 of file tdemdimainfrm.h.

◆ setBackgroundPixmap()

virtual void KMdiMainFrm::setBackgroundPixmap ( const TQPixmap &  pm)
inlinevirtual

Sets a background pixmap for the MDI view area widget.

Definition at line 432 of file tdemdimainfrm.h.

◆ setDefaultChildFrmSize()

void KMdiMainFrm::setDefaultChildFrmSize ( const TQSize &  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 438 of file tdemdimainfrm.h.

◆ setEnableMaximizedChildFrmMode

void KMdiMainFrm::setEnableMaximizedChildFrmMode ( bool  bEnable)
virtualslot

If in Childframe mode, we can switch between maximized or restored shown MDI views.

turns the system buttons for maximize mode (SDI mode) on, and connects them with the current child frame

Definition at line 2422 of file tdemdimainfrm.cpp.

◆ setFrameDecorOfAttachedViews

void KMdiMainFrm::setFrameDecorOfAttachedViews ( int  frameDecor)
virtualslot

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 tdemdimainfrm.cpp.

◆ setIDEAlModeStyle

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 tdemdimainfrm.cpp.

◆ setManagedDockPositionModeEnabled()

void KMdiMainFrm::setManagedDockPositionModeEnabled ( bool  enabled)

Definition at line 2850 of file tdemdimainfrm.cpp.

◆ setMenuForSDIModeSysButtons()

void KMdiMainFrm::setMenuForSDIModeSysButtons ( KMenuBar *  pMenuBar = 0)
virtual

Tells the MDI system a QMenu where it can insert buttons for the system menu, undock, minimize, restore actions.

redirect the signal for insertion of buttons to an own slot that means: If the menubar (where the buttons should be inserted) is given, QextMDI can insert them automatically.

If no such menu is given, KMdi simply overlays the buttons at the upper right-hand side of the main widget.

Otherwise only signals can be emitted to tell the outside that someone must do this job itself.

Definition at line 2188 of file tdemdimainfrm.cpp.

◆ setMinimumSize()

void KMdiMainFrm::setMinimumSize ( int  minw,
int  minh 
)
virtual

Do nothing when in Toplevel mode.

Definition at line 407 of file tdemdimainfrm.cpp.

◆ setStandardMDIMenuEnabled()

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 tdemdimainfrm.cpp.

◆ setSwitching()

void KMdiMainFrm::setSwitching ( const bool  switching)
inline

We're switching something.

Definition at line 484 of file tdemdimainfrm.h.

◆ setSysButtonsAtMenuPosition()

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 tdemdimainfrm.cpp.

◆ setTabWidgetVisibility()

void KMdiMainFrm::setTabWidgetVisibility ( KMdi::TabWidgetVisibility  visibility)
protected

Set tabwidget visibility.

Definition at line 2923 of file tdemdimainfrm.cpp.

◆ setToolviewStyle

void KMdiMainFrm::setToolviewStyle ( int  flags)
slot

Sets the appearance of the toolview tabs.

Parameters
flagsSee KMdi::ToolviewStyle.
Since
3.3

Definition at line 1769 of file tdemdimainfrm.cpp.

◆ setUndockPositioningOffset()

virtual void KMdiMainFrm::setUndockPositioningOffset ( TQPoint  offset)
inlinevirtual

Sets an offset value that is used on detachWindow() .

The undocked window is visually moved on the desktop by this offset.

Definition at line 388 of file tdemdimainfrm.h.

◆ showViewTaskBar

void KMdiMainFrm::showViewTaskBar ( )
virtualslot

Shows the view taskbar.

This should be connected with your "View" menu.

Definition at line 2543 of file tdemdimainfrm.cpp.

◆ slot_toggleTaskBar

void KMdiMainFrm::slot_toggleTaskBar ( )
virtualslot

Switches the KMdiTaskBar on and off.

Definition at line 385 of file tdemdimainfrm.cpp.

◆ switching()

bool KMdiMainFrm::switching ( void  ) const
inline

Definition at line 485 of file tdemdimainfrm.h.

◆ switchOffMaximizeModeForMenu

void KMdiMainFrm::switchOffMaximizeModeForMenu ( KMdiChildFrm *  oldChild)
protectedslot

Turns the system buttons for maximize mode (SDI mode) off, and disconnects them.

turns the system buttons for maximize mode (SDI mode) off, and disconnects them

Definition at line 2476 of file tdemdimainfrm.cpp.

◆ switchToChildframeMode

void KMdiMainFrm::switchToChildframeMode ( )
virtualslot

Docks all view windows (Windows-like)

docks all view windows (Windows-like)

Definition at line 1455 of file tdemdimainfrm.cpp.

◆ switchToIDEAlMode

void KMdiMainFrm::switchToIDEAlMode ( )
virtualslot

Docks all view windows.

Docks all view windows (Windows-like)

Toolviews use dockcontainers

Definition at line 1822 of file tdemdimainfrm.cpp.

◆ switchToTabPageMode

void KMdiMainFrm::switchToTabPageMode ( )
virtualslot

Docks all view windows (Windows-like)

Definition at line 1601 of file tdemdimainfrm.cpp.

◆ switchToToplevelMode

void KMdiMainFrm::switchToToplevelMode ( )
virtualslot

Undocks all view windows (unix-like)

undocks all view windows (unix-like)

Definition at line 1343 of file tdemdimainfrm.cpp.

◆ tabWidget()

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 tdemdimainfrm.cpp.

◆ tabWidgetVisibility()

KMdi::TabWidgetVisibility KMdiMainFrm::tabWidgetVisibility ( )
protected

Get tabwidget visibility.

Definition at line 2915 of file tdemdimainfrm.cpp.

◆ taskbarButtonRightClicked

void KMdiMainFrm::taskbarButtonRightClicked ( KMdiChildView *  pWnd)
protectedvirtualslot

Activates the MDI view (see activateView() ) and popups the taskBar popup menu (see taskBarPopup() ).

Definition at line 1106 of file tdemdimainfrm.cpp.

◆ taskBarHeight()

virtual int KMdiMainFrm::taskBarHeight ( )
inlinevirtual

Returns the height of the taskbar.

Definition at line 382 of file tdemdimainfrm.h.

◆ taskBarPopup()

TQPopupMenu * 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 tdemdimainfrm.cpp.

◆ tileAnodine

virtual void KMdiMainFrm::tileAnodine ( )
inlinevirtualslot

Tile Anodine.

Definition at line 702 of file tdemdimainfrm.h.

◆ tilePragma

virtual void KMdiMainFrm::tilePragma ( )
inlinevirtualslot

Tile Pragma.

Definition at line 697 of file tdemdimainfrm.h.

◆ tileVertically

virtual void KMdiMainFrm::tileVertically ( )
inlinevirtualslot

Tile Vertically.

Definition at line 707 of file tdemdimainfrm.h.

◆ updateSysButtonConnections

void KMdiMainFrm::updateSysButtonConnections ( KMdiChildFrm *  oldChild,
KMdiChildFrm *  newChild 
)
protectedslot

Reconnects the system buttons form maximize mode (SDI mode) with the new child frame.

reconnects the system buttons form maximize mode (SDI mode) with the new child frame

Definition at line 2499 of file tdemdimainfrm.cpp.

◆ windowExists()

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 tdemdimainfrm.cpp.

◆ windowMenu()

TQPopupMenu * 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 422 of file tdemdimainfrm.h.

◆ windowMenuItemActivated

void KMdiMainFrm::windowMenuItemActivated ( int  id)
protectedslot

Usually called when the user clicks an MDI view item in the "Window" menu.

Definition at line 2731 of file tdemdimainfrm.cpp.

◆ windowPopup()

TQPopupMenu * 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 tdemdimainfrm.cpp.

Friends And Related Function Documentation

◆ KMdiChildView

friend class KMdiChildView
friend

Definition at line 241 of file tdemdimainfrm.h.

◆ KMdiTaskBar

friend class KMdiTaskBar
friend

Definition at line 242 of file tdemdimainfrm.h.

◆ KMdiToolViewAccessor

friend class KMdiToolViewAccessor
friend

Definition at line 245 of file tdemdimainfrm.h.

Member Data Documentation

◆ m_bClearingOfWindowMenuBlocked

bool KMdiMainFrm::m_bClearingOfWindowMenuBlocked
protected

Definition at line 280 of file tdemdimainfrm.h.

◆ m_bMaximizedChildFrmMode

bool KMdiMainFrm::m_bMaximizedChildFrmMode
protected

Definition at line 272 of file tdemdimainfrm.h.

◆ m_bottomContainer

KDockWidget* KMdiMainFrm::m_bottomContainer
protected

Definition at line 289 of file tdemdimainfrm.h.

◆ m_bSDIApplication

bool KMdiMainFrm::m_bSDIApplication
protected

Definition at line 277 of file tdemdimainfrm.h.

◆ m_bSwitching

bool KMdiMainFrm::m_bSwitching
protected

Definition at line 284 of file tdemdimainfrm.h.

◆ m_frameDecoration

KMdi::FrameDecor KMdiMainFrm::m_frameDecoration = KMdi::KDELook
staticprotected

Definition at line 276 of file tdemdimainfrm.h.

◆ m_leftContainer

KDockWidget* KMdiMainFrm::m_leftContainer
protected

Definition at line 286 of file tdemdimainfrm.h.

◆ m_mdiMode

KMdi::MdiMode KMdiMainFrm::m_mdiMode
protected

Definition at line 248 of file tdemdimainfrm.h.

◆ m_oldMainFrmHeight

int KMdiMainFrm::m_oldMainFrmHeight
protected

Definition at line 273 of file tdemdimainfrm.h.

◆ m_oldMainFrmMaxHeight

int KMdiMainFrm::m_oldMainFrmMaxHeight
protected

Definition at line 275 of file tdemdimainfrm.h.

◆ m_oldMainFrmMinHeight

int KMdiMainFrm::m_oldMainFrmMinHeight
protected

Definition at line 274 of file tdemdimainfrm.h.

◆ m_pClose

TQToolButton* KMdiMainFrm::m_pClose
protected

Definition at line 270 of file tdemdimainfrm.h.

◆ m_pCloseButtonPixmap

TQPixmap* KMdiMainFrm::m_pCloseButtonPixmap
protected

Definition at line 265 of file tdemdimainfrm.h.

◆ m_pCurrentWindow

KMdiChildView* KMdiMainFrm::m_pCurrentWindow
protected

Definition at line 253 of file tdemdimainfrm.h.

◆ m_pDockbaseAreaOfDocumentViews

KDockWidget* KMdiMainFrm::m_pDockbaseAreaOfDocumentViews
protected

Definition at line 278 of file tdemdimainfrm.h.

◆ m_pDockMenu

TQPopupMenu* KMdiMainFrm::m_pDockMenu
protected

Definition at line 257 of file tdemdimainfrm.h.

◆ m_pDocumentViews

TQPtrList<KMdiChildView>* KMdiMainFrm::m_pDocumentViews
protected

Definition at line 251 of file tdemdimainfrm.h.

◆ m_pDragEndTimer

TQTimer* KMdiMainFrm::m_pDragEndTimer
protected

Definition at line 282 of file tdemdimainfrm.h.

◆ m_pMainMenuBar

KMenuBar* KMdiMainFrm::m_pMainMenuBar
protected

Definition at line 260 of file tdemdimainfrm.h.

◆ m_pMdi

KMdiChildArea* KMdiMainFrm::m_pMdi
protected

Definition at line 249 of file tdemdimainfrm.h.

◆ m_pMdiModeMenu

TQPopupMenu* KMdiMainFrm::m_pMdiModeMenu
protected

Definition at line 258 of file tdemdimainfrm.h.

◆ m_pMinButtonPixmap

TQPixmap* KMdiMainFrm::m_pMinButtonPixmap
protected

Definition at line 263 of file tdemdimainfrm.h.

◆ m_pMinimize

TQToolButton* KMdiMainFrm::m_pMinimize
protected

Definition at line 268 of file tdemdimainfrm.h.

◆ m_pPlacingMenu

TQPopupMenu* KMdiMainFrm::m_pPlacingMenu
protected

Definition at line 259 of file tdemdimainfrm.h.

◆ m_pRestore

TQToolButton* KMdiMainFrm::m_pRestore
protected

Definition at line 269 of file tdemdimainfrm.h.

◆ m_pRestoreButtonPixmap

TQPixmap* KMdiMainFrm::m_pRestoreButtonPixmap
protected

Definition at line 264 of file tdemdimainfrm.h.

◆ m_pTaskBar

KMdiTaskBar* KMdiMainFrm::m_pTaskBar
protected

Definition at line 250 of file tdemdimainfrm.h.

◆ m_pTaskBarPopup

TQPopupMenu* KMdiMainFrm::m_pTaskBarPopup
protected

Definition at line 255 of file tdemdimainfrm.h.

◆ m_pTempDockSession

TQDomDocument* KMdiMainFrm::m_pTempDockSession
protected

Definition at line 279 of file tdemdimainfrm.h.

◆ m_pToolViews

TQMap<TQWidget*, KMdiToolViewAccessor*>* KMdiMainFrm::m_pToolViews
protected

Definition at line 252 of file tdemdimainfrm.h.

◆ m_pUndock

TQToolButton* KMdiMainFrm::m_pUndock
protected

Definition at line 267 of file tdemdimainfrm.h.

◆ m_pUndockButtonPixmap

TQPixmap* KMdiMainFrm::m_pUndockButtonPixmap
protected

Definition at line 262 of file tdemdimainfrm.h.

◆ m_pWindowMenu

TQPopupMenu* KMdiMainFrm::m_pWindowMenu
protected

Definition at line 256 of file tdemdimainfrm.h.

◆ m_pWindowPopup

TQPopupMenu* KMdiMainFrm::m_pWindowPopup
protected

Definition at line 254 of file tdemdimainfrm.h.

◆ m_rightContainer

KDockWidget* KMdiMainFrm::m_rightContainer
protected

Definition at line 287 of file tdemdimainfrm.h.

◆ m_topContainer

KDockWidget* KMdiMainFrm::m_topContainer
protected

Definition at line 288 of file tdemdimainfrm.h.

◆ m_undockPositioningOffset

TQPoint KMdiMainFrm::m_undockPositioningOffset
protected

Definition at line 271 of file tdemdimainfrm.h.


The documentation for this class was generated from the following files:
  • tdemdimainfrm.h
  • tdemdimainfrm.cpp

tdemdi

Skip menu "tdemdi"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

tdemdi

Skip menu "tdemdi"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdemdi by doxygen 1.9.4
This website is maintained by Timothy Pearson.