BPS C++ API  2.24.4
bpstablewindow.h
Go to the documentation of this file.
1 
4 #ifndef BPSTABLEWINDOW_H
5 #define BPSTABLEWINDOW_H
6 
7 #include "bpsapplicationwindow.h"
8 
9 class BpsTable;
10 class BpsLicenseToken;
11 
21 {
22  Q_OBJECT
24 
25 public:
35  BpsLicenseToken* aLicenseToken,
36  const QIcon& aIcon,
37  const QString& aTitle,
38  const BpsTable& aTable,
39  QWidget *aParent = nullptr,
40  Qt::WindowFlags aFlags = 0);
41 
42  virtual ~BpsTableWindow();
43 
45  virtual void init();
46 
47  virtual QSize sizeHint() const;
48 
49 protected:
50  void closeEvent(QCloseEvent* aEvent);
52 };
53 
54 #endif // BPSTABLEWINDOW_H
Public include file for BpsApplicationWindow class.
#define BPS_PRIVATE(Class)
Declare pointer to private object in a public class.
Definition: bpsglobals.h:102
#define BPSGUI_EXPORT
Declare class an import from the shared library.
Definition: bpsgui_global.h:22
Main application window for plugins of BPS Workplace.
Definition: bpsapplicationwindow.h:71
virtual void init()
Do initializations immediately before showing of the window.
The license token is used to check permission of software usage, and maintains the list in table t_li...
Definition: bpslicensetoken.h:25
Database table descriptor.
Definition: bpstable.h:19
Common window for table editing in a table or tree view.
Definition: bpstablewindow.h:21
BpsTableWindow(BpsLicenseToken *aLicenseToken, const QIcon &aIcon, const QString &aTitle, const BpsTable &aTable, QWidget *aParent=nullptr, Qt::WindowFlags aFlags=0)
typedef WindowFlags
virtual void closeEvent(QCloseEvent *event)