|
libyui-mga
1.0.7
|
Public Types | |
| enum | DLG_MODE { CLASSIC, TABBED } |
Public Member Functions | |
| YMGAAboutDialog (const std::string &name, const std::string &version, const std::string &license, const std::string &authors, const std::string &description, const std::string &logo, const std::string &icon=std::string(), const std::string &credits=std::string(), const std::string &information=std::string()) | |
| The constructor. More... | |
| void | setMinSize (YLayoutSize_t columns, YLayoutSize_t lines) |
| Set the dialog mimimum size if Classic dialog is shown, minimum text size otherwise. More... | |
| void | show (DLG_MODE type=TABBED) |
| it actually shows the about dialog More... | |
Definition at line 27 of file YMGAAboutDialog.h.
| YMGAAboutDialog::YMGAAboutDialog | ( | const std::string & | name, |
| const std::string & | version, | ||
| const std::string & | license, | ||
| const std::string & | authors, | ||
| const std::string & | description, | ||
| const std::string & | logo, | ||
| const std::string & | icon = std::string(), |
||
| const std::string & | credits = std::string(), |
||
| const std::string & | information = std::string() |
||
| ) |
The constructor.
Note that this object is not a widget, so you must deleted it, if allocated on the heap.
| name | the application name |
| version | the application version |
| license | the application license, the short length one (e.g. GPLv2, GPLv3, LGPLv2+, etc) |
| authors | the string providing the list of authors; it could be html-formatted |
| description | the string providing a brief description of the application |
| logo | the string providing the file path for the application logo (high-res image) |
| icon | the string providing the file path for the application icon (low-res image) |
| credits | optional, the application credits, they can be html-formatted |
| information | optional, other extra informations, they can be html-formatted |
Definition at line 82 of file YMGAAboutDialog.cc.
| void YMGAAboutDialog::setMinSize | ( | YLayoutSize_t | columns, |
| YLayoutSize_t | lines | ||
| ) |
Set the dialog mimimum size if Classic dialog is shown, minimum text size otherwise.
| columns | Columns for dialog minimum size |
| lines | Lines for dialog minimum size |
Definition at line 234 of file YMGAAboutDialog.cc.
| void YMGAAboutDialog::show | ( | YMGAAboutDialog::DLG_MODE | type = TABBED | ) |
it actually shows the about dialog
| type | optional, DLG_MODE: defaulting to CLASSIC if not defined |
Definition at line 451 of file YMGAAboutDialog.cc.