32 : IUAVGadgetConfiguration(classId, parent)
33 , m_acFilename(
"../share/models/multi/test_quad/test_quad_X.3ds")
38 if (qSettings !=
nullptr) {
39 QString modelFile = qSettings->value(
"acFilename").toString();
40 QString bgFile = qSettings->value(
"bgFilename").toString();
41 m_enableVbo = qSettings->value(
"enableVbo").toBool();
51 mv->m_acFilename = m_acFilename;
52 mv->m_bgFilename = m_bgFilename;
53 mv->m_enableVbo = m_enableVbo;
63 qSettings->setValue(
"acFilename",
Utils::PathUtils().RemoveDataPath(m_acFilename));
64 qSettings->setValue(
"bgFilename",
Utils::PathUtils().RemoveDataPath(m_bgFilename));
65 qSettings->setValue(
"enableVbo", m_enableVbo);
ModelViewGadgetConfiguration(QString classId, QSettings *qSettings=nullptr, QObject *parent=nullptr)
IUAVGadgetConfiguration * clone()
virtual void saveConfig() const
static QString InsertDataPath(QString path)