Big cleanup
This commit is contained in:
parent
d3080a08bb
commit
8b671090a0
55 changed files with 214 additions and 3967 deletions
|
|
@ -3,6 +3,9 @@
|
|||
|
||||
#include <QWidget>
|
||||
|
||||
/// Base class for widgets that are used as on the tabs in DatabaseWindow
|
||||
/// if a widget does not inherit from managed pase DatabaseWindow will
|
||||
/// fallback on default behaviour.
|
||||
class ManagedPage: public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
|
@ -11,6 +14,7 @@ public:
|
|||
|
||||
virtual ~ManagedPage() {}
|
||||
|
||||
/// Tells DatabaseWindow if it is ok to close this tab
|
||||
virtual bool CanClose(bool prompt_user) = 0;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue