BigBlueBox
An Inventory Management System for a NYLT Course or other Boy Scout Programs
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Pages
gearCenter.h
Go to the documentation of this file.
1 #ifndef GEARCENTER_H
2 #define GEARCENTER_H
3 
4 #include <QWidget>
5 #include <QtSvg>
6 #include <QThread>
7 #include <QDialogButtonBox>
8 
9 
10 // for testing
11 #include <QString>
12 #include <QFile>
13 #include <QEvent>
14 #include "qr/QrInterface.h"
15 #include "dbconnect.h"
16 
17 #include "_filewriter.h"
18 
19 
20 namespace Ui {
21 class GearCenter;
22 }
23 
24 class GearCenter : public QWidget
25 {
26  Q_OBJECT
27 
28 public:
29  explicit GearCenter(QWidget *parent = 0);
30  ~GearCenter();
31 
32  void initTable();
33 
34  void clearTable();
35 
36  void fillNotesTables();
37 
38  void clearGearInfo();
39 
40 private:
42  bool pidScanned;
43  uint decCatId;
44  uint decIdvId;
45  QString pidStr;
46 private slots:
47 
49 
51 
53 
55 
57 
59 
61 
63 
64 private:
65  Ui::GearCenter *ui;
66 };
67 
68 #endif // GEARCENTER_H
void on_pushButton_checkinOut_clicked()
Definition: gearCenter.cpp:65
void on_lineEdit_scanCode_returnPressed()
Definition: gearCenter.cpp:75
Ui::GearCenter * ui
Definition: gearCenter.h:65
void fillNotesTables()
Definition: gearCenter.cpp:117
void clearGearInfo()
Definition: gearCenter.cpp:149
GearCenter(QWidget *parent=0)
Definition: gearCenter.cpp:6
~GearCenter()
Definition: gearCenter.cpp:46
void clearTable()
Definition: gearCenter.cpp:84
void on_pushButton_enterCode_clicked()
Definition: gearCenter.cpp:164
void on_comboBox_itemHealth_currentIndexChanged(int index)
Definition: gearCenter.cpp:554
void on_pushButton_addNote_clicked()
Definition: gearCenter.cpp:504
uint decCatId
Definition: gearCenter.h:43
void on_toolButton_defaultNoteList_clicked()
Definition: gearCenter.cpp:523
uint decIdvId
Definition: gearCenter.h:44
QString pidStr
Definition: gearCenter.h:45
void on_comboBox_troopNames_currentIndexChanged(int index)
Definition: gearCenter.cpp:478
Definition: gearCenter.h:24
bool pidScanned
Definition: gearCenter.h:42
bool itemScanned
Definition: gearCenter.h:41
void initTable()
Definition: gearCenter.cpp:94
void on_pushButton_checkInOut_clicked()
Definition: gearCenter.cpp:55