mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-20 17:49:14 +08:00

* 'master' of github.com:ultimaker/Cura: (49 commits) 15.10 restyling of the sidebar header 15.10 restyling of the sidebar header 15.10 restyling of the sidebar split magic_mesh)surface_mode into Normal, Surface, Both Added preference to disable automatic scale Removed unused import Added changeLog plugin Added missing ) Merging of mine and Jaimes work Removed font from rectangle JSON: git diff! removed triangles and grid top/bottom skin options (though they are available) Code style & switch to translation catalog 15.10 re-alignment of the toolbar 15.10 New Icons 15.10 restyling of the savebutton Area Added message asking about sending data to server Added exception handling for checking overlap. Fixed default button for general and view page Fixed double ID in qml Removed unused import ...
33 lines
805 B
QML
33 lines
805 B
QML
// Copyright (c) 2015 Ultimaker B.V.
|
|
// Cura is released under the terms of the AGPLv3 or higher.
|
|
|
|
import QtQuick 2.2
|
|
import QtQuick.Controls 1.1
|
|
import QtQuick.Layouts 1.1
|
|
import QtQuick.Window 2.1
|
|
|
|
import UM 1.1 as UM
|
|
import Cura 1.0 as Cura
|
|
|
|
import "WizardPages"
|
|
|
|
UM.Wizard
|
|
{
|
|
id: base;
|
|
|
|
title: catalog.i18nc("@title:window", "Add Printer")
|
|
|
|
// This part is optional
|
|
// This part checks whether there is a printer -> if not: some of the functions (delete for example) are disabled
|
|
firstRun: false
|
|
|
|
Component.onCompleted: {
|
|
base.appendPage(UM.Resources.getPath(Cura.ResourceTypes.QmlFiles, "WizardPages/AddMachine.qml"), catalog.i18nc("@title", "Add Printer"));
|
|
base.currentPage = 0;
|
|
}
|
|
|
|
Item {
|
|
UM.I18nCatalog { id: catalog; name: "cura"; }
|
|
}
|
|
}
|