KDE3Support
k3aboutdialog.cpp
Go to the documentation of this file.
287 layoutType &= ~(K3AboutDialog::ImageLeft|K3AboutDialog::ImageRight|K3AboutDialog::Tabbed|K3AboutDialog::Plain);
684 const QString msg1 = i18n("<html><font size=\"5\">%1</font><br/><b>version %2</b><br/>Using KDE %3</html>", appName, version,
void setUrl(const QString &text, const QString &header=QString(), bool update=true)
Definition: k3aboutdialog.cpp:219
void addImage(const QString &fileName, Qt::Alignment alignment=Qt::AlignLeft)
Definition: k3aboutdialog.cpp:870
K3AboutContainer can be used to make a application specific AboutDialog.
Definition: k3aboutdialog.h:46
QString i18n(const char *text)
void setProduct(const QString &appName, const QString &version, const QString &author, const QString &year)
(Constructor II only) Prints the application name, KDE version, author, a copyright sign and a year s...
Definition: k3aboutdialog.cpp:1199
void setVersion(const QString &name)
Sets the text describing the version.
Definition: k3aboutdialog.cpp:981
void setImage(const QString &fileName)
(Constructor II only) Define an image to be shown in the dialog.
Definition: k3aboutdialog.cpp:1169
QFrame * addPage(const QString &title)
(Constructor II only) Adds an empty page to a tab box.
Definition: k3aboutdialog.cpp:1148
void setEmail(const QString &text, const QString &header=QString(), bool update=true)
Definition: k3aboutdialog.cpp:209
QFrame * addTextPage(const QString &title, const QString &text, bool richText=false, int numLines=10)
(Constructor II only) Adds a text page to a tab box.
Definition: k3aboutdialog.cpp:1118
int IconSize(KIconLoader::Group group)
void setVersion(const QString &name)
(Constructor I only) Sets the text describing the version.
Definition: k3aboutdialog.cpp:1110
K3AboutContainer * addScrolledContainerPage(const QString &title, Qt::Alignment childAlignment=Qt::AlignCenter, Qt::Alignment innerAlignment=Qt::AlignCenter)
Definition: k3aboutdialog.cpp:530
K3AboutContainer * addContainerPage(const QString &title, Qt::Alignment childAlignment=Qt::AlignCenter, Qt::Alignment innerAlignment=Qt::AlignCenter)
Definition: k3aboutdialog.cpp:512
void setProduct(const QString &appName, const QString &version, const QString &author, const QString &year)
Definition: k3aboutdialog.cpp:670
K3AboutContainer(QWidget *parent=0, int margin=0, int spacing=0, Qt::Alignment childAlignment=Qt::AlignCenter, Qt::Alignment innerAlignment=Qt::AlignCenter)
Definition: k3aboutdialog.cpp:709
QString label(StandardShortcut id)
void adjust()
Adjust the minimum size (after setting the properties of the image and the labels.
Definition: k3aboutdialog.cpp:907
K3AboutContainerBase * mContainerBase
The main widget (Constructor II)
Definition: k3aboutdialog.h:529
Definition: k3aboutdialog.h:271
void setMaintainer(const QString &name, const QString &email, const QString &url, const QString &work)
(Constructor I only) Sets the maintainer's name and email address.
Definition: k3aboutdialog.cpp:1083
void addContributor(const QString &name, const QString &email, const QString &url, const QString &work)
Shows this person as one of the major contributors.
Definition: k3aboutdialog.cpp:969
QFrame * addLicensePage(const QString &title, const QString &text, int numLines=10)
Definition: k3aboutdialog.cpp:487
virtual QSize minimumSizeHint() const
Definition: k3aboutdialog.cpp:815
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
#define KDE_VERSION_STRING
Definition: k3aboutdialog.h:272
Definition: k3aboutdialog.h:269
void setProgramLogo(const QString &fileName)
Definition: k3aboutdialog.cpp:617
K3AboutContributor(QWidget *parent=0, const QString &username=QString(), const QString &email=QString(), const QString &url=QString(), const QString &work=QString(), bool showHeader=false, bool showFrame=true, bool showBold=false)
Definition: k3aboutdialog.cpp:163
void setTitle(const QString &title)
(Constructor II only) Sets a title (not caption) in the uppermost area of the dialog.
Definition: k3aboutdialog.cpp:1163
Definition: k3aboutdialog.h:267
void setImageBackgroundColor(const QColor &color)
(Constructor II only) The image has a minimum size, but is centered within an area if the dialog box ...
Definition: k3aboutdialog.cpp:1187
void setMaintainer(const QString &name, const QString &email, const QString &url, const QString &work)
Sets the maintainers name and email address.
Definition: k3aboutdialog.cpp:959
void fontChange(const QFont &oldFont)
Definition: k3aboutdialog.cpp:427
K3AboutContainer * addContainer(Qt::Alignment childAlignment, Qt::Alignment innerAlignment)
(Constructor II only) Adds a container.
Definition: k3aboutdialog.cpp:1155
void setAuthor(const QString &name, const QString &email, const QString &url, const QString &work)
Sets the author's name and email address.
Definition: k3aboutdialog.cpp:950
Definition: k3aboutdialog.h:268
K3AboutDialog(QWidget *parent=0)
The standard Qt constructor (Constructor I).
Definition: k3aboutdialog.cpp:1030
QFrame * addLicensePage(const QString &title, const QString &text, int numLines=10)
(Constructor II only) Adds a license page to a tab box.
Definition: k3aboutdialog.cpp:1125
void setImage(const QString &fileName)
Definition: k3aboutdialog.cpp:598
K3AboutContainerBase(int layoutType, QWidget *parent=0)
Definition: k3aboutdialog.cpp:276
QList< K3AboutContributor * > contributors
A set of people who contributed to the application.
Definition: k3aboutdialog.h:217
K3AboutContainer * addScrolledContainerPage(const QString &title, Qt::Alignment childAlignment=Qt::AlignCenter, Qt::Alignment innerAlignment=Qt::AlignCenter)
(Constructor II only) Adds a container inside a QScrollView to a tab box.
Definition: k3aboutdialog.cpp:1140
void setName(const QString &text, const QString &header=QString(), bool update=true)
Definition: k3aboutdialog.cpp:200
static void imageUrl(QWidget *parent, const QString &caption, const QString &path, const QColor &imageColor, const QString &url)
Create a modal dialog with an image in the upper area with a URL link below.
Definition: k3aboutdialog.cpp:1206
void setProgramLogo(const QString &fileName)
Overloaded version of setProgramLogo(const QPixmap& pixmap).
Definition: k3aboutdialog.cpp:1175
Definition: k3aboutdialog.h:266
void setLogo(const QPixmap &logo)
Sets the image as the application logo.
Definition: k3aboutdialog.cpp:945
K3AboutContainer * addContainerPage(const QString &title, Qt::Alignment childAlignment=Qt::AlignCenter, Qt::Alignment innerAlignment=Qt::AlignCenter)
(Constructor II only) Adds a container to a tab box.
Definition: k3aboutdialog.cpp:1132
void addTitle(const QString &title, Qt::Alignment alignment=Qt::AlignLeft, bool showframe=false, bool showBold=false)
Definition: k3aboutdialog.cpp:850
void setImageBackgroundColor(const QColor &color)
Definition: k3aboutdialog.cpp:641
static QFont generalFont()
void addContributor(const QString &name, const QString &email, const QString &url, const QString &work)
(Constructor I only) Show this person as one of the major contributors.
Definition: k3aboutdialog.cpp:1101
unsigned int version()
QFrame * addTextPage(const QString &title, const QString &text, bool richText=false, int numLines=10)
Definition: k3aboutdialog.cpp:451
void setWork(const QString &text, const QString &header=QString(), bool update=true)
Definition: k3aboutdialog.cpp:229
void setImageFrame(bool state)
(Constructor II only) Enables or disables a frame around the image.
Definition: k3aboutdialog.cpp:1193
void setAuthor(const QString &name, const QString &email, const QString &url, const QString &work)
(Constructor I only) Sets the author's name and email address.
Definition: k3aboutdialog.cpp:1092
KGuiItem cont()
void setLogo(const QPixmap &logo)
(Constructor I only) Sets the image as the application logo.
Definition: k3aboutdialog.cpp:1075
K3AboutContainer * addContainer(Qt::Alignment childAlignment, Qt::Alignment innerAlignment)
Definition: k3aboutdialog.cpp:575
void addPerson(const QString &name, const QString &email, const QString &url, const QString &task, bool showHeader=false, bool showframe=false, bool showBold=false)
Definition: k3aboutdialog.cpp:838
Definition: k3aboutdialog.h:270
static QFont fixedFont()
virtual void fontChange(const QFont &oldFont)
Definition: k3aboutdialog.cpp:257
QFrame * addEmptyPage(const QString &title)
Definition: k3aboutdialog.cpp:558
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.