mirror of
https://github.com/mrfluffy-dev/HotspotsheidGUI-linux.git
synced 2026-01-17 03:30:33 +00:00
Created basic GUI Applecation
This commit is contained in:
28
mainwindow.h
Normal file
28
mainwindow.h
Normal file
@@ -0,0 +1,28 @@
|
||||
#ifndef MAINWINDOW_H
|
||||
#define MAINWINDOW_H
|
||||
|
||||
#include <QMainWindow>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
namespace Ui { class MainWindow; }
|
||||
QT_END_NAMESPACE
|
||||
|
||||
class MainWindow : public QMainWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
QTimer *timer; // NEW
|
||||
|
||||
public:
|
||||
MainWindow(QWidget *parent = nullptr);
|
||||
~MainWindow();
|
||||
|
||||
public slots:
|
||||
void onButtonClicked();
|
||||
void ConnectStatus();
|
||||
void connectionUpdate();
|
||||
void TimerSlot();
|
||||
|
||||
private:
|
||||
Ui::MainWindow *ui;
|
||||
};
|
||||
#endif // MAINWINDOW_H
|
||||
Reference in New Issue
Block a user