\section{KAbout\-Dialog Class Reference}
\label{classKAboutDialog}\index{KAboutDialog@{KAboutDialog}}
A {\bf KDialog\-Base}{\rm (p.\,\pageref{classKDialogBase})} with predefined main widget.  


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

Inheritance diagram for KAbout\-Dialog:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=119pt]{classKAboutDialog__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KAbout\-Dialog:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=180pt]{classKAboutDialog__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{CompactItemize}
\item 
enum {\bf Layout\-Type} \{ \par
{\bf Abt\-Plain} =  0x0001, 
{\bf Abt\-Tabbed} =  0x0002, 
{\bf Abt\-Title} =  0x0004, 
{\bf Abt\-Image\-Left} =  0x0008, 
\par
{\bf Abt\-Image\-Right} =  0x0010, 
{\bf Abt\-Image\-Only} =  0x0020, 
{\bf Abt\-Product} =  0x0040, 
{\bf Abt\-KDEStandard} =  Abt\-Tabbed$|$Abt\-Title$|$Abt\-Image\-Left, 
\par
{\bf Abt\-App\-Standard} =  Abt\-Tabbed$|$Abt\-Title$|$Abt\-Product, 
{\bf Abt\-Image\-And\-Title} =  Abt\-Plain$|$Abt\-Title$|$Abt\-Image\-Only
 \}
\begin{CompactList}\small\item\em Layout formats. \item\end{CompactList}\end{CompactItemize}
\subsection*{Signals}
\begin{CompactItemize}
\item 
void {\bf send\-Email} (const  {\bf QString} \&name, const  {\bf QString} \&email)
\begin{CompactList}\small\item\em Send an email to this person. \item\end{CompactList}\item 
void {\bf open\-URL} (const  {\bf QString} \&url)
\begin{CompactList}\small\item\em Open the selected URL. \item\end{CompactList}\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KAbout\-Dialog} ({\bf QWidget} $\ast$parent=0, const  char $\ast$name=0, bool modal=true)
\begin{CompactList}\small\item\em The standard {\bf Qt} constructor (Constructor I). \item\end{CompactList}\item 
{\bf KAbout\-Dialog} (int dialog\-Layout, const  {\bf QString} \&caption, int button\-Mask, {\bf Button\-Code} default\-Button, {\bf QWidget} $\ast$parent=0, const  char $\ast$name=0, bool modal=false, bool separator=false, const  {\bf QString} \&user1=QString::null, const  {\bf QString} \&user2=QString::null, const  {\bf QString} \&user3=QString::null)
\begin{CompactList}\small\item\em The extended constructor. \item\end{CompactList}\item 
void {\bf adjust} ()
\begin{CompactList}\small\item\em Adjusts the dialog. \item\end{CompactList}\item 
virtual void {\bf show} (void)
\begin{CompactList}\small\item\em Makes a modeless (modal = false in constructor) dialog visible. \item\end{CompactList}\item 
virtual void {\bf show} ({\bf QWidget} $\ast$center\-Parent)
\begin{CompactList}\small\item\em Makes a modeless (modal = false in constructor) dialog visible. \item\end{CompactList}\item 
void {\bf set\-Title} (const  {\bf QString} \&title)
\begin{CompactList}\small\item\em (Constructor II only) Sets a title (not caption) in the uppermost area of the dialog. \item\end{CompactList}\item 
void {\bf set\-Image} (const  {\bf QString} \&file\-Name)
\begin{CompactList}\small\item\em (Constructor II only) Define an image to be shown in the dialog. \item\end{CompactList}\item 
void {\bf set\-Image\-Background\-Color} (const  {\bf QColor} \&color)
\begin{CompactList}\small\item\em (Constructor II only) The image has a minimum size, but is centered within an area if the dialog box is enlarged by the user. \item\end{CompactList}\item 
void {\bf set\-Image\-Frame} (bool state)
\begin{CompactList}\small\item\em (Constructor II only) Enables or disables a frame around the image. \item\end{CompactList}\item 
void {\bf set\-Product} (const  {\bf QString} \&app\-Name, const  {\bf QString} \&version, const  {\bf QString} \&author, const  {\bf QString} \&year)
\begin{CompactList}\small\item\em (Constructor II only) Prints the application name, {\bf KDE} version, author, a copyright sign and a year string. \item\end{CompactList}\item 
{\bf QFrame} $\ast$ {\bf add\-Text\-Page} (const  {\bf QString} \&title, const  {\bf QString} \&text, bool rich\-Text=false, int num\-Lines=10)
\begin{CompactList}\small\item\em (Constructor II only) Adds a text page to a tab box. \item\end{CompactList}\item 
{\bf QFrame} $\ast$ {\bf add\-License\-Page} (const  {\bf QString} \&title, const  {\bf QString} \&text, int num\-Lines=10)
\begin{CompactList}\small\item\em (Constructor II only) Adds a license page to a tab box. \item\end{CompactList}\item 
{\bf KAbout\-Container} $\ast$ {\bf add\-Container\-Page} (const  {\bf QString} \&title, int child\-Alignment=Align\-Center, int inner\-Alignment=Align\-Center)
\begin{CompactList}\small\item\em (Constructor II only) Adds a container to a tab box. \item\end{CompactList}\item 
{\bf KAbout\-Container} $\ast$ {\bf add\-Scrolled\-Container\-Page} (const  {\bf QString} \&title, int child\-Alignment=Align\-Center, int inner\-Alignment=Align\-Center)
\begin{CompactList}\small\item\em (Constructor II only) Adds a container inside a {\bf QScroll\-View} to a tab box. \item\end{CompactList}\item 
{\bf KAbout\-Container} $\ast$ {\bf add\-Container} (int child\-Alignment, int inner\-Alignment)
\begin{CompactList}\small\item\em (Constructor II only) Adds a container. \item\end{CompactList}\item 
{\bf QFrame} $\ast$ {\bf add\-Page} (const  {\bf QString} \&title)
\begin{CompactList}\small\item\em (Constructor II only) Adds an empty page to a tab box. \item\end{CompactList}\item 
void {\bf set\-Logo} (const  {\bf QPixmap} \&)
\begin{CompactList}\small\item\em (Constructor I only) Sets the image as the application logo. \item\end{CompactList}\item 
void {\bf set\-Author} (const  {\bf QString} \&name, const  {\bf QString} \&email, const  {\bf QString} \&url, const  {\bf QString} \&work)
\begin{CompactList}\small\item\em (Constructor I only) Sets the author's name and email address. \item\end{CompactList}\item 
void {\bf set\-Maintainer} (const  {\bf QString} \&name, const  {\bf QString} \&email, const  {\bf QString} \&url, const  {\bf QString} \&work)
\begin{CompactList}\small\item\em (Constructor I only) Sets the maintainer's name and email address. \item\end{CompactList}\item 
void {\bf add\-Contributor} (const  {\bf QString} \&name, const  {\bf QString} \&email, const  {\bf QString} \&url, const  {\bf QString} \&work)
\begin{CompactList}\small\item\em (Constructor I only) Show this person as one of the major contributors. \item\end{CompactList}\item 
void {\bf set\-Version} (const  {\bf QString} \&name)
\begin{CompactList}\small\item\em (Constructor I only) Sets the text describing the version. \item\end{CompactList}\end{CompactItemize}
\subsection*{Static Public Member Functions}
\begin{CompactItemize}
\item 
void {\bf image\-URL} ({\bf QWidget} $\ast$parent, const  {\bf QString} \&caption, const  {\bf QString} \&path, const  {\bf QColor} \&image\-Color, const  {\bf QString} \&url)
\begin{CompactList}\small\item\em Create a modal dialog with an image in the upper area with a URL link below. \item\end{CompactList}\end{CompactItemize}
\subsection*{Protected Slots}
\begin{CompactItemize}
\item 
void {\bf send\-Email\-Slot} (const  {\bf QString} \&name, const  {\bf QString} \&email)
\begin{CompactList}\small\item\em Connected to widget-$>$send\-Email. \item\end{CompactList}\item 
void {\bf open\-URLSlot} (const  {\bf QString} \&url)
\begin{CompactList}\small\item\em Open this URL. \item\end{CompactList}\item 
virtual void {\bf mouse\-Track\-Slot} (int mode, const  {\bf QMouse\-Event} $\ast$e)
\begin{CompactList}\small\item\em (Constructor II only) Tells the position of the mouse cursor when the left mouse button is pressed above an image \item\end{CompactList}\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
virtual void {\bf virtual\_\-hook} (int id, void $\ast$data)\label{classKAboutDialog_b0}

\end{CompactItemize}
\subsection*{Protected Attributes}
\begin{CompactItemize}
\item 
{\bf KAbout\-Widget} $\ast$ {\bf about}
\begin{CompactList}\small\item\em The main widget (Constructor I). \item\end{CompactList}\item 
{\bf KAbout\-Container\-Base} $\ast$ {\bf m\-Container\-Base}
\begin{CompactList}\small\item\em The main widget (Constructor II). \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
A {\bf KDialog\-Base}{\rm (p.\,\pageref{classKDialogBase})} with predefined main widget. 

As a {\bf KDialog\-Base}{\rm (p.\,\pageref{classKDialogBase})} it uses your application wide settings for {\bf KDialog\-Base}{\rm (p.\,\pageref{classKDialogBase})} objects (base frame tiles, main frame tiles etc). To use it, simply create a KAbout\-Dialog object, set all (or some) of its properties and show it. Do not derive it to create your own about dialog until you need some cool features that are unsupported and you have contacted me to add them.

The dialog can be created using two different constructors. The difference between these constructors is the available components that can be used to build the contents of the dialog. The first (Constructor I) provides a number of easy to use methods. Basically it allows you to add the components of choice, and the components are placed in a predefined layout. You do not have to plan the layout. Everything is taken care of.

The second constructor (Constructor II) works in quite the same manner as the first, but you have better control on where the components are postioned in the layout and you have access to an extended number of components you can install such as titles, product information, a tabbed pages (where you can display rich text with url links) and a person (developer) information field. The \char`\"{}About KDE\char`\"{} dialog box is created with Constructor II.

