Lumiera
0.pre.03
»edit your freedom«
|
Go to the source code of this file.
Controller to receive and handle notification messages for the user.
This component is addressed in order to show error, warning and notification messages in the UI. It is responsible for maintaining a local log of these messages, and to allocate an appropriate display widgets, to show such notifications asynchronously. On first use, an InfoboxPanel is allocated to hold an ErrorLogDisplay widget for presentation of those messages
This controller serves the purpose to present information and error messages to the user. For the actual display, it allocates an appropriate view, placed into a docking pane reserved for information display, in accordance to the configured screen layout
The actual widget for information display is prepared, but it is actually allocated when the need for information display arises. Which means, the user may close this display widget, thereby discarding its current information content – but when the next notification needs to be shown, the controller will ensure to allocate an appropriate widget again. Moreover, the widget can be expanded or collapsed, without affecting its content.
Definition in file notification-hub.hpp.
#include "stage/widget/error-log-display.hpp"
#include "lib/diff/tree-mutator.hpp"
#include "stage/model/controller.hpp"
#include "stage/model/w-link.hpp"
#include <functional>
Classes | |
class | NotificationHub |
Service to receive and display error, warning and notification messages. More... | |
Namespaces | |
stage | |
Lumiera GTK UI implementation root. | |
stage::ctrl | |
Backbone of the Lumiera GTK UI. | |