-
Notifications
You must be signed in to change notification settings - Fork 0
/
mainwindow.h
45 lines (34 loc) · 1.16 KB
/
mainwindow.h
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
33
34
35
36
37
38
39
40
41
42
43
44
45
//#ifndef MAINWINDOW_H
//#define MAINWINDOW_H
//#include <QDebug>
#pragma once
#include <QMainWindow>
#include <QLineEdit>
QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
MainWindow(QWidget *parent = nullptr);
~MainWindow();
private slots:
void on_pushButton_clicked();
void on_pushButton_2_clicked();
void on_pushButton_3_clicked();
//void on_displayCnt_textChanged(const QString &arg1);
private:
Ui::MainWindow *ui;
void update();
void delay();//helper debugger function
int count, time, patience;
QLineEdit * mOutputText;
/*For SQLite the only configuration needed is the database name. We can set that with setDatabaseName.
It’s important to notice that “:memory:” is a special name for SQLite. It will create a temporary database existing entirely in memory until the connection is closed. In case you wanted to create a permanent SQLite database on disk, you have to pass a full file path to setDatabaseName.
*/
void DatabaseConnect();
void DatabaseInit();
void DatabasePopulate();
};
//#endif // MAINWINDOW_H