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

ExportSolutionsDialog Class Reference

This class lets the user select, which solutions he wants to export. More...

#include <export_solutions_dialog.h>

Inheritance diagram for ExportSolutionsDialog::

List of all members.

Public Methods

 ExportSolutionsDialog (bool export_current_level, QWidget *parent=0, char const *name=0)
virtual ~ExportSolutionsDialog ()
bool exportCurrentLevel () const
bool exportCollection () const
bool exportOnlyBest () const
bool exportAll () const
bool exportRegexpMatches () const
QString solutionRegexp () const

Private Slots

void regexpButtonToggled (bool state)

Private Attributes

QRadioButton * m_export_level
QRadioButton * m_export_collection
QRadioButton * m_export_all
QRadioButton * m_export_best
QRadioButton * m_export_all_solutions
QRadioButton * m_export_solutions_by_name
KLineEdit * m_solutions_regexp

Detailed Description

This class lets the user select, which solutions he wants to export.

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


Constructor & Destructor Documentation

ExportSolutionsDialog::ExportSolutionsDialog bool export_current_level,
QWidget * parent = 0,
char const * name = 0
 

Opens a dialog to export solutions.

Parameters:
export_current_level   If true, we can also export the current levels solution.
parent   The parent widget.
name   The internal name.

virtual ExportSolutionsDialog::~ExportSolutionsDialog [virtual]
 

Stores the selections.


Member Function Documentation

bool ExportSolutionsDialog::exportAll const
 

Returns true, if we export all solutions of a level.

bool ExportSolutionsDialog::exportCollection const
 

Returns true, if we export the solutions of the current collection.

bool ExportSolutionsDialog::exportCurrentLevel const
 

Returns true, if we export only the solution of the current level.

bool ExportSolutionsDialog::exportOnlyBest const
 

Returns true, if we export only the best solutions.

bool ExportSolutionsDialog::exportRegexpMatches const
 

Returns true, if we export only the solutions which match the regexp.

void ExportSolutionsDialog::regexpButtonToggled bool state [private, slot]
 

Called when the export by regexp button is toggled.

Parameters:
state   The new state of the export by regexp button.

QString ExportSolutionsDialog::solutionRegexp const
 

Returns the solution regexp.


Member Data Documentation

QRadioButton* ExportSolutionsDialog::m_export_all [private]
 

Export solutions from all collections.

QRadioButton* ExportSolutionsDialog::m_export_all_solutions [private]
 

Export all solutions of the levels.

QRadioButton* ExportSolutionsDialog::m_export_best [private]
 

Export only the best solution per level.

QRadioButton* ExportSolutionsDialog::m_export_collection [private]
 

Export only solutions of a collection.

QRadioButton* ExportSolutionsDialog::m_export_level [private]
 

Export only solutions of a level.

QRadioButton* ExportSolutionsDialog::m_export_solutions_by_name [private]
 

Export solutions by name.

KLineEdit* ExportSolutionsDialog::m_solutions_regexp [private]
 

The regexp to export solutions by name.


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