\section{KMdi\-Child\-Area Class Reference}
\label{classKMdiChildArea}\index{KMdiChildArea@{KMdiChildArea}}
Internal class.  


{\tt \#include $<$kmdichildarea.h$>$}

Inheritance diagram for KMdi\-Child\-Area:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=59pt]{classKMdiChildArea__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KMdi\-Child\-Area:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=318pt]{classKMdiChildArea__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Slots}
\begin{CompactItemize}
\item 
void {\bf cascade\-Windows} ()
\item 
void {\bf cascade\-Maximized} ()
\item 
void {\bf expand\-Vertical} ()
\item 
void {\bf expand\-Horizontal} ()
\item 
void {\bf focus\-Top\-Child} ()
\item 
void {\bf tile\-Pragma} ()
\item 
void {\bf tile\-Anodine} ()
\item 
void {\bf tile\-Vertically} ()
\item 
void {\bf layout\-Minimized\-Children} ()
\end{CompactItemize}
\subsection*{Signals}
\begin{CompactItemize}
\item 
void {\bf no\-Maximized\-Child\-Frm\-Left} ({\bf KMdi\-Child\-Frm} $\ast$)
\item 
void {\bf now\-Maximized} (bool)
\item 
void {\bf sys\-Button\-Connections\-Must\-Change} ({\bf KMdi\-Child\-Frm} $\ast$, {\bf KMdi\-Child\-Frm} $\ast$)
\item 
void {\bf popup\-Window\-Menu} ({\bf QPoint})
\item 
void {\bf last\-Child\-Frm\-Closed} ()
\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KMdi\-Child\-Area} ({\bf QWidget} $\ast$parent)
\item 
{\bf $\sim$KMdi\-Child\-Area} ()
\item 
void {\bf manage\-Child} ({\bf KMdi\-Child\-Frm} $\ast$lp\-C, bool b\-Show=true, bool b\-Cascade=true)
\item 
void {\bf destroy\-Child} ({\bf KMdi\-Child\-Frm} $\ast$child, bool focus\-Top\-Child=true)
\item 
void {\bf destroy\-Child\-But\-Not\-Its\-View} ({\bf KMdi\-Child\-Frm} $\ast$lp\-C, bool b\-Focus\-Top\-Child=true)
\item 
void {\bf set\-Top\-Child} ({\bf KMdi\-Child\-Frm} $\ast$child, bool set\-Focus=false)
\item 
{\bf KMdi\-Child\-Frm} $\ast$ {\bf top\-Child} () const 
\item 
int {\bf get\-Visible\-Child\-Count} () const 
\item 
{\bf QPoint} {\bf get\-Cascade\-Point} (int index\-Of\-Window=-1)
\item 
void {\bf set\-Mdi\-Caption\-Font} (const {\bf QFont} \&fnt)
\item 
void {\bf set\-Mdi\-Caption\-Active\-Fore\-Color} (const {\bf QColor} \&clr)
\item 
void {\bf set\-Mdi\-Caption\-Active\-Back\-Color} (const {\bf QColor} \&clr)
\item 
void {\bf set\-Mdi\-Caption\-Inactive\-Fore\-Color} (const {\bf QColor} \&clr)
\item 
void {\bf set\-Mdi\-Caption\-Inactive\-Back\-Color} (const {\bf QColor} \&clr)
\end{CompactItemize}
\subsection*{Static Public Member Functions}
\begin{CompactItemize}
\item 
static void {\bf get\-Caption\-Colors} (const {\bf QPalette} \&pal, {\bf QColor} \&active\-BG, {\bf QColor} \&active\-FG, {\bf QColor} \&inactive\-BG, {\bf QColor} \&inactive\-FG) KDE\_\-DEPRECATED
\end{CompactItemize}
\subsection*{Public Attributes}
\begin{CompactItemize}
\item 
{\bf QPtr\-List}$<$ {\bf KMdi\-Child\-Frm} $>$ $\ast$ {\bf m\_\-p\-Z}
\item 
{\bf QSize} {\bf m\_\-default\-Child\-Frm\-Size}
\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
void {\bf tile\-All\-Internal} (int max\-Wnds)
\item 
virtual void {\bf resize\-Event} ({\bf QResize\-Event} $\ast$)
\item 
void {\bf mouse\-Press\-Event} ({\bf QMouse\-Event} $\ast$e)
\item 
void {\bf child\-Minimized} ({\bf KMdi\-Child\-Frm} $\ast$lp\-C, bool b\-Was\-Maximized)
\end{CompactItemize}
\subsection*{Protected Attributes}
\begin{CompactItemize}
\item 
{\bf QFont} {\bf m\_\-caption\-Font}
\item 
{\bf QColor} {\bf m\_\-caption\-Active\-Back\-Color}
\item 
{\bf QColor} {\bf m\_\-caption\-Active\-Fore\-Color}
\item 
{\bf QColor} {\bf m\_\-caption\-Inactive\-Back\-Color}
\item 
{\bf QColor} {\bf m\_\-caption\-Inactive\-Fore\-Color}
\item 
int {\bf m\_\-caption\-Font\-Line\-Spacing}\label{classKMdiChildArea_p5}

\end{CompactItemize}
\subsection*{Friends}
\begin{CompactItemize}
\item 
class {\bf KMdi\-Child\-Frm\-Caption}\label{classKMdiChildArea_n0}

\item 
class {\bf KMdi\-Child\-Frm}\label{classKMdiChildArea_n1}

\end{CompactItemize}


\subsection{Detailed Description}
Internal class. 

The main frame widget {\bf KMdi\-Main\-Frm}{\rm (p.\,\pageref{classKMdiMainFrm})} consists of 2 child widgets. One is this class. It's the widget where the child frames (emulated toplevel MDI views) live in. This class is the manager for the child frame widgets because it controls the Z-order widget stack of KMdi\-Child\-Frm's. It provides all placing and positioning algorithms for docked (attached) MDI views.

KMdi\-Child\-Area doesn't know anything about the actual MDI views. It only knows and manages the frame widgets of attached MDI views. All actions and stuff concerning only to childframes are handled here. 



Definition at line 52 of file kmdichildarea.h.

\subsection{Constructor \& Destructor Documentation}
\index{KMdiChildArea@{KMdi\-Child\-Area}!KMdiChildArea@{KMdiChildArea}}
\index{KMdiChildArea@{KMdiChildArea}!KMdiChildArea@{KMdi\-Child\-Area}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KMdi\-Child\-Area::KMdi\-Child\-Area ({\bf QWidget} $\ast$ {\em parent})}\label{classKMdiChildArea_a0}


Consruction. 

Note: This class needn't to know about {\bf KMdi\-Main\-Frm}{\rm (p.\,\pageref{classKMdiMainFrm})} .

Definition at line 48 of file kmdichildarea.cpp.

References QFont\-Metrics::line\-Spacing(), m\_\-caption\-Active\-Back\-Color, m\_\-caption\-Active\-Fore\-Color, m\_\-caption\-Font, m\_\-caption\-Inactive\-Back\-Color, m\_\-caption\-Inactive\-Fore\-Color, m\_\-default\-Child\-Frm\-Size, m\_\-p\-Z, QPtr\-List::set\-Auto\-Delete(), and QFrame::set\-Frame\-Style().\index{KMdiChildArea@{KMdi\-Child\-Area}!~KMdiChildArea@{$\sim$KMdiChildArea}}
\index{~KMdiChildArea@{$\sim$KMdiChildArea}!KMdiChildArea@{KMdi\-Child\-Area}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KMdi\-Child\-Area::$\sim${\bf KMdi\-Child\-Area} ()}\label{classKMdiChildArea_a1}


Destructor : THERE should be no child windows anymore... 

Howewer it simply deletes all the child widgets :)

Definition at line 66 of file kmdichildarea.cpp.

References m\_\-p\-Z.

\subsection{Member Function Documentation}
\index{KMdiChildArea@{KMdi\-Child\-Area}!manageChild@{manageChild}}
\index{manageChild@{manageChild}!KMdiChildArea@{KMdi\-Child\-Area}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KMdi\-Child\-Area::manage\-Child ({\bf KMdi\-Child\-Frm} $\ast$ {\em lp\-C}, bool {\em b\-Show} = {\tt true}, bool {\em b\-Cascade} = {\tt true})}\label{classKMdiChildArea_a2}


Appends a new {\bf KMdi\-Child\-Frm}{\rm (p.\,\pageref{classKMdiChildFrm})} to this manager. 

The child is shown,raised and gets focus if this window has it.

Definition at line 72 of file kmdichildarea.cpp.

References QPtr\-List::append(), QPtr\-List::count(), QPtr\-List::find\-Next\-Ref(), QPtr\-List::find\-Ref(), focus\-Top\-Child(), get\-Cascade\-Point(), QPtr\-List::insert(), m\_\-p\-Z, KMdi\-Child\-Frm::set\-State(), KMdi\-Child\-Frm::state(), sys\-Button\-Connections\-Must\-Change(), QPtr\-List::take(), and top\-Child().

Referenced by KMdi\-Main\-Frm::attach\-Window().\index{KMdiChildArea@{KMdi\-Child\-Area}!destroyChild@{destroyChild}}
\index{destroyChild@{destroyChild}!KMdiChildArea@{KMdi\-Child\-Area}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KMdi\-Child\-Area::destroy\-Child ({\bf KMdi\-Child\-Frm} $\ast$ {\em child}, bool {\em focus\-Top\-Child} = {\tt true})}\label{classKMdiChildArea_a3}


Destroys a managed {\bf KMdi\-Child\-Frm}{\rm (p.\,\pageref{classKMdiChildFrm})} Also deletes the client attached to this child. 



Definition at line 109 of file kmdichildarea.cpp.

References KMdi\-Child\-Frm::caption(), QObject::disconnect(), focus\-Top\-Child(), m\_\-p\-Z, no\-Maximized\-Child\-Frm\-Left(), QPtr\-List::remove\-Ref(), QPtr\-List::set\-Auto\-Delete(), KMdi\-Child\-Frm::set\-State(), sys\-Button\-Connections\-Must\-Change(), and top\-Child().

Referenced by KMdi\-Main\-Frm::close\-Window().\index{KMdiChildArea@{KMdi\-Child\-Area}!destroyChildButNotItsView@{destroyChildButNotItsView}}
\index{destroyChildButNotItsView@{destroyChildButNotItsView}!KMdiChildArea@{KMdi\-Child\-Area}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KMdi\-Child\-Area::destroy\-Child\-But\-Not\-Its\-View ({\bf KMdi\-Child\-Frm} $\ast$ {\em lp\-C}, bool {\em b\-Focus\-Top\-Child} = {\tt true})}\label{classKMdiChildArea_a4}


Destroys a managed {\bf KMdi\-Child\-Frm}{\rm (p.\,\pageref{classKMdiChildFrm})} Clients attached to the {\bf KMdi\-Child\-Frm}{\rm (p.\,\pageref{classKMdiChildFrm})} are not deleted. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em child}]\end{description}
\end{Desc}


Definition at line 141 of file kmdichildarea.cpp.

References QObject::disconnect(), focus\-Top\-Child(), m\_\-p\-Z, no\-Maximized\-Child\-Frm\-Left(), QPtr\-List::remove\-Ref(), QPtr\-List::set\-Auto\-Delete(), KMdi\-Child\-Frm::set\-State(), sys\-Button\-Connections\-Must\-Change(), and top\-Child().

Referenced by KMdi\-Main\-Frm::detach\-Window(), and KMdi\-Main\-Frm::remove\-Window\-From\-Mdi().\index{KMdiChildArea@{KMdi\-Child\-Area}!setTopChild@{setTopChild}}
\index{setTopChild@{setTopChild}!KMdiChildArea@{KMdi\-Child\-Area}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KMdi\-Child\-Area::set\-Top\-Child ({\bf KMdi\-Child\-Frm} $\ast$ {\em child}, bool {\em set\-Focus} = {\tt false})}\label{classKMdiChildArea_a5}


Brings the child {\tt child} to the top of the stack The child is focused if {\tt set\-Focus} is true. 

If set\-Focus is false, the child is just raised. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em child}]\end{description}
\end{Desc}


Definition at line 171 of file kmdichildarea.cpp.

References QPtr\-List::append(), KMdi\-Child\-Frm::m\_\-p\-Client, m\_\-p\-Z, QPtr\-List::remove\-Ref(), QPtr\-List::set\-Auto\-Delete(), QWidget::set\-Focus(), QFocus\-Event::set\-Reason(), KMdi\-Child\-Frm::set\-State(), KMdi\-Child\-Frm::state(), sys\-Button\-Connections\-Must\-Change(), and top\-Child().

Referenced by KMdi\-Main\-Frm::activate\-View(), KMdi\-Child\-Frm::mouse\-Press\-Event(), and KMdi\-Child\-Frm::raise\-And\-Activate().\index{KMdiChildArea@{KMdi\-Child\-Area}!topChild@{topChild}}
\index{topChild@{topChild}!KMdiChildArea@{KMdi\-Child\-Area}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KMdi\-Child\-Frm}$\ast$ KMdi\-Child\-Area::top\-Child () const\hspace{0.3cm}{\tt  [inline]}}\label{classKMdiChildArea_a6}


Returns the topmost child (the active one) or 0 if there are no children. 

Note that the topmost child may be also hidded , if ALL the windows are minimized.

Definition at line 143 of file kmdichildarea.h.

Referenced by KMdi\-Main\-Frm::activate\-View(), KMdi\-Main\-Frm::attach\-Window(), child\-Minimized(), KMdi\-Main\-Frm::close\-Window(), destroy\-Child(), destroy\-Child\-But\-Not\-Its\-View(), KMdi\-Main\-Frm::event\-Filter(), focus\-Top\-Child(), manage\-Child(), KMdi\-Main\-Frm::remove\-Window\-From\-Mdi(), resize\-Event(), KMdi\-Child\-Frm::set\-Client(), KMdi\-Main\-Frm::set\-Enable\-Maximized\-Child\-Frm\-Mode(), KMdi\-Child\-Frm::set\-State(), set\-Top\-Child(), tile\-All\-Internal(), tile\-Anodine(), tile\-Vertically(), and KMdi\-Main\-Frm::window\-Menu\-Item\-Activated().\index{KMdiChildArea@{KMdi\-Child\-Area}!getVisibleChildCount@{getVisibleChildCount}}
\index{getVisibleChildCount@{getVisibleChildCount}!KMdiChildArea@{KMdi\-Child\-Area}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int KMdi\-Child\-Area::get\-Visible\-Child\-Count () const}\label{classKMdiChildArea_a7}


Returns the number of visible children. 



Definition at line 482 of file kmdichildarea.cpp.

References m\_\-p\-Z.

Referenced by KMdi\-Main\-Frm::close\-Window(), KMdi\-Main\-Frm::remove\-Window\-From\-Mdi(), tile\-All\-Internal(), tile\-Anodine(), and tile\-Vertically().\index{KMdiChildArea@{KMdi\-Child\-Area}!getCascadePoint@{getCascadePoint}}
\index{getCascadePoint@{getCascadePoint}!KMdiChildArea@{KMdi\-Child\-Area}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QPoint} KMdi\-Child\-Area::get\-Cascade\-Point (int {\em index\-Of\-Window} = {\tt -1})}\label{classKMdiChildArea_a8}


