#include <tdeaboutdialog.h>
Inherits TQWidget.
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::TDEAboutWidget | ( | TQWidget * | parent = 0 , |
const char * | name = 0 |
||
) |
The Qt constructor.
Definition at line 1308 of file tdeaboutdialog.cpp.
Member Function Documentation
◆ addContributor()
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.
◆ adjust()
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.
◆ openURL
|
signal |
An URL has been clicked.
◆ openURLSlot
|
protectedslot |
Catches the clicked URLs.
Definition at line 1400 of file tdeaboutdialog.cpp.
◆ resizeEvent()
|
protected |
The resize event.
Definition at line 1457 of file tdeaboutdialog.cpp.
◆ sendEmail
|
signal |
An email address has been selected by the user.
◆ sendEmailSlot
|
protectedslot |
Catches the signals from the contributors elements.
Definition at line 1395 of file tdeaboutdialog.cpp.
◆ setAuthor()
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.
◆ setLogo()
void TDEAboutWidget::setLogo | ( | const TQPixmap & | i | ) |
Sets the image as the application logo.
Definition at line 1388 of file tdeaboutdialog.cpp.
◆ setMaintainer()
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.
◆ setVersion()
void TDEAboutWidget::setVersion | ( | const TQString & | name | ) |
Sets the text describing the version.
Definition at line 1449 of file tdeaboutdialog.cpp.
Member Data Documentation
◆ author
|
protected |
The application developer.
Definition at line 232 of file tdeaboutdialog.h.
◆ cont
|
protected |
The label showing the text "Other contributors:".
Definition at line 224 of file tdeaboutdialog.h.
◆ contributors
|
protected |
A set of people who contributed to the application.
Definition at line 244 of file tdeaboutdialog.h.
◆ logo
|
protected |
The frame showing the logo.
Definition at line 228 of file tdeaboutdialog.h.
◆ maintainer
|
protected |
The application maintainer.
Definition at line 236 of file tdeaboutdialog.h.
◆ showMaintainer
|
protected |
Show the maintainer?
Definition at line 240 of file tdeaboutdialog.h.
◆ 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: