kpilot/lib

UIDialog Class Reference

#include <uiDialog.h>

List of all members.


Detailed Description

This class should really be a namespace, since it contains only a pair of static methods, and they are not all that interesting anyway (I can imagine them living in factories, or even in libs somewhere as a AboutDataWidget).

Definition at line 44 of file uiDialog.h.


Static Public Member Functions

static void addAboutPage (QTabWidget *w, KAboutData *data=0L, bool aboutbutton=false)
static QWidget * aboutPage (QWidget *parent, KAboutData *data=0L)

Member Function Documentation

void UIDialog::addAboutPage ( QTabWidget *  w,
KAboutData *  data = 0L,
bool  aboutbutton = false 
) [static]

This is the function that does the work of adding an about page to a tabwidget.

It is made public and static so that it can be used elsewhere wherever tabwidgets appear.

The about tab is created using aboutPage(). The new about widget is added to the tab widget w with the heading "About".

Parameters:
w The tab widget to which the about page is added.
data The KAboutData that is used.
aboutbutton Unused.

Definition at line 191 of file uiDialog.cc.

QWidget * UIDialog::aboutPage ( QWidget *  parent,
KAboutData *  data = 0L 
) [static]

This creates the actual about widget.

Again, public & static so you can slap in an about widget wherever.

An about widget is created that shows the contributors to the application, along with copyright information and the application's icon. This widget can be used pretty much anywhere. Copied from KAboutDialog, mostly.

Parameters:
parent The widget that holds the about widget.
data The KAboutData that is used to populate the widget.

Definition at line 49 of file uiDialog.cc.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys