kdeui
KAboutContainerBase Class Reference
Used internally by KAboutDialog. More...
#include <kaboutdialog_private.h>
Public Types | |
enum | LayoutType { AbtPlain = 0x0001, AbtTabbed = 0x0002, AbtTitle = 0x0004, AbtImageLeft = 0x0008, AbtImageRight = 0x0010, AbtImageOnly = 0x0020, AbtProduct = 0x0040, AbtKDEStandard = AbtTabbed|AbtTitle|AbtImageLeft, AbtAppStandard = AbtTabbed|AbtTitle|AbtProduct, AbtImageAndTitle = AbtPlain|AbtTitle|AbtImageOnly } |
Public Slots | |
virtual void | slotMailClick (const QString &name, const QString &address) |
virtual void | slotMouseTrack (int mode, const QMouseEvent *e) |
virtual void | slotUrlClick (const QString &url) |
Signals | |
void | mailClick (const QString &name, const QString &address) |
void | mouseTrack (int mode, const QMouseEvent *e) |
void | urlClick (const QString &url) |
Public Member Functions | |
KAboutContainer * | addContainer (int childAlignment, int innerAlignment) |
KAboutContainer * | addContainerPage (const QString &title, int childAlignment=AlignCenter, int innerAlignment=AlignCenter) |
QFrame * | addEmptyPage (const QString &title) |
QFrame * | addLicensePage (const QString &title, const QString &text, int numLines=10) |
KAboutContainer * | addScrolledContainerPage (const QString &title, int childAlignment=AlignCenter, int innerAlignment=AlignCenter) |
QFrame * | addTextPage (const QString &title, const QString &text, bool richText=false, int numLines=10) |
KAboutContainerBase (int layoutType, QWidget *parent=0, char *name=0) | |
void | setImage (const QString &fileName) |
void | setImageBackgroundColor (const QColor &color) |
void | setImageFrame (bool state) |
void | setProduct (const QString &appName, const QString &version, const QString &author, const QString &year) |
void | setProgramLogo (const QPixmap &pixmap) |
void | setProgramLogo (const QString &fileName) |
void | setTitle (const QString &title) |
virtual void | show (void) |
virtual QSize | sizeHint (void) const |
Protected Member Functions | |
virtual void | fontChange (const QFont &oldFont) |
Detailed Description
Used internally by KAboutDialog.
For internal use only.
Definition at line 69 of file kaboutdialog_private.h.
Member Enumeration Documentation
- Enumerator:
-
AbtPlain AbtTabbed AbtTitle AbtImageLeft AbtImageRight AbtImageOnly AbtProduct AbtKDEStandard AbtAppStandard AbtImageAndTitle
Definition at line 74 of file kaboutdialog_private.h.
Constructor & Destructor Documentation
KAboutContainerBase::KAboutContainerBase | ( | int | layoutType, | |
QWidget * | parent = 0 , |
|||
char * | name = 0 | |||
) |
Definition at line 296 of file kaboutdialog.cpp.
Member Function Documentation
KAboutContainer * KAboutContainerBase::addContainer | ( | int | childAlignment, | |
int | innerAlignment | |||
) |
Definition at line 587 of file kaboutdialog.cpp.
KAboutContainer * KAboutContainerBase::addContainerPage | ( | const QString & | title, | |
int | childAlignment = AlignCenter , |
|||
int | innerAlignment = AlignCenter | |||
) |
Definition at line 515 of file kaboutdialog.cpp.
Definition at line 571 of file kaboutdialog.cpp.
QFrame * KAboutContainerBase::addLicensePage | ( | const QString & | title, | |
const QString & | text, | |||
int | numLines = 10 | |||
) |
Definition at line 495 of file kaboutdialog.cpp.
KAboutContainer * KAboutContainerBase::addScrolledContainerPage | ( | const QString & | title, | |
int | childAlignment = AlignCenter , |
|||
int | innerAlignment = AlignCenter | |||
) |
Definition at line 539 of file kaboutdialog.cpp.
QFrame * KAboutContainerBase::addTextPage | ( | const QString & | title, | |
const QString & | text, | |||
bool | richText = false , |
|||
int | numLines = 10 | |||
) |
Definition at line 460 of file kaboutdialog.cpp.
void KAboutContainerBase::fontChange | ( | const QFont & | oldFont | ) | [protected, virtual] |
void KAboutContainerBase::mouseTrack | ( | int | mode, | |
const QMouseEvent * | e | |||
) | [signal] |
void KAboutContainerBase::setImage | ( | const QString & | fileName | ) |
Definition at line 615 of file kaboutdialog.cpp.
void KAboutContainerBase::setImageBackgroundColor | ( | const QColor & | color | ) |
Definition at line 658 of file kaboutdialog.cpp.
void KAboutContainerBase::setImageFrame | ( | bool | state | ) |
Definition at line 667 of file kaboutdialog.cpp.
void KAboutContainerBase::setProduct | ( | const QString & | appName, | |
const QString & | version, | |||
const QString & | author, | |||
const QString & | year | |||
) |
Definition at line 685 of file kaboutdialog.cpp.
void KAboutContainerBase::setProgramLogo | ( | const QPixmap & | pixmap | ) |
Definition at line 645 of file kaboutdialog.cpp.
void KAboutContainerBase::setProgramLogo | ( | const QString & | fileName | ) |
Definition at line 634 of file kaboutdialog.cpp.
void KAboutContainerBase::setTitle | ( | const QString & | title | ) |
Definition at line 604 of file kaboutdialog.cpp.
void KAboutContainerBase::show | ( | void | ) | [virtual] |
QSize KAboutContainerBase::sizeHint | ( | void | ) | const [virtual] |
void KAboutContainerBase::slotMailClick | ( | const QString & | name, | |
const QString & | address | |||
) | [virtual, slot] |
Definition at line 734 of file kaboutdialog.cpp.
void KAboutContainerBase::slotMouseTrack | ( | int | mode, | |
const QMouseEvent * | e | |||
) | [virtual, slot] |
Definition at line 723 of file kaboutdialog.cpp.
void KAboutContainerBase::slotUrlClick | ( | const QString & | url | ) | [virtual, slot] |
Definition at line 729 of file kaboutdialog.cpp.
void KAboutContainerBase::urlClick | ( | const QString & | url | ) | [signal] |
The documentation for this class was generated from the following files: