Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/UIElements/Qt4/QtDialog.cpp

    r7d9416 r2c5765  
    8080}
    8181
    82 void QtDialog::queryBoolean(Parameter<bool> &param, const char* title,string)
     82void QtDialog::queryBoolean(const char* title,string)
    8383{
    84   registerQuery(new BooleanQtQuery(param,title,inputLayout,this));
     84  registerQuery(new BooleanQtQuery(title,inputLayout,this));
    8585}
    8686
    87 void QtDialog::queryAtom(Parameter<const atom *> &param, const char* title, std::string)
     87void QtDialog::queryAtom(const char* title, std::string)
    8888{
    89   registerQuery(new AtomQtQuery(param,title,inputLayout,this));
     89  registerQuery(new AtomQtQuery(title,inputLayout,this));
    9090}
    9191
    92 void QtDialog::queryAtoms(Parameter<std::vector<const atom *> > &param, const char* title, std::string)
     92void QtDialog::queryAtoms(const char* title, std::string)
    9393{
    94   registerQuery(new AtomsQtQuery(param,title,inputLayout,this));
     94  registerQuery(new AtomsQtQuery(title,inputLayout,this));
    9595}
    9696
    97 void QtDialog::queryRealSpaceMatrix(Parameter<RealSpaceMatrix> &param, const char* title, std::string)
     97void QtDialog::queryBox(const char* title, std::string)
    9898{
    99   registerQuery(new RealSpaceMatrixQtQuery(param,title,inputLayout,this));
     99  registerQuery(new BoxQtQuery(title,inputLayout,this));
    100100}
    101101
    102 void QtDialog::queryInt(Parameter<int> &param, const char *title,string)
     102void QtDialog::queryInt(const char *title,string)
    103103{
    104   registerQuery(new IntQtQuery(param,title,inputLayout,this));
     104  registerQuery(new IntQtQuery(title,inputLayout,this));
    105105}
    106106
    107 void QtDialog::queryInts(Parameter<std::vector<int> > &param, const char *title,string)
     107void QtDialog::queryInts(const char *title,string)
    108108{
    109   registerQuery(new IntsQtQuery(param,title,inputLayout,this));
     109  registerQuery(new IntsQtQuery(title,inputLayout,this));
    110110}
    111111
    112 void QtDialog::queryUnsignedInt(Parameter<unsigned int> &param, const char *title,string)
     112void QtDialog::queryUnsignedInt(const char *title,string)
    113113{
    114   registerQuery(new UnsignedIntQtQuery(param,title,inputLayout,this));
     114  registerQuery(new UnsignedIntQtQuery(title,inputLayout,this));
    115115}
    116116
    117 void QtDialog::queryUnsignedInts(Parameter<std::vector<unsigned int> > &param, const char *title,string)
     117void QtDialog::queryUnsignedInts(const char *title,string)
    118118{
    119   registerQuery(new UnsignedIntsQtQuery(param,title,inputLayout,this));
     119  registerQuery(new UnsignedIntsQtQuery(title,inputLayout,this));
    120120}
    121121
    122 void QtDialog::queryDouble(Parameter<double> &param, const char* title,string)
     122void QtDialog::queryDouble(const char* title,string)
    123123{
    124   registerQuery(new DoubleQtQuery(param,title,inputLayout,this));
     124  registerQuery(new DoubleQtQuery(title,inputLayout,this));
    125125}
    126126
    127 void QtDialog::queryDoubles(Parameter<std::vector<double> > &param, const char* title,string)
     127void QtDialog::queryDoubles(const char* title,string)
    128128{
    129   registerQuery(new DoublesQtQuery(param,title,inputLayout,this));
     129  registerQuery(new DoublesQtQuery(title,inputLayout,this));
    130130}
    131131
    132 void QtDialog::queryString(Parameter<std::string> &param, const char* title,string)
     132void QtDialog::queryString(const char* title,string)
    133133{
    134   registerQuery(new StringQtQuery(param,title,inputLayout,this));
     134  registerQuery(new StringQtQuery(title,inputLayout,this));
    135135}
    136136
    137 void QtDialog::queryStrings(Parameter<std::vector<std::string> > &param, const char* title,string)
     137void QtDialog::queryStrings(const char* title,string)
    138138{
    139   registerQuery(new StringsQtQuery(param, title,inputLayout,this));
     139  registerQuery(new StringsQtQuery(title,inputLayout,this));
    140140}
    141141
    142 void QtDialog::queryMolecule(Parameter<const molecule *> &param, const char *title,string)
     142void QtDialog::queryMolecule(const char *title,string)
    143143{
    144   registerQuery(new MoleculeQtQuery(param,title,inputLayout,this));
     144  registerQuery(new MoleculeQtQuery(title,inputLayout,this));
    145145}
    146146
    147 void QtDialog::queryMolecules(Parameter<std::vector<const molecule *> > &param, const char *title,string)
     147void QtDialog::queryMolecules(const char *title,string)
    148148{
    149   registerQuery(new MoleculesQtQuery(param, title,inputLayout,this));
     149  registerQuery(new MoleculesQtQuery(title,inputLayout,this));
    150150}
    151151
    152 void QtDialog::queryVector(Parameter<Vector> &param, const char* title, bool check,string)
     152void QtDialog::queryVector(const char* title, bool check,string)
    153153{
    154   registerQuery(new VectorQtQuery(param,title,check,inputLayout,this));
     154  registerQuery(new VectorQtQuery(title,check,inputLayout,this));
    155155}
    156156
    157 void QtDialog::queryVectors(Parameter<std::vector<Vector> > &param, const char* title, bool check,string)
     157void QtDialog::queryVectors(const char* title, bool check,string)
    158158{
    159   registerQuery(new VectorsQtQuery(param, title,check,inputLayout,this));
     159  registerQuery(new VectorsQtQuery(title,check,inputLayout,this));
    160160}
    161161
    162 void QtDialog::queryElement(Parameter<const element *> &param, const char* title, std::string)
     162void QtDialog::queryElement(const char* title, std::string)
    163163{
    164   registerQuery(new ElementQtQuery(param,title,inputLayout,this));
     164  registerQuery(new ElementQtQuery(title,inputLayout,this));
    165165}
    166166
    167 void QtDialog::queryElements(Parameter<std::vector<const element *> > &param, const char* title, std::string)
     167void QtDialog::queryElements(const char* title, std::string)
    168168{
    169   registerQuery(new ElementsQtQuery(param,title,inputLayout,this));
     169  registerQuery(new ElementsQtQuery(title,inputLayout,this));
    170170}
    171171
    172 void QtDialog::queryFile(Parameter<boost::filesystem::path> &param, const char* title, std::string)
     172void QtDialog::queryFile(const char* title, std::string)
    173173{
    174   registerQuery(new FileQtQuery(param,title,inputLayout,this));
     174  registerQuery(new FileQtQuery(title,inputLayout,this));
    175175}
    176176
    177 void QtDialog::queryRandomNumberDistribution_Parameters(Parameter<RandomNumberDistribution_Parameters> &param, const char* title, std::string)
     177void QtDialog::queryFiles(const char* title, std::string)
    178178{
    179   registerQuery(new RandomNumberDistribution_ParametersQtQuery(param,title,inputLayout,this));
     179  registerQuery(new FilesQtQuery(title,inputLayout,this));
     180}
     181
     182void QtDialog::queryRandomNumberDistribution_Parameters(const char* title, std::string)
     183{
     184  registerQuery(new RandomNumberDistribution_ParametersQtQuery(title,inputLayout,this));
    180185}
    181186
Note: See TracChangeset for help on using the changeset viewer.