generate ui core flows
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
#ifndef FOCUSOVERLAY_H
|
||||
#define FOCUSOVERLAY_H
|
||||
|
||||
#include <QWidget>
|
||||
|
||||
namespace Ui {
|
||||
class FocusOverlay;
|
||||
}
|
||||
|
||||
class FocusOverlay : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit FocusOverlay(QWidget *parent = nullptr);
|
||||
~FocusOverlay();
|
||||
|
||||
void setOneliner(const QString &oneliner);
|
||||
void setElapsedTime(int elapsedMs);
|
||||
|
||||
signals:
|
||||
void resetClicked();
|
||||
void endSessionClicked();
|
||||
|
||||
private slots:
|
||||
void onResetButtonClicked();
|
||||
void onEndButtonClicked();
|
||||
|
||||
private:
|
||||
Ui::FocusOverlay *ui;
|
||||
void positionAtBottomCenter();
|
||||
};
|
||||
|
||||
#endif // FOCUSOVERLAY_H
|
||||
Reference in New Issue
Block a user