mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 15:07:28 -06:00
Add docs for properties in AddLocalPrinterScrollView.qml
This commit is contained in:
parent
f90fd8aee8
commit
47d74950dc
1 changed files with 3 additions and 0 deletions
|
@ -16,10 +16,13 @@ ScrollView
|
||||||
{
|
{
|
||||||
id: base
|
id: base
|
||||||
|
|
||||||
|
// The currently selected machine item in the local machine list.
|
||||||
property var currentItem: (machineList.currentIndex >= 0)
|
property var currentItem: (machineList.currentIndex >= 0)
|
||||||
? machineList.model.getItem(machineList.currentIndex)
|
? machineList.model.getItem(machineList.currentIndex)
|
||||||
: null
|
: null
|
||||||
|
// The currently active (expanded) section/category, where section/category is the grouping of local machine items.
|
||||||
property string currentSection: preferredCategory
|
property string currentSection: preferredCategory
|
||||||
|
// By default (when this list shows up) we always expand the "Ultimaker" section.
|
||||||
property string preferredCategory: "Ultimaker"
|
property string preferredCategory: "Ultimaker"
|
||||||
|
|
||||||
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff
|
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue