Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified src/UIElements/Views/Qt4/QtInfoBox.cpp

    r2b596f r5dcb3c  
    5757
    5858  setMinimumWidth(200);
    59   setMinimumHeight(200);
     59  setMinimumHeight(220);
    6060  currentPage = 0;
    6161
     
    178178  addInfo(this, "Mass", QString("%1").arg(atomRef->getMass()));
    179179  addInfo(this, "Charge", QString("%1").arg(atomRef->getCharge()));
    180   addInfo(this, "Position", QString(toString(atomRef->getPosition()).c_str()));
    181180  addInfo(this, "Bonds", QString("%1").arg(atomRef->getListOfBonds().size()));
     181  addInfo(this, "Position x", QString(toString(atomRef->getPosition()[0]).c_str()));
     182  addInfo(this, "Position y", QString(toString(atomRef->getPosition()[1]).c_str()));
     183  addInfo(this, "Position z", QString(toString(atomRef->getPosition()[2]).c_str()));
    182184}
    183185
     
    218220  addInfo(this, "Formula", QString(mol->getFormula().toString().c_str()));
    219221  addInfo(this, "Atoms", QString("%1").arg(mol->getAtomCount()));
     222  addInfo(this, "NonHydrogens", QString("%1").arg(mol->getNoNonHydrogen()));
    220223  addInfo(this, "Bonds", QString("%1").arg(mol->getBondCount()));
     224  const Vector molCenter = mol->DetermineCenterOfAll();
     225  addInfo(this, "Center x", QString("%1").arg(molCenter[0]));
     226  addInfo(this, "Center y", QString("%1").arg(molCenter[1]));
     227  addInfo(this, "Center z", QString("%1").arg(molCenter[2]));
    221228}
    222229
Note: See TracChangeset for help on using the changeset viewer.