ui: Abstracting the UI on view level instead of element level

This change switches the view creation architecture from element based creation in the lib to view based creation in the
app. This avoids wrapping of the Qt elements and instead defines interfaces for the different View implementations.

* GuiElementFactory was renamed to GuiFactory and is now responsible for View creation instead of Element creation.
* WidgetWrappers are now used on Views to access their root widget.
* Removed DummyView and DummyController.
* Removed GuiElement and corresponding QtElement files.
* Removed ViewManager, functionality is now handled via MainView.
* Added MainView, where Views are registered via the ViewLayout interface.
* Added QtMainWindow, derived from QMainWindow and instantiated by QtMainView, which displays the Views as QDockWidgets.

fortune cookie message = All your hard work will soon pay off.
This commit is contained in:
Eberhard Graether
2014-07-02 12:25:51 +02:00
parent 3dabe009e0
commit fdba1b2a84
67 changed files with 424 additions and 888 deletions
+9
View File
@@ -0,0 +1,9 @@
#include "component/view/ViewLayout.h"
ViewLayout::ViewLayout()
{
}
ViewLayout::~ViewLayout()
{
}