Calculates the cascade point for the given index. 

If index is -1 the cascade point is calculated for the window following the last window \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em index\-Of\-Window}]the index of the window in relation the z-ordered window list\end{description}
\end{Desc}


Definition at line 258 of file kmdichildarea.cpp.

References QPtr\-List::count(), QApplication::desktop(), QPtr\-List::first(), QSize::height(), KMdi\-Child\-Frm\-Caption::height\-Hint(), m\_\-default\-Child\-Frm\-Size, KMdi\-Child\-Frm::m\_\-p\-Caption, m\_\-p\-Z, QPoint::set\-X(), QPoint::set\-Y(), and QSize::width().

Referenced by KMdi\-Main\-Frm::add\-Window(), cascade\-Maximized(), cascade\-Windows(), KMdi\-Main\-Frm::detach\-Window(), and manage\-Child().\index{KMdiChildArea@{KMdi\-Child\-Area}!setMdiCaptionFont@{setMdiCaptionFont}}
\index{setMdiCaptionFont@{setMdiCaptionFont}!KMdiChildArea@{KMdi\-Child\-Area}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KMdi\-Child\-Area::set\-Mdi\-Caption\-Font (const {\bf QFont} \& {\em fnt})}\label{classKMdiChildArea_a9}


Sets the MDI childframe window caption font A relayout does not occur when using this function. 



Definition at line 747 of file kmdichildarea.cpp.

References QFont\-Metrics::line\-Spacing(), m\_\-caption\-Font, and m\_\-p\-Z.\index{KMdiChildArea@{KMdi\-Child\-Area}!setMdiCaptionActiveForeColor@{setMdiCaptionActiveForeColor}}
\index{setMdiCaptionActiveForeColor@{setMdiCaptionActiveForeColor}!KMdiChildArea@{KMdi\-Child\-Area}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KMdi\-Child\-Area::set\-Mdi\-Caption\-Active\-Fore\-Color (const {\bf QColor} \& {\em clr})}\label{classKMdiChildArea_a10}


Sets the foreground color of the active MDI childframe window caption A relayout does not occur when using this function. 



Definition at line 759 of file kmdichildarea.cpp.

References m\_\-caption\-Active\-Fore\-Color.\index{KMdiChildArea@{KMdi\-Child\-Area}!setMdiCaptionActiveBackColor@{setMdiCaptionActiveBackColor}}
\index{setMdiCaptionActiveBackColor@{setMdiCaptionActiveBackColor}!KMdiChildArea@{KMdi\-Child\-Area}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KMdi\-Child\-Area::set\-Mdi\-Caption\-Active\-Back\-Color (const {\bf QColor} \& {\em clr})}\label{classKMdiChildArea_a11}


Sets the background color of the active MDI childframe window captions A relayout does not occur when using this function. 



Definition at line 764 of file kmdichildarea.cpp.

References m\_\-caption\-Active\-Back\-Color.\index{KMdiChildArea@{KMdi\-Child\-Area}!setMdiCaptionInactiveForeColor@{setMdiCaptionInactiveForeColor}}
\index{setMdiCaptionInactiveForeColor@{setMdiCaptionInactiveForeColor}!KMdiChildArea@{KMdi\-Child\-Area}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KMdi\-Child\-Area::set\-Mdi\-Caption\-Inactive\-Fore\-Color (const {\bf QColor} \& {\em clr})}\label{classKMdiChildArea_a12}


Sets the foreground color of inactive MDI childframe window captions A relayout does not occur when using this function. 



Definition at line 769 of file kmdichildarea.cpp.

References m\_\-caption\-Inactive\-Fore\-Color.\index{KMdiChildArea@{KMdi\-Child\-Area}!setMdiCaptionInactiveBackColor@{setMdiCaptionInactiveBackColor}}
\index{setMdiCaptionInactiveBackColor@{setMdiCaptionInactiveBackColor}!KMdiChildArea@{KMdi\-Child\-Area}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KMdi\-Child\-Area::set\-Mdi\-Caption\-Inactive\-Back\-Color (const {\bf QColor} \& {\em clr})}\label{classKMdiChildArea_a13}


Sets the background color of inactive MDI childframe window captions A relayout does not occur when using this function. 



Definition at line 774 of file kmdichildarea.cpp.

References m\_\-caption\-Inactive\-Back\-Color.\index{KMdiChildArea@{KMdi\-Child\-Area}!getCaptionColors@{getCaptionColors}}
\index{getCaptionColors@{getCaptionColors}!KMdiChildArea@{KMdi\-Child\-Area}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KMdi\-Child\-Area::get\-Caption\-Colors (const {\bf QPalette} \& {\em pal}, {\bf QColor} \& {\em active\-BG}, {\bf QColor} \& {\em active\-FG}, {\bf QColor} \& {\em inactive\-BG}, {\bf QColor} \& {\em inactive\-FG})\hspace{0.3cm}{\tt  [static]}}\label{classKMdiChildArea_e0}


