mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-15 02:37:49 -06:00
CURA-5035 First draft
This commit is contained in:
parent
3fb14691a9
commit
138fc668a7
15 changed files with 799 additions and 372 deletions
48
plugins/PluginBrowser/resources/qml/ToolboxShowcaseTile.qml
Normal file
48
plugins/PluginBrowser/resources/qml/ToolboxShowcaseTile.qml
Normal file
|
@ -0,0 +1,48 @@
|
|||
// 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("base_unit").width * 12
|
||||
height: UM.Theme.getSize("base_unit").width * 12
|
||||
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")
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue