forked from qt-creator/qt-creator
ProjectExplorer: Add a BuildConfig::createConfigWidget() implementation
Mimicking the other aspect-unsing setups. It is currently re-implemented in all derived classes, i.e. unused. Change-Id: Ia1c16318347baa13a869d3eb03717a0f5ff0d8f8 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -55,7 +55,7 @@ public:
|
||||
Utils::FileName rawBuildDirectory() const;
|
||||
void setBuildDirectory(const Utils::FileName &dir);
|
||||
|
||||
virtual NamedWidget *createConfigWidget() = 0;
|
||||
virtual NamedWidget *createConfigWidget();
|
||||
virtual QList<NamedWidget *> createSubConfigWidgets();
|
||||
|
||||
// Maybe the BuildConfiguration is not the best place for the environment
|
||||
@@ -99,6 +99,8 @@ public:
|
||||
static void prependCompilerPathToEnvironment(Kit *k, Utils::Environment &env);
|
||||
void updateCacheAndEmitEnvironmentChanged();
|
||||
|
||||
void setConfigWidgetDisplayName(const QString &display);
|
||||
|
||||
signals:
|
||||
void environmentChanged();
|
||||
void buildDirectoryChanged();
|
||||
@@ -117,6 +119,7 @@ private:
|
||||
Utils::FileName m_buildDirectory;
|
||||
Utils::FileName m_lastEmmitedBuildDirectory;
|
||||
mutable Utils::Environment m_cachedEnvironment;
|
||||
QString m_configWidgetDisplayName;
|
||||
};
|
||||
|
||||
class PROJECTEXPLORER_EXPORT BuildConfigurationFactory : public QObject
|
||||
|
||||
Reference in New Issue
Block a user