KDE3Support
#include <k3aboutapplication.h>
Public Member Functions | |
K3AboutApplication (const KAboutData *aboutData=0, QWidget *parent=0, bool modal=true) | |
Public Member Functions inherited from K3AboutDialog | |
K3AboutDialog (QWidget *parent=0) | |
K3AboutDialog (int dialogLayout, const QString &caption, QWidget *parent=0) | |
K3AboutContainer * | addContainer (Qt::Alignment childAlignment, Qt::Alignment innerAlignment) |
K3AboutContainer * | addContainerPage (const QString &title, Qt::Alignment childAlignment=Qt::AlignCenter, Qt::Alignment innerAlignment=Qt::AlignCenter) |
void | addContributor (const QString &name, const QString &email, const QString &url, const QString &work) |
QFrame * | addLicensePage (const QString &title, const QString &text, int numLines=10) |
QFrame * | addPage (const QString &title) |
K3AboutContainer * | addScrolledContainerPage (const QString &title, Qt::Alignment childAlignment=Qt::AlignCenter, Qt::Alignment innerAlignment=Qt::AlignCenter) |
QFrame * | addTextPage (const QString &title, const QString &text, bool richText=false, int numLines=10) |
void | adjust () |
void | setAuthor (const QString &name, const QString &email, const QString &url, const QString &work) |
void | setImage (const QString &fileName) |
void | setImageBackgroundColor (const QColor &color) |
void | setImageFrame (bool state) |
void | setLogo (const QPixmap &logo) |
void | setMaintainer (const QString &name, const QString &email, const QString &url, const QString &work) |
void | setProduct (const QString &appName, const QString &version, const QString &author, const QString &year) |
void | setProgramLogo (const QString &fileName) |
void | setProgramLogo (const QPixmap &pixmap) |
void | setTitle (const QString &title) |
void | setVersion (const QString &name) |
virtual void | show () |
virtual void | show (QWidget *centerParent) |
Additional Inherited Members | |
Public Types inherited from K3AboutDialog | |
enum | LayoutType { Plain = 0x0001, Tabbed = 0x0002, Title = 0x0004, ImageLeft = 0x0008, ImageRight = 0x0010, ImageOnly = 0x0020, Product = 0x0040, KDEStandard = Tabbed | Title | ImageLeft, AppStandard = Tabbed | Title | Product, ImageAndTitle = Plain | Title | ImageOnly } |
Static Public Member Functions inherited from K3AboutDialog | |
static void | imageUrl (QWidget *parent, const QString &caption, const QString &path, const QColor &imageColor, const QString &url) |
Protected Attributes inherited from K3AboutDialog | |
K3AboutWidget * | mAbout |
K3AboutContainerBase * | mContainerBase |
Detailed Description
Standard "About Application" dialog box.
This class provides the standard "About Application" dialog box that is used by KHelpMenu. It uses the information of the global KAboutData that is specified at the start of your program in main(). Normally you should not use this class directly but rather the KHelpMenu class or even better just subclass your toplevel window from KMainWindow. If you do the latter, the help menu and thereby this dialog box is available through the KMainWindow::helpMenu() function.
Definition at line 45 of file k3aboutapplication.h.
Constructor & Destructor Documentation
|
explicit |
Constructor.
Creates a fully featured "About Application" dialog box. Note that this dialog is made modeless in the KHelpMenu class so the users may expect a modeless dialog.
- Parameters
-
aboutData A pointer to a KAboutData object which data will be used for filling the dialog. parent The parent of the dialog box. You should use the toplevel window so that the dialog becomes centered. modal If false, this widget will be modeless and must be made visible using QWidget::show(). Otherwise it will be modal and must be made visible using QWidget::exec().
Definition at line 36 of file k3aboutapplication.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.