aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/accessibility
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@theqtcompany.com>2015-09-25 19:28:36 +0200
committerJ-P Nurmi <jpnurmi@theqtcompany.com>2015-09-25 19:49:47 +0000
commit46215a8bcc4423fe79be4e4830435a1e10db22e7 (patch)
tree319cad15d62597bea6f626ad1ade7774fb864e62 /tests/auto/accessibility
parentd703de8752e07cb12e8ce2e2a05d608f2b26425a (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/accessibility')
-rw-r--r--tests/auto/accessibility/data/togglebutton.qml13
-rw-r--r--tests/auto/accessibility/tst_accessibility.cpp1
2 files changed, 0 insertions, 14 deletions
diff --git a/tests/auto/accessibility/data/togglebutton.qml b/tests/auto/accessibility/data/togglebutton.qml
deleted file mode 100644
index 8f75c364..00000000
--- a/tests/auto/accessibility/data/togglebutton.qml
+++ /dev/null
@@ -1,13 +0,0 @@
-import QtQuick 2.5
-import QtQuick.Window 2.2
-import QtQuick.Controls 2.0
-
-Window {
- visible: true
-
- ToggleButton {
- id: togglebutton
- objectName: "togglebutton"
- text: "ToggleButton"
- }
-}
diff --git a/tests/auto/accessibility/tst_accessibility.cpp b/tests/auto/accessibility/tst_accessibility.cpp
index 41a0ed4b..450fb88a 100644
--- a/tests/auto/accessibility/tst_accessibility.cpp
+++ b/tests/auto/accessibility/tst_accessibility.cpp
@@ -87,7 +87,6 @@ void tst_accessibility::a11y_data()
QTest::newRow("TabButton") << "tabbutton" << 0x00000025 << "TabButton"; //QAccessible::PageTab
QTest::newRow("TextArea") << "textarea" << 0x0000002A << "TextArea"; //QAccessible::Accessible.EditableText
QTest::newRow("TextField") << "textfield" << 0x0000002A << "TextField"; //QAccessible::Accessible.EditableText
- QTest::newRow("ToggleButton") << "togglebutton" << 0x0000002B << "ToggleButton"; //QAccessible::Button
QTest::newRow("ToolBar") << "toolbar" << 0x00000016 << ""; //QAccessible::ToolBar
QTest::newRow("ToolButton") << "toolbutton" << 0x0000002B << "ToolButton"; //QAccessible::Button