gwenhywfar  5.11.1beta
qt5dialogbox.hpp
Go to the documentation of this file.
1 /***************************************************************************
2  begin : Tue Feb 16 2010
3  copyright : (C) 2010 by Martin Preuss
4  (C) 2016 by Christian David
5  email : martin@libchipcard.de
6  christian-david@web.de
7 
8  ***************************************************************************
9  * Please see toplevel file COPYING for license details *
10  ***************************************************************************/
11 
12 
13 #ifndef QT5_DIALOGBOX_H
14 #define QT5_DIALOGBOX_H
15 
16 #include <QDialog>
17 
18 class QT5_GuiDialog;
19 
20 class QT5_DialogBox: public QDialog {
21  Q_OBJECT
22 public:
23  QT5_DialogBox(QT5_GuiDialog *dialog, QWidget *parent=0, bool modal=false, Qt::WindowFlags f={});
24  virtual ~QT5_DialogBox();
25 
26  void accept();
27  void reject();
28 
29  int cont();
30 
31  void closeEvent(QCloseEvent *e);
32 
34 
35 public Q_SLOTS:
36  void slotActivated();
38 
39 protected:
40  QT5_GuiDialog *_dialog;
41 };
42 
43 #endif
void slotActivated()
void slotValueChanged()
QT5_GuiDialog * _dialog
void closeEvent(QCloseEvent *e)
QT5_DialogBox(QT5_GuiDialog *dialog, QWidget *parent=0, bool modal=false, Qt::WindowFlags f={})
void unlinkFromDialog()
virtual ~QT5_DialogBox()