For the derived features, see the basic class {\bf KDialog\-Base}{\rm (p.\,\pageref{classKDialogBase})}. \begin{Desc}
\item[Author:]Mirko Boehm ({\tt mirko@kde.org}) and Espen Sand ({\tt espensa@online.no}) \end{Desc}
\begin{Desc}
\item[See also:]{\bf KDialog\-Base}{\rm (p.\,\pageref{classKDialogBase})} \end{Desc}




Definition at line 283 of file kaboutdialog.h.

\subsection{Member Enumeration Documentation}
\index{KAboutDialog@{KAbout\-Dialog}!LayoutType@{LayoutType}}
\index{LayoutType@{LayoutType}!KAboutDialog@{KAbout\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf enum} {\bf KAbout\-Dialog::Layout\-Type}}\label{classKAboutDialog_w10}


Layout formats. 



Definition at line 291 of file kaboutdialog.h.

\subsection{Constructor \& Destructor Documentation}
\index{KAboutDialog@{KAbout\-Dialog}!KAboutDialog@{KAboutDialog}}
\index{KAboutDialog@{KAboutDialog}!KAboutDialog@{KAbout\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KAbout\-Dialog::KAbout\-Dialog ({\bf QWidget} $\ast$ {\em parent} = 0, const char $\ast$ {\em name} = 0, bool {\em modal} = true)}\label{classKAboutDialog_a0}


The standard {\bf Qt} constructor (Constructor I). 

Add components with the following methods: {\bf set\-Logo}{\rm (p.\,\pageref{classKAboutDialog_a16})}(), {\bf set\-Author}{\rm (p.\,\pageref{classKAboutDialog_a17})}(), {\bf set\-Maintainer}{\rm (p.\,\pageref{classKAboutDialog_a18})}(), {\bf add\-Contributor}{\rm (p.\,\pageref{classKAboutDialog_a19})}(), or {\bf set\-Version}{\rm (p.\,\pageref{classKAboutDialog_a20})}(). The dialog will be laid out automatically. 

Definition at line 1481 of file kaboutdialog.cpp.

References about, open\-URL(), open\-URLSlot(), send\-Email(), send\-Email\-Slot(), and KDialog\-Base::set\-Main\-Widget().\index{KAboutDialog@{KAbout\-Dialog}!KAboutDialog@{KAboutDialog}}
\index{KAboutDialog@{KAboutDialog}!KAboutDialog@{KAbout\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KAbout\-Dialog::KAbout\-Dialog (int {\em dialog\-Layout}, const {\bf QString} \& {\em caption}, int {\em button\-Mask}, {\bf Button\-Code} {\em default\-Button}, {\bf QWidget} $\ast$ {\em parent} = 0, const char $\ast$ {\em name} = 0, bool {\em modal} = false, bool {\em separator} = false, const {\bf QString} \& {\em user1} = QString::null, const {\bf QString} \& {\em user2} = QString::null, const {\bf QString} \& {\em user3} = QString::null)}\label{classKAboutDialog_a1}


The extended constructor. 

(Constructor II).

Add components with the methods: {\bf set\-Title}{\rm (p.\,\pageref{classKAboutDialog_a5})}(), {\bf set\-Image}{\rm (p.\,\pageref{classKAboutDialog_a6})}(), {\bf set\-Image\-Background\-Color}{\rm (p.\,\pageref{classKAboutDialog_a7})}(), {\bf set\-Image\-Frame}{\rm (p.\,\pageref{classKAboutDialog_a8})}(), {\bf set\-Product}{\rm (p.\,\pageref{classKAboutDialog_a9})}(), {\bf add\-Text\-Page}{\rm (p.\,\pageref{classKAboutDialog_a10})}(), {\bf add\-Container\-Page}{\rm (p.\,\pageref{classKAboutDialog_a12})}(), {\bf add\-Container}{\rm (p.\,\pageref{classKAboutDialog_a14})}(), or {\bf add\-Page}{\rm (p.\,\pageref{classKAboutDialog_a15})}().

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em dialog\-Layout}]Use a mask of {\bf Layout\-Type}{\rm (p.\,\pageref{classKAboutDialog_w10})} flags. \item[{\em caption}]The dialog caption. The text you specify is prepended by i18n(\char`\"{}About\char`\"{}). \item[{\em button\-Mask}]Specifies what buttons will be visible. \item[{\em default\-Button}]Specifies what button will be marked as the default. \item[{\em parent}]Parent of the dialog. \item[{\em name}]Dialog name (for internal use only) \item[{\em modal}]Sets dialog modality. If false, the rest of the program interface (other dialogs, for example) is accessible while the dialog is open. \item[{\em separator}]If true, a separator line is drawn between the action buttons an the main widget. \item[{\em user1}]User button1 text. \item[{\em user2}]User button2 text. \item[{\em user3}]User button3 text. \end{description}
\end{Desc}


Definition at line 1501 of file kaboutdialog.cpp.

References m\-Container\-Base, mouse\-Track\-Slot(), open\-URLSlot(), send\-Email\-Slot(), KDialog\-Base::set\-Main\-Widget(), and KDialog::set\-Plain\-Caption().

\subsection{Member Function Documentation}
\index{KAboutDialog@{KAbout\-Dialog}!adjust@{adjust}}
\index{adjust@{adjust}!KAboutDialog@{KAbout\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAbout\-Dialog::adjust ()}\label{classKAboutDialog_a2}


Adjusts the dialog. 

You can call this method after you have set up all the contents but it is not required. It is done automatically when {\bf show}{\rm (p.\,\pageref{classKAboutDialog_a3})}() is executed. 

Definition at line 1540 of file kaboutdialog.cpp.

References about, and KAbout\-Widget::adjust().

Referenced by show().\index{KAboutDialog@{KAbout\-Dialog}!show@{show}}
\index{show@{show}!KAboutDialog@{KAbout\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAbout\-Dialog::show (void)\hspace{0.3cm}{\tt  [virtual]}}\label{classKAboutDialog_a3}


Makes a modeless (modal = false in constructor) dialog visible. 

If you reimplement this method make sure you run it in the new method (e.g., {\bf show}{\rm (p.\,\pageref{classKAboutDialog_a3})}()). Reimplemented from {\bf KDialog\-Base}{\rm (p.\,\pageref{classKDialogBase})}. 

Reimplemented from {\bf QDialog}.

Definition at line 1524 of file kaboutdialog.cpp.

References adjust(), m\-Container\-Base, QDialog::show(), and KAbout\-Container\-Base::show().

Referenced by KHelp\-Menu::about\-KDE().\index{KAboutDialog@{KAbout\-Dialog}!show@{show}}
\index{show@{show}!KAboutDialog@{KAbout\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAbout\-Dialog::show ({\bf QWidget} $\ast$ {\em center\-Parent})\hspace{0.3cm}{\tt  [virtual]}}\label{classKAboutDialog_a4}


Makes a modeless (modal = false in constructor) dialog visible. 

If you reimplmement this method make sure you run it in the new method (i.e., {\bf show}{\rm (p.\,\pageref{classKAboutDialog_a3})}( parent )).

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em center\-Parent}]Center the dialog with respect to this widget. \end{description}
\end{Desc}


Definition at line 1532 of file kaboutdialog.cpp.

References adjust(), m\-Container\-Base, QDialog::show(), and KAbout\-Container\-Base::show().\index{KAboutDialog@{KAbout\-Dialog}!setTitle@{setTitle}}
\index{setTitle@{setTitle}!KAboutDialog@{KAbout\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAbout\-Dialog::set\-Title (const {\bf QString} \& {\em title})}\label{classKAboutDialog_a5}


(Constructor II only) Sets a title (not caption) in the uppermost area of the dialog. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em title}]Title string. \end{description}
\end{Desc}


Definition at line 1666 of file kaboutdialog.cpp.

References m\-Container\-Base, and KAbout\-Container\-Base::set\-Title().

Referenced by KAbout\-KDE::KAbout\-KDE().\index{KAboutDialog@{KAbout\-Dialog}!setImage@{setImage}}
\index{setImage@{setImage}!KAboutDialog@{KAbout\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAbout\-Dialog::set\-Image (const {\bf QString} \& {\em file\-Name})}\label{classKAboutDialog_a6}


(Constructor II only) Define an image to be shown in the dialog. 

The position is dependent on the {\tt dialog\-Layout} in the constructor

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em file\-Name}]Path to image file. \end{description}
\end{Desc}


Definition at line 1673 of file kaboutdialog.cpp.

References m\-Container\-Base, and KAbout\-Container\-Base::set\-Image().

Referenced by image\-URL(), and KAbout\-KDE::KAbout\-KDE().\index{KAboutDialog@{KAbout\-Dialog}!setImageBackgroundColor@{setImageBackgroundColor}}
\index{setImageBackgroundColor@{setImageBackgroundColor}!KAboutDialog@{KAbout\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAbout\-Dialog::set\-Image\-Background\-Color (const {\bf QColor} \& {\em color})}\label{classKAboutDialog_a7}


(Constructor II only) The image has a minimum size, but is centered within an area if the dialog box is enlarged by the user. 

You set the background color of the area with this method.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em color}]Background color. \end{description}
\end{Desc}


Definition at line 1680 of file kaboutdialog.cpp.

References m\-Container\-Base, and KAbout\-Container\-Base::set\-Image\-Background\-Color().

Referenced by image\-URL(), and KAbout\-KDE::KAbout\-KDE().\index{KAboutDialog@{KAbout\-Dialog}!setImageFrame@{setImageFrame}}
\index{setImageFrame@{setImageFrame}!KAboutDialog@{KAbout\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAbout\-Dialog::set\-Image\-Frame (bool {\em state})}\label{classKAboutDialog_a8}


(Constructor II only) Enables or disables a frame around the image. 

The frame is, by default, enabled in the constructor

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em state}]A value of {\tt true} enables the frame \end{description}
\end{Desc}


