1 #ifndef _BIBLIOTEQ_ITEM_H_ 2 #define _BIBLIOTEQ_ITEM_H_ 7 #include <QPrintDialog> 9 #include <QProgressDialog> 27 void closeEvent(QCloseEvent *event)
33 void keyPressEvent(QKeyEvent *event)
35 if(event && event->key() == Qt::Key_Escape)
38 QProgressDialog::keyPressEvent(event);
48 QString getID(
void)
const;
49 int getOldQ(
void)
const;
50 int getRow(
void)
const;
51 void setOldQ(
const int q);
52 void updateFont(
const QFont &font, QWidget *window);
53 void updateRow(
const int rowArg);
56 QMainWindow *m_parentWid;
57 QMap<QString, QImage> m_imageValues;
58 QMap<QString, QString> m_widgetValues;
62 bool m_isQueryEnabled;
65 bool hasDataChanged(QMainWindow *window)
const;
66 void print(QWidget *parent);
67 void setQMain(QMainWindow *window);
68 void setReadOnlyFields(QMainWindow *window,
const bool state);
69 void storeData(QMainWindow *window);
Definition: biblioteq_item.h:42
Definition: biblioteq_item.h:13
Definition: biblioteq.h:173