Changeset e9be39 for src


Ignore:
Timestamp:
Dec 4, 2010, 11:42:39 PM (14 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:
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)
Message:

Renamed SeperatorItem -> SeparatorMenuItem.

  • in files and declarations.
Location:
src/UIElements
Files:
3 edited
2 moved

Legend:

Unmodified
Added
Removed
  • src/UIElements/Makefile.am

    rf0f9a6 re9be39  
    3333  Menu/TextMenu/SubMenuItem.cpp \
    3434  Menu/TextMenu/ActionMenuItem.cpp \
    35   Menu/TextMenu/SeperatorItem.cpp \
     35  Menu/TextMenu/SeparatorMenuItem.cpp \
    3636  Menu/TextMenu/DisplayMenuItem.cpp
    3737 
     
    4242  Menu/TextMenu/SubMenuItem.hpp \
    4343  Menu/TextMenu/ActionMenuItem.hpp \
    44   Menu/TextMenu/SeperatorItem.hpp \
     44  Menu/TextMenu/SeparatorMenuItem.hpp \
    4545  Menu/TextMenu/DisplayMenuItem.hpp
    4646
  • src/UIElements/Menu/TextMenu/SeparatorMenuItem.cpp

    rf0f9a6 re9be39  
    77
    88/*
    9  * SeperatorItem.cpp
     9 * SeparatorMenuItem.cpp
    1010 *
    1111 *  Created on: Dec 11, 2009
     
    2323#include <sstream>
    2424
    25 #include "Menu/TextMenu/SeperatorItem.hpp"
     25#include "Menu/TextMenu/SeparatorMenuItem.hpp"
    2626#include "defs.hpp"
    2727
    2828
    29 SeperatorItem::SeperatorItem(TxMenu* const menu):
     29SeparatorMenuItem::SeparatorMenuItem(TxMenu* const menu):
    3030  MenuItem('\0',"",menu),
    3131  spacer(STD_SEPERATOR_SPACER),
     
    3636}
    3737
    38 SeperatorItem::SeperatorItem(TxMenu* const menu,char _spacer, int _length):
     38SeparatorMenuItem::SeparatorMenuItem(TxMenu* const menu,char _spacer, int _length):
    3939  MenuItem('\0',"",menu),
    4040  spacer(_spacer),
     
    4545}
    4646
    47 SeperatorItem::~SeperatorItem()
     47SeparatorMenuItem::~SeparatorMenuItem()
    4848{
    4949  // TODO Auto-generated destructor stub
     
    5151
    5252
    53 void SeperatorItem::doTrigger(){}
    54 bool SeperatorItem::checkTrigger(char){
     53void SeparatorMenuItem::doTrigger(){}
     54bool SeparatorMenuItem::checkTrigger(char){
    5555  return false;
    5656}
    5757
    58 const std::string SeperatorItem::getDescription() {
     58const std::string SeparatorMenuItem::getDescription() {
    5959  return std::string("");
    6060}
    6161
    62 const std::string SeperatorItem::formatEntry(){
     62const std::string SeparatorMenuItem::formatEntry(){
    6363  std::stringstream s;
    6464  for(int i=0; i<length;i++)
  • src/UIElements/Menu/TextMenu/SeparatorMenuItem.hpp

    rf0f9a6 re9be39  
    11/*
    2  * SeperatorItem.h
     2 * SeparatorMenuItem.h
    33 *
    44 *  Created on: Dec 11, 2009
     
    66 */
    77
    8 #ifndef SEPERATORITEM_H_
    9 #define SEPERATORITEM_H_
     8#ifndef SEPARATORITEM_H_
     9#define SEPARATORITEM_H_
    1010
    1111#include <string>
     
    1616
    1717/**
    18  * Produce a Seperator within a Menu.
     18 * Produce a Separator within a Menu.
    1919 *
    2020 * All triggers are ignored for this Item.
    2121 */
    22 class SeperatorItem : public MenuItem
     22class SeparatorMenuItem : public MenuItem
    2323{
    2424public:
    25   SeperatorItem(TxMenu* const );
    26   SeperatorItem(TxMenu* const ,char,int);
    27   virtual ~SeperatorItem();
     25  SeparatorMenuItem(TxMenu* const );
     26  SeparatorMenuItem(TxMenu* const ,char,int);
     27  virtual ~SeparatorMenuItem();
    2828
    2929  virtual void doTrigger();
     
    3838};
    3939
    40 #endif /* SEPERATORITEM_H_ */
     40#endif /* SEPARATORITEM_H_ */
  • src/UIElements/Menu/TextMenu/TextMenu.hpp

    rf0f9a6 re9be39  
    2121#include "Menu/TextMenu/TxMenuLeaveAction.hpp"
    2222#include "Menu/TextMenu/ActionMenuItem.hpp"
    23 #include "Menu/TextMenu/SeperatorItem.hpp"
     23#include "Menu/TextMenu/SeparatorMenuItem.hpp"
    2424#include "Menu/TextMenu/SubMenuItem.hpp"
    2525
     
    114114  virtual void addSeparatorItem()
    115115  {
    116     new SeperatorItem(MenuInstance);
     116    new SeparatorMenuItem(MenuInstance);
    117117  }
    118118
  • src/UIElements/TextUI/TextWindow.cpp

    rf0f9a6 re9be39  
    2626#include "Menu/TextMenu/TxMenu.hpp"
    2727#include "Menu/TextMenu/ActionMenuItem.hpp"
    28 #include "Menu/TextMenu/SeperatorItem.hpp"
     28#include "Menu/TextMenu/SeparatorMenuItem.hpp"
    2929#include "Menu/TextMenu/DisplayMenuItem.hpp"
    3030#include "Menu/TextMenu/SubMenuItem.hpp"
     
    6565  new DisplayMenuItem(main_menu->getMenuInstance(),moleculeView,"Molecule List");
    6666
    67   new SeperatorItem(main_menu->getMenuInstance());
     67  new SeparatorMenuItem(main_menu->getMenuInstance());
    6868
    6969  main_menu->init();
    7070
    71   new SeperatorItem(main_menu->getMenuInstance());
     71  new SeparatorMenuItem(main_menu->getMenuInstance());
    7272
    7373  // save has reserved key 's'
Note: See TracChangeset for help on using the changeset viewer.