mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 22:13:58 -06:00
Remove dialogs that were moved to Uranium
This commit is contained in:
parent
5542073e44
commit
828752af30
3 changed files with 1 additions and 111 deletions
|
@ -1,36 +0,0 @@
|
|||
// 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.Window 2.1
|
||||
|
||||
import UM 1.1 as UM
|
||||
|
||||
UM.Dialog
|
||||
{
|
||||
id: base
|
||||
|
||||
//: About dialog title
|
||||
title: catalog.i18nc("@title:window","Add profile")
|
||||
width: 400
|
||||
height: childrenRect.height
|
||||
|
||||
rightButtons: Row
|
||||
{
|
||||
spacing: UM.Theme.sizes.default_margin.width
|
||||
|
||||
Button
|
||||
{
|
||||
text: catalog.i18nc("@action:button","Add");
|
||||
isDefault: true
|
||||
}
|
||||
Button
|
||||
{
|
||||
text: catalog.i18nc("@action:button","Cancel");
|
||||
|
||||
onClicked: base.visible = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -580,7 +580,7 @@ UM.MainWindow
|
|||
reloadAll.onTriggered: Printer.reloadAll()
|
||||
|
||||
addMachine.onTriggered: addMachineWizard.visible = true;
|
||||
addProfile.onTriggered: addProfileDialog.visible = true;
|
||||
addProfile.onTriggered: { UM.MachineManager.createProfile(); preferences.visible = true; preferences.setPage(4); }
|
||||
|
||||
preferences.onTriggered: { preferences.visible = true; preferences.setPage(0); }
|
||||
configureMachines.onTriggered: { preferences.visible = true; preferences.setPage(3); }
|
||||
|
@ -673,16 +673,6 @@ UM.MainWindow
|
|||
id: addMachineWizard
|
||||
}
|
||||
|
||||
AddProfileDialog
|
||||
{
|
||||
id: addProfileDialog
|
||||
}
|
||||
|
||||
LoadProfileDialog
|
||||
{
|
||||
id: loadProfileDialog
|
||||
}
|
||||
|
||||
AboutDialog
|
||||
{
|
||||
id: aboutDialog
|
||||
|
|
|
@ -1,64 +0,0 @@
|
|||
// 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.Window 2.1
|
||||
|
||||
import UM 1.1 as UM
|
||||
|
||||
UM.Dialog
|
||||
{
|
||||
id: base
|
||||
|
||||
//: About dialog title
|
||||
title: catalog.i18nc("@title:window","Load profile")
|
||||
width: 400
|
||||
height: childrenRect.height
|
||||
|
||||
Label
|
||||
{
|
||||
id: body
|
||||
|
||||
//: About dialog application description
|
||||
text: catalog.i18nc("@label","Selecting this profile overwrites some of your customised settings. Do you want to merge the new settings into your current profile or do you want to load a clean copy of the profile?")
|
||||
wrapMode: Text.WordWrap
|
||||
width: parent.width
|
||||
anchors.top: parent.top
|
||||
anchors.margins: UM.Theme.sizes.default_margin.height
|
||||
|
||||
UM.I18nCatalog { id: catalog; name: "cura"; }
|
||||
}
|
||||
|
||||
Label
|
||||
{
|
||||
id: show_details
|
||||
|
||||
//: About dialog application author note
|
||||
text: catalog.i18nc("@label","Show details.")
|
||||
wrapMode: Text.WordWrap
|
||||
anchors.top: body.bottom
|
||||
anchors.topMargin: UM.Theme.sizes.default_margin.height
|
||||
}
|
||||
|
||||
rightButtons: Row
|
||||
{
|
||||
spacing: UM.Theme.sizes.default_margin.width
|
||||
|
||||
Button
|
||||
{
|
||||
text: catalog.i18nc("@action:button","Merge settings");
|
||||
}
|
||||
Button
|
||||
{
|
||||
text: catalog.i18nc("@action:button","Reset profile");
|
||||
}
|
||||
Button
|
||||
{
|
||||
text: catalog.i18nc("@action:button","Cancel");
|
||||
|
||||
onClicked: base.visible = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue