diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-04-19 05:30:36 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-04-19 10:34:40 -0700 |
commit | 1e86662e4a30ceebca0faf4a12169ce25740c4d4 (patch) | |
tree | cdb6ff707f1b96780f105aff6c4aded1da0b851c /mobile-widgets/qml/TextButton.qml | |
parent | a807a5e8cd5473c8bacf5b6299755899f613a1dd (diff) | |
download | subsurface-1e86662e4a30ceebca0faf4a12169ce25740c4d4.tar.gz |
Remove QML files that are no longer used
The TextButton was what we used for actions very early on, and the TopBar
has now been replaced by the Kirigami header bar.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml/TextButton.qml')
-rw-r--r-- | mobile-widgets/qml/TextButton.qml | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/mobile-widgets/qml/TextButton.qml b/mobile-widgets/qml/TextButton.qml deleted file mode 100644 index 3e5a36735..000000000 --- a/mobile-widgets/qml/TextButton.qml +++ /dev/null @@ -1,37 +0,0 @@ -import QtQuick 2.3 - -Rectangle { - id: container - - property alias text: label.text - - signal clicked - - width: label.width + 20; height: label.height + 6 - smooth: true - radius: 10 - - gradient: Gradient { - GradientStop { id: gradientStop; position: 0.0; color: palette.light } - GradientStop { position: 1.0; color: palette.button } - } - - SystemPalette { id: palette } - - MouseArea { - id: mouseArea - anchors.fill: parent - onClicked: { container.clicked() } - } - - Text { - id: label - anchors.centerIn: parent - } - - states: State { - name: "pressed" - when: mouseArea.pressed - PropertyChanges { target: gradientStop; color: palette.dark } - } -} |