-
Notifications
You must be signed in to change notification settings - Fork 0
/
sqlsetup.h
62 lines (58 loc) · 1.36 KB
/
sqlsetup.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
//
// Created by viking on 4/29/18.
//
#ifndef SQL_SQLSETUP_H
#define SQL_SQLSETUP_H
#include <QDialog>
#include <QtSql/QSqlDatabase>
#include <iostream>
#include <QtCore>
#include <QApplication>
#include <QtGui>
#include <QtSql>
#include <QtSqlDepends>
#include <QString>
#include <QChar>
#include <QtDebug>
#include <QSizePolicy>
#include <QTableView>
#include <QHeaderView>
#include <QSqlError>
#include <QCompleter>
#include <QLineEdit>
#include <QListView>
#include <QSpinBox>
#include <QStyledItemDelegate>
//#include <string>
#include <QTextStream>
#include <QSqlRelationalTableModel>
#include <QSqlTableModel>
#include <QtSql/QSqlDatabase>
#include <QSqlTableModel>
#include <QMessageBox>
#include <QMouseEvent>
#include <QComboBox>
#include <QtAlgorithms>
#include <QVector>
#include <vector>
#include <deque>
#include <QColor>
#include <QPainter>
#include <Qt>
#include <QObject>
#include <QMenu>
#include <QAction>
#include <QFileDialog>
#include <qdesktopservices.h>
#include <QMessageBox>
#include <QStringList>
#include <QVariant>
//const QString hostname="localhost";
//const QString databasename="Probeplantest";
//const QString username="montanaviking";
//const QString password="nova";
enum customroles
{
useredit=Qt::UserRole // used to distinguish manual user edits to table models from those arising from undo and redo stack
};
#endif //SQL_SQLSETUP_H