BPS C++ API  2.24.4
bpsapplicationdialog.h
Go to the documentation of this file.
1 
4 #ifndef BPSAPPLICATIONDIALOG_H
5 #define BPSAPPLICATIONDIALOG_H
6 
7 #include "bpsgui_global.h"
8 #include <QDialog>
9 
36 {
37  Q_OBJECT
39 
40 public:
41 
47  BpsApplicationDialog(QWidget *aParent = nullptr, Qt::WindowFlags aFlags = 0);
48 
49  virtual ~BpsApplicationDialog();
50 
55  virtual void init();
56 
57 signals:
58 
63  void windowModified(bool aModified);
64 
65 public slots:
66 
71  void setWindowModified(bool aModified = true);
72 };
73 
74 #endif // BPSAPPLICATIONDIALOG_H
#define BPS_PRIVATE(Class)
Declare pointer to private object in a public class.
Definition: bpsglobals.h:102
Public include file for BPS GUI library macros.
#define BPSGUI_EXPORT
Declare class an import from the shared library.
Definition: bpsgui_global.h:22
Dialog as plugin of BPS Workplace.
Definition: bpsapplicationdialog.h:36
void setWindowModified(bool aModified=true)
Overloaded version of QMainWindow::setWindowModified, which sends out the signal modifiedChanged.
virtual void init()
Do initializations immediately before showing of the window.
BpsApplicationDialog(QWidget *aParent=nullptr, Qt::WindowFlags aFlags=0)
Constructor.
void windowModified(bool aModified)
Signal emitted whenever the window modification status changes.
typedef WindowFlags