Changeset 02ce36 for src/UIElements
- Timestamp:
- Jan 2, 2012, 1:00:04 PM (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:
- d82961
- Parents:
- b3fb31
- git-author:
- Frederik Heber <heber@…> (01/02/12 12:57:32)
- git-committer:
- Frederik Heber <heber@…> (01/02/12 13:00:04)
- Location:
- src/UIElements
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
src/UIElements/CommandLineUI/CommandLineStatusIndicator.cpp
rb3fb31 r02ce36 25 25 26 26 #include "Actions/Process.hpp" 27 #include "CodePatterns/Observer/Observable.hpp" 27 28 28 29 using namespace MoleCuilder; -
src/UIElements/CommandLineUI/CommandLineStatusIndicator.hpp
rb3fb31 r02ce36 15 15 16 16 17 #include "CodePatterns/Observer.hpp" 17 #include "CodePatterns/Observer/Observer.hpp" 18 19 class Observable; 18 20 19 21 class CommandLineStatusIndicator : public Observer -
src/UIElements/TextUI/TextStatusIndicator.hpp
rb3fb31 r02ce36 15 15 16 16 17 #include "CodePatterns/Observer .hpp"17 #include "CodePatterns/Observer/Observer.hpp" 18 18 19 19 class TextStatusIndicator : public Observer -
src/UIElements/Views/Qt4/Qt3D/GLMoleculeObject_atom.cpp
rb3fb31 r02ce36 28 28 #include "CodePatterns/Assert.hpp" 29 29 #include "CodePatterns/Log.hpp" 30 #include "CodePatterns/Observer/Notification.hpp" 30 31 31 32 #include "Descriptors/AtomIdDescriptor.hpp" … … 47 48 { 48 49 // sign on as observer (obtain non-const instance before) 49 atomref->signOn(this, atomref->getChannel(AtomObservable::IndexChanged));50 atomref->signOn(this, atomref->getChannel(AtomObservable::PositionChanged));51 atomref->signOn(this, atomref->getChannel(AtomObservable::ElementChanged));52 atomref->signOn(this, atomref->getChannel(AtomObservable::BondsChanged));50 atomref->signOn(this, AtomObservable::IndexChanged); 51 atomref->signOn(this, AtomObservable::PositionChanged); 52 atomref->signOn(this, AtomObservable::ElementChanged); 53 atomref->signOn(this, AtomObservable::BondsChanged); 53 54 54 55 // set the object's id … … 62 63 GLMoleculeObject_atom::~GLMoleculeObject_atom() 63 64 { 64 _atom->signOff(this, _atom->getChannel(AtomObservable::IndexChanged));65 _atom->signOff(this, _atom->getChannel(AtomObservable::PositionChanged));66 _atom->signOff(this, _atom->getChannel(AtomObservable::ElementChanged));67 _atom->signOff(this, _atom->getChannel(AtomObservable::BondsChanged));65 _atom->signOff(this, AtomObservable::IndexChanged); 66 _atom->signOff(this, AtomObservable::PositionChanged); 67 _atom->signOff(this, AtomObservable::ElementChanged); 68 _atom->signOff(this, AtomObservable::BondsChanged); 68 69 } 69 70 -
src/UIElements/Views/Qt4/Qt3D/GLMoleculeObject_atom.hpp
rb3fb31 r02ce36 16 16 #include "GLMoleculeObject.hpp" 17 17 18 #include "CodePatterns/Observer .hpp"18 #include "CodePatterns/Observer/Observer.hpp" 19 19 20 20 #include "Atom/atom.hpp" -
src/UIElements/Views/Qt4/Qt3D/GLWorldView.cpp
rb3fb31 r02ce36 27 27 28 28 #include "CodePatterns/Log.hpp" 29 #include "CodePatterns/Observer/Notification.hpp" 29 30 30 31 #include "World.hpp" … … 45 46 // sign on to changes in the world 46 47 World::getInstance().signOn(this); 47 World::getInstance().signOn(this, World:: getInstance().getChannel(World::AtomInserted));48 World::getInstance().signOn(this, World:: getInstance().getChannel(World::AtomRemoved));48 World::getInstance().signOn(this, World::AtomInserted); 49 World::getInstance().signOn(this, World::AtomRemoved); 49 50 } 50 51 … … 52 53 { 53 54 World::getInstance().signOff(this); 54 World::getInstance().signOff(this, World:: getInstance().getChannel(World::AtomInserted));55 World::getInstance().signOff(this, World:: getInstance().getChannel(World::AtomRemoved));55 World::getInstance().signOff(this, World::AtomInserted); 56 World::getInstance().signOff(this, World::AtomRemoved); 56 57 delete worldscene; 57 58 } -
src/UIElements/Views/Qt4/Qt3D/GLWorldView.hpp
rb3fb31 r02ce36 16 16 #include <Qt3D/qglview.h> 17 17 18 #include "CodePatterns/Observer .hpp"18 #include "CodePatterns/Observer/Observer.hpp" 19 19 20 20 #include "World.hpp" … … 61 61 62 62 63 //#include "CodePatterns/Observer .hpp"63 //#include "CodePatterns/Observer/Observer.hpp" 64 64 //#include "LinearAlgebra/Vector.hpp" 65 65 //#include "changetypes.hpp" -
src/UIElements/Views/Qt4/QtMoleculeView.hpp
rb3fb31 r02ce36 17 17 #include <string> 18 18 #include <QtGui/QTabWidget> 19 #include "CodePatterns/Observer .hpp"19 #include "CodePatterns/Observer/Observer.hpp" 20 20 21 21 class molecule; -
src/UIElements/Views/Qt4/QtStatusBar.hpp
rb3fb31 r02ce36 20 20 #include <QtGui/QStatusBar> 21 21 22 #include "CodePatterns/Observer .hpp"22 #include "CodePatterns/Observer/Observer.hpp" 23 23 24 24 class QLabel; -
src/UIElements/Views/Qt4/QtWorldView.hpp
rb3fb31 r02ce36 16 16 17 17 #include <QtGui/QTableWidget> 18 #include "CodePatterns/Observer .hpp"18 #include "CodePatterns/Observer/Observer.hpp" 19 19 20 20 class molecule;
Note:
See TracChangeset
for help on using the changeset viewer.