libyui-mga  1.0.7
YMGAAboutDialog Class Reference

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...
 

Detailed Description

Definition at line 27 of file YMGAAboutDialog.h.

Constructor & Destructor Documentation

◆ YMGAAboutDialog()

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.

Parameters
namethe application name
versionthe application version
licensethe application license, the short length one (e.g. GPLv2, GPLv3, LGPLv2+, etc)
authorsthe string providing the list of authors; it could be html-formatted
descriptionthe string providing a brief description of the application
logothe string providing the file path for the application logo (high-res image)
iconthe string providing the file path for the application icon (low-res image)
creditsoptional, the application credits, they can be html-formatted
informationoptional, other extra informations, they can be html-formatted

Definition at line 82 of file YMGAAboutDialog.cc.

Member Function Documentation

◆ setMinSize()

void YMGAAboutDialog::setMinSize ( YLayoutSize_t  columns,
YLayoutSize_t  lines 
)

Set the dialog mimimum size if Classic dialog is shown, minimum text size otherwise.

Parameters
columnsColumns for dialog minimum size
linesLines for dialog minimum size

Definition at line 234 of file YMGAAboutDialog.cc.

◆ show()

void YMGAAboutDialog::show ( YMGAAboutDialog::DLG_MODE  type = TABBED)

it actually shows the about dialog

Parameters
typeoptional, DLG_MODE: defaulting to CLASSIC if not defined
See also
Classic()
Tabbed()
YMGAAboutDialog::DLG_MODE

Definition at line 451 of file YMGAAboutDialog.cc.


The documentation for this class was generated from the following files: