VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtQtDeSplashScreen.h
Go to the documentation of this file.
1 /***************************************************************************
2 ** Copyright (c) 2022 MAK Technologies, Inc.
3 ** All rights reserved
4 ***************************************************************************/
5 
8 
9 #pragma once
10 
14 
15 #include <string>
16 
17 class QSplashScreen;
18 
19 namespace makVrv
20 {
21  class DtDeMainWindow;
22  class DtUnicode;
23 
27  {
28  public:
38  DtQtDeSplashScreen(const std::string& splashScreenImageFilePath, int width = 1276, int height = 808, int messageAreaHeight = 36);
39 
41  virtual ~DtQtDeSplashScreen();
42 
44  virtual void finish(DtDeMainWindow& mainWin);
45 
47  virtual void show();
48 
51  virtual void setMessageAlignment(DtDeSplashScreenMessageAlignment alignment);
52 
55  virtual void setMessageColor(int colorR, int colorG, int colorB, int colorA);
56 
59  virtual void showMessage(const DtUnicode& message);
60 
61  protected:
62 
64  virtual int convertToQtAlignment(DtDeSplashScreenMessageAlignment alignment) const;
65 
66  protected:
67  QSplashScreen* mySplashScreen;
68 
70  int myMessageColor[4];
72  };
73 }
#define DT_DLL_VRVSPLASHSCREEN
Definition: vrvSplashScreen.h:19
int myMessageAreaHeight
Definition: DtQtDeSplashScreen.h:71
A unicode string. DtUnicode stores a UTF-16 encoded unicode string. Code Point, a Unicode character...
Definition: DtUnicode.h:33
DtDeSplashScreenMessageAlignment myMessageAlignment
Definition: DtQtDeSplashScreen.h:69
A Qt implementation of the DtDeSplashScreen.
Definition: DtQtDeSplashScreen.h:26
Contains makVrv::DtVirtualBaseClass class.
DtDeSplashScreenMessageAlignment
Definition: DtDeSplashScreen.h:38
The abstract main window class.
Definition: DtDeMainWindow.h:24
QSplashScreen * mySplashScreen
Definition: DtQtDeSplashScreen.h:67
Contains DLL export macros.
The VR-Vantage Splash Screen Interface.
Definition: DtDeSplashScreen.h:34
Contains makVrv::DtDeSplashScreen and DtDeSplashScreenProvider class declarations.

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)