Skip to content
Snippets Groups Projects
Commit 410a3f67 authored by Mikhail Svechnikov's avatar Mikhail Svechnikov
Browse files

ComboProperty: stringOfTooltips

parent 7d8f98d9
No related branches found
No related tags found
1 merge request!1004Fit: catalogize algorithms, not minimizers
...@@ -159,6 +159,11 @@ void ComboProperty::setStringOfValues(const QString& values) ...@@ -159,6 +159,11 @@ void ComboProperty::setStringOfValues(const QString& values)
setCurrentIndex(m_values.contains(current) ? m_values.indexOf(current) : 0); setCurrentIndex(m_values.contains(current) ? m_values.indexOf(current) : 0);
} }
QString ComboProperty::stringOfTooltips() const
{
return m_tooltips.join(value_separator);
}
//! Constructs variant enclosing given ComboProperty. //! Constructs variant enclosing given ComboProperty.
QVariant ComboProperty::variant() const QVariant ComboProperty::variant() const
......
...@@ -51,6 +51,8 @@ public: ...@@ -51,6 +51,8 @@ public:
QString stringOfValues() const; QString stringOfValues() const;
void setStringOfValues(const QString& values); void setStringOfValues(const QString& values);
QString stringOfTooltips() const;
QVariant variant() const; QVariant variant() const;
QVector<int> selectedIndices() const; QVector<int> selectedIndices() const;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment