From ac40022a936d30d828040b7892cfe0aec659b5b6 Mon Sep 17 00:00:00 2001 From: Pascal Precht Date: Thu, 14 Oct 2021 15:29:25 +0200 Subject: [PATCH] chore: remove `TertiaryButton` --- ui/shared/TertiaryButton.qml | 42 ------------------------------------ 1 file changed, 42 deletions(-) delete mode 100644 ui/shared/TertiaryButton.qml diff --git a/ui/shared/TertiaryButton.qml b/ui/shared/TertiaryButton.qml deleted file mode 100644 index 9a6d59d458..0000000000 --- a/ui/shared/TertiaryButton.qml +++ /dev/null @@ -1,42 +0,0 @@ -import QtQuick 2.13 -import QtQuick.Controls 2.13 - -import utils 1.0 - -import "./panels" - -Button { - id: root - property alias label: txtBtnLabel.text - - width: txtBtnLabel.width + 2 * 12 - height: txtBtnLabel.height + 2 * 6 - - background: Rectangle { - color: Style.current.backgroundTertiary - radius: 6 - anchors.fill: parent - border.color: Style.current.borderTertiary - border.width: 1 - } - - StyledText { - id: txtBtnLabel - color: Style.current.textColorTertiary - font.pixelSize: 12 - height: 16 - anchors.verticalCenter: parent.verticalCenter - anchors.horizontalCenter: parent.horizontalCenter - //% "Paste" - text: qsTrId("paste") - } - - MouseArea { - id: mouse - cursorShape: Qt.PointingHandCursor - anchors.fill: parent - onClicked: { - parent.clicked() - } - } -}