Changeset f10b0c for src/UIElements/Query
- Timestamp:
- Jun 11, 2012, 9:53:19 AM (13 years ago)
- Branches:
- Action_Thermostats, Add_AtomRandomPerturbation, Add_FitFragmentPartialChargesAction, Add_RotateAroundBondAction, Add_SelectAtomByNameAction, Added_ParseSaveFragmentResults, AddingActions_SaveParseParticleParameters, Adding_Graph_to_ChangeBondActions, Adding_MD_integration_tests, Adding_ParticleName_to_Atom, Adding_StructOpt_integration_tests, AtomFragments, Automaking_mpqc_open, AutomationFragmentation_failures, Candidate_v1.5.4, Candidate_v1.6.0, Candidate_v1.6.1, ChangeBugEmailaddress, ChangingTestPorts, ChemicalSpaceEvaluator, CombiningParticlePotentialParsing, Combining_Subpackages, Debian_Package_split, Debian_package_split_molecuildergui_only, Disabling_MemDebug, Docu_Python_wait, EmpiricalPotential_contain_HomologyGraph, EmpiricalPotential_contain_HomologyGraph_documentation, Enable_parallel_make_install, Enhance_userguide, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Example_ManyWaysToTranslateAtom, Exclude_Hydrogens_annealWithBondGraph, FitPartialCharges_GlobalError, Fix_BoundInBox_CenterInBox_MoleculeActions, Fix_ChargeSampling_PBC, Fix_ChronosMutex, Fix_FitPartialCharges, Fix_FitPotential_needs_atomicnumbers, Fix_ForceAnnealing, Fix_IndependentFragmentGrids, Fix_ParseParticles, Fix_ParseParticles_split_forward_backward_Actions, Fix_PopActions, Fix_QtFragmentList_sorted_selection, Fix_Restrictedkeyset_FragmentMolecule, Fix_StatusMsg, Fix_StepWorldTime_single_argument, Fix_Verbose_Codepatterns, Fix_fitting_potentials, Fixes, ForceAnnealing_goodresults, ForceAnnealing_oldresults, ForceAnnealing_tocheck, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults, ForceAnnealing_with_BondGraph_contraction-expansion, FragmentAction_writes_AtomFragments, FragmentMolecule_checks_bonddegrees, GeometryObjects, Gui_Fixes, Gui_displays_atomic_force_velocity, ImplicitCharges, IndependentFragmentGrids, IndependentFragmentGrids_IndividualZeroInstances, IndependentFragmentGrids_IntegrationTest, IndependentFragmentGrids_Sole_NN_Calculation, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, JobMarket_unresolvable_hostname_fix, MoreRobust_FragmentAutomation, ODR_violation_mpqc_open, PartialCharges_OrthogonalSummation, PdbParser_setsAtomName, PythonUI_with_named_parameters, QtGui_reactivate_TimeChanged_changes, Recreated_GuiChecks, Rewrite_FitPartialCharges, RotateToPrincipalAxisSystem_UndoRedo, SaturateAtoms_findBestMatching, SaturateAtoms_singleDegree, StoppableMakroAction, Subpackage_CodePatterns, Subpackage_JobMarket, Subpackage_LinearAlgebra, Subpackage_levmar, Subpackage_mpqc_open, Subpackage_vmg, Switchable_LogView, ThirdParty_MPQC_rebuilt_buildsystem, TrajectoryDependenant_MaxOrder, TremoloParser_IncreasedPrecision, TremoloParser_MultipleTimesteps, TremoloParser_setsAtomName, Ubuntu_1604_changes, stable
- Children:
- 95f965
- Parents:
- b9c69d
- git-author:
- Michael Ankele <ankele@…> (04/24/12 13:55:16)
- git-committer:
- Frederik Heber <heber@…> (06/11/12 09:53:19)
- Location:
- src/UIElements/Query
- Files:
-
- 20 edited
Legend:
- Unmodified
- Added
- Removed
-
src/UIElements/Query/AtomQuery.cpp
rb9c69d rf10b0c 23 23 24 24 // Atom Queries 25 Dialog::AtomQuery::AtomQuery( std::string title, std::string _description) :25 Dialog::AtomQuery::AtomQuery(Parameter<const atom *> ¶m, std::string title, std::string _description) : 26 26 Query(title, _description), 27 tmp( 0)27 tmp(param) 28 28 {} 29 29 … … 31 31 32 32 void Dialog::AtomQuery::setResult() { 33 ValueStorage::getInstance().setCurrentValue(title.c_str(), tmp);33 //ValueStorage::getInstance().setCurrentValue(title.c_str(), tmp); 34 34 } 35 35 -
src/UIElements/Query/AtomsQuery.cpp
rb9c69d rf10b0c 24 24 25 25 // Atoms Queries 26 Dialog::AtomsQuery::AtomsQuery( std::string title, std::string _description) :26 Dialog::AtomsQuery::AtomsQuery(Parameter<std::vector<const atom *> > ¶m, std::string title, std::string _description) : 27 27 Query(title, _description), 28 tmp( 0)28 tmp(param) 29 29 {} 30 30 … … 32 32 33 33 void Dialog::AtomsQuery::setResult() { 34 ValueStorage::getInstance().setCurrentValue(title.c_str(), tmp);34 //ValueStorage::getInstance().setCurrentValue(title.c_str(), tmp); 35 35 } 36 36 -
src/UIElements/Query/BooleanQuery.cpp
rb9c69d rf10b0c 24 24 25 25 // Bool Queries 26 Dialog::BooleanQuery::BooleanQuery( std::string title,std::string description) :26 Dialog::BooleanQuery::BooleanQuery(Parameter<bool> ¶m, std::string title,std::string description) : 27 27 Query(title, description), 28 tmp( false)28 tmp(param) 29 29 {} 30 30 … … 32 32 33 33 void Dialog::BooleanQuery::setResult() { 34 ValueStorage::getInstance().setCurrentValue(title.c_str(), tmp);34 //ValueStorage::getInstance().setCurrentValue(title.c_str(), tmp); 35 35 } 36 36 -
src/UIElements/Query/BoxQuery.cpp
rb9c69d rf10b0c 24 24 25 25 // Box Queries 26 Dialog::BoxQuery::BoxQuery(std::string title, std::string _description) : 27 Query(title, _description) 26 Dialog::BoxQuery::BoxQuery(Parameter<Box> ¶m, std::string title, std::string _description) : 27 Query(title, _description), 28 tmp(param) 28 29 {} 29 30 … … 32 33 33 34 void Dialog::BoxQuery::setResult() { 34 ValueStorage::getInstance().setCurrentValue(title.c_str(), tmp);35 //ValueStorage::getInstance().setCurrentValue(title.c_str(), tmp); 35 36 } 36 37 -
src/UIElements/Query/DoubleQuery.cpp
rb9c69d rf10b0c 24 24 25 25 // Double Queries 26 Dialog::DoubleQuery::DoubleQuery( std::string title, std::string _description) :26 Dialog::DoubleQuery::DoubleQuery(Parameter<double> ¶m, std::string title, std::string _description) : 27 27 Query(title, _description), 28 tmp( 0)28 tmp(param) 29 29 {} 30 30 … … 32 32 33 33 void Dialog::DoubleQuery::setResult() { 34 ValueStorage::getInstance().setCurrentValue(title.c_str(), tmp);34 //ValueStorage::getInstance().setCurrentValue(title.c_str(), tmp); 35 35 } 36 36 -
src/UIElements/Query/DoublesQuery.cpp
rb9c69d rf10b0c 24 24 25 25 // Doubles Queries 26 Dialog::DoublesQuery::DoublesQuery(std::string title, std::string _description) : 27 Query(title, _description) 26 Dialog::DoublesQuery::DoublesQuery(Parameter<std::vector<double> > ¶m, std::string title, std::string _description) : 27 Query(title, _description), 28 tmp(param) 28 29 {} 29 30 … … 31 32 32 33 void Dialog::DoublesQuery::setResult() { 33 ValueStorage::getInstance().setCurrentValue(title.c_str(), tmp);34 //ValueStorage::getInstance().setCurrentValue(title.c_str(), tmp); 34 35 } 35 36 -
src/UIElements/Query/ElementQuery.cpp
rb9c69d rf10b0c 24 24 25 25 // Element Queries 26 Dialog::ElementQuery::ElementQuery(std::string title, std::string _description) : 27 Query(title, _description) 26 Dialog::ElementQuery::ElementQuery(Parameter<const element *> ¶m, std::string title, std::string _description) : 27 Query(title, _description), 28 tmp(param) 28 29 {} 29 30 … … 31 32 32 33 void Dialog::ElementQuery::setResult(){ 33 ValueStorage::getInstance().setCurrentValue(title.c_str(), tmp);34 //ValueStorage::getInstance().setCurrentValue(title.c_str(), tmp); 34 35 } 35 36 -
src/UIElements/Query/ElementsQuery.cpp
rb9c69d rf10b0c 24 24 25 25 // Elements Queries 26 Dialog::ElementsQuery::ElementsQuery(std::string title, std::string _description) : 27 Query(title, _description) 26 Dialog::ElementsQuery::ElementsQuery(Parameter<std::vector<const element *> > ¶m, std::string title, std::string _description) : 27 Query(title, _description), 28 tmp(param) 28 29 {} 29 30 … … 31 32 32 33 void Dialog::ElementsQuery::setResult(){ 33 ValueStorage::getInstance().setCurrentValue(title.c_str(), tmp);34 //ValueStorage::getInstance().setCurrentValue(title.c_str(), tmp); 34 35 } 35 36 -
src/UIElements/Query/FileQuery.cpp
rb9c69d rf10b0c 24 24 25 25 // File Queries 26 Dialog::FileQuery::FileQuery(std::string title, std::string _description) : 27 Query(title, _description) 26 Dialog::FileQuery::FileQuery(Parameter<boost::filesystem::path> ¶m, std::string title, std::string _description) : 27 Query(title, _description), 28 tmp(param) 28 29 {} 29 30 … … 31 32 32 33 void Dialog::FileQuery::setResult(){ 33 ValueStorage::getInstance().setCurrentValue(title.c_str(), tmp);34 //ValueStorage::getInstance().setCurrentValue(title.c_str(), tmp); 34 35 } 35 36 -
src/UIElements/Query/IntQuery.cpp
rb9c69d rf10b0c 24 24 25 25 // Int Queries 26 Dialog::IntQuery::IntQuery( std::string title, std::string description) :26 Dialog::IntQuery::IntQuery(Parameter<int> ¶m, std::string title, std::string description) : 27 27 Query(title, description), 28 tmp( 0)28 tmp(param) 29 29 {} 30 30 … … 32 32 33 33 void Dialog::IntQuery::setResult() { 34 ValueStorage::getInstance().setCurrentValue(title.c_str(), tmp);34 //ValueStorage::getInstance().setCurrentValue(title.c_str(), tmp); 35 35 } 36 36 -
src/UIElements/Query/IntsQuery.cpp
rb9c69d rf10b0c 24 24 25 25 // Ints Queries 26 Dialog::IntsQuery::IntsQuery(std::string title, std::string description) : 27 Query(title, description) 26 Dialog::IntsQuery::IntsQuery(Parameter<std::vector<int> > ¶m, std::string title, std::string description) : 27 Query(title, description), 28 tmp(param) 28 29 {} 29 30 … … 31 32 32 33 void Dialog::IntsQuery::setResult() { 33 ValueStorage::getInstance().setCurrentValue(title.c_str(), tmp);34 //ValueStorage::getInstance().setCurrentValue(title.c_str(), tmp); 34 35 } 35 36 -
src/UIElements/Query/MoleculeQuery.cpp
rb9c69d rf10b0c 24 24 25 25 // Molecule Queries 26 Dialog::MoleculeQuery::MoleculeQuery( std::string title, std::string _description) :26 Dialog::MoleculeQuery::MoleculeQuery(Parameter<const molecule *> ¶m, std::string title, std::string _description) : 27 27 Query(title, _description), 28 tmp( 0)28 tmp(param) 29 29 {} 30 30 … … 32 32 33 33 void Dialog::MoleculeQuery::setResult() { 34 ValueStorage::getInstance().setCurrentValue(title.c_str(), tmp);34 //ValueStorage::getInstance().setCurrentValue(title.c_str(), tmp); 35 35 } 36 36 -
src/UIElements/Query/MoleculesQuery.cpp
rb9c69d rf10b0c 24 24 25 25 // Molecules Queries 26 Dialog::MoleculesQuery::MoleculesQuery( std::string title, std::string _description) :26 Dialog::MoleculesQuery::MoleculesQuery(Parameter<std::vector<const molecule *> > ¶m, std::string title, std::string _description) : 27 27 Query(title, _description), 28 tmp( 0)28 tmp(param) 29 29 {} 30 30 … … 32 32 33 33 void Dialog::MoleculesQuery::setResult() { 34 ValueStorage::getInstance().setCurrentValue(title.c_str(), tmp);34 //ValueStorage::getInstance().setCurrentValue(title.c_str(), tmp); 35 35 } 36 36 -
src/UIElements/Query/RandomNumberDistribution_ParametersQuery.cpp
rb9c69d rf10b0c 23 23 24 24 // RandomNumberDistribution_Parameters Queries 25 Dialog::RandomNumberDistribution_ParametersQuery::RandomNumberDistribution_ParametersQuery(std::string title, std::string _description) : 26 Query(title, _description) 25 Dialog::RandomNumberDistribution_ParametersQuery::RandomNumberDistribution_ParametersQuery(Parameter<RandomNumberDistribution_Parameters> ¶m, std::string title, std::string _description) : 26 Query(title, _description), 27 tmp(param) 27 28 {} 28 29 … … 30 31 31 32 void Dialog::RandomNumberDistribution_ParametersQuery::setResult() { 32 ValueStorage::getInstance().setCurrentValue(title.c_str(), tmp);33 //ValueStorage::getInstance().setCurrentValue(title.c_str(), tmp); 33 34 } 34 35 -
src/UIElements/Query/StringQuery.cpp
rb9c69d rf10b0c 24 24 25 25 // String Queries 26 Dialog::StringQuery::StringQuery(std::string title,std::string _description) : 27 Query(title, _description) 26 Dialog::StringQuery::StringQuery(Parameter<std::string> ¶m, std::string title,std::string _description) : 27 Query(title, _description), 28 tmp(param) 28 29 {} 29 30 … … 31 32 32 33 void Dialog::StringQuery::setResult() { 33 ValueStorage::getInstance().setCurrentValue(title.c_str(), tmp);34 //ValueStorage::getInstance().setCurrentValue(title.c_str(), tmp); 34 35 } 35 36 -
src/UIElements/Query/StringsQuery.cpp
rb9c69d rf10b0c 24 24 25 25 // Strings Queries 26 Dialog::StringsQuery::StringsQuery(std::string title,std::string _description) : 27 Query(title, _description) 26 Dialog::StringsQuery::StringsQuery(Parameter<std::vector<std::string> > ¶m, std::string title,std::string _description) : 27 Query(title, _description), 28 tmp(param) 28 29 {} 29 30 … … 31 32 32 33 void Dialog::StringsQuery::setResult() { 33 ValueStorage::getInstance().setCurrentValue(title.c_str(), tmp);34 //ValueStorage::getInstance().setCurrentValue(title.c_str(), tmp); 34 35 } 35 36 -
src/UIElements/Query/UnsignedIntQuery.cpp
rb9c69d rf10b0c 24 24 25 25 // UnsignedInt Queries 26 Dialog::UnsignedIntQuery::UnsignedIntQuery( std::string title, std::string description) :26 Dialog::UnsignedIntQuery::UnsignedIntQuery(Parameter<unsigned int> ¶m, std::string title, std::string description) : 27 27 Query(title, description), 28 tmp( 0)28 tmp(param) 29 29 {} 30 30 … … 32 32 33 33 void Dialog::UnsignedIntQuery::setResult() { 34 ValueStorage::getInstance().setCurrentValue(title.c_str(), tmp);34 //ValueStorage::getInstance().setCurrentValue(title.c_str(), tmp); 35 35 } 36 36 -
src/UIElements/Query/UnsignedIntsQuery.cpp
rb9c69d rf10b0c 24 24 25 25 // UnsignedInts Queries 26 Dialog::UnsignedIntsQuery::UnsignedIntsQuery(std::string title, std::string description) : 27 Query(title, description) 26 Dialog::UnsignedIntsQuery::UnsignedIntsQuery(Parameter<std::vector<unsigned int> > ¶m, std::string title, std::string description) : 27 Query(title, description), 28 tmp(param) 28 29 {} 29 30 … … 31 32 32 33 void Dialog::UnsignedIntsQuery::setResult() { 33 ValueStorage::getInstance().setCurrentValue(title.c_str(), tmp);34 //ValueStorage::getInstance().setCurrentValue(title.c_str(), tmp); 34 35 } 35 36 -
src/UIElements/Query/VectorQuery.cpp
rb9c69d rf10b0c 24 24 25 25 // Vector Queries 26 Dialog::VectorQuery::VectorQuery( std::string title,bool _check, std::string _description) :26 Dialog::VectorQuery::VectorQuery(Parameter<Vector> ¶m, std::string title,bool _check, std::string _description) : 27 27 Query(title, _description), 28 tmp(param), 28 29 check(_check) 29 30 {} … … 33 34 34 35 void Dialog::VectorQuery::setResult() { 35 ValueStorage::getInstance().setCurrentValue(title.c_str(), tmp);36 //ValueStorage::getInstance().setCurrentValue(title.c_str(), tmp); 36 37 } 37 38 -
src/UIElements/Query/VectorsQuery.cpp
rb9c69d rf10b0c 24 24 25 25 // Vectors Queries 26 Dialog::VectorsQuery::VectorsQuery( std::string title,bool _check, std::string _description) :26 Dialog::VectorsQuery::VectorsQuery(Parameter<std::vector<Vector> > ¶m, std::string title,bool _check, std::string _description) : 27 27 Query(title, _description), 28 tmp(param), 28 29 check(_check) 29 30 {} … … 33 34 34 35 void Dialog::VectorsQuery::setResult() { 35 ValueStorage::getInstance().setCurrentValue(title.c_str(), tmp);36 //ValueStorage::getInstance().setCurrentValue(title.c_str(), tmp); 36 37 } 37 38
Note:
See TracChangeset
for help on using the changeset viewer.