30 #include <QMessageBox> 41 : error_message_( error_message )
48 return "The class required for this view controller, '" +
getClassId() +
"', could not be loaded.<br><b>Error:</b><br>" +
error_message_;
71 QWidget* parent =
NULL;
virtual void load(const Config &config)
Load the value of this property and/or its children from the given Config reference.
virtual QString getDescription() const
Return the description.
virtual QWidget * getParentWindow()=0
virtual void save(Config config) const
Write the value of this property and/or its children into the given Config reference.
virtual void load(const Config &config)
Store the given Config data for later, so we can return it with save() when someone writes this back ...
bool isValid() const
Returns true if the internal Node reference is valid, false if not. Same as (getType() != Invalid)...
virtual QString getClassId() const
Return the class identifier which was used to create this instance. This version just returns whateve...
Configuration data storage class.
FailedViewController(const QString &desired_class_id, const QString &error_message)
virtual void onActivate()
called by activate().
virtual void save(Config config) const
Write into config data equivalent to the last config sent to load().
DisplayContext * context_
void copy(const Config &source)
Make this a deep copy of source.
virtual QString getName() const
Return the name of this Property as a QString.
virtual WindowManagerInterface * getWindowManager() const =0
Return the window manager, if any.
virtual void setClassId(const QString &class_id)
Set the class identifier used to create this instance. Typically this will be set by the factory obje...