Ignore:
File:
1 edited

Legend:

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

    r5dcb3c r2b596f  
    5757
    5858  setMinimumWidth(200);
    59   setMinimumHeight(220);
     59  setMinimumHeight(200);
    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()));
    180181  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()));
    184182}
    185183
     
    220218  addInfo(this, "Formula", QString(mol->getFormula().toString().c_str()));
    221219  addInfo(this, "Atoms", QString("%1").arg(mol->getAtomCount()));
    222   addInfo(this, "NonHydrogens", QString("%1").arg(mol->getNoNonHydrogen()));
    223220  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]));
    228221}
    229222
Note: See TracChangeset for help on using the changeset viewer.