\section{KMdi Namespace Reference}
\label{namespaceKMdi}\index{KMdi@{KMdi}}
A namespace for the {\bf KMDI}{\rm (p.\,\pageref{namespaceKMDI})} library.  


\subsection*{Enumerations}
\begin{CompactItemize}
\item 
enum {\bf Event\-Type} \{ \par
{\bf EV\_\-Move} = 1, 
{\bf EV\_\-Drag\-Begin}, 
{\bf EV\_\-Drag\-End}, 
{\bf EV\_\-Resize\-Begin}, 
\par
{\bf EV\_\-Resize\-End}
 \}
\item 
enum {\bf Add\-Window\-Flags} \{ \par
{\bf Standard\-Add} =  0, 
{\bf Maximize} =  1, 
{\bf Minimize} =  2, 
{\bf Hide} =  4, 
\par
{\bf Detach} =  8, 
{\bf Tool\-Window} =  16, 
{\bf Use\-KMdi\-Size\-Hint} =  32, 
{\bf Add\-Window\-Flags} =  0xff
 \}
\item 
enum {\bf Frame\-Decor} \{ {\bf Win95Look} =  0, 
{\bf KDE1Look} =  1, 
{\bf KDELook} =  2, 
{\bf KDELaptop\-Look} =  3
 \}
\item 
enum {\bf Mdi\-Mode} \{ \par
{\bf Undefined\-Mode} =  0, 
{\bf Toplevel\-Mode} =  1, 
{\bf Childframe\-Mode} =  2, 
{\bf Tab\-Page\-Mode} =  3, 
\par
{\bf IDEAl\-Mode} =  4
 \}
\item 
enum {\bf Tab\-Widget\-Visibility} \{ {\bf Always\-Show\-Tabs} =  0, 
{\bf Show\-When\-More\-Than\-One\-Tab} =  1, 
{\bf Never\-Show\-Tabs} =  2
 \}
\item 
enum {\bf Toolview\-Style} \{ {\bf Icon\-Only} =  0, 
{\bf Text\-Only} =  1, 
{\bf Text\-And\-Icon} =  3
 \}
\end{CompactItemize}


\subsection{Detailed Description}
A namespace for the {\bf KMDI}{\rm (p.\,\pageref{namespaceKMDI})} library. 

\subsection{Enumeration Type Documentation}
\index{KMdi@{KMdi}!EventType@{EventType}}
\index{EventType@{EventType}!KMdi@{KMdi}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}enum {\bf KMdi::Event\-Type}}\label{namespaceKMdi_a28}


extent {\bf Qt} events 

\begin{Desc}
\item[See also:]{\bf QCustom\-Event}, QEvent::User 

\footnotesize\begin{verbatim}      bool B_MyWidget::event( QEvent* e) {
         if( e->type() == QEvent::Type(QEvent::User + int(KMdi::EV_Move))) {
            ...
         }
         ...
      }
\end{verbatim}
\normalsize
 \end{Desc}


Definition at line 54 of file kmdidefines.h.\index{KMdi@{KMdi}!AddWindowFlags@{AddWindowFlags}}
\index{AddWindowFlags@{AddWindowFlags}!KMdi@{KMdi}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}enum {\bf KMdi::Add\-Window\-Flags}}\label{namespaceKMdi_a29}


During {\bf KMdi\-Main\-Frm::add\-Window}{\rm (p.\,\pageref{classKMdiMainFrm_i1})} the enum Add\-Window\-Flags is used to determine how the view is initialy being added to the MDI system. 

\begin{Desc}
\item[Enumeration values: ]\par
\begin{description}
\index{StandardAdd@{StandardAdd}!KMdi@{KMdi}}\index{KMdi@{KMdi}!StandardAdd@{StandardAdd}}\item[{\em 
Standard\-Add\label{namespaceKMdi_a29a5}
}]standard is: show normal, attached, visible, document view (not toolview). 

Maximize, Minimize, Hide adds appropriately. Detach adds a view that appears toplevel, Tool\-Window adds the view as tool view. That means it is stay-on-top and toplevel. Use\-KMdi\-Size\-Hint should use the restore geometry of the latest current top childframe but is not supported yet. \end{description}
\end{Desc}



Definition at line 65 of file kmdidefines.h.\index{KMdi@{KMdi}!ToolviewStyle@{ToolviewStyle}}
\index{ToolviewStyle@{ToolviewStyle}!KMdi@{KMdi}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}enum {\bf KMdi::Toolview\-Style}}\label{namespaceKMdi_a33}


The style of the toolview tabs \begin{Desc}
\item[Since:]3.3. \end{Desc}


\begin{Desc}
\item[Enumeration values: ]\par
\begin{description}
\index{IconOnly@{IconOnly}!KMdi@{KMdi}}\index{KMdi@{KMdi}!IconOnly@{IconOnly}}\item[{\em 
Icon\-Only\label{namespaceKMdi_a33a25}
}]Show only icons on the toolview tabs. 

The visible toolviews contain both the icon and text. \index{TextOnly@{TextOnly}!KMdi@{KMdi}}\index{KMdi@{KMdi}!TextOnly@{TextOnly}}\item[{\em 
Text\-Only\label{namespaceKMdi_a33a26}
}]Show only the text description on the toolview tabs. \index{TextAndIcon@{TextAndIcon}!KMdi@{KMdi}}\index{KMdi@{KMdi}!TextAndIcon@{TextAndIcon}}\item[{\em 
Text\-And\-Icon\label{namespaceKMdi_a33a27}
}]Show both the icon and description on the toolview tabs. \end{description}
\end{Desc}



Definition at line 107 of file kmdidefines.h.