Dorian Zedler
1e09ebe027
Summary: - cleaned some stuff up in qml - separated the timer and the main.qml and put it into "SpeedTimer.qml" - continued on implementing the base conn connection - started to get the whole time meassuring procedure out of qml and into c++ -> added new class (SpeedTimer) for that
31 lines
681 B
QML
31 lines
681 B
QML
import QtQuick 2.0
|
|
import QtQuick.Controls 2.2
|
|
import "../styles"
|
|
|
|
ItemDelegate {
|
|
id: control
|
|
text: ""
|
|
font.pixelSize: options_stack.text_pixelSize
|
|
property color textColor: StyleSettings.textColor
|
|
|
|
contentItem: Text {
|
|
text: parent.text
|
|
color: control.textColor
|
|
font.pixelSize: parent.font.pixelSize
|
|
}
|
|
|
|
width: parent.width
|
|
|
|
Image {
|
|
id: forwardImage
|
|
source: StyleSettings.backIcon
|
|
rotation: 180
|
|
height: control.font.pixelSize
|
|
width: height
|
|
anchors {
|
|
verticalCenter: parent.verticalCenter
|
|
right: parent.right
|
|
rightMargin: 10
|
|
}
|
|
}
|
|
}
|