chore: cleanup
WaferMapTab stale comments + minor component fixes
This commit is contained in:
@@ -11,6 +11,7 @@ ColumnLayout {
|
||||
property var s: streamController.stats
|
||||
property alias showLabels: labelsToggle.checked
|
||||
property alias heatmapBlend: heatmapSlider.value
|
||||
property alias showThickness: thicknessToggle.checked
|
||||
|
||||
component PanelCheckBox: CheckBox {
|
||||
id: toggle
|
||||
@@ -333,7 +334,6 @@ ColumnLayout {
|
||||
text: "Show Thickness"
|
||||
checked: false
|
||||
font.pixelSize: Theme.fontXs
|
||||
onCheckedChanged: waferMapItem.showThickness = checked
|
||||
}
|
||||
|
||||
PanelCheckBox {
|
||||
|
||||
@@ -47,15 +47,16 @@ ColumnLayout {
|
||||
}
|
||||
|
||||
ToolTip {
|
||||
id: editTooltip
|
||||
visible: editBtn.hovered
|
||||
text: "Edit"
|
||||
delay: 400
|
||||
font.pixelSize: Theme.fontXs
|
||||
font.family: Theme.uiFontFamily
|
||||
contentItem: Text {
|
||||
text: parent.text
|
||||
text: editTooltip.text
|
||||
color: Theme.headingColor
|
||||
font: parent.font
|
||||
font: editTooltip.font
|
||||
}
|
||||
background: Rectangle {
|
||||
color: Theme.cardBackground
|
||||
@@ -84,15 +85,16 @@ ColumnLayout {
|
||||
onClicked: file_browser.refreshFiles()
|
||||
|
||||
ToolTip {
|
||||
id: refreshTooltip
|
||||
visible: refreshBtn.hovered
|
||||
text: "Refresh"
|
||||
delay: 400
|
||||
font.pixelSize: Theme.fontXs
|
||||
font.family: Theme.uiFontFamily
|
||||
contentItem: Text {
|
||||
text: parent.text
|
||||
text: refreshTooltip.text
|
||||
color: Theme.headingColor
|
||||
font: parent.font
|
||||
font: refreshTooltip.font
|
||||
}
|
||||
background: Rectangle {
|
||||
color: Theme.cardBackground
|
||||
|
||||
@@ -7,6 +7,7 @@ Item {
|
||||
id: root
|
||||
property real blend: 0.0
|
||||
property bool showLabels: true
|
||||
property alias showThickness: map.showThickness
|
||||
|
||||
WaferMapItem {
|
||||
id: map
|
||||
|
||||
Reference in New Issue
Block a user