1234567891011121314151617181920212223242526272829303132333435363738 |
- // Copyright (c) 2024 Ultimaker B.V.
- // Cura is released under the terms of the LGPLv3 or higher.
- import QtQuick 2.10
- import QtQuick.Controls 2.3
- import QtQuick.Layouts 1.3
- import QtQuick.Window 2.2
- import UM 1.8 as UM
- import Cura 1.1 as Cura
- RowLayout
- {
- id: settingSelection
- UM.CheckBox
- {
- text: modelData.name
- Layout.preferredWidth: UM.Theme.getSize("setting").width
- checked: modelData.selected
- onClicked: modelData.selected = checked
- enabled: modelData.selectable
- }
- UM.Label
- {
- text: modelData.value
- }
- UM.HelpIcon
- {
- UM.I18nCatalog { id: catalog; name: "cura" }
- text: catalog.i18nc("@tooltip",
- "This setting can't be exported because it depends on the used printer capacities")
- visible: !modelData.selectable
- }
- }
|