Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
Itinerary
Commits
23a072e7
Commit
23a072e7
authored
Mar 05, 2021
by
Volker Krause
Browse files
Show intermediate stop notes when available
parent
9b35af4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/app/JourneySectionStopDelegate.qml
View file @
23a072e7
...
...
@@ -30,7 +30,7 @@ Item {
width
:
parent
.
width
height
:
parent
.
height
columns
:
7
rows
:
2
rows
:
3
Item
{
id
:
lineSegment
Layout.column
:
0
...
...
@@ -160,5 +160,37 @@ Item {
applicationWindow
().
pageStack
.
push
(
indoorMapPage
,
args
);
}
}
// intermediate stop notes
Item
{
Layout.column
:
0
Layout.row
:
2
Layout.fillHeight
:
true
implicitWidth
:
lineSegment
.
implicitWidth
visible
:
notesLabel
.
visible
Rectangle
{
y
:
-
layout
.
rowSpacing
x
:
2
*
lineSegment
.
lineWidth
width
:
lineSegment
.
lineWidth
color
:
lineSegment
.
lineColor
height
:
parent
.
height
-
y
}
}
QQC2.Label
{
id
:
notesLabel
Layout.column
:
3
Layout.row
:
2
Layout.columnSpan
:
3
Layout.fillWidth
:
true
Layout.fillHeight
:
true
verticalAlignment
:
Qt
.
AlignTop
text
:
stop
.
notes
.
join
(
"
<br/>
"
)
textFormat
:
Text
.
RichText
wrapMode
:
Text
.
Wrap
visible
:
stop
.
notes
.
length
>
0
&&
!
isDeparture
font.italic
:
true
}
}
}
Write
Preview
Supports
Markdown
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