mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-22 10:21:39 -07:00
The welcome dialog is now a rectangle instead of a dialog
The whole window approach was just causing to much cross platform issues, so I converted it into a rectangle and put a mouseArea that eats all the events in the greyOut background CURA-6057
This commit is contained in:
parent
28dc187731
commit
894a09b654
3 changed files with 22 additions and 12 deletions
|
|
@ -13,18 +13,16 @@ import Cura 1.1 as Cura
|
|||
//
|
||||
// This is a no-frame dialog that shows the welcome process.
|
||||
//
|
||||
Window
|
||||
Item
|
||||
{
|
||||
UM.I18nCatalog { id: catalog; name: "cura" }
|
||||
|
||||
id: dialog
|
||||
title: catalog.i18nc("@title", "Welcome to Ultimaker Cura")
|
||||
modality: Qt.ApplicationModal
|
||||
flags: Qt.Dialog | Qt.FramelessWindowHint
|
||||
|
||||
anchors.centerIn: parent
|
||||
|
||||
width: 580 * screenScaleFactor
|
||||
height: 600 * screenScaleFactor
|
||||
color: "transparent"
|
||||
|
||||
property int shadowOffset: 1 * screenScaleFactor
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue