Split most widgets into a Controller and a View

Controllers don't have any GUI and don't depend on the frontend
technology.

Views are implemented in a specific GUI tech (QtWidgets, QtQuick, etc).

For now only QtWidgets work. There's still a lot to decouple.

This will make it easier to introduce non-Qt backends.
This commit is contained in:
Sergio Martins
2022-02-13 18:02:25 +00:00
parent ca3fe4070a
commit c6d95c42a8
149 changed files with 6099 additions and 5095 deletions

View File

@@ -10,3 +10,11 @@
*/
#include "../../KDDockWidgets.h"
class QWidget;
namespace KDDockWidgets {
// TODO remove
using QWidgetOrQuick = QWidget;
using WidgetType = QWidget;
}