KDE3Support
K3AboutWidget Class Reference
K3AboutWidget is the main widget for K3AboutDialog. More...
#include <k3aboutdialog.h>

Public Member Functions | |
void | addContributor (const QString &name, const QString &email, const QString &url, const QString &work) |
void | adjust () |
K3AboutWidget (QWidget *parent=0) | |
void | setAuthor (const QString &name, const QString &email, const QString &url, const QString &work) |
void | setLogo (const QPixmap &logo) |
void | setMaintainer (const QString &name, const QString &email, const QString &url, const QString &work) |
void | setVersion (const QString &name) |
Protected Member Functions | |
void | resizeEvent (QResizeEvent *) |
Protected Attributes | |
K3AboutContributor * | author |
QLabel * | cont |
QList< K3AboutContributor * > | contributors |
QLabel * | logo |
K3AboutContributor * | maintainer |
bool | showMaintainer |
QLabel * | version |
Detailed Description
K3AboutWidget is the main widget for K3AboutDialog.
It has a minimum size set.
Definition at line 131 of file k3aboutdialog.h.
Constructor & Destructor Documentation
K3AboutWidget::K3AboutWidget | ( | QWidget * | parent = 0 |
) |
Creates a new about widget.
Definition at line 890 of file k3aboutdialog.cpp.
Member Function Documentation
void K3AboutWidget::addContributor | ( | const QString & | name, | |
const QString & | email, | |||
const QString & | url, | |||
const QString & | work | |||
) |
Shows this person as one of the major contributors.
Definition at line 969 of file k3aboutdialog.cpp.
void K3AboutWidget::adjust | ( | ) |
Adjust the minimum size (after setting the properties of the image and the labels.
Definition at line 907 of file k3aboutdialog.cpp.
void K3AboutWidget::resizeEvent | ( | QResizeEvent * | ) | [protected] |
The resize event.
Definition at line 986 of file k3aboutdialog.cpp.
void K3AboutWidget::setAuthor | ( | const QString & | name, | |
const QString & | email, | |||
const QString & | url, | |||
const QString & | work | |||
) |
Sets the author's name and email address.
Definition at line 950 of file k3aboutdialog.cpp.
void K3AboutWidget::setLogo | ( | const QPixmap & | logo | ) |
Sets the image as the application logo.
- Parameters:
-
logo The application logo
Definition at line 945 of file k3aboutdialog.cpp.
void K3AboutWidget::setMaintainer | ( | const QString & | name, | |
const QString & | email, | |||
const QString & | url, | |||
const QString & | work | |||
) |
Sets the maintainers name and email address.
Definition at line 959 of file k3aboutdialog.cpp.
void K3AboutWidget::setVersion | ( | const QString & | name | ) |
Sets the text describing the version.
Definition at line 981 of file k3aboutdialog.cpp.
Member Data Documentation
K3AboutContributor* K3AboutWidget::author [protected] |
The application developer.
Definition at line 202 of file k3aboutdialog.h.
QLabel* K3AboutWidget::cont [protected] |
The label showing the text "Other contributors:".
Definition at line 192 of file k3aboutdialog.h.
QList<K3AboutContributor *> K3AboutWidget::contributors [protected] |
A set of people who contributed to the application.
Definition at line 217 of file k3aboutdialog.h.
QLabel* K3AboutWidget::logo [protected] |
The frame showing the logo.
Definition at line 197 of file k3aboutdialog.h.
K3AboutContributor* K3AboutWidget::maintainer [protected] |
The application maintainer.
Definition at line 207 of file k3aboutdialog.h.
bool K3AboutWidget::showMaintainer [protected] |
Show the maintainer?
Definition at line 212 of file k3aboutdialog.h.
QLabel* K3AboutWidget::version [protected] |
The label showing the program version.
Definition at line 187 of file k3aboutdialog.h.
The documentation for this class was generated from the following files: