Ignore:
Timestamp:
Jan 28, 2015, 7:07:03 PM (10 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:
27e464
Parents:
2696b1
git-author:
Frederik Heber <heber@…> (01/25/15 12:44:56)
git-committer:
Frederik Heber <heber@…> (01/28/15 19:07:03)
Message:

Commented-out all debugging messages in QtMoleculeList rewrite.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/UIElements/Views/Qt4/MoleculeList/QtMoleculeList.cpp

    r2696b1 r2050b2  
    203203      "QtMoleculeList::addMoleculeItem() - item from factory was not a QtMoleculeItem?");
    204204  MoleculeItemBiMap.left.insert( std::make_pair(_mol, mol_item) );
    205   LOG(1, "Inserting molecule " << _mol->getId() << ": " << _mol);
     205//  LOG(1, "Inserting molecule " << _mol->getId() << ": " << _mol);
    206206  _groupitem->appendRow(molItems);
    207207
     
    278278  formula.clear();
    279279  FormulaVisibilityCountMap.clear();
    280   LOG(1, "Clearing list.");
     280//  LOG(1, "Clearing list.");
    281281  MoleculeItemBiMap.clear();
    282282  dirtyItems.clear();
     
    328328void QtMoleculeList::checkForVisibilityChange(QStandardItem* _item)
    329329{
    330   qDebug() << "Item changed called.";
     330//  qDebug() << "Item changed called.";
    331331
    332332  if (_item->index().column() == QtMoleculeItemFactory::VISIBILITY) {
    333     qDebug() << "visibilityItem changed: " << (_item->checkState() ? "checked" : "unchecked");
     333//    qDebug() << "visibilityItem changed: " << (_item->checkState() ? "checked" : "unchecked");
    334334    while(list_accessing);
    335335    list_accessing = true;
     
    595595  for (list_of_items_t::const_iterator visiter = visibilityItems_copy.begin();
    596596      visiter != visibilityItems_copy.end(); ++visiter) {
    597     LOG(1, "Updating visibility of item " << *visiter);
     597//    LOG(1, "Updating visibility of item " << *visiter);
    598598    ASSERT(((*visiter)->parent() != NULL) && ((*visiter)->parent() != invisibleRootItem()),
    599599        "QtMoleculeList::updateItemStates() - a group item ended up in visibilityItems.");
     
    604604  for (list_of_items_t::const_iterator moveiter = toBeMovedItems_copy.begin();
    605605      moveiter != toBeMovedItems_copy.end(); ++moveiter) {
    606     LOG(1, "Moving item " << *moveiter);
     606//    LOG(1, "Moving item " << *moveiter);
    607607    readdItem(*moveiter);
    608608  }
     
    611611  for (std::vector<const molecule *>::const_iterator removeiter = toBeRemovedItems_copy.begin();
    612612      removeiter != toBeRemovedItems_copy.end(); ++removeiter) {
    613     LOG(1, "Removing molecule " << *removeiter); // cannot access directly, molecule is gone
     613//    LOG(1, "Removing molecule " << *removeiter); // cannot access directly, molecule is gone
    614614    QtMoleculeItem *item = MoleculeToItem(*removeiter);
    615615    if (item != NULL)
     
    620620  for (std::vector<const molecule *>::const_iterator moliter = newItems_copy.begin();
    621621      moliter != newItems_copy.end(); ++moliter) {
    622     LOG(1, "Adding molecule " << (*moliter)->getName());
     622//    LOG(1, "Adding molecule " << (*moliter)->getName());
    623623    // check that World knows the molecule still
    624624    const molecule * const mol =
     
    633633  for (std::set<QStandardItem*>::const_iterator groupiter = toBeSetOccurrenceItems_copy.begin();
    634634      groupiter != toBeSetOccurrenceItems_copy.end(); ++groupiter) {
    635     LOG(1, "Updating group item " << *groupiter);
     635//    LOG(1, "Updating group item " << *groupiter);
    636636    const int index = setOccurrence(*groupiter);
    637637    if (index != -1)
     
    651651  for (std::set<QStandardItem*>::iterator visiter = toBeSetVisibilityItems_copy.begin();
    652652      visiter != toBeSetVisibilityItems_copy.end(); ++visiter) {
    653     LOG(1, "Updating visibility of item " << *visiter);
     653//    LOG(1, "Updating visibility of item " << *visiter);
    654654    setVisibilityForGroupItem(*visiter);
    655655  }
     
    658658  for (std::set<int>::reverse_iterator riter = RowsToRemove.rbegin();
    659659      riter != RowsToRemove.rend(); ++riter) {
    660     LOG(1, "Removing group item at row " << *riter);
     660//    LOG(1, "Removing group item at row " << *riter);
    661661    removeRows(*riter, 1, invisibleRootItem()->index());
    662662  }
Note: See TracChangeset for help on using the changeset viewer.