Maki
Formally verified low-code orchestration
Loading...
Searching...
No Matches
tour_bubble.h
1#pragma once
2
3#include <QWidget>
4
5#include "widgets/frame.h"
6
7class QPushButton;
8class QLabel;
9
10namespace oclero::qlementine
11{
12class Label;
13}
14
15class TourBubble : public StyledFrame
16{
17 Q_OBJECT
18public:
19 explicit TourBubble(QWidget* parent = nullptr);
20
21 void setContent(const QString& title, const QString& text, int currentStep, int totalSteps, bool lastStep, bool showBack, bool showNext);
22
23 QPushButton* nextButton() const;
24 QPushButton* backButton() const;
25 QPushButton* cancelButton() const;
26
27private:
28 oclero::qlementine::Label* m_title;
29 oclero::qlementine::Label* m_text;
30 oclero::qlementine::Label* m_stepLabel;
31 QPushButton* m_back;
32 QPushButton* m_next;
33 QPushButton* m_cancel;
34};
StyledFrame(QWidget *parent=nullptr, Qt::WindowFlags flags=Qt::WindowFlags())
Constructs a StyledFrame with the given parent.
Definition frame.cpp:3