- Timestamp:
- Dec 4, 2010, 11:42:39 PM (14 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:
- 3a21a7
- Parents:
- f0f9a6
- git-author:
- Frederik Heber <heber@…> (11/08/10 12:32:45)
- git-committer:
- Frederik Heber <heber@…> (12/04/10 23:42:39)
- Location:
- src/UIElements
- Files:
-
- 3 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
src/UIElements/Makefile.am
rf0f9a6 re9be39 33 33 Menu/TextMenu/SubMenuItem.cpp \ 34 34 Menu/TextMenu/ActionMenuItem.cpp \ 35 Menu/TextMenu/Sep eratorItem.cpp \35 Menu/TextMenu/SeparatorMenuItem.cpp \ 36 36 Menu/TextMenu/DisplayMenuItem.cpp 37 37 … … 42 42 Menu/TextMenu/SubMenuItem.hpp \ 43 43 Menu/TextMenu/ActionMenuItem.hpp \ 44 Menu/TextMenu/Sep eratorItem.hpp \44 Menu/TextMenu/SeparatorMenuItem.hpp \ 45 45 Menu/TextMenu/DisplayMenuItem.hpp 46 46 -
src/UIElements/Menu/TextMenu/SeparatorMenuItem.cpp
rf0f9a6 re9be39 7 7 8 8 /* 9 * Sep eratorItem.cpp9 * SeparatorMenuItem.cpp 10 10 * 11 11 * Created on: Dec 11, 2009 … … 23 23 #include <sstream> 24 24 25 #include "Menu/TextMenu/Sep eratorItem.hpp"25 #include "Menu/TextMenu/SeparatorMenuItem.hpp" 26 26 #include "defs.hpp" 27 27 28 28 29 Sep eratorItem::SeperatorItem(TxMenu* const menu):29 SeparatorMenuItem::SeparatorMenuItem(TxMenu* const menu): 30 30 MenuItem('\0',"",menu), 31 31 spacer(STD_SEPERATOR_SPACER), … … 36 36 } 37 37 38 Sep eratorItem::SeperatorItem(TxMenu* const menu,char _spacer, int _length):38 SeparatorMenuItem::SeparatorMenuItem(TxMenu* const menu,char _spacer, int _length): 39 39 MenuItem('\0',"",menu), 40 40 spacer(_spacer), … … 45 45 } 46 46 47 Sep eratorItem::~SeperatorItem()47 SeparatorMenuItem::~SeparatorMenuItem() 48 48 { 49 49 // TODO Auto-generated destructor stub … … 51 51 52 52 53 void Sep eratorItem::doTrigger(){}54 bool Sep eratorItem::checkTrigger(char){53 void SeparatorMenuItem::doTrigger(){} 54 bool SeparatorMenuItem::checkTrigger(char){ 55 55 return false; 56 56 } 57 57 58 const std::string Sep eratorItem::getDescription() {58 const std::string SeparatorMenuItem::getDescription() { 59 59 return std::string(""); 60 60 } 61 61 62 const std::string Sep eratorItem::formatEntry(){62 const std::string SeparatorMenuItem::formatEntry(){ 63 63 std::stringstream s; 64 64 for(int i=0; i<length;i++) -
src/UIElements/Menu/TextMenu/SeparatorMenuItem.hpp
rf0f9a6 re9be39 1 1 /* 2 * Sep eratorItem.h2 * SeparatorMenuItem.h 3 3 * 4 4 * Created on: Dec 11, 2009 … … 6 6 */ 7 7 8 #ifndef SEP ERATORITEM_H_9 #define SEP ERATORITEM_H_8 #ifndef SEPARATORITEM_H_ 9 #define SEPARATORITEM_H_ 10 10 11 11 #include <string> … … 16 16 17 17 /** 18 * Produce a Sep erator within a Menu.18 * Produce a Separator within a Menu. 19 19 * 20 20 * All triggers are ignored for this Item. 21 21 */ 22 class Sep eratorItem : public MenuItem22 class SeparatorMenuItem : public MenuItem 23 23 { 24 24 public: 25 Sep eratorItem(TxMenu* const );26 Sep eratorItem(TxMenu* const ,char,int);27 virtual ~Sep eratorItem();25 SeparatorMenuItem(TxMenu* const ); 26 SeparatorMenuItem(TxMenu* const ,char,int); 27 virtual ~SeparatorMenuItem(); 28 28 29 29 virtual void doTrigger(); … … 38 38 }; 39 39 40 #endif /* SEP ERATORITEM_H_ */40 #endif /* SEPARATORITEM_H_ */ -
src/UIElements/Menu/TextMenu/TextMenu.hpp
rf0f9a6 re9be39 21 21 #include "Menu/TextMenu/TxMenuLeaveAction.hpp" 22 22 #include "Menu/TextMenu/ActionMenuItem.hpp" 23 #include "Menu/TextMenu/Sep eratorItem.hpp"23 #include "Menu/TextMenu/SeparatorMenuItem.hpp" 24 24 #include "Menu/TextMenu/SubMenuItem.hpp" 25 25 … … 114 114 virtual void addSeparatorItem() 115 115 { 116 new Sep eratorItem(MenuInstance);116 new SeparatorMenuItem(MenuInstance); 117 117 } 118 118 -
src/UIElements/TextUI/TextWindow.cpp
rf0f9a6 re9be39 26 26 #include "Menu/TextMenu/TxMenu.hpp" 27 27 #include "Menu/TextMenu/ActionMenuItem.hpp" 28 #include "Menu/TextMenu/Sep eratorItem.hpp"28 #include "Menu/TextMenu/SeparatorMenuItem.hpp" 29 29 #include "Menu/TextMenu/DisplayMenuItem.hpp" 30 30 #include "Menu/TextMenu/SubMenuItem.hpp" … … 65 65 new DisplayMenuItem(main_menu->getMenuInstance(),moleculeView,"Molecule List"); 66 66 67 new Sep eratorItem(main_menu->getMenuInstance());67 new SeparatorMenuItem(main_menu->getMenuInstance()); 68 68 69 69 main_menu->init(); 70 70 71 new Sep eratorItem(main_menu->getMenuInstance());71 new SeparatorMenuItem(main_menu->getMenuInstance()); 72 72 73 73 // save has reserved key 's'
Note:
See TracChangeset
for help on using the changeset viewer.