Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
libksysguard
Commits
6a75a284
Commit
6a75a284
authored
Oct 09, 2020
by
Arjen Hiemstra
Browse files
Add support for the showTitle property to all faces
parent
5407cd31
Changes
5
Hide whitespace changes
Inline
Side-by-side
faces/facepackages/barchart/contents/ui/FullRepresentation.qml
View file @
6a75a284
...
...
@@ -51,7 +51,7 @@ Faces.SensorFace {
horizontalAlignment
:
Text
.
AlignHCenter
elide
:
Text
.
ElideRight
text
:
root
.
controller
.
title
visible
:
text
.
length
>
0
visible
:
root
.
controller
.
showTitle
&&
text
.
length
>
0
level
:
2
TextMetrics
{
id
:
titleMetrics
...
...
faces/facepackages/horizontalbars/contents/ui/FullRepresentation.qml
View file @
6a75a284
...
...
@@ -46,7 +46,7 @@ Faces.SensorFace {
horizontalAlignment
:
Text
.
AlignHCenter
elide
:
Text
.
ElideRight
text
:
root
.
controller
.
title
visible
:
text
.
length
>
0
visible
:
root
.
controller
.
showTitle
&&
text
.
length
>
0
level
:
2
TextMetrics
{
id
:
titleMetrics
...
...
faces/facepackages/linechart/contents/ui/FullRepresentation.qml
View file @
6a75a284
...
...
@@ -48,7 +48,7 @@ Faces.SensorFace {
horizontalAlignment
:
Text
.
AlignHCenter
elide
:
Text
.
ElideRight
text
:
root
.
controller
.
title
visible
:
text
.
length
>
0
visible
:
root
.
controller
.
showTitle
&&
text
.
length
>
0
level
:
2
TextMetrics
{
id
:
titleMetrics
...
...
faces/facepackages/piechart/contents/ui/FullRepresentation.qml
View file @
6a75a284
...
...
@@ -46,7 +46,7 @@ Faces.SensorFace {
horizontalAlignment
:
Text
.
AlignHCenter
elide
:
Text
.
ElideRight
text
:
root
.
controller
.
title
visible
:
text
.
length
>
0
visible
:
root
.
controller
.
showTitle
&&
text
.
length
>
0
level
:
2
TextMetrics
{
id
:
titleMetrics
...
...
faces/facepackages/textonly/contents/ui/FullRepresentation.qml
View file @
6a75a284
...
...
@@ -45,7 +45,7 @@ Faces.SensorFace {
horizontalAlignment
:
Text
.
AlignHCenter
elide
:
Text
.
ElideRight
text
:
root
.
controller
.
title
visible
:
text
.
length
>
0
visible
:
root
.
controller
.
showTitle
&&
text
.
length
>
0
level
:
2
TextMetrics
{
id
:
titleMetrics
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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