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

import_solutions_dialog.h

00001 /*
00002  *   EasySok --- A(nother) sokoban game for KDE.
00003  *
00004  *   Copyright (C) 2001 by Ralf Schmelter (ralfs@pc2a.chemie.uni-dortmund.de).
00005  *
00006  *   This program is free software; you can redistribute it and/or modify
00007  *   it under the terms of the GNU General Public License version 2 as
00008  *   published by the Free Software Foundation.
00009  *
00010  *   This program is distributed in the hope that it will be useful,
00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013  *   GNU General Public License for more details.
00014  *
00015  *   You should have received a copy of the GNU General Public License
00016  *   along with this program; if not, write to the Free Software
00017  *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00018  */
00019 
00020 
00021 #ifndef EASYSOK_IMPORT_SOLUTIONS_DIALOG_INC_GUARD_H
00022 #define EASYSOK_IMPORT_SOLUTIONS_DIALOG_INC_GUARD_H
00023 
00024 
00025 #include <kdialogbase.h>
00026 
00027 #include <qstring.h>
00028 
00029 
00030 class KLineEdit;
00031 class QRadioButton;
00032 
00033 
00034 
00035 
00043 class ImportSolutionsDialog : public KDialogBase
00044 {
00045     Q_OBJECT
00046 
00047 public:
00048 
00056     ImportSolutionsDialog(QWidget * parent = 0, char const * name = 0);
00057 
00058 
00063     virtual ~ImportSolutionsDialog();
00064 
00065 
00070     bool importSolutionForCurrentLevel() const;
00071 
00072 
00077     bool importSolutionsForCurrentCollection() const;
00078 
00079 
00084     bool importOnlyBetterSolutions() const;
00085 
00086 
00091     bool importOnlyBestSolution() const;
00092 
00093 
00098     bool importOnlyBestBetterSolution() const;
00099 
00100 
00105     bool optimizePushes() const;
00106 
00107 
00112     bool optimizeMoves() const;
00113 
00114 
00119     QString appendAnnotation() const;
00120 
00121 
00122 private:
00123 
00128     QRadioButton * m_import_current_solution;
00129 
00130 
00135     QRadioButton * m_import_collection_solutions;
00136 
00137 
00142     QRadioButton * m_import_all_solutions;
00143 
00144 
00149     QRadioButton * m_import_better_solutions;
00150 
00151 
00156     QRadioButton * m_import_best_solution;
00157 
00158 
00163     QRadioButton * m_import_better_best_solutions;
00164 
00165 
00170     QRadioButton * m_ignore_solution_quality;
00171 
00172 
00177     QRadioButton * m_optimize_pushes;
00178 
00179 
00184     QRadioButton * m_optimize_moves;
00185 
00186 
00191     QRadioButton * m_optimize_none;
00192 
00193 
00198     KLineEdit * m_append_annotation;
00199 };
00200 
00201 
00202 #endif

Generated at Sun Jan 6 18:49:09 2002 for EasySok by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001