/* * QtDialog.hpp * * Created on: Jan 18, 2010 * Author: crueger */ #ifndef QTDIALOG_HPP_ #define QTDIALOG_HPP_ // include config.h #ifdef HAVE_CONFIG_H #include #endif #include "Parameters/Parameter.hpp" #include "UIElements/Dialog.hpp" #include #include #include #include class QBoxLayout; class QDialogButtonBox; class QtDialog : public QDialog, public Dialog { Q_OBJECT public: QtDialog(); virtual ~QtDialog(); virtual void queryEmpty(const std::string ="", const std::string = ""); virtual void queryBoolean(Parameter &, const std::string ="", const std::string = ""); virtual void queryInt(Parameter &, const std::string ="", const std::string = ""); virtual void queryInts(Parameter > &, const std::string ="", const std::string = ""); virtual void queryUnsignedInt(Parameter &, const std::string ="", const std::string = ""); virtual void queryUnsignedInts(Parameter > &, const std::string ="", const std::string = ""); virtual void queryDouble(Parameter &, const std::string ="", const std::string = ""); virtual void queryDoubles(Parameter > &, const std::string ="", const std::string = ""); virtual void queryString(Parameter &, const std::string ="", const std::string = ""); virtual void queryStrings(Parameter > &, const std::string ="", const std::string = ""); virtual void queryAtom(Parameter &, const std::string ="", const std::string = ""); virtual void queryAtoms(Parameter > &, const std::string ="", const std::string = ""); virtual void queryMolecule(Parameter &, const std::string ="", const std::string = ""); virtual void queryMolecules(Parameter > &, const std::string ="", const std::string = ""); virtual void queryVector(Parameter &, const std::string ="", const std::string = ""); virtual void queryVectors(Parameter > &, const std::string ="", const std::string = ""); virtual void queryRealSpaceMatrix(Parameter &, const std::string ="", const std::string = ""); virtual void queryElement(Parameter &, const std::string ="", const std::string = ""); virtual void queryElements(Parameter > &, const std::string ="", const std::string = ""); virtual void queryFile(Parameter &, const std::string ="", const std::string = ""); virtual void queryFiles(Parameter > &, const std::string ="", const std::string = ""); virtual void queryRandomNumberDistribution_Parameters(Parameter &, const std::string ="", const std::string = ""); virtual bool display(); virtual void update(); protected: class AtomQtQuery; class AtomsQtQuery; class BooleanQtQuery; class RealSpaceMatrixQtQuery; class DoubleQtQuery; class DoublesQtQuery; class ElementQtQuery; class ElementsQtQuery; class EmptyQtQuery; class FileQtQuery; class FilesQtQuery; class IntQtQuery; class IntsQtQuery; class MoleculeQtQuery; class MoleculesQtQuery; class StringQtQuery; class StringsQtQuery; class UnsignedIntQtQuery; class UnsignedIntsQtQuery; class VectorQtQuery; class VectorsQtQuery; class RandomNumberDistribution_ParametersQtQuery; private: QBoxLayout *mainLayout; QBoxLayout *inputLayout; QBoxLayout *buttonLayout; QDialogButtonBox *buttons; }; #endif /* QTDIALOG_HPP_ */