\section{KTab\-Ctl Class Reference}
\label{classKTabCtl}\index{KTabCtl@{KTabCtl}}
Tabbed dialog with extended features.  


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

Inheritance diagram for KTab\-Ctl:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=45pt]{classKTabCtl__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KTab\-Ctl:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=157pt]{classKTabCtl__coll__graph}
\end{center}
\end{figure}
\subsection*{Signals}
\begin{CompactItemize}
\item 
void {\bf tab\-Selected} (int)\label{classKTabCtl_l0}

\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KTab\-Ctl} ({\bf QWidget} $\ast$parent=0, const char $\ast$name=0)
\item 
void {\bf show} ()\label{classKTabCtl_a2}

\item 
void {\bf set\-Font} (const {\bf QFont} \&{\bf font})\label{classKTabCtl_a3}

\item 
void {\bf set\-Tab\-Font} (const {\bf QFont} \&{\bf font})\label{classKTabCtl_a4}

\item 
void {\bf add\-Tab} ({\bf QWidget} $\ast$, const {\bf QString} \&)\label{classKTabCtl_a5}

\item 
bool {\bf is\-Tab\-Enabled} (const {\bf QString} \&)\label{classKTabCtl_a6}

\item 
void {\bf set\-Tab\-Enabled} (const {\bf QString} \&, bool)\label{classKTabCtl_a7}

\item 
void {\bf set\-Border} (bool)\label{classKTabCtl_a8}

\item 
void {\bf set\-Shape} (QTab\-Bar::Shape shape)\label{classKTabCtl_a9}

\item 
virtual {\bf QSize} {\bf size\-Hint} () const \label{classKTabCtl_a10}

\end{CompactItemize}
\subsection*{Protected Slots}
\begin{CompactItemize}
\item 
void {\bf show\-Tab} (int i)\label{classKTabCtl_j0}

\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
void {\bf paint\-Event} ({\bf QPaint\-Event} $\ast$)\label{classKTabCtl_b0}

\item 
void {\bf resize\-Event} ({\bf QResize\-Event} $\ast$)\label{classKTabCtl_b1}

\item 
void {\bf set\-Sizes} ()\label{classKTabCtl_b2}

\item 
{\bf QRect} {\bf get\-Child\-Rect} () const \label{classKTabCtl_b3}

\item 
virtual void {\bf virtual\_\-hook} (int id, void $\ast$data)\label{classKTabCtl_b4}

\end{CompactItemize}
\subsection*{Protected Attributes}
\begin{CompactItemize}
\item 
{\bf QTab\-Bar} $\ast$ {\bf tabs}\label{classKTabCtl_p0}

\item 
{\bf QMem\-Array}$<$ {\bf QWidget} $\ast$ $>$ {\bf pages}\label{classKTabCtl_p1}

\item 
int {\bf bh}\label{classKTabCtl_p2}

\item 
bool {\bf bl\-Border}\label{classKTabCtl_p3}

\end{CompactItemize}


\subsection{Detailed Description}
Tabbed dialog with extended features. 

KTab\-Ctl is very similar to {\bf QTab\-Dialog}, with the following differences:

\begin{itemize}
\item To avoid confusion, the API is almost identical with {\bf QTab\-Dialog}. \item Does not create any buttons, therefore KTab\-Ctl is not limited to dialog boxes. You can use it whereever you want. \item emits the signal tab\-Selected(int pagenumber) when the user selects one of the tabs. This gives you the chance to update the widget contents of a single page. The signal is emitted \_\-before\_\- the page is shown. This is very useful if the contents of some widgets on page A depend on the contents of some other widgets on page B.\end{itemize}
\begin{Desc}
\item[Author:]Alexander Sanda ({\tt alex@darkstar.ping.at}) \end{Desc}
\begin{Desc}
\item[Version:]\begin{Desc}
\item[Id]{\bf ktabctl.h}{\rm (p.\,\pageref{ktabctl_8h})} 345236 2004-09-09 15:23:55Z dfaure \end{Desc}
\end{Desc}




Definition at line 48 of file ktabctl.h.

\subsection{Constructor \& Destructor Documentation}
\index{KTabCtl@{KTab\-Ctl}!KTabCtl@{KTabCtl}}
\index{KTabCtl@{KTabCtl}!KTabCtl@{KTab\-Ctl}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KTab\-Ctl::KTab\-Ctl ({\bf QWidget} $\ast$ {\em parent} = {\tt 0}, const char $\ast$ {\em name} = {\tt 0})}\label{classKTabCtl_a0}


KTab\-Ctl provides a universal tab control. 

It is in no ways limited to dialogs and can be used for whatever you want. It has no buttons or any other stuff.

However, this is based on the original {\bf QTab\-Dialog}. 

Definition at line 34 of file ktabctl.cpp.

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