XGP::XAbout Class Reference

Class to show a dialog with the about information for a program. More...

Inherits XGP::XDialog.

List of all members.

Public Member Functions

 ~XAbout ()
void setIconProgram (const guint8 *iconData, int lenData)
void setIconAuthor (const guint8 *iconData, int lenData)

Static Public Member Functions

static XAboutcreate (const Glib::ustring &author, const Glib::ustring &program)

Protected Member Functions

 XAbout (const Glib::ustring &author, const Glib::ustring &program)


Detailed Description

Class to show a dialog with the about information for a program.

It is assumed, that the program is distributed under the GNU public license.

Furthermore it is possible to specify icons for programmer and application.


Constructor & Destructor Documentation

XGP::XAbout::~XAbout (  ) 

Destructor.

XGP::XAbout::XAbout ( const Glib::ustring &  author,
const Glib::ustring &  program 
) [protected]

Constructor; adds all controls to the dialog and shows it.

Parameters:
author Author, copyright, ... of the program displayed in the client
program Name and version of the program; displaced in the title


Member Function Documentation

XAbout * XGP::XAbout::create ( const Glib::ustring &  author,
const Glib::ustring &  program 
) [static]

Creates a (modeless) about dialog and registers a handler to free it after deleting.

Returns:
IPrintDialog* Pointer to created dialog

void XGP::XAbout::setIconAuthor ( const guint8 *  pIconData,
int  lenData 
)

Sets the icon for the programmer (in xpm-format).

Parameters:
pIconData Pointer to xpm-data for pixmap representing the programmer
lenData,: Length of image

void XGP::XAbout::setIconProgram ( const guint8 *  pIconData,
int  lenData 
)

Sets the icon for the program (in inline format).

Parameters:
pIconData Image representing program
lenData,: Length of image


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

XGP Version 0.9.31 - Generated on Wed Nov 18 11:25:29 2009 by doxygen 1.5.8