Big cleanup

This commit is contained in:
eelke 2022-05-26 08:25:31 +02:00
parent d3080a08bb
commit 8b671090a0
55 changed files with 214 additions and 3967 deletions

View file

@ -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;
};