/// It returns false because this is an info widget
virtual bool canSetValue() const { return false; };
- virtual bool restoreValue()
+ virtual bool restoreValueCustom()
{
return true;
}
virtual QList<QWidget*> getControls() const;
- QWidget* getControl() const;
-
/// This control doesn't accept focus
virtual bool focusTo() { return false; }
protected:
/// Saves the internal parameters to the given feature
/// \return True in success
- virtual bool storeValue() const
+ virtual bool storeValueCustom() const
{
return true;
}
-private:
/// A label control
QLabel* myLabel;
};
-#endif
\ No newline at end of file
+#endif