diff --git a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml index 9619181..db644ed 100644 --- a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml +++ b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/AppMenuBar.qml @@ -92,6 +92,7 @@ MenuBar { visible: Objects.types[modelData].createable() height: visible ? implicitHeight : 0 icon.name: modelData + icon.source: './icons/' + modelData + '.svg' icon.color: sysPalette.windowText onTriggered: { var newObj = Objects.createNewRegisteredObject(modelData) diff --git a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectCreationGrid.qml b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectCreationGrid.qml index 8438324..93f8c1f 100644 --- a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectCreationGrid.qml +++ b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectCreationGrid.qml @@ -47,6 +47,7 @@ Column { height: visible ? implicitHeight : 0 display: AbstractButton.TextUnderIcon icon.name: modelData + icon.source: '../icons/' + modelData + '.svg' icon.width: 24 icon.height: 24 icon.color: sysPalette.windowText diff --git a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml index 101d9ed..bf7f073 100644 --- a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml +++ b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/ObjectLists/ObjectLists.qml @@ -128,6 +128,7 @@ ListView { anchors.rightMargin: 5 anchors.topMargin: 5 icon.name: 'position' + icon.source: '../icons/position.svg' property bool hasXProp: Objects.types[objType].properties().hasOwnProperty('x') property bool hasYProp: Objects.types[objType].properties().hasOwnProperty('y') visible: hasXProp || hasYProp @@ -154,6 +155,7 @@ ListView { anchors.rightMargin: 5 anchors.topMargin: 5 icon.name: 'delete' + icon.source: '../icons/delete.svg' ToolTip.visible: hovered ToolTip.text: 'Delete ' + Objects.types[objType].displayType() + '.' diff --git a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/icons/position.svg b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/icons/position.svg new file mode 120000 index 0000000..fadae94 --- /dev/null +++ b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/icons/position.svg @@ -0,0 +1 @@ +./settings/custom/position.svg \ No newline at end of file