mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-13 17:28:02 +08:00
49 lines
1.5 KiB
QML
49 lines
1.5 KiB
QML
// Copyright (c) 2018 Ultimaker B.V.
|
|
// PluginBrowser is released under the terms of the LGPLv3 or higher.
|
|
|
|
import QtQuick 2.2
|
|
import QtQuick.Dialogs 1.1
|
|
import QtQuick.Window 2.2
|
|
import QtQuick.Controls 1.4
|
|
import QtQuick.Controls.Styles 1.4
|
|
import UM 1.1 as UM
|
|
|
|
/* NOTE: This file uses the UM.Theme's "base_unit" size. It's commonly agreed
|
|
that good design is consistent design, and since the UM.Theme's JSON file does
|
|
not provide a method for interiting base units across the interface, adding more
|
|
properties for severy single UI element is undesirable for both developers and
|
|
theme makers/modfiers. Thus, "base_unit" is used wherever it can be. */
|
|
|
|
Item
|
|
{
|
|
width: UM.Theme.getSize("toolbox_thumbnail_large").width
|
|
height: UM.Theme.getSize("toolbox_thumbnail_large").width
|
|
Rectangle
|
|
{
|
|
color: "white"
|
|
width: UM.Theme.getSize("base_unit").width * 8
|
|
height: UM.Theme.getSize("base_unit").width * 8
|
|
border.width: 1
|
|
anchors
|
|
{
|
|
top: parent.top
|
|
horizontalCenter: parent.horizontalCenter
|
|
}
|
|
}
|
|
Label
|
|
{
|
|
text: "Solidworks Integration"
|
|
anchors
|
|
{
|
|
bottom: parent.bottom
|
|
horizontalCenter: parent.horizontalCenter
|
|
}
|
|
verticalAlignment: Text.AlignVCenter
|
|
horizontalAlignment: Text.AlignHCenter
|
|
height: UM.Theme.getSize("base_unit").width * 4
|
|
width: parent.width
|
|
color: UM.Theme.getColor("text")
|
|
font: UM.Theme.getFont("medium_bold")
|
|
}
|
|
}
|