34 #include <boost/algorithm/string/classification.hpp> 35 #include <boost/algorithm/string/split.hpp> 49 using boost::algorithm::is_any_of;
50 using boost::algorithm::split;
51 using workspace::WorkspaceWindow;
52 using ctrl::NotificationHub;
53 using ctrl::GlobalCtx;
54 using Gtk::AboutDialog;
62 Wizard::Wizard (GlobalCtx& globals)
64 , notificationHub_{
new NotificationHub{getErrorLogID()
65 ,globals.uiBus_.getAccessPoint()
66 ,[&]() -> widget::ErrorLogDisplay&
68 return globalCtx_.windowLoc_.locatePanel()
69 .find_or_create<panel::InfoBoxPanel>()
81 Wizard::show_HelpAbout()
86 cuString copyrightNotice {
_Fmt(_(
"© %s the original Authors\n" 87 "-- Lumiera Team --\n" 88 "Lumiera is Free Software (GPL)"))
89 % Config::get (KEY_COPYRIGHT)};
91 string authors = Config::get (KEY_AUTHORS);
92 vector<uString> authorsList;
93 split (authorsList, authors, is_any_of (
",|"));
96 dialog.set_program_name(Config::get (KEY_TITLE));
97 dialog.set_version(Config::get (KEY_VERSION));
98 dialog.set_copyright(copyrightNotice);
99 dialog.set_website(Config::get (KEY_WEBSITE));
100 dialog.set_authors(authorsList);
102 WorkspaceWindow& currentWindow = globalCtx_.windowLoc_.findActiveWindow();
103 dialog.set_transient_for (currentWindow);
117 Wizard::launchTestCtrl()
119 if (testControlWindow_)
120 testControlWindow_->present();
122 testControlWindow_ = std::make_unique<dialog::TestControl> (globalCtx_.uiBus_.getAccessPoint(),
123 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.