-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTDBSearch.h
More file actions
45 lines (33 loc) · 783 Bytes
/
TDBSearch.h
File metadata and controls
45 lines (33 loc) · 783 Bytes
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 TDBSEARCH_H
#define TDBSEARCH_H
#include <iostream>
#include <QSqlQuery>
#include <QSqlRecord>
#include <QDialog>
#include <QLabel>
#include <QPushButton>
#include <QVBoxLayout>
#include <QLineEdit>
#include "TDBApplication.h"
#include "TDBSearchList.h"
class TDBSearch : public QDialog
{
Q_OBJECT
TDBSearchList* search_list;
private:
QLineEdit* search_string;
QPushButton* ok_button;
QPushButton* cancel_button;
QPushButton* search_button;
QVBoxLayout* vlayout;
public:
TDBSearch(QWidget* parent);
~TDBSearch();
QString trigramme();
private slots:
void ok_pressed();
void search_pressed();
void cancel_pressed();
void trigramme_double_clicked(QTreeWidgetItem * item, int column);
};
#endif