A Qt implementation of the DtDeSplashScreen.
|
| enum | DtDeSplashScreenMessageAlignment {
DtDeSplashScreenMessageAlignment::AlignLeft = 0x0001,
DtDeSplashScreenMessageAlignment::AlignRight = 0x0002,
DtDeSplashScreenMessageAlignment::AlignHCenter = 0x0004,
DtDeSplashScreenMessageAlignment::AlignJustify = 0x0008,
DtDeSplashScreenMessageAlignment::AlignAbsolute = 0x0010,
DtDeSplashScreenMessageAlignment::AlignTop = 0x0020,
DtDeSplashScreenMessageAlignment::AlignBottom = 0x0040,
DtDeSplashScreenMessageAlignment::AlignVCenter = 0x0080,
DtDeSplashScreenMessageAlignment::AlignBaseline = 0x0100,
DtDeSplashScreenMessageAlignment::AlignCenter = AlignVCenter | AlignHCenter,
DtDeSplashScreenMessageAlignment::AlignBottomRight = AlignBottom | AlignRight
} |
| |
| static DtDeSplashScreen * | instance (DtDe &de) |
| |
| makVrv::DtQtDeSplashScreen::DtQtDeSplashScreen |
( |
const std::string & |
splashScreenImageFilePath, |
|
|
int |
width = 1276, |
|
|
int |
height = 808, |
|
|
int |
messageAreaHeight = 36 |
|
) |
| |
Use the creator to create an instance of this class.
- Parameters
-
| splashScreenImageFilePath | Path to the splash screen image. |
| width | Logical width of the splash screen in pixels (default 1276). |
| height | Logical height of the splash screen in pixels (default 808). |
| messageAreaHeight | Height in image pixels of the status-text band at the bottom of the image (e.g. the red bar). The text is vertically centered within this band and the font is sized to fit it. Converted to logical pixels at draw time using the screen device pixel ratio. Default is 36, matching the standard VR-Vantage splash images. |
| virtual makVrv::DtQtDeSplashScreen::~DtQtDeSplashScreen |
( |
| ) |
|
|
virtual |
| virtual void makVrv::DtQtDeSplashScreen::finish |
( |
DtDeMainWindow & |
mainWin | ) |
|
|
virtual |
Makes the splash screen wait until the widget mainWin is displayed before calling close() on itself.
Implements makVrv::DtDeSplashScreen.
| virtual void makVrv::DtQtDeSplashScreen::show |
( |
| ) |
|
|
virtual |
| virtual void makVrv::DtQtDeSplashScreen::setMessageColor |
( |
int |
colorR, |
|
|
int |
colorG, |
|
|
int |
colorB, |
|
|
int |
colorA |
|
) |
| |
|
virtual |
Set the color used for the message text. Range is 0 - 255. Default is (255, 255, 255, 255) or white.
Implements makVrv::DtDeSplashScreen.
| virtual void makVrv::DtQtDeSplashScreen::showMessage |
( |
const DtUnicode & |
message | ) |
|
|
virtual |
Draws the message text onto the splash screen with color color and aligns the text according to the flags in alignment.
Implements makVrv::DtDeSplashScreen.
Utility function to convert DtDeSplashScreenMessageAlignment to a Qt::Alignment returned as an integer.
| QSplashScreen* makVrv::DtQtDeSplashScreen::mySplashScreen |
|
protected |
| int makVrv::DtQtDeSplashScreen::myMessageColor[4] |
|
protected |
| int makVrv::DtQtDeSplashScreen::myMessageAreaHeight |
|
protected |
The documentation for this class was generated from the following file:
- /data/exports/nrhent7-1/nightly/docs/vrForces.vrf5-3-branch/include/vrvSplashScreen/DtQtDeSplashScreen.h