• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

KDE3Support

Public Member Functions | List of all members
K3AboutApplication Class Reference

#include <k3aboutapplication.h>

Inheritance diagram for K3AboutApplication:
Inheritance graph
[legend]

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.

Author
Waldo Bastian (basti.nosp@m.an@k.nosp@m.de.or.nosp@m.g) and Espen Sand (espen.nosp@m.@kde.nosp@m..org)

Definition at line 45 of file k3aboutapplication.h.

Constructor & Destructor Documentation

K3AboutApplication::K3AboutApplication ( const KAboutData *  aboutData = 0,
QWidget *  parent = 0,
bool  modal = true 
)
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
aboutDataA pointer to a KAboutData object which data will be used for filling the dialog.
parentThe parent of the dialog box. You should use the toplevel window so that the dialog becomes centered.
modalIf 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:
  • k3aboutapplication.h
  • k3aboutapplication.cpp
This file is part of the KDE documentation.
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.

KDE3Support

Skip menu "KDE3Support"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal