diff options
author | J-P Nurmi <jpnurmi@theqtcompany.com> | 2015-09-25 19:28:36 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@theqtcompany.com> | 2015-09-25 19:49:47 +0000 |
commit | 46215a8bcc4423fe79be4e4830435a1e10db22e7 (patch) | |
tree | 319cad15d62597bea6f626ad1ade7774fb864e62 /tests/auto/snippets | |
parent | d703de8752e07cb12e8ce2e2a05d608f2b26425a (diff) |
Remove ToggleButton
We don't have a sensible design. It's better not to have it at
all than to have a confusing tiny bit tweaked clone of Switch.
Change-Id: Ib0eabd075590100e9e49846c7172909525b54a57
Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
Diffstat (limited to 'tests/auto/snippets')
7 files changed, 0 insertions, 59 deletions
diff --git a/tests/auto/snippets/data/togglebutton/qtquickcontrols2-togglebutton-background.qml b/tests/auto/snippets/data/togglebutton/qtquickcontrols2-togglebutton-background.qml deleted file mode 100644 index 1ae976f0..00000000 --- a/tests/auto/snippets/data/togglebutton/qtquickcontrols2-togglebutton-background.qml +++ /dev/null @@ -1,10 +0,0 @@ -import QtQuick 2.0 -import QtQuick.Controls 2.0 - -ToggleButton { - text: "ToggleButton" - background: Rectangle { - color: "transparent" - border.color: "red" - } -} diff --git a/tests/auto/snippets/data/togglebutton/qtquickcontrols2-togglebutton-checked.qml b/tests/auto/snippets/data/togglebutton/qtquickcontrols2-togglebutton-checked.qml deleted file mode 100644 index bbb60a05..00000000 --- a/tests/auto/snippets/data/togglebutton/qtquickcontrols2-togglebutton-checked.qml +++ /dev/null @@ -1,7 +0,0 @@ -import QtQuick 2.0 -import QtQuick.Controls 2.0 - -ToggleButton { - text: "Checked" - checked: true -} diff --git a/tests/auto/snippets/data/togglebutton/qtquickcontrols2-togglebutton-disabled.qml b/tests/auto/snippets/data/togglebutton/qtquickcontrols2-togglebutton-disabled.qml deleted file mode 100644 index 72bfbb39..00000000 --- a/tests/auto/snippets/data/togglebutton/qtquickcontrols2-togglebutton-disabled.qml +++ /dev/null @@ -1,7 +0,0 @@ -import QtQuick 2.0 -import QtQuick.Controls 2.0 - -ToggleButton { - text: "Disabled" - enabled: false -} diff --git a/tests/auto/snippets/data/togglebutton/qtquickcontrols2-togglebutton-focused.qml b/tests/auto/snippets/data/togglebutton/qtquickcontrols2-togglebutton-focused.qml deleted file mode 100644 index fdcb4d42..00000000 --- a/tests/auto/snippets/data/togglebutton/qtquickcontrols2-togglebutton-focused.qml +++ /dev/null @@ -1,7 +0,0 @@ -import QtQuick 2.0 -import QtQuick.Controls 2.0 - -ToggleButton { - text: "Focused" - focus: true -} diff --git a/tests/auto/snippets/data/togglebutton/qtquickcontrols2-togglebutton-indicator.qml b/tests/auto/snippets/data/togglebutton/qtquickcontrols2-togglebutton-indicator.qml deleted file mode 100644 index 7acbe8e4..00000000 --- a/tests/auto/snippets/data/togglebutton/qtquickcontrols2-togglebutton-indicator.qml +++ /dev/null @@ -1,11 +0,0 @@ -import QtQuick 2.0 -import QtQuick.Controls 2.0 - -ToggleButton { - text: "ToggleButton" - Rectangle { - anchors.fill: indicator - color: "transparent" - border.color: "red" - } -} diff --git a/tests/auto/snippets/data/togglebutton/qtquickcontrols2-togglebutton-label.qml b/tests/auto/snippets/data/togglebutton/qtquickcontrols2-togglebutton-label.qml deleted file mode 100644 index 1af32b9e..00000000 --- a/tests/auto/snippets/data/togglebutton/qtquickcontrols2-togglebutton-label.qml +++ /dev/null @@ -1,11 +0,0 @@ -import QtQuick 2.0 -import QtQuick.Controls 2.0 - -ToggleButton { - text: "ToggleButton" - Rectangle { - anchors.fill: label - color: "transparent" - border.color: "red" - } -} diff --git a/tests/auto/snippets/data/togglebutton/qtquickcontrols2-togglebutton-normal.qml b/tests/auto/snippets/data/togglebutton/qtquickcontrols2-togglebutton-normal.qml deleted file mode 100644 index fcdfdd7d..00000000 --- a/tests/auto/snippets/data/togglebutton/qtquickcontrols2-togglebutton-normal.qml +++ /dev/null @@ -1,6 +0,0 @@ -import QtQuick 2.0 -import QtQuick.Controls 2.0 - -ToggleButton { - text: "Normal" -} |