BiblioteQ: Source/biblioteq_borrowers_editor.h Source File

BiblioteQ

biblioteq_borrowers_editor.h
1 #ifndef _BIBLIOTEQ_BORROWERS_EDITOR_H_
2 #define _BIBLIOTEQ_BORROWERS_EDITOR_H_
3
4 #include "ui_biblioteq_borrowers.h"
5
6 class biblioteq;
7 class biblioteq_item;
8
9 class biblioteq_borrowers_editor: public QDialog
10 {
11 Q_OBJECT
12
13 public:
14 biblioteq_borrowers_editor(QWidget *parent,
15 biblioteq *biblioteq,
16 biblioteq_item *bitemArg,
17 const int quantityArg,
18 const QString &ioidArg,
19 const QString &uniqueidArg,
20 const QFont &font,
21 const QString &itemTypeArg,
22 const int stateArg);
23 ~biblioteq_borrowers_editor();
24 void showUsers(void);
25
26 private:
27 QString m_ioid;
28 QString m_itemType;
29 QVector<QString> m_columnHeaderIndexes;
30 Ui_checkedOutDialog m_bd;
31 biblioteq *qmain;
32 biblioteq_item *m_bitem;
33 int m_quantity;
34 int m_state;
35 void changeEvent(QEvent *event);
36 void closeEvent(QCloseEvent *event);
37 void keyPressEvent(QKeyEvent *event);
38 void setGlobalFonts(const QFont &font);
39
40 private slots:
41 void slotCloseCurrentBorrowers(void);
42 void slotEraseBorrower(void);
43 void slotSave(void);
44 };
45
46 #endif
biblioteq_borrowers_editor
Definition: biblioteq_borrowers_editor.h:9
biblioteq
Definition: biblioteq.h:179
biblioteq_item
Definition: biblioteq_item.h:42