-
Notifications
You must be signed in to change notification settings - Fork 0
/
utilities.h
21 lines (18 loc) · 660 Bytes
/
utilities.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef UTILITIES_H
#define UTILITIES_H
#include <QSqlQuery>
#include <QTableWidget>
#include <QComboBox>
#include <QLineEdit>
class Utilities
{
public:
Utilities();
bool QueryToUpdateTableWidget(QSqlQuery *query, QTableWidget *tableWidget);
void QueryToInsertFieldsIntoTableWidget(QSqlQuery *query, QTableWidget *tableWidget);
void CleanTableWidget(QTableWidget *tableWidget);
bool QueryToInsertComboBoxElements(QSqlQuery *query, QComboBox *comboBox);
void TableWidgetBasicConfigurations(QTableWidget *tableWidget, QStringList &headerLabels);
void ConfigureRegexLineEdit(QLineEdit *lineEdit, int type);
};
#endif // UTILITIES_H