tdeui
TDEAboutWidget Class Reference
TDEAboutWidget is the main widget for TDEAboutDialog. More...
#include <tdeaboutdialog.h>
Signals | |
| void | sendEmail (const TQString &name, const TQString &email) |
| void | openURL (const TQString &url) |
Public Member Functions | |
| TDEAboutWidget (TQWidget *parent=0, const char *name=0) | |
| void | adjust () |
| void | setLogo (const TQPixmap &) |
| void | setAuthor (const TQString &name, const TQString &email, const TQString &url, const TQString &work) |
| void | setMaintainer (const TQString &name, const TQString &email, const TQString &url, const TQString &work) |
| void | addContributor (const TQString &name, const TQString &email, const TQString &url, const TQString &work) |
| void | setVersion (const TQString &name) |
Protected Slots | |
| void | sendEmailSlot (const TQString &name, const TQString &email) |
| void | openURLSlot (const TQString &url) |
Protected Member Functions | |
| void | resizeEvent (TQResizeEvent *) |
Protected Attributes | |
| TQLabel * | version |
| TQLabel * | cont |
| TQLabel * | logo |
| TDEAboutContributor * | author |
| TDEAboutContributor * | maintainer |
| bool | showMaintainer |
| TQPtrList< TDEAboutContributor > | contributors |
Detailed Description
TDEAboutWidget is the main widget for TDEAboutDialog.
It has a minimum size set.
Definition at line 150 of file tdeaboutdialog.h.
Constructor & Destructor Documentation
| TDEAboutWidget::TDEAboutWidget | ( | TQWidget * | parent = 0, |
|
| const char * | name = 0 | |||
| ) |
The Qt constructor.
Definition at line 1308 of file tdeaboutdialog.cpp.
Member Function Documentation
| void TDEAboutWidget::addContributor | ( | const TQString & | name, | |
| const TQString & | email, | |||
| const TQString & | url, | |||
| const TQString & | work | |||
| ) |
Shows this person as one of the major contributors.
Definition at line 1431 of file tdeaboutdialog.cpp.
| void TDEAboutWidget::adjust | ( | ) |
Adjust the minimum size (after setting the properties of the image and the labels.
Definition at line 1344 of file tdeaboutdialog.cpp.
| void TDEAboutWidget::openURL | ( | const TQString & | url | ) | [signal] |
An URL has been clicked.
| void TDEAboutWidget::openURLSlot | ( | const TQString & | url | ) | [protected, slot] |
Catches the clicked URLs.
Definition at line 1400 of file tdeaboutdialog.cpp.
| void TDEAboutWidget::resizeEvent | ( | TQResizeEvent * | ) | [protected] |
An email address has been selected by the user.
| void TDEAboutWidget::sendEmailSlot | ( | const TQString & | name, | |
| const TQString & | ||||
| ) | [protected, slot] |
Catches the signals from the contributors elements.
Definition at line 1395 of file tdeaboutdialog.cpp.
| void TDEAboutWidget::setAuthor | ( | const TQString & | name, | |
| const TQString & | email, | |||
| const TQString & | url, | |||
| const TQString & | work | |||
| ) |
Sets the author's name and email address.
Definition at line 1406 of file tdeaboutdialog.cpp.
| void TDEAboutWidget::setLogo | ( | const TQPixmap & | i | ) |
Sets the image as the application logo.
Definition at line 1388 of file tdeaboutdialog.cpp.
| void TDEAboutWidget::setMaintainer | ( | const TQString & | name, | |
| const TQString & | email, | |||
| const TQString & | url, | |||
| const TQString & | work | |||
| ) |
Sets the maintainers name and email address.
Definition at line 1418 of file tdeaboutdialog.cpp.
| void TDEAboutWidget::setVersion | ( | const TQString & | name | ) |
Sets the text describing the version.
Definition at line 1449 of file tdeaboutdialog.cpp.
Member Data Documentation
TDEAboutContributor* TDEAboutWidget::author [protected] |
The application developer.
Definition at line 232 of file tdeaboutdialog.h.
TQLabel* TDEAboutWidget::cont [protected] |
The label showing the text "Other contributors:".
Definition at line 224 of file tdeaboutdialog.h.
TQPtrList<TDEAboutContributor> TDEAboutWidget::contributors [protected] |
A set of people who contributed to the application.
Definition at line 244 of file tdeaboutdialog.h.
TQLabel* TDEAboutWidget::logo [protected] |
The frame showing the logo.
Definition at line 228 of file tdeaboutdialog.h.
TDEAboutContributor* TDEAboutWidget::maintainer [protected] |
The application maintainer.
Definition at line 236 of file tdeaboutdialog.h.
bool TDEAboutWidget::showMaintainer [protected] |
Show the maintainer?
Definition at line 240 of file tdeaboutdialog.h.
TQLabel* TDEAboutWidget::version [protected] |
The label showing the program version.
Definition at line 220 of file tdeaboutdialog.h.
The documentation for this class was generated from the following files:
Trinity API Reference