Changeset a881f5 for src/UIElements


Ignore:
Timestamp:
Aug 5, 2010, 8:06:42 PM (15 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:
6d587e
Parents:
5fbaeb (diff), f761c4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'StructureRefactoring' into stable

Conflicts:

src/Actions/AnalysisAction/PairCorrelationAction.hpp
src/Actions/AnalysisAction/SurfaceCorrelationAction.hpp

  • due to different ordering of vector, string includes
Location:
src/UIElements
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • src/UIElements/Dialog.cpp

    r5fbaeb ra881f5  
    6868}
    6969
     70bool Dialog::hasQueries(){
     71  return queries.size();
     72}
     73
    7074/****************** Query types Infrastructure **************************/
    7175
  • src/UIElements/Dialog.hpp

    r5fbaeb ra881f5  
    6161  virtual void setAll();
    6262
     63  virtual bool hasQueries();
     64
    6365protected:
    6466  // methodology for handling queries
  • src/UIElements/Makefile.am

    r5fbaeb ra881f5  
    4646  Dialog.cpp \
    4747  MainWindow.cpp \
    48   UIFactory.cpp \
    4948  ValueStorage.cpp
    5049 
     
    5756  Dialog.hpp \
    5857  MainWindow.hpp \
    59   UIFactory.hpp \
    6058  ValueStorage.hpp
    6159
     
    8280  CommandLineUI/CommandLineWindow.hpp
    8381
    84 
     82unity.cpp:
     83        echo "" >  unity.cpp; \
     84        list='$(UISOURCE)'; for file in $$list; do \
     85          echo "#include \"$(srcdir)/$$file\"" >> unity.cpp; \
     86        done;
     87       
     88MOSTLYCLEANFILES = unity.cpp
  • src/UIElements/Menu/TextMenu.cpp

    r5fbaeb ra881f5  
    127127}
    128128
    129 Dialog* TextMenu::LeaveAction::createDialog(){
     129Dialog* TextMenu::LeaveAction::fillDialog(Dialog *dialog){
     130  ASSERT(dialog,"No Dialog given when filling action dialog");
     131  return dialog;
    130132}
    131133
  • src/UIElements/Menu/TextMenu.hpp

    r5fbaeb ra881f5  
    3535    bool shouldUndo();
    3636
     37  protected:
     38    virtual Dialog* fillDialog(Dialog *dialog);
    3739  private:
    38     virtual Dialog* createDialog();
    3940    virtual Action::state_ptr performCall();
    4041    virtual Action::state_ptr performUndo(Action::state_ptr);
  • src/UIElements/QT4/QTDialog.cpp

    r5fbaeb ra881f5  
    2323#include <Qt/qpushbutton.h>
    2424#include <Qt/qcombobox.h>
     25
     26#include <boost/lexical_cast.hpp>
    2527
    2628#include "Helpers/MemDebug.hpp"
  • src/UIElements/TextUI/TextDialog.cpp

    r5fbaeb ra881f5  
    1414#include <Descriptors/MoleculeDescriptor.hpp>
    1515#include <Descriptors/MoleculeIdDescriptor.hpp>
     16#include <boost/lexical_cast.hpp>
    1617#include "TextUI/TextDialog.hpp"
    1718
     
    524525    }
    525526  }
     527  return true;
    526528}
    527529
  • src/UIElements/TextUI/TextWindow.cpp

    r5fbaeb ra881f5  
    2525#include "Views/StreamStringView.hpp"
    2626#include "Views/MethodStringView.hpp"
    27 #include "Helpers/MemDebug.hpp"
    2827
    2928#include "defs.hpp"
Note: See TracChangeset for help on using the changeset viewer.