43 #include <boost/algorithm/string/classification.hpp> 44 #include <boost/algorithm/string/split.hpp> 58 using boost::algorithm::is_any_of;
59 using boost::algorithm::split;
60 using workspace::WorkspaceWindow;
61 using ctrl::NotificationHub;
62 using ctrl::GlobalCtx;
63 using Gtk::AboutDialog;
71 Wizard::Wizard (GlobalCtx& globals)
73 , notificationHub_{
new NotificationHub{getErrorLogID()
74 ,globals.uiBus_.getAccessPoint()
75 ,[&]() -> widget::ErrorLogDisplay&
77 return globalCtx_.windowLoc_.locatePanel()
78 .find_or_create<panel::InfoBoxPanel>()
90 Wizard::show_HelpAbout()
95 cuString copyrightNotice {
_Fmt(_(
"© %s the original Authors\n" 96 "-- Lumiera Team --\n" 97 "Lumiera is Free Software (GPL)"))
98 % Config::get (KEY_COPYRIGHT)};
100 string authors = Config::get (KEY_AUTHORS);
101 vector<uString> authorsList;
102 split (authorsList, authors, is_any_of (
",|"));
105 dialog.set_program_name(Config::get (KEY_TITLE));
106 dialog.set_version(Config::get (KEY_VERSION));
107 dialog.set_copyright(copyrightNotice);
108 dialog.set_website(Config::get (KEY_WEBSITE));
109 dialog.set_authors(authorsList);
111 WorkspaceWindow& currentWindow = globalCtx_.windowLoc_.findActiveWindow();
112 dialog.set_transient_for (currentWindow);
126 Wizard::launchTestCtrl()
128 if (testControlWindow_)
129 testControlWindow_->present();
131 testControlWindow_ = std::make_unique<dialog::TestControl> (globalCtx_.uiBus_.getAccessPoint(),
132 globalCtx_.windowLoc_.findActiveWindow());
Definition of access keys for global UI configuration.
Navigating a centre of user activity globally.
Dependency context to hold all the global UI top-level entities.
A front-end for using printf-style formatting.
Controller to receive and handle notification messages for the user.
Lumiera GTK UI implementation root.
Non-modal dialog window to trigger diagnostics and self test routines.
A (dockable) panel to display and manage information and parameters.
The main Lumiera workspace window.
This file contains the definition of the main workspace window parent, which is the toplevel parent o...
A set of basic GTK includes for the UI.