Gets all caption colors, consistent with current WM settings (or other Desktop settings e.g. 

system settings for win32) This method is useful not only for {\bf KMDI}{\rm (p.\,\pageref{namespaceKMDI})} child windows. Colors are returned via active\-BG, active\-FG, inactive\-BG, inactive\-FG references.

\begin{Desc}
\item[{\bf Deprecated}]Use KGlobal\-Settings::active\-Title\-Color(), KGlobal\-Settings::active\-Text\-Color(), KGlobal\-Settings::inactive\-Title\-Color() and KGlobal\-Settings::inactive\-Text\-Color() instead. \end{Desc}


Definition at line 780 of file kmdichildarea.cpp.\index{KMdiChildArea@{KMdi\-Child\-Area}!cascadeWindows@{cascadeWindows}}
\index{cascadeWindows@{cascadeWindows}!KMdiChildArea@{KMdi\-Child\-Area}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KMdi\-Child\-Area::cascade\-Windows ()\hspace{0.3cm}{\tt  [slot]}}\label{classKMdiChildArea_i0}


Cascades all windows resizing them to the minimum size. 



Definition at line 382 of file kmdichildarea.cpp.

References QPtr\-List::first(), focus\-Top\-Child(), get\-Cascade\-Point(), QPtr\-List::is\-Empty(), m\_\-p\-Z, QPtr\-List::remove\-First(), KMdi\-Child\-Frm::restore\-Pressed(), QPtr\-List::set\-Auto\-Delete(), and KMdi\-Child\-Frm::state().\index{KMdiChildArea@{KMdi\-Child\-Area}!cascadeMaximized@{cascadeMaximized}}
\index{cascadeMaximized@{cascadeMaximized}!KMdiChildArea@{KMdi\-Child\-Area}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KMdi\-Child\-Area::cascade\-Maximized ()\hspace{0.3cm}{\tt  [slot]}}\label{classKMdiChildArea_i1}


Cascades all windows resizing them to the maximum available size. 



Definition at line 404 of file kmdichildarea.cpp.

References QPtr\-List::first(), focus\-Top\-Child(), get\-Cascade\-Point(), QPtr\-List::is\-Empty(), m\_\-p\-Z, QPtr\-List::remove\-First(), KMdi\-Child\-Frm::restore\-Pressed(), QPtr\-List::set\-Auto\-Delete(), KMdi\-Child\-Frm::state(), QPoint::x(), and QPoint::y().\index{KMdiChildArea@{KMdi\-Child\-Area}!expandVertical@{expandVertical}}
\index{expandVertical@{expandVertical}!KMdiChildArea@{KMdi\-Child\-Area}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KMdi\-Child\-Area::expand\-Vertical ()\hspace{0.3cm}{\tt  [slot]}}\label{classKMdiChildArea_i2}


Maximize all windows but only in vertical direction. 



Definition at line 438 of file kmdichildarea.cpp.

References QPtr\-List::first(), focus\-Top\-Child(), QPtr\-List::is\-Empty(), m\_\-p\-Z, QPtr\-List::remove\-First(), KMdi\-Child\-Frm::restore\-Pressed(), QPtr\-List::set\-Auto\-Delete(), and KMdi\-Child\-Frm::state().\index{KMdiChildArea@{KMdi\-Child\-Area}!expandHorizontal@{expandHorizontal}}
\index{expandHorizontal@{expandHorizontal}!KMdiChildArea@{KMdi\-Child\-Area}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KMdi\-Child\-Area::expand\-Horizontal ()\hspace{0.3cm}{\tt  [slot]}}\label{classKMdiChildArea_i3}


Maximize all windows but only in horizontal direction. 



Definition at line 460 of file kmdichildarea.cpp.

References QPtr\-List::first(), focus\-Top\-Child(), QPtr\-List::is\-Empty(), m\_\-p\-Z, QPtr\-List::remove\-First(), KMdi\-Child\-Frm::restore\-Pressed(), QPtr\-List::set\-Auto\-Delete(), and KMdi\-Child\-Frm::state().\index{KMdiChildArea@{KMdi\-Child\-Area}!focusTopChild@{focusTopChild}}
\index{focusTopChild@{focusTopChild}!KMdiChildArea@{KMdi\-Child\-Area}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KMdi\-Child\-Area::focus\-Top\-Child ()\hspace{0.3cm}{\tt  [slot]}}\label{classKMdiChildArea_i4}


Gives focus to the topmost child if it doesn't get focus automatically or you want to wait to give it focus. 



Definition at line 355 of file kmdichildarea.cpp.

References KMdi\-Child\-View::activate(), KMdi\-Child\-Frm::caption(), QWidget::has\-Focus(), last\-Child\-Frm\-Closed(), KMdi\-Child\-Frm::m\_\-p\-Caption, KMdi\-Child\-Frm::m\_\-p\-Client, m\_\-p\-Z, KMdi\-Child\-Frm\-Caption::set\-Active(), and top\-Child().

Referenced by cascade\-Maximized(), cascade\-Windows(), child\-Minimized(), destroy\-Child(), destroy\-Child\-But\-Not\-Its\-View(), KMdi\-Main\-Frm::event\-Filter(), expand\-Horizontal(), expand\-Vertical(), and manage\-Child().\index{KMdiChildArea@{KMdi\-Child\-Area}!tilePragma@{tilePragma}}
\index{tilePragma@{tilePragma}!KMdiChildArea@{KMdi\-Child\-Area}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KMdi\-Child\-Area::tile\-Pragma ()\hspace{0.3cm}{\tt  [slot]}}\label{classKMdiChildArea_i5}


