Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

InfoDialog Class Reference

Displays information about a level or collection. More...

#include <info_dialog.h>

Inheritance diagram for InfoDialog::

List of all members.

Public Methods

 InfoDialog (Level const &level, bool temporary, QWidget *parent=0, char const *name=0)
 InfoDialog (Collection const &collection, bool temporary, QWidget *parent=0, char const *name=0)

Private Slots

void emailClicked (const QString &url)
void homepageClicked (const QString &url)

Private Methods

void setupDialog (QStringList const &authors, QStringList const &emails, QString const &homepage, QString const &copyright, QString const &name, QString const &info, int difficulty, QString const &temporary)

Detailed Description

Displays information about a level or collection.

Author:
Ralf Schmelter (ralfs@pc2a.chemie.uni-dortmund.de).
Version:
0.1


Constructor & Destructor Documentation

InfoDialog::InfoDialog Level const & level,
bool temporary,
QWidget * parent = 0,
char const * name = 0
 

Creates the dialog.

Parameters:
level   The level for which to display informations.
temporary   If true the level is in a temporary collection.
parent   The parent of the widget.
name   The internal name of the widget.

InfoDialog::InfoDialog Collection const & collection,
bool temporary,
QWidget * parent = 0,
char const * name = 0
 

Creates the dialog.

Parameters:
collection   The collection for which to display informations.
temporary   If true the collection is temporary.
parent   The parent of the widget.
name   The internal name of the widget.


Member Function Documentation

void InfoDialog::emailClicked const QString & url [private, slot]
 

Called, when the user clicked a author email address.

Parameters:
url   The url to use.

void InfoDialog::homepageClicked const QString & url [private, slot]
 

Called, when the user clicked the homepage.

Parameters:
url   The url to use.

void InfoDialog::setupDialog QStringList const & authors,
QStringList const & emails,
QString const & homepage,
QString const & copyright,
QString const & name,
QString const & info,
int difficulty,
QString const & temporary
[private]
 

Sets up the dialog.

Parameters:
author   The authors.
emails   The email addresses of the authors.
homepage   The homepage of the level/collection.
copyright   The copyright of the level.
name   The name of the level/collection.
info   Additional information.
difficulty   The difficulty.
temporary   May contain a string which marks the level/collection as temporary.


The documentation for this class was generated from the following file:
Generated at Sun Jan 6 18:49:11 2002 for EasySok by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001