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:
hjk
2020-08-06 16:48:43 +02:00
parent 52b2ca55c9
commit f00b088a1d
5 changed files with 95 additions and 208 deletions

View File

@@ -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