Changeset b2531f for src/UIElements/TextUI
- Timestamp:
- Jun 27, 2010, 12:52:31 AM (15 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:
- bdb143
- Parents:
- b0acc3
- git-author:
- Frederik Heber <heber@…> (06/26/10 23:55:00)
- git-committer:
- Frederik Heber <heber@…> (06/27/10 00:52:31)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/UIElements/TextUI/TextWindow.cpp
rb0acc3 rb2531f 71 71 new ActionMenuItem('a',"set molecule (in)active",main_menu,setMoleculeAction); 72 72 73 TextMenu *AnalysisMenu = new TextMenu(Log() << Verbose(0), "Analysis"); 74 NametoTextMenuMap.insert( pair <std::string, TextMenu *> ("analysis", AnalysisMenu) ); 75 new SubMenuItem('A',"Analysis (pair correlation, volume)",main_menu,AnalysisMenu); 76 77 TextMenu *CommandMenu = new TextMenu(Log() << Verbose(0), "Configuration"); 78 NametoTextMenuMap.insert( pair <std::string, TextMenu *> ("command", CommandMenu) ); 79 new SubMenuItem('c',"configuration",main_menu,CommandMenu); 80 81 TextMenu *AtomMenu = new TextMenu(Log() << Verbose(0), "Atoms"); 82 NametoTextMenuMap.insert( pair <std::string, TextMenu *> ("atom", AtomMenu) ); 83 new SubMenuItem('e',"edit atoms",main_menu,AtomMenu); 84 85 TextMenu *FragmentationMenu = new TextMenu(Log() << Verbose(0), "Fragmentation"); 86 NametoTextMenuMap.insert( pair <std::string, TextMenu *> ("fragmentation", FragmentationMenu) ); 87 new SubMenuItem('f',"fragmentation",main_menu,FragmentationMenu); 88 89 TextMenu *ParserMenu = new TextMenu(Log() << Verbose(0), "Parse files"); 90 NametoTextMenuMap.insert( pair <std::string, TextMenu *> ("parser", ParserMenu) ); 91 new SubMenuItem('p',"parse files into system",main_menu,ParserMenu); 92 93 TextMenu *MoleculesMenu = new TextMenu(Log() << Verbose(0), "Edit Molecules"); 94 NametoTextMenuMap.insert( pair <std::string, TextMenu *> ("analysis", AnalysisMenu) ); 95 new SubMenuItem('m',"edit molecules (load, parse, save)",main_menu,MoleculesMenu); 96 97 TextMenu *TesselationMenu = new TextMenu(Log() << Verbose(0), "Tesselate Molecules"); 98 NametoTextMenuMap.insert( pair <std::string, TextMenu *> ("tesselation", TesselationMenu) ); 99 new SubMenuItem('t',"tesselate molecules",main_menu,TesselationMenu); 100 101 TextMenu *WorldMenu = new TextMenu(Log() << Verbose(0), "World"); 102 NametoTextMenuMap.insert( pair <std::string, TextMenu *> ("world", WorldMenu) ); 103 new SubMenuItem('w',"edit world",main_menu,WorldMenu); 73 TextMenu *Menu = NULL; 74 std::set <char> ShortcutList; 75 for(map<std::string, pair<std::string,std::string> >::iterator iter = MapOfActions::getInstance().MenuDescription.begin(); iter != MapOfActions::getInstance().MenuDescription.end(); ++iter) { 76 Menu = new TextMenu(Log() << Verbose(0), iter->second.second); 77 NametoTextMenuMap.insert( pair <std::string, TextMenu *> (iter->first, Menu) ); 78 new SubMenuItem(getSuitableShortForm(ShortcutList,iter->first),iter->second.first.c_str(),main_menu,Menu); 79 } 104 80 105 81 new SeperatorItem(main_menu);
Note:
See TracChangeset
for help on using the changeset viewer.