forked from qt-creator/qt-creator
Rework the project settings.
This has still a few missing things, but this enough to start getting some feedback. Missing are non qt projects, a solution for the runconfiguration, a missing black line between the treeview on top and the project settings at the bottom. Some flickering with removing/adding widgets to the QScrollArea and not showing the expanded widget if the Details button is right at the bottom.
This commit is contained in:
@@ -129,6 +129,11 @@ void QmlMakeStepConfigWidget::init(const QString &)
|
||||
{
|
||||
}
|
||||
|
||||
QString QmlMakeStepConfigWidget::summaryText() const
|
||||
{
|
||||
return tr("<b>QML Make</b>");
|
||||
}
|
||||
|
||||
//
|
||||
// QmlMakeStepFactory
|
||||
//
|
||||
|
||||
@@ -78,6 +78,7 @@ public:
|
||||
|
||||
virtual QString displayName() const;
|
||||
virtual void init(const QString &buildConfiguration);
|
||||
virtual QString summaryText() const;
|
||||
|
||||
private:
|
||||
QmlMakeStep *m_makeStep;
|
||||
|
||||
@@ -200,14 +200,14 @@ QString QmlProject::buildDirectory(const QString &) const
|
||||
return QString();
|
||||
}
|
||||
|
||||
ProjectExplorer::BuildStepConfigWidget *QmlProject::createConfigWidget()
|
||||
ProjectExplorer::BuildConfigWidget *QmlProject::createConfigWidget()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
QList<ProjectExplorer::BuildStepConfigWidget*> QmlProject::subConfigWidgets()
|
||||
QList<ProjectExplorer::BuildConfigWidget*> QmlProject::subConfigWidgets()
|
||||
{
|
||||
return QList<ProjectExplorer::BuildStepConfigWidget*>();
|
||||
return QList<ProjectExplorer::BuildConfigWidget*>();
|
||||
}
|
||||
|
||||
void QmlProject::newBuildConfiguration(const QString &)
|
||||
|
||||
@@ -69,8 +69,8 @@ public:
|
||||
virtual ProjectExplorer::Environment environment(const QString &buildConfiguration) const;
|
||||
virtual QString buildDirectory(const QString &buildConfiguration) const;
|
||||
|
||||
virtual ProjectExplorer::BuildStepConfigWidget *createConfigWidget();
|
||||
virtual QList<ProjectExplorer::BuildStepConfigWidget*> subConfigWidgets();
|
||||
virtual ProjectExplorer::BuildConfigWidget *createConfigWidget();
|
||||
virtual QList<ProjectExplorer::BuildConfigWidget*> subConfigWidgets();
|
||||
|
||||
virtual void newBuildConfiguration(const QString &buildConfiguration);
|
||||
virtual QmlProjectNode *rootProjectNode() const;
|
||||
|
||||
Reference in New Issue
Block a user