-
Notifications
You must be signed in to change notification settings - Fork 0
/
search_turn_over_admin.h
39 lines (31 loc) · 1011 Bytes
/
search_turn_over_admin.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
#ifndef SEARCH_TURN_OVER_ADMIN_H
#define SEARCH_TURN_OVER_ADMIN_H
#include<QtWidgets>
#include"dbconnection.h"
#include<QtSql>
#include"dbconnection.h"
#include "Selection_Animal.h"
class search_turn_over_admin : public QWidget
{
Q_OBJECT
public:
search_turn_over_admin(QString qry ,QString price_buy_req , QString price_req , QString best_race_seller_req , QString best_species_seller_req , QString date);
void insertions();
QString returnbestrace(QStack<QString> listrace);
QString returnbestspecie(QStack<QString> listspeci);
private :
QTableView *view;
QSqlQueryModel *model;
QSqlDatabase db;
QString m_price_buy_req;
QString m_price_req ;
QString best_sel_race_req;
QString best_sel_specie_req;
QLineEdit *price_buy ;
QLineEdit *price_sel;
QLineEdit *profitss ;
QLineEdit *best_race_sell;
QLineEdit *best_specie_sell;
QRect screenGeometry = QApplication::desktop()->screenGeometry();
};
#endif // SEARCH_TURN_OVER_ADMIN_H