ui: statusbar

statusbar added, listen to status- , error-  and parsingfinishedmessages
This commit is contained in:
Andreas Stallinger
2014-11-24 16:35:46 +01:00
parent 048fcb28b4
commit af4e3f7676
30 changed files with 392 additions and 6 deletions
+14
View File
@@ -4,9 +4,11 @@
#include "component/controller/CodeController.h"
#include "component/controller/GraphController.h"
#include "component/controller/SearchController.h"
#include "component/controller/StatusBarController.h"
#include "component/view/CodeView.h"
#include "component/view/GraphView.h"
#include "component/view/SearchView.h"
#include "component/view/StatusBarView.h"
#include "component/view/ViewFactory.h"
#include "component/view/ViewLayout.h"
@@ -52,6 +54,18 @@ std::shared_ptr<Component> ComponentFactory::createSearchComponent()
return component;
}
std::shared_ptr<Component> ComponentFactory::createStatusBarComponent()
{
std::shared_ptr<StatusBarView> view = m_viewFactory->createStatusBarView(m_viewLayout);
std::shared_ptr<StatusBarController> controller = std::make_shared<StatusBarController>();
std::shared_ptr<Component> component = std::make_shared<Component>(view,controller);
return component;
}
ComponentFactory::ComponentFactory()
{
}