Commit 749c740a authored by Tobias Hunger's avatar Tobias Hunger

WizardPage: Add a way to report runtime errors

This will make debugging JSON wizards much simpler!

Change-Id: I03baf4b8d954a9097c0fc4e1180e91d2afe5cc4e
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
Reviewed-by: default avatarTobias Hunger <tobias.hunger@theqtcompany.com>
parent a3984dd7
......@@ -52,6 +52,10 @@ public:
void registerFieldWithName(const QString &name, QWidget *widget,
const char *property = 0, const char *changedSignal = 0);
signals:
// Emitted when there is something that the developer using this page should be aware of.
void reportError(const QString &errorMessage);
private:
QSet<QString> m_toRegister;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment