forked from qt-creator/qt-creator
IncrediBuild: Finish buildstep aspectification
Change-Id: I7135ff47e4c117bf8917cfbd7c90b1e0ba527145 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -28,6 +28,9 @@
|
||||
#include <projectexplorer/buildstep.h>
|
||||
#include <projectexplorer/projectconfigurationaspects.h>
|
||||
|
||||
#include <QLabel>
|
||||
#include <QPointer>
|
||||
|
||||
namespace IncrediBuild {
|
||||
namespace Internal {
|
||||
|
||||
@@ -49,5 +52,17 @@ private:
|
||||
class CommandBuilderAspectPrivate *d = nullptr;
|
||||
};
|
||||
|
||||
class TextDisplay final : public ProjectExplorer::ProjectConfigurationAspect
|
||||
{
|
||||
public:
|
||||
TextDisplay(const QString &message) : m_message(message) {}
|
||||
|
||||
private:
|
||||
void addToLayout(ProjectExplorer::LayoutBuilder &builder) final;
|
||||
|
||||
QString m_message;
|
||||
QPointer<QLabel> m_label;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace IncrediBuild
|
||||
|
||||
Reference in New Issue
Block a user