/// It returns false because this is an info widget
virtual bool canSetValue() const { return false; };
- virtual bool storeValue() const
- {
- return true;
- }
-
virtual bool restoreValue()
{
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 storeValueCustom() const
+ {
+ return true;
+ }
+
private:
/// A label control
QLabel* myLabel;
};
-#endif
\ No newline at end of file
+#endif