Definition at line 1687 of file kaboutdialog.cpp.

References m\-Container\-Base, and KAbout\-Container\-Base::set\-Image\-Frame().\index{KAboutDialog@{KAbout\-Dialog}!setProduct@{setProduct}}
\index{setProduct@{setProduct}!KAboutDialog@{KAbout\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAbout\-Dialog::set\-Product (const {\bf QString} \& {\em app\-Name}, const {\bf QString} \& {\em version}, const {\bf QString} \& {\em author}, const {\bf QString} \& {\em year})}\label{classKAboutDialog_a9}


(Constructor II only) Prints the application name, {\bf KDE} version, author, a copyright sign and a year string. 

To the left of the text the standard application icon is displayed.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em app\-Name}]The application name. \item[{\em version}]Application version. \item[{\em author}]One or more authors. \item[{\em year}]A string telling when the application was made. \end{description}
\end{Desc}


Definition at line 1694 of file kaboutdialog.cpp.

References m\-Container\-Base, and KAbout\-Container\-Base::set\-Product().\index{KAboutDialog@{KAbout\-Dialog}!addTextPage@{addTextPage}}
\index{addTextPage@{addTextPage}!KAboutDialog@{KAbout\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QFrame} $\ast$ KAbout\-Dialog::add\-Text\-Page (const {\bf QString} \& {\em title}, const {\bf QString} \& {\em text}, bool {\em rich\-Text} = false, int {\em num\-Lines} = 10)}\label{classKAboutDialog_a10}


(Constructor II only) Adds a text page to a tab box. 

The text can be regular text or rich text. The rich text can contain URLs and mail links.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em title}]Tab name. \item[{\em text}]The text to display. \item[{\em rich\-Text}]Set this to {\tt true} if 'text' is rich text. \item[{\em num\-Lines}]The text area height will be adjusted so that this is the minimum number of lines of text that are visible. \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]The frame that contains the page. \end{Desc}


Definition at line 1617 of file kaboutdialog.cpp.

References KAbout\-Container\-Base::add\-Text\-Page(), and m\-Container\-Base.

Referenced by KAbout\-KDE::KAbout\-KDE().\index{KAboutDialog@{KAbout\-Dialog}!addLicensePage@{addLicensePage}}
\index{addLicensePage@{addLicensePage}!KAboutDialog@{KAbout\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QFrame} $\ast$ KAbout\-Dialog::add\-License\-Page (const {\bf QString} \& {\em title}, const {\bf QString} \& {\em text}, int {\em num\-Lines} = 10)}\label{classKAboutDialog_a11}


(Constructor II only) Adds a license page to a tab box. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em title}]Tab name. \item[{\em text}]The text to display. \item[{\em num\-Lines}]The text area height will be adjusted so that this is the minimum number of lines of text that are visible. \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]The frame that contains the page. \end{Desc}


Definition at line 1624 of file kaboutdialog.cpp.

References KAbout\-Container\-Base::add\-License\-Page(), and m\-Container\-Base.\index{KAboutDialog@{KAbout\-Dialog}!addContainerPage@{addContainerPage}}
\index{addContainerPage@{addContainerPage}!KAboutDialog@{KAbout\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAbout\-Container} $\ast$ KAbout\-Dialog::add\-Container\-Page (const {\bf QString} \& {\em title}, int {\em child\-Alignment} = Align\-Center, int {\em inner\-Alignment} = Align\-Center)}\label{classKAboutDialog_a12}


(Constructor II only) Adds a container to a tab box. 

You can add text and images to a container.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em title}]Tab name. \item[{\em child\-Alignment}]Specifies how the children of the container are aligned with respect to the container. \item[{\em inner\-Alignment}]Specifies how the children are aligned with respect to each other. \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]The new container. \end{Desc}


Definition at line 1632 of file kaboutdialog.cpp.

References KAbout\-Container\-Base::add\-Container\-Page(), and m\-Container\-Base.\index{KAboutDialog@{KAbout\-Dialog}!addScrolledContainerPage@{addScrolledContainerPage}}
\index{addScrolledContainerPage@{addScrolledContainerPage}!KAboutDialog@{KAbout\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAbout\-Container} $\ast$ KAbout\-Dialog::add\-Scrolled\-Container\-Page (const {\bf QString} \& {\em title}, int {\em child\-Alignment} = Align\-Center, int {\em inner\-Alignment} = Align\-Center)}\label{classKAboutDialog_a13}


(Constructor II only) Adds a container inside a {\bf QScroll\-View} to a tab box. 

You can add text and images to a container.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em title}]Tab name. \item[{\em child\-Alignment}]Specifies how the children of the container are aligned with respect to the container. \item[{\em inner\-Alignment}]Specifies how the children are aligned with respect to each other. \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]The new container. \end{Desc}


Definition at line 1641 of file kaboutdialog.cpp.

References KAbout\-Container\-Base::add\-Scrolled\-Container\-Page(), and m\-Container\-Base.\index{KAboutDialog@{KAbout\-Dialog}!addContainer@{addContainer}}
\index{addContainer@{addContainer}!KAboutDialog@{KAbout\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAbout\-Container} $\ast$ KAbout\-Dialog::add\-Container (int {\em child\-Alignment}, int {\em inner\-Alignment})}\label{classKAboutDialog_a14}


(Constructor II only) Adds a container. 

You can add text and images to a container.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em child\-Alignment}]Specifies how the children of the container are aligned with respect to the container. \item[{\em inner\-Alignment}]Specifies how the children are aligned with respect to each other. \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]The new container. \end{Desc}


Definition at line 1658 of file kaboutdialog.cpp.

References KAbout\-Container\-Base::add\-Container(), and m\-Container\-Base.

Referenced by image\-URL().\index{KAboutDialog@{KAbout\-Dialog}!addPage@{addPage}}
\index{addPage@{addPage}!KAboutDialog@{KAbout\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QFrame} $\ast$ KAbout\-Dialog::add\-Page (const {\bf QString} \& {\em title})}\label{classKAboutDialog_a15}


(Constructor II only) Adds an empty page to a tab box. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em title}]Tab name \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]The new page. \end{Desc}


Definition at line 1651 of file kaboutdialog.cpp.

References KAbout\-Container\-Base::add\-Empty\-Page(), and m\-Container\-Base.\index{KAboutDialog@{KAbout\-Dialog}!setLogo@{setLogo}}
\index{setLogo@{setLogo}!KAboutDialog@{KAbout\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAbout\-Dialog::set\-Logo (const {\bf QPixmap} \&)}\label{classKAboutDialog_a16}


(Constructor I only) Sets the image as the application logo. 



Definition at line 1549 of file kaboutdialog.cpp.

References about, and KAbout\-Widget::set\-Logo().\index{KAboutDialog@{KAbout\-Dialog}!setAuthor@{setAuthor}}
\index{setAuthor@{setAuthor}!KAboutDialog@{KAbout\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAbout\-Dialog::set\-Author (const {\bf QString} \& {\em name}, const {\bf QString} \& {\em email}, const {\bf QString} \& {\em url}, const {\bf QString} \& {\em work})}\label{classKAboutDialog_a17}


(Constructor I only) Sets the author's name and email address. 



Definition at line 1565 of file kaboutdialog.cpp.

References about, and KAbout\-Widget::set\-Author().\index{KAboutDialog@{KAbout\-Dialog}!setMaintainer@{setMaintainer}}
\index{setMaintainer@{setMaintainer}!KAboutDialog@{KAbout\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAbout\-Dialog::set\-Maintainer (const {\bf QString} \& {\em name}, const {\bf QString} \& {\em email}, const {\bf QString} \& {\em url}, const {\bf QString} \& {\em work})}\label{classKAboutDialog_a18}


(Constructor I only) Sets the maintainer's name and email address. 



Definition at line 1556 of file kaboutdialog.cpp.

References about, and KAbout\-Widget::set\-Maintainer().\index{KAboutDialog@{KAbout\-Dialog}!addContributor@{addContributor}}
\index{addContributor@{addContributor}!KAboutDialog@{KAbout\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAbout\-Dialog::add\-Contributor (const {\bf QString} \& {\em name}, const {\bf QString} \& {\em email}, const {\bf QString} \& {\em url}, const {\bf QString} \& {\em work})}\label{classKAboutDialog_a19}


(Constructor I only) Show this person as one of the major contributors. 



Definition at line 1574 of file kaboutdialog.cpp.

References about, and KAbout\-Widget::add\-Contributor().\index{KAboutDialog@{KAbout\-Dialog}!setVersion@{setVersion}}
\index{setVersion@{setVersion}!KAboutDialog@{KAbout\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAbout\-Dialog::set\-Version (const {\bf QString} \& {\em name})}\label{classKAboutDialog_a20}


(Constructor I only) Sets the text describing the version. 



Definition at line 1583 of file kaboutdialog.cpp.

References about, and KAbout\-Widget::set\-Version().\index{KAboutDialog@{KAbout\-Dialog}!imageURL@{imageURL}}
\index{imageURL@{imageURL}!KAboutDialog@{KAbout\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAbout\-Dialog::image\-URL ({\bf QWidget} $\ast$ {\em parent}, const {\bf QString} \& {\em caption}, const {\bf QString} \& {\em path}, const {\bf QColor} \& {\em image\-Color}, const {\bf QString} \& {\em url})\hspace{0.3cm}{\tt  [static]}}\label{classKAboutDialog_e0}


Create a modal dialog with an image in the upper area with a URL link below. 



Definition at line 1703 of file kaboutdialog.cpp.

References add\-Container(), KAbout\-Container::add\-Person(), QDialog::exec(), set\-Image(), set\-Image\-Background\-Color(), and KDialog::set\-Plain\-Caption().\index{KAboutDialog@{KAbout\-Dialog}!sendEmail@{sendEmail}}
\index{sendEmail@{sendEmail}!KAboutDialog@{KAbout\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAbout\-Dialog::send\-Email (const {\bf QString} \& {\em name}, const {\bf QString} \& {\em email})\hspace{0.3cm}{\tt  [signal]}}\label{classKAboutDialog_l0}


Send an email to this person. 

The application must provide the functionality. 

Referenced by KAbout\-Dialog().\index{KAboutDialog@{KAbout\-Dialog}!openURL@{openURL}}
\index{openURL@{openURL}!KAboutDialog@{KAbout\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAbout\-Dialog::open\-URL (const {\bf QString} \& {\em url})\hspace{0.3cm}{\tt  [signal]}}\label{classKAboutDialog_l1}


Open the selected URL. 



Referenced by KAbout\-Dialog().\index{KAboutDialog@{KAbout\-Dialog}!sendEmailSlot@{sendEmailSlot}}
\index{sendEmailSlot@{sendEmailSlot}!KAboutDialog@{KAbout\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAbout\-Dialog::send\-Email\-Slot (const {\bf QString} \& {\em name}, const {\bf QString} \& {\em email})\hspace{0.3cm}{\tt  [protected, slot]}}\label{classKAboutDialog_j0}


Connected to widget-$>$send\-Email. 



Definition at line 1591 of file kaboutdialog.cpp.

Referenced by KAbout\-Dialog().\index{KAboutDialog@{KAbout\-Dialog}!openURLSlot@{openURLSlot}}
\index{openURLSlot@{openURLSlot}!KAboutDialog@{KAbout\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAbout\-Dialog::open\-URLSlot (const {\bf QString} \& {\em url})\hspace{0.3cm}{\tt  [protected, slot]}}\label{classKAboutDialog_j1}


Open this URL. 



Definition at line 1602 of file kaboutdialog.cpp.

Referenced by KAbout\-Dialog().\index{KAboutDialog@{KAbout\-Dialog}!mouseTrackSlot@{mouseTrackSlot}}
\index{mouseTrackSlot@{mouseTrackSlot}!KAboutDialog@{KAbout\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KAbout\-Dialog::mouse\-Track\-Slot (int {\em mode}, const {\bf QMouse\-Event} $\ast$ {\em e})\hspace{0.3cm}{\tt  [protected, virtual, slot]}}\label{classKAboutDialog_j2}


(Constructor II only) Tells the position of the mouse cursor when the left mouse button is pressed above an image 



Definition at line 1611 of file kaboutdialog.cpp.

Referenced by KAbout\-Dialog().

\subsection{Member Data Documentation}
\index{KAboutDialog@{KAbout\-Dialog}!about@{about}}
\index{about@{about}!KAboutDialog@{KAbout\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAbout\-Widget}$\ast$ {\bf KAbout\-Dialog::about}\hspace{0.3cm}{\tt  [protected]}}\label{classKAboutDialog_p0}


The main widget (Constructor I). 



Definition at line 565 of file kaboutdialog.h.

Referenced by add\-Contributor(), adjust(), KAbout\-Dialog(), set\-Author(), set\-Logo(), set\-Maintainer(), and set\-Version().\index{KAboutDialog@{KAbout\-Dialog}!mContainerBase@{mContainerBase}}
\index{mContainerBase@{mContainerBase}!KAboutDialog@{KAbout\-Dialog}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf KAbout\-Container\-Base}$\ast$ {\bf KAbout\-Dialog::m\-Container\-Base}\hspace{0.3cm}{\tt  [protected]}}\label{classKAboutDialog_p1}


The main widget (Constructor II). 



Definition at line 570 of file kaboutdialog.h.

Referenced by add\-Container(), add\-Container\-Page(), add\-License\-Page(), add\-Page(), add\-Scrolled\-Container\-Page(), add\-Text\-Page(), KAbout\-Dialog(), set\-Image(), set\-Image\-Background\-Color(), set\-Image\-Frame(), set\-Product(), set\-Title(), and show().

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