CURA-5035 Added typings

This commit is contained in:
Ian Paschal 2018-04-20 16:21:57 +02:00
parent 9b556e9c86
commit 0944bba86b
5 changed files with 46 additions and 46 deletions

View file

@ -12,11 +12,12 @@ Item
id: base
property var details: toolbox.packagesModel.items[0]
anchors.fill: parent
width: parent.width
ToolboxBackColumn
{
id: sidebar
}
Rectangle
Item
{
id: header
anchors

View file

@ -13,6 +13,7 @@ Column
{
id: base
height: childrenRect.height
width: parent.width
spacing: UM.Theme.getSize("default_margin").height
Label
{
@ -29,7 +30,7 @@ Column
columns: 2
columnSpacing: UM.Theme.getSize("default_margin").height
rowSpacing: UM.Theme.getSize("default_margin").width
height: childrenRect.height
Repeater
{
model: toolbox.viewCategory == "material" ? toolbox.authorsModel : toolbox.packagesModel

View file

@ -2,19 +2,16 @@
// Toolbox 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
// TODO: Switch to QtQuick.Controls 2.x and remove QtQuick.Controls.Styles
Column
{
id: base
height: childrenRect.height
spacing: UM.Theme.getSize("toolbox_showcase_spacing").width
width: parent.width
Label
{
id: heading
@ -31,7 +28,6 @@ Column
{
horizontalCenter: parent.horizontalCenter
}
Repeater
{
model: {

View file

@ -9,11 +9,11 @@ Item
{
id: header
width: parent.width
height: UM.Theme.getSize("toolbox_header").height * 4
height: UM.Theme.getSize("toolbox_header").height
Row
{
id: bar
spacing: 12
spacing: UM.Theme.getSize("default_margin").width
height: childrenRect.height
width: childrenRect.width
anchors