Geometrize  1.0
An application for geometrizing images into geometric primitives
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros
appsplashscreen.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <memory>
4 
5 namespace geometrize
6 {
7 
8 namespace dialog
9 {
10 
14 enum class SplashState
15 {
16  STARTING,
18  FINISHED
19 };
20 
25 {
26 public:
28  AppSplashScreen& operator=(const AppSplashScreen&) = delete;
29  AppSplashScreen(const AppSplashScreen&) = delete;
31 
32  void setState(SplashState state);
33 
34 private:
36  std::unique_ptr<AppSplashScreenImpl> d;
37 };
38 
44 
45 }
46 
47 }
The AppSplashScreen class implements a splash screen for Geometrize.
Definition: appsplashscreen.h:24
void setState(SplashState state)
Definition: appsplashscreen.cpp:125
SplashState
The SplashState enum provides identifiers for the states of the splash screen.
Definition: appsplashscreen.h:14
AppSplashScreen & operator=(const AppSplashScreen &)=delete
~AppSplashScreen()
Definition: appsplashscreen.cpp:121
AppSplashScreen & sharedSplashInstance()
sharedInstance Gets a singleton/shared instance of the application splash screen. ...
Definition: appsplashscreen.cpp:130
std::unique_ptr< AppSplashScreenImpl > d
Definition: appsplashscreen.h:35
AppSplashScreen()
Definition: appsplashscreen.cpp:117