22 m_argSettingGUI(argSettingGUI),
57 return QVariant(
false);
65 if (value.type() == QVariant::Bool)
69 else if (value.type() == QVariant::Int)
71 int newValue = value.toInt(&ok);
77 else if (value.type() == QVariant::Double)
79 double newValue = value.toDouble(&ok);
85 else if (value.type() == QVariant::String)
void valueChanged(QString itemName, QVariant value)
ArgInfoGUI * m_argSettingGUI
double getFloatValue() const
DynamicArgSettingGUI(ArgInfoGUI *argSettingGUI, const QString &name, QObject *parent=0)
ArgInfoValueType getValueType() const
void processValueChanged()
bool getBoolValue() const
const QString & getStringValue() const
void setIntValue(int value)
QVariant getValue() const
void setBoolValue(bool value)
void setFloatValue(double value)
void setValue(const QVariant &value)
void setStringValue(const QString &value)