Commit 09c6328c authored by Thomas BOUTROUE's avatar Thomas BOUTROUE

Enhance visual look of physical item table delegates

parent f3a75379
......@@ -29,6 +29,13 @@ MouseArea {
signal needVisible (Item item);
signal valueEdited (real value);
Timer {
id: timerEnsureVisible;
repeat: false;
running: false;
interval: 10;
onTriggered: { needVisible (base); }
}
Rectangle {
color: Style.colorSecondary;
opacity: 0.15;
......@@ -50,13 +57,6 @@ MouseArea {
anchors.verticalCenter: parent.verticalCenter;
ExtraAnchors.horizontalFill: parent;
Timer {
id: timerEnsureVisible;
repeat: false;
running: false;
interval: 10;
onTriggered: { needVisible (base); }
}
TextLabel {
text: delegatePhyValTable.phyVal.uid;
anchors.verticalCenter: parent.verticalCenter;
......@@ -71,7 +71,11 @@ MouseArea {
}
}
}
Stretcher { }
Line {
opacity: 0.65;
implicitWidth: -1;
anchors.verticalCenter: parent.verticalCenter;
}
TextLabel {
text: delegatePhyValTable.phyVal.val.toFixed (2);
visible: !delegatePhyValTable.editable;
......
......@@ -55,7 +55,11 @@ Item {
id: lblTitle;
anchors.verticalCenter: parent.verticalCenter;
}
Stretcher { }
Line {
opacity: 0.65;
implicitWidth: -1;
anchors.verticalCenter: parent.verticalCenter;
}
SvgIconLoader {
icon: (layoutItems.visible
? "actions/chevron-down"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment