KAboutWidget Class Reference
KAboutWidget is the main widget for KAboutDialog. More...
#include <kaboutdialog.h>
Inheritance diagram for KAboutWidget:


Signals | |
| void | sendEmail (const QString &name, const QString &email) |
| An email address has been selected by the user. | |
| void | openURL (const QString &url) |
| An URL has been clicked. | |
Public Member Functions | |
| KAboutWidget (QWidget *parent=0, const char *name=0) | |
| The Qt constructor. | |
| void | adjust () |
| Adjust the minimum size (after setting the properties of the image and the labels. | |
| void | setLogo (const QPixmap &) |
| Sets the image as the application logo. | |
| void | setAuthor (const QString &name, const QString &email, const QString &url, const QString &work) |
| Sets the author's name and email address. | |
| void | setMaintainer (const QString &name, const QString &email, const QString &url, const QString &work) |
| Sets the maintainers name and email address. | |
| void | addContributor (const QString &name, const QString &email, const QString &url, const QString &work) |
| Shows this person as one of the major contributors. | |
| void | setVersion (const QString &name) |
| Sets the text describing the version. | |
Protected Slots | |
| void | sendEmailSlot (const QString &name, const QString &email) |
| Catches the signals from the contributors elements. | |
| void | openURLSlot (const QString &url) |
| Catches the clicked URLs. | |
Protected Member Functions | |
| void | resizeEvent (QResizeEvent *) |
| The resize event. | |
Protected Attributes | |
| QLabel * | version |
| The label showing the program version. | |
| QLabel * | cont |
| The label showing the text "Other contributors:". | |
| QLabel * | logo |
| The frame showing the logo. | |
| KAboutContributor * | author |
| The application developer. | |
| KAboutContributor * | maintainer |
| The application maintainer. | |
| bool | showMaintainer |
| Show the maintainer? | |
| QPtrList< KAboutContributor > | contributors |
| A set of people who contributed to the application. | |
Detailed Description
KAboutWidget is the main widget for KAboutDialog.It has a minimum size set.
Definition at line 150 of file kaboutdialog.h.
Constructor & Destructor Documentation
|
||||||||||||
|
The Qt constructor.
Definition at line 1288 of file kaboutdialog.cpp. References logo, maintainer, openURL(), openURLSlot(), sendEmail(), sendEmailSlot(), and QLabel::setText(). |
Member Function Documentation
|
|
Adjust the minimum size (after setting the properties of the image and the labels.
Definition at line 1323 of file kaboutdialog.cpp. References contributors, QPtrListIterator::current(), QSize::height(), QPtrList< KAboutContributor >::isEmpty(), logo, maintainer, QWidget::setMinimumSize(), showMaintainer, KAboutContributor::sizeHint(), and QSize::width(). Referenced by KAboutDialog::adjust(). |
|
|
Sets the image as the application logo.
Definition at line 1365 of file kaboutdialog.cpp. References logo, and QLabel::setPixmap(). Referenced by KAboutDialog::setLogo(). |
|
||||||||||||||||||||
|
Sets the author's name and email address.
Definition at line 1383 of file kaboutdialog.cpp. Referenced by KAboutDialog::setAuthor(). |
|
||||||||||||||||||||
|
Sets the maintainers name and email address.
Definition at line 1395 of file kaboutdialog.cpp. References maintainer, KAboutContributor::setEmail(), KAboutContributor::setName(), KAboutContributor::setURL(), KAboutContributor::setWork(), and showMaintainer. Referenced by KAboutDialog::setMaintainer(). |
|
||||||||||||||||||||
|
Shows this person as one of the major contributors.
Definition at line 1408 of file kaboutdialog.cpp. References QPtrList< KAboutContributor >::append(), contributors, openURL(), openURLSlot(), sendEmail(), sendEmailSlot(), KAboutContributor::setEmail(), KAboutContributor::setName(), KAboutContributor::setURL(), and KAboutContributor::setWork(). Referenced by KAboutDialog::addContributor(). |
|
|
Sets the text describing the version.
Definition at line 1426 of file kaboutdialog.cpp. Referenced by KAboutDialog::setVersion(). |
|
||||||||||||
|
Catches the signals from the contributors elements.
Definition at line 1372 of file kaboutdialog.cpp. References sendEmail(). Referenced by addContributor(), and KAboutWidget(). |
|
|
Catches the clicked URLs.
Definition at line 1377 of file kaboutdialog.cpp. References openURL(). Referenced by addContributor(), and KAboutWidget(). |
|
||||||||||||
|
An email address has been selected by the user.
Referenced by addContributor(), KAboutWidget(), and sendEmailSlot(). |
|
|
An URL has been clicked.
Referenced by addContributor(), KAboutWidget(), and openURLSlot(). |
|
|
The resize event.
Reimplemented from QWidget. Definition at line 1434 of file kaboutdialog.cpp. References contributors, QPtrListIterator::current(), QSize::height(), QPtrList< KAboutContributor >::isEmpty(), logo, maintainer, showMaintainer, KAboutContributor::sizeHint(), and QWidget::width(). |
Member Data Documentation
|
|
The label showing the program version.
Definition at line 220 of file kaboutdialog.h. |
|
|
The label showing the text "Other contributors:".
Definition at line 224 of file kaboutdialog.h. |
|
|
The frame showing the logo.
Definition at line 228 of file kaboutdialog.h. Referenced by adjust(), KAboutWidget(), resizeEvent(), and setLogo(). |
|
|
The application developer.
Definition at line 232 of file kaboutdialog.h. |
|
|
The application maintainer.
Definition at line 236 of file kaboutdialog.h. Referenced by adjust(), KAboutWidget(), resizeEvent(), and setMaintainer(). |
|
|
Show the maintainer?
Definition at line 240 of file kaboutdialog.h. Referenced by adjust(), resizeEvent(), and setMaintainer(). |
|
|
A set of people who contributed to the application.
Definition at line 244 of file kaboutdialog.h. Referenced by addContributor(), adjust(), and resizeEvent(). |
The documentation for this class was generated from the following files:
