BiblioteQ

biblioteq_dbenumerations.h
1 #ifndef _BIBLIOTEQ_DBENUMERATIONS_H_
2 #define _BIBLIOTEQ_DBENUMERATIONS_H_
3
4 #include "ui_biblioteq_dbenumerations.h"
5
6 class biblioteq;
7
8 class biblioteq_dbenumerations: public QMainWindow
9 {
10 Q_OBJECT
11
12 public:
13 biblioteq_dbenumerations(biblioteq *parent);
14 void clear(void);
15 void closeEvent(QCloseEvent *event);
16 void show(QMainWindow *parent, const bool populate);
17
18 private:
19 QHash<QWidget *, QMap<QString, QString> > m_tableData;
20 QHash<QWidget *, QStringList> m_listData;
21 Ui_dbEnumerations m_ui;
22 biblioteq *qmain;
23 void changeEvent(QEvent *event);
24 void populateWidgets(void);
25 void saveData(QHash<QWidget *,
26 QStringList> &listData,
27 QHash<QWidget *, QMap<QString, QString> > &tableData);
28
29 private slots:
30 void setGlobalFonts(const QFont &font);
31 void slotAdd(void);
32 void slotClose(void);
33 void slotReload(void);
34 void slotRemove(void);
35 void slotSave(void);
36 };
37
38 #endif
biblioteq_dbenumerations
Definition: biblioteq_dbenumerations.h:8
biblioteq
Definition: biblioteq.h:179