Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
fef336bc
Commit
fef336bc
authored
May 06, 2011
by
Thomas Hartmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
QmlDesigner.propertyEditor: fixes for PathView
parent
d7f3a0c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
60 additions
and
58 deletions
+60
-58
share/qtcreator/qmldesigner/propertyeditor/Qt/PathViewSpecifics.qml
...eator/qmldesigner/propertyeditor/Qt/PathViewSpecifics.qml
+60
-58
No files found.
share/qtcreator/qmldesigner/propertyeditor/Qt/PathViewSpecifics.qml
View file @
fef336bc
...
...
@@ -81,78 +81,80 @@ QWidget {
}
IntEditor
{
backendValue
:
backendValues
.
pathItemCount
caption
:
qsTr
(
"
Path
Item Count
"
)
toolTip
:
qsTr
(
"
This property holds the number of items visible on the path at any one time.
"
)
caption
:
qsTr
(
"
Item Count
"
)
toolTip
:
qsTr
(
"
pathItemCount:
This property holds the number of items visible on the path at any one time.
"
)
baseStateFlag
:
isBaseState
;
step
:
1
;
minimumValue
:
-
1
;
maximumValue
:
1000
;
}
GroupBox
{
finished
:
finishedNotify
;
caption
:
qsTr
(
"
Grid View ViewHighlight
"
)
layout
:
VerticalLayout
{
QWidget
{
layout
:
HorizontalLayout
{
Label
{
text
:
qsTr
(
"
Righlight Range
"
)
}
}
}
GroupBox
{
finished
:
finishedNotify
;
caption
:
qsTr
(
"
Grid View ViewHighlight
"
)
layout
:
VerticalLayout
{
QWidget
{
layout
:
HorizontalLayout
{
Label
{
text
:
qsTr
(
"
Righlight Range
"
)
}
ComboBox
{
baseStateFlag
:
isBaseState
items
:
{
[
"
NoHighlightRange
"
,
"
ApplyRange
"
,
"
StrictlyEnforceRange
"
]
}
currentText
:
backendValues
.
highlightRangeMode
.
value
;
onItemsChanged
:
{
currentText
=
backendValues
.
highlightRangeMode
.
value
;
}
backendValue
:
backendValues
.
highlightRangeMode
}
ComboBox
{
baseStateFlag
:
isBaseState
items
:
{
[
"
NoHighlightRange
"
,
"
ApplyRange
"
,
"
StrictlyEnforceRange
"
]
}
currentText
:
backendValues
.
highlightRangeMode
.
value
;
onItemsChanged
:
{
currentText
=
backendValues
.
highlightRangeMode
.
value
;
}
}
//QWidget
IntEditor
{
backendValue
:
backendValues
.
highlightMoveDuration
caption
:
qsTr
(
"
Move Duration
"
)
toolTip
:
qsTr
(
"
This property holds the move animation duration of the highlight delegate.
"
)
baseStateFlag
:
isBaseState
;
step
:
1
;
minimumValue
:
0
;
maximumValue
:
1000
;
backendValue
:
backendValues
.
highlightRangeMode
}
IntEditor
{
backendValue
:
backendValues
.
preferredHighlightBegin
caption
:
qsTr
(
"
Preferred Begin
"
)
toolTip
:
qsTr
(
"
Preferred Highlight Begin - must be smaller than Preferred Highlight End
"
)
baseStateFlag
:
isBaseState
;
step
:
1
;
minimumValue
:
0
;
maximumValue
:
1000
;
}
}
//QWidget
IntEditor
{
backendValue
:
backendValues
.
highlightMoveDuration
caption
:
qsTr
(
"
Move Duration
"
)
toolTip
:
qsTr
(
"
This property holds the move animation duration of the highlight delegate.
"
)
baseStateFlag
:
isBaseState
;
step
:
1
;
minimumValue
:
0
;
maximumValue
:
1000
;
}
IntEditor
{
backendValue
:
backendValues
.
preferredHighlightBegin
caption
:
qsTr
(
"
Preferred Begin
"
)
toolTip
:
qsTr
(
"
Preferred Highlight Begin - must be smaller than Preferred Highlight End
"
)
baseStateFlag
:
isBaseState
;
step
:
1
;
minimumValue
:
0
;
maximumValue
:
1000
;
}
IntEditor
{
backendValue
:
backendValues
.
preferredHighlightEnd
caption
:
qsTr
(
"
Preferred End
"
)
toolTip
:
qsTr
(
"
Preferred Highlight End - must be larger than Preferred Highlight End
"
)
baseStateFlag
:
isBaseState
;
step
:
1
;
minimumValue
:
0
;
maximumValue
:
1000
;
}
QWidget
{
// 1
layout
:
HorizontalLayout
{
Label
{
text
:
qsTr
(
"
Follows Current
"
)
}
IntEditor
{
backendValue
:
backendValues
.
preferredHighlightEnd
caption
:
qsTr
(
"
Preferred End
"
)
toolTip
:
qsTr
(
"
Preferred Highlight End - must be larger than Preferred Highlight End
"
)
CheckBox
{
backendValue
:
backendValues
.
highlightFollowsCurrentItem
toolTip
:
qsTr
(
"
This property sets whether the highlight is managed by the view.
"
)
baseStateFlag
:
isBaseState
;
step
:
1
;
minimumValue
:
0
;
maximumValue
:
1000
;
}
QWidget
{
// 1
layout
:
HorizontalLayout
{
Label
{
text
:
qsTr
(
"
Follows Current
"
)
}
CheckBox
{
backendValue
:
backendValues
.
highlightFollowsCurrentItem
toolTip
:
qsTr
(
"
This property sets whether the highlight is managed by the view.
"
)
baseStateFlag
:
isBaseState
;
checkable
:
True
}
}
checkable
:
True
}
}
}
}
}
QScrollArea
{
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment