Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified src/UIElements/TextDialog.hpp

    r97ebf8 r86466e  
    1313#include "UIElements/Dialog.hpp"
    1414
    15 class atom;
    16 class element;
    17 class molecule;
    18 class Vector;
    19 
    2015class TextDialog : public Dialog
    2116{
     
    2520
    2621  virtual void queryEmpty(const char *, std::string = "");
    27   virtual void queryBoolean(const char *, bool *, std::string = "");
    2822  virtual void queryInt(const char *, int *, std::string = "");
    2923  virtual void queryString(const char*, std::string *, std::string = "");
    3024  virtual void queryDouble(const char*, double*, std::string = "");
    31   virtual void queryAtom(const char*,atom**,std::string = "");
    32   virtual void queryMolecule(const char*,molecule**,std::string = "");
     25  virtual void queryMolecule(const char*,molecule**,MoleculeListClass*, std::string = "");
    3326  virtual void queryVector(const char*,Vector *,const double * const,bool, std::string = "");
    34   virtual void queryBox(const char*,double ** const, std::string = "");
    3527  virtual void queryElement(const char*,const element **, std::string = "");
    3628
     
    4133    EmptyTextQuery(std::string title, std::string _description = NULL);
    4234    virtual ~EmptyTextQuery();
    43     virtual bool handle();
    44   };
    45 
    46   class BooleanTextQuery : public Dialog::BooleanQuery {
    47   public:
    48     BooleanTextQuery(std::string title, bool *_target, std::string _description = NULL);
    49     virtual ~BooleanTextQuery();
    5035    virtual bool handle();
    5136  };
     
    7257  };
    7358
    74   class AtomTextQuery : public Dialog::AtomQuery {
    75   public:
    76     AtomTextQuery(std::string title, atom **_target, std::string _description = NULL);
    77     virtual ~AtomTextQuery();
    78     virtual bool handle();
    79   };
    80 
    8159  class MoleculeTextQuery : public Dialog::MoleculeQuery {
    8260  public:
    83     MoleculeTextQuery(std::string title, molecule **_target, std::string _description = NULL);
     61    MoleculeTextQuery(std::string title, molecule **_target, MoleculeListClass *_molecules, std::string _description = NULL);
    8462    virtual ~MoleculeTextQuery();
    8563    virtual bool handle();
     
    9068    VectorTextQuery(std::string title,Vector *_target,const double *const _cellSize,bool _check, std::string _description = NULL);
    9169    virtual ~VectorTextQuery();
    92     virtual bool handle();
    93   };
    94 
    95   class BoxTextQuery : public Dialog::BoxQuery {
    96   public:
    97     BoxTextQuery(std::string title,double ** const _cellSize, std::string _description = NULL);
    98     virtual ~BoxTextQuery();
    9970    virtual bool handle();
    10071  };
Note: See TracChangeset for help on using the changeset viewer.