summaryrefslogtreecommitdiffstats
path: root/src/widget.h
blob: 05e27a63f21662474f31a68ea5ecc4f53c10aada (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>  // for Qt5
#include <QDebug>

namespace Ui {
class Widget;
}

class Widget : public QWidget
{
	Q_OBJECT

public:
	explicit Widget(QWidget *parent = nullptr);
	~Widget();

protected:
	virtual void showEvent(QShowEvent *event);

private slots:
	void handleButton();
	void bringToTopTimer();

private:
	Ui::Widget *_ui;

	void initControls();
};

#endif // WIDGET_H