forked from qt-creator/qt-creator
enable adding custom config widgets from a run control factory
To achieve this there are two methods in IRunControlFactory you need to implement: 1) createRunConfigurationAspect returns a IRunConfigurationAspect which stores the settings specific to your plugin. 2) createConfigurationWidget returns a RunConfigWidget that will be shown in the project settings Merge-request: 258 Reviewed-by: hjk <qtc-committer@nokia.com>
This commit is contained in:
@@ -180,10 +180,10 @@ QString QmlRunControlFactory::displayName() const
|
||||
return tr("Run");
|
||||
}
|
||||
|
||||
QWidget *QmlRunControlFactory::createConfigurationWidget(RunConfiguration *runConfiguration)
|
||||
ProjectExplorer::RunConfigWidget *QmlRunControlFactory::createConfigurationWidget(RunConfiguration *runConfiguration)
|
||||
{
|
||||
Q_UNUSED(runConfiguration)
|
||||
return new QLabel("TODO add Configuration widget");
|
||||
return 0;
|
||||
}
|
||||
|
||||
RunControl *QmlRunControlFactory::createDebugRunControl(QmlProjectRunConfiguration *runConfig)
|
||||
|
||||
Reference in New Issue
Block a user