Tile Pragma. 



Definition at line 494 of file kmdichildarea.cpp.

References tile\-All\-Internal().\index{KMdiChildArea@{KMdi\-Child\-Area}!tileAnodine@{tileAnodine}}
\index{tileAnodine@{tileAnodine}!KMdiChildArea@{KMdi\-Child\-Area}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KMdi\-Child\-Area::tile\-Anodine ()\hspace{0.3cm}{\tt  [slot]}}\label{classKMdiChildArea_i6}


Tile Anodine. 



Definition at line 602 of file kmdichildarea.cpp.

References KMdi\-Child\-View::activate(), get\-Visible\-Child\-Count(), KMdi\-Child\-Frm::m\_\-p\-Client, m\_\-p\-Z, KMdi\-Child\-Frm::restore\-Pressed(), KMdi\-Child\-Frm::state(), and top\-Child().\index{KMdiChildArea@{KMdi\-Child\-Area}!tileVertically@{tileVertically}}
\index{tileVertically@{tileVertically}!KMdiChildArea@{KMdi\-Child\-Area}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KMdi\-Child\-Area::tile\-Vertically ()\hspace{0.3cm}{\tt  [slot]}}\label{classKMdiChildArea_i7}


Tile all the windows in the child area vertically. 



Definition at line 676 of file kmdichildarea.cpp.

References KMdi\-Child\-View::activate(), get\-Visible\-Child\-Count(), KMdi\-Child\-Frm::m\_\-p\-Client, m\_\-p\-Z, KMdi\-Child\-Frm::restore\-Pressed(), KMdi\-Child\-Frm::state(), and top\-Child().\index{KMdiChildArea@{KMdi\-Child\-Area}!layoutMinimizedChildren@{layoutMinimizedChildren}}
\index{layoutMinimizedChildren@{layoutMinimizedChildren}!KMdiChildArea@{KMdi\-Child\-Area}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KMdi\-Child\-Area::layout\-Minimized\-Children ()\hspace{0.3cm}{\tt  [slot]}}\label{classKMdiChildArea_i8}


Position and layout the minimized child frames. 



Definition at line 723 of file kmdichildarea.cpp.

References m\_\-p\-Z, and KMdi\-Child\-Frm::state().

Referenced by resize\-Event(), and KMdi\-Child\-Frm::switch\-To\-Minimize\-Layout().\index{KMdiChildArea@{KMdi\-Child\-Area}!tileAllInternal@{tileAllInternal}}
\index{tileAllInternal@{tileAllInternal}!KMdiChildArea@{KMdi\-Child\-Area}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KMdi\-Child\-Area::tile\-All\-Internal (int {\em max\-Wnds})\hspace{0.3cm}{\tt  [protected]}}\label{classKMdiChildArea_b0}


Internally used for the tile algorithm. 



Definition at line 500 of file kmdichildarea.cpp.

References KMdi\-Child\-View::activate(), get\-Visible\-Child\-Count(), QSize::height(), m\_\-default\-Child\-Frm\-Size, KMdi\-Child\-Frm::m\_\-p\-Client, m\_\-p\-Z, KMdi\-Child\-Frm::restore\-Pressed(), KMdi\-Child\-Frm::state(), top\-Child(), and QSize::width().

Referenced by tile\-Pragma().\index{KMdiChildArea@{KMdi\-Child\-Area}!resizeEvent@{resizeEvent}}
\index{resizeEvent@{resizeEvent}!KMdiChildArea@{KMdi\-Child\-Area}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KMdi\-Child\-Area::resize\-Event ({\bf QResize\-Event} $\ast$)\hspace{0.3cm}{\tt  [protected, virtual]}}\label{classKMdiChildArea_b1}


Automatically resizes a maximized MDI view and layouts the positions of minimized MDI views. 



Reimplemented from {\bf QFrame}.

Definition at line 227 of file kmdichildarea.cpp.

References QWidget::height(), KMdi\-Child\-Frm\-Caption::height\-Hint(), layout\-Minimized\-Children(), KMdi\-Child\-Frm::m\_\-p\-Caption, KMdi\-Child\-Frm::m\_\-p\-Client, QWidget::resize\-Event(), KMdi\-Child\-Frm::state(), top\-Child(), and QWidget::width().\index{KMdiChildArea@{KMdi\-Child\-Area}!mousePressEvent@{mousePressEvent}}
\index{mousePressEvent@{mousePressEvent}!KMdiChildArea@{KMdi\-Child\-Area}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KMdi\-Child\-Area::mouse\-Press\-Event ({\bf QMouse\-Event} $\ast$ {\em e})\hspace{0.3cm}{\tt  [protected]}}\label{classKMdiChildArea_b2}


Shows the 'Window' popup menu on right mouse button click. 



Definition at line 249 of file kmdichildarea.cpp.

References popup\-Window\-Menu().\index{KMdiChildArea@{KMdi\-Child\-Area}!childMinimized@{childMinimized}}
\index{childMinimized@{childMinimized}!KMdiChildArea@{KMdi\-Child\-Area}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KMdi\-Child\-Area::child\-Minimized ({\bf KMdi\-Child\-Frm} $\ast$ {\em lp\-C}, bool {\em b\-Was\-Maximized})\hspace{0.3cm}{\tt  [protected]}}\label{classKMdiChildArea_b3}


Internally used. 

Actions that are necessary when an MDI view gets minimized

Definition at line 319 of file kmdichildarea.cpp.

References QPtr\-List::count(), QPtr\-List::find\-Ref(), focus\-Top\-Child(), QPtr\-List::insert(), m\_\-p\-Z, QPtr\-List::remove\-Ref(), QPtr\-List::set\-Auto\-Delete(), KMdi\-Child\-Frm::set\-State(), and top\-Child().

Referenced by KMdi\-Child\-Frm::set\-State().\index{KMdiChildArea@{KMdi\-Child\-Area}!noMaximizedChildFrmLeft@{noMaximizedChildFrmLeft}}
\index{noMaximizedChildFrmLeft@{noMaximizedChildFrmLeft}!KMdiChildArea@{KMdi\-Child\-Area}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KMdi\-Child\-Area::no\-Maximized\-Child\-Frm\-Left ({\bf KMdi\-Child\-Frm} $\ast$)\hspace{0.3cm}{\tt  [signal]}}\label{classKMdiChildArea_l0}


Signals that there aren't maximized child frames any more. 



Referenced by destroy\-Child(), and destroy\-Child\-But\-Not\-Its\-View().\index{KMdiChildArea@{KMdi\-Child\-Area}!nowMaximized@{nowMaximized}}
\index{nowMaximized@{nowMaximized}!KMdiChildArea@{KMdi\-Child\-Area}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KMdi\-Child\-Area::now\-Maximized (bool)\hspace{0.3cm}{\tt  [signal]}}\label{classKMdiChildArea_l1}


Signals that the child frames are maximized now. 



Referenced by KMdi\-Child\-Frm::maximize\-Pressed(), KMdi\-Child\-Frm::minimize\-Pressed(), and KMdi\-Child\-Frm::restore\-Pressed().\index{KMdiChildArea@{KMdi\-Child\-Area}!sysButtonConnectionsMustChange@{sysButtonConnectionsMustChange}}
\index{sysButtonConnectionsMustChange@{sysButtonConnectionsMustChange}!KMdiChildArea@{KMdi\-Child\-Area}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KMdi\-Child\-Area::sys\-Button\-Connections\-Must\-Change ({\bf KMdi\-Child\-Frm} $\ast$, {\bf KMdi\-Child\-Frm} $\ast$)\hspace{0.3cm}{\tt  [signal]}}\label{classKMdiChildArea_l2}


Signals a {\bf KMdi\-Main\-Frm}{\rm (p.\,\pageref{classKMdiMainFrm})} that the signal/slot connections of the system buttons in the menubar (only in Maximize mode) must be updated to another MDI view because the focused MDI view has changed. 



Referenced by destroy\-Child(), destroy\-Child\-But\-Not\-Its\-View(), manage\-Child(), and set\-Top\-Child().\index{KMdiChildArea@{KMdi\-Child\-Area}!popupWindowMenu@{popupWindowMenu}}
\index{popupWindowMenu@{popupWindowMenu}!KMdiChildArea@{KMdi\-Child\-Area}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KMdi\-Child\-Area::popup\-Window\-Menu ({\bf QPoint})\hspace{0.3cm}{\tt  [signal]}}\label{classKMdiChildArea_l3}


Signals a {\bf KMdi\-Main\-Frm}{\rm (p.\,\pageref{classKMdiMainFrm})} that the 'Window' popup menu must be shown. 



Referenced by mouse\-Press\-Event().\index{KMdiChildArea@{KMdi\-Child\-Area}!lastChildFrmClosed@{lastChildFrmClosed}}
\index{lastChildFrmClosed@{lastChildFrmClosed}!KMdiChildArea@{KMdi\-Child\-Area}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KMdi\-Child\-Area::last\-Child\-Frm\-Closed ()\hspace{0.3cm}{\tt  [signal]}}\label{classKMdiChildArea_l4}


Signals that the last attached (docked) MDI view has been closed. 

Note: Detached MDI views can remain.

Referenced by focus\-Top\-Child().

\subsection{Member Data Documentation}
\index{KMdiChildArea@{KMdi\-Child\-Area}!m_pZ@{m\_\-pZ}}
\index{m_pZ@{m\_\-pZ}!KMdiChildArea@{KMdi\-Child\-Area}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QPtr\-List}$<${\bf KMdi\-Child\-Frm}$>$$\ast$ {\bf KMdi\-Child\-Area::m\_\-p\-Z}}\label{classKMdiChildArea_o0}


Z Order stack of {\bf KMdi\-Child\-Frm}{\rm (p.\,\pageref{classKMdiChildFrm})} childframe windows (top=last). 



Definition at line 64 of file kmdichildarea.h.

