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:
30  DtQtDeSplashScreen(const std::string& splashScreenImageFilePath, int width = 1276, int height = 808);
31 
33  virtual ~DtQtDeSplashScreen();
34 
36  virtual void finish(DtDeMainWindow& mainWin);
37 
39  virtual void show();
40 
43  virtual void setMessageAlignment(DtDeSplashScreenMessageAlignment alignment);
44 
47  virtual void setMessageColor(int colorR, int colorG, int colorB, int colorA);
48 
51  virtual void showMessage(const DtUnicode& message);
52 
53  protected:
54 
56  virtual int convertToQtAlignment(DtDeSplashScreenMessageAlignment alignment) const;
57 
58  protected:
59  QSplashScreen* mySplashScreen;
60 
62  int myMessageColor[4];
63  };
64 }
#define DT_DLL_VRVSPLASHSCREEN
Definition: vrvSplashScreen.h:19
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:61
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:59
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 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)