mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-21 13:47:51 -06:00
Update enterprise splash screen background
CURA-7011
This commit is contained in:
parent
d09f3492db
commit
cbfa45dd25
2 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ class CuraSplashScreen(QSplashScreen):
|
||||||
|
|
||||||
if ApplicationMetadata.IsEnterpriseVersion:
|
if ApplicationMetadata.IsEnterpriseVersion:
|
||||||
splash_image = QPixmap(Resources.getPath(Resources.Images, "cura_enterprise.png"))
|
splash_image = QPixmap(Resources.getPath(Resources.Images, "cura_enterprise.png"))
|
||||||
self._version_y_offset = 32
|
self._version_y_offset = 26
|
||||||
else:
|
else:
|
||||||
splash_image = QPixmap(Resources.getPath(Resources.Images, "cura.png"))
|
splash_image = QPixmap(Resources.getPath(Resources.Images, "cura.png"))
|
||||||
|
|
||||||
|
@ -64,7 +64,7 @@ class CuraSplashScreen(QSplashScreen):
|
||||||
font = QFont() # Using system-default font here
|
font = QFont() # Using system-default font here
|
||||||
font.setPixelSize(18)
|
font.setPixelSize(18)
|
||||||
painter.setFont(font)
|
painter.setFont(font)
|
||||||
painter.drawText(60, 66 + self._version_y_offset, 330 * self._scale, 230 * self._scale, Qt.AlignLeft | Qt.AlignTop, version[0])
|
painter.drawText(60, 70 + self._version_y_offset, 330 * self._scale, 230 * self._scale, Qt.AlignLeft | Qt.AlignTop, version[0])
|
||||||
if len(version) > 1:
|
if len(version) > 1:
|
||||||
font.setPixelSize(16)
|
font.setPixelSize(16)
|
||||||
painter.setFont(font)
|
painter.setFont(font)
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 28 KiB |
Loading…
Add table
Add a link
Reference in a new issue