10#define GSPLASHENVIRONMENT "GSPLASH"
11#define NOSPLASHIMAGESELECTED "NOSPLASHIMAGESELECTED"
14#define ERR_NOSPLASHENVFOUND 191
81 static std::unique_ptr<GSplash>
82 create(
const std::shared_ptr<GOptions>& gopts,
83 const std::string& imageName =
"gemcArchitecture");
94 void message(
const std::string& msg);
117 void finish(QWidget* callingWindow)
const {
if (splash !=
nullptr) { splash->finish(callingWindow); } }
129 GSplash(
const std::shared_ptr<GOptions>& gopts,
130 const std::string& imageName);
137 std::unique_ptr<QSplashScreen> splash;
Splash screen utility for GUI runs.
void finish(QWidget *callingWindow) const
Finishes the splash screen and returns focus to the calling window.
void message(const std::string &msg)
Displays a message on the splash screen immediately.
static std::unique_ptr< GSplash > create(const std::shared_ptr< GOptions > &gopts, const std::string &imageName="gemcArchitecture")
Factory method for creating a GSplash instance.
void messageAfter(int delay, const std::string &msg)
Displays a message on the splash screen after a delay.
constexpr const char * GSPLASH_LOGGER
Default logger name used by this module.
Namespace utilities for the GSplash module.
GOptions defineOptions()
Defines the module options for GSplash.