Ignore:
Timestamp:
Sep 11, 2014, 7:20:26 AM (11 years ago)
Author:
Frederik Heber <heber@…>
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:
0ac3e3
Parents:
0741f4d
git-author:
Frederik Heber <heber@…> (09/10/14 22:12:17)
git-committer:
Frederik Heber <heber@…> (09/11/14 07:20:26)
Message:

FIX: QtQueryList now works with pointers, FileQtQuery gives name of file.

  • FileQtQuery always said "input-file:" which becomes ambigious when multiple files are queried in a single dialog.
  • Value_string was a specialization for string type. This was used to also specialize for element type (and also for atom and molecule type).
  • This automatically fixes problems where QtQueryList would show memory addresses in the list instead of e.g. element names. This occurs because toString() is used on the pointer, now getName() is called.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parameters/Makefile.am

    r0741f4d rf8bccc  
    44
    55PARAMETERSOURCE = \
     6        Parameters/Specifics/Value_atom.cpp \
     7        Parameters/Specifics/Value_element.cpp \
     8        Parameters/Specifics/Value_molecule.cpp \
     9        Parameters/Specifics/Value_string.cpp \
    610        Parameters/Validators/Specific/ActionNameValidator.cpp \
    711        Parameters/Validators/Specific/AtomDataValidator.cpp \
     
    2630        Parameters/Validators/Specific/VectorNotZeroValidator.cpp \
    2731        Parameters/Validators/Specific/VectorPositiveComponentsValidator.cpp \
    28         Parameters/Validators/Specific/VectorZeroOneComponentsValidator.cpp \
    29         Parameters/Value_string.cpp
     32        Parameters/Validators/Specific/VectorZeroOneComponentsValidator.cpp
    3033
    3134PARAMETERHEADER = \
     
    3437        Parameters/ParameterInterface.hpp \
    3538        Parameters/StreamOperators.hpp \
     39        Parameters/ContinuousValue.hpp \
     40        Parameters/ContinuousValue_impl.hpp \
     41        Parameters/Value.hpp \
     42        Parameters/Value_impl.hpp \
     43        Parameters/ValueAsString.hpp \
     44        Parameters/ValueInterface.hpp \
     45        Parameters/Specifics/Value_atom.hpp \
     46        Parameters/Specifics/Value_element.hpp \
     47        Parameters/Specifics/Value_molecule.hpp \
     48        Parameters/Specifics/Value_string.hpp \
    3649        Parameters/Validators/DiscreteValidator.hpp \
    3750        Parameters/Validators/DiscreteValidator_impl.hpp \
     
    7386        Parameters/Validators/Specific/VectorNotZeroValidator.hpp \
    7487        Parameters/Validators/Specific/VectorPositiveComponentsValidator.hpp \
    75         Parameters/Validators/Specific/VectorZeroOneComponentsValidator.hpp \
    76         Parameters/ContinuousValue.hpp \
    77         Parameters/ContinuousValue_impl.hpp \
    78         Parameters/Value.hpp \
    79         Parameters/Value_impl.hpp \
    80         Parameters/Value_string.hpp \
    81         Parameters/ValueAsString.hpp \
    82         Parameters/ValueInterface.hpp
     88        Parameters/Validators/Specific/VectorZeroOneComponentsValidator.hpp
    8389
    8490if CONDLEVMAR
Note: See TracChangeset for help on using the changeset viewer.