diff options
| -rw-r--r-- | Bootstrap/icons/x.svg | 3 | ||||
| -rw-r--r-- | Eduport.qrc | 1 | ||||
| -rw-r--r-- | Header.ui.qml | 17 | 
3 files changed, 21 insertions, 0 deletions
diff --git a/Bootstrap/icons/x.svg b/Bootstrap/icons/x.svg new file mode 100644 index 0000000..c865d88 --- /dev/null +++ b/Bootstrap/icons/x.svg @@ -0,0 +1,3 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-x" viewBox="0 0 16 16"> +  <path d="M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z"/> +</svg>
\ No newline at end of file diff --git a/Eduport.qrc b/Eduport.qrc index 0ea226a..ae1d1c7 100644 --- a/Eduport.qrc +++ b/Eduport.qrc @@ -12,6 +12,7 @@  		<file>Bootstrap/icons/sun.svg</file>  		<file>Bootstrap/icons/moon-stars.svg</file>  		<file>Bootstrap/icons/cart3.svg</file> +		<file>Bootstrap/icons/x.svg</file>  		<file>Button/Sm.ui.qml</file>  		<file>Button/Btn.ui.qml</file>  		<file>Button/Primary.ui.qml</file> diff --git a/Header.ui.qml b/Header.ui.qml index 2d4e447..a4e6e49 100644 --- a/Header.ui.qml +++ b/Header.ui.qml @@ -176,6 +176,23 @@ ToolBar {  									.fillWidth:  									true  								} + +								Button { +									Layout.alignment: Qt.AlignTop +									contentItem: Image { +										source: "Bootstrap/icons/x.svg" + +										ColorOverlay { +											color: Eduport.bsGray600 +											source: parent +											anchors.fill: parent +										} +									} +									background: Rectangle { +										color: "transparent" +										implicitWidth: 13 +									} +								}  							}  							ComboBox {  |