ovilab / atomify

Atomify - a realtime LAMMPS visualizer
GNU General Public License v3.0
149 stars 20 forks source link

Why is modifier list in Atoms a QVariantList? #369

Closed andeplane closed 6 years ago

andeplane commented 6 years ago

QVariantList m_modifiers;

andeplane commented 6 years ago

@dragly, if we want a QVector<QObject*> in QML, do we need to pack them into QVariantList? I'm feeling the answer is yes :P

andeplane commented 6 years ago

Yeah.