Referenced by cascade\-Maximized(), cascade\-Windows(), child\-Minimized(), destroy\-Child(), destroy\-Child\-But\-Not\-Its\-View(), expand\-Horizontal(), expand\-Vertical(), focus\-Top\-Child(), get\-Cascade\-Point(), get\-Visible\-Child\-Count(), KMdi\-Child\-Area(), layout\-Minimized\-Children(), manage\-Child(), set\-Mdi\-Caption\-Font(), set\-Top\-Child(), tile\-All\-Internal(), tile\-Anodine(), tile\-Vertically(), and $\sim$KMdi\-Child\-Area().\index{KMdiChildArea@{KMdi\-Child\-Area}!m_defaultChildFrmSize@{m\_\-defaultChildFrmSize}}
\index{m_defaultChildFrmSize@{m\_\-defaultChildFrmSize}!KMdiChildArea@{KMdi\-Child\-Area}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QSize} {\bf KMdi\-Child\-Area::m\_\-default\-Child\-Frm\-Size}}\label{classKMdiChildArea_o1}


the default size of an newly created childframe 



Definition at line 69 of file kmdichildarea.h.

Referenced by get\-Cascade\-Point(), KMdi\-Child\-Area(), KMdi\-Child\-Frm::set\-Client(), and tile\-All\-Internal().\index{KMdiChildArea@{KMdi\-Child\-Area}!m_captionFont@{m\_\-captionFont}}
\index{m_captionFont@{m\_\-captionFont}!KMdiChildArea@{KMdi\-Child\-Area}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QFont} {\bf KMdi\-Child\-Area::m\_\-caption\-Font}\hspace{0.3cm}{\tt  [protected]}}\label{classKMdiChildArea_p0}


The MDI childframe window caption font. 



Definition at line 74 of file kmdichildarea.h.

Referenced by KMdi\-Child\-Area(), KMdi\-Child\-Frm\-Caption::paint\-Event(), and set\-Mdi\-Caption\-Font().\index{KMdiChildArea@{KMdi\-Child\-Area}!m_captionActiveBackColor@{m\_\-captionActiveBackColor}}
\index{m_captionActiveBackColor@{m\_\-captionActiveBackColor}!KMdiChildArea@{KMdi\-Child\-Area}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QColor} {\bf KMdi\-Child\-Area::m\_\-caption\-Active\-Back\-Color}\hspace{0.3cm}{\tt  [protected]}}\label{classKMdiChildArea_p1}


The foreground color of the active MDI childframe window caption. 



Definition at line 79 of file kmdichildarea.h.

Referenced by KMdi\-Child\-Area(), KMdi\-Child\-Frm\-Caption::paint\-Event(), KMdi\-Child\-Frm\-Caption::set\-Active(), and set\-Mdi\-Caption\-Active\-Back\-Color().\index{KMdiChildArea@{KMdi\-Child\-Area}!m_captionActiveForeColor@{m\_\-captionActiveForeColor}}
\index{m_captionActiveForeColor@{m\_\-captionActiveForeColor}!KMdiChildArea@{KMdi\-Child\-Area}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QColor} {\bf KMdi\-Child\-Area::m\_\-caption\-Active\-Fore\-Color}\hspace{0.3cm}{\tt  [protected]}}\label{classKMdiChildArea_p2}


The background color of the active MDI childframe window captions. 



Definition at line 84 of file kmdichildarea.h.

Referenced by KMdi\-Child\-Area(), KMdi\-Child\-Frm\-Caption::paint\-Event(), and set\-Mdi\-Caption\-Active\-Fore\-Color().\index{KMdiChildArea@{KMdi\-Child\-Area}!m_captionInactiveBackColor@{m\_\-captionInactiveBackColor}}
\index{m_captionInactiveBackColor@{m\_\-captionInactiveBackColor}!KMdiChildArea@{KMdi\-Child\-Area}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QColor} {\bf KMdi\-Child\-Area::m\_\-caption\-Inactive\-Back\-Color}\hspace{0.3cm}{\tt  [protected]}}\label{classKMdiChildArea_p3}


The foreground color of inactive MDI childframe window captions. 



Definition at line 89 of file kmdichildarea.h.

Referenced by KMdi\-Child\-Area(), KMdi\-Child\-Frm\-Caption::paint\-Event(), KMdi\-Child\-Frm\-Caption::set\-Active(), and set\-Mdi\-Caption\-Inactive\-Back\-Color().\index{KMdiChildArea@{KMdi\-Child\-Area}!m_captionInactiveForeColor@{m\_\-captionInactiveForeColor}}
\index{m_captionInactiveForeColor@{m\_\-captionInactiveForeColor}!KMdiChildArea@{KMdi\-Child\-Area}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QColor} {\bf KMdi\-Child\-Area::m\_\-caption\-Inactive\-Fore\-Color}\hspace{0.3cm}{\tt  [protected]}}\label{classKMdiChildArea_p4}


The background color of inactive MDI childframe window captions. 



Definition at line 94 of file kmdichildarea.h.

Referenced by KMdi\-Child\-Area(), KMdi\-Child\-Frm\-Caption::paint\-Event(), and set\-Mdi\-Caption\-Inactive\-Fore\-Color().

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
kmdichildarea.h\item 
kmdichildarea.cpp\end{CompactItemize}
