summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFrederik Gladhorn <frederik.gladhorn@digia.com>2012-10-12 12:00:07 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-10-15 21:34:24 +0200
commit83ffc56a72cb04d38686e81105684474cebfff2b (patch)
treea41a26db6a47b1fa9232d6cd404ea68cebc210e3 /src
parent698d5a2b9f3df52fb6c4e178d50d2743db000b3d (diff)
Make QFileDialogs more accessible.
Update the file dialog's ui file. Add accessible name and description to the list views. Fix the tabbing order to be more logical. Change-Id: Ib71214e1f2aef4f9c9bfa747ba5a8c452b18fa22 Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src')
-rw-r--r--src/widgets/dialogs/qfiledialog.ui25
1 files changed, 20 insertions, 5 deletions
diff --git a/src/widgets/dialogs/qfiledialog.ui b/src/widgets/dialogs/qfiledialog.ui
index 681d93912d..6545fc05d4 100644
--- a/src/widgets/dialogs/qfiledialog.ui
+++ b/src/widgets/dialogs/qfiledialog.ui
@@ -170,7 +170,14 @@
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
- <widget class="QSidebar" name="sidebar"/>
+ <widget class="QSidebar" name="sidebar">
+ <property name="accessibleName">
+ <string>Sidebar</string>
+ </property>
+ <property name="accessibleDescription">
+ <string>List of places and bookmarks</string>
+ </property>
+ </widget>
<widget class="QFrame" name="frame">
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
@@ -217,7 +224,11 @@
<number>0</number>
</property>
<item>
- <widget class="QFileDialogListView" name="listView"/>
+ <widget class="QFileDialogListView" name="listView">
+ <property name="accessibleName">
+ <string>Files</string>
+ </property>
+ </widget>
</item>
</layout>
</widget>
@@ -239,7 +250,11 @@
<number>0</number>
</property>
<item>
- <widget class="QFileDialogTreeView" name="treeView"/>
+ <widget class="QFileDialogTreeView" name="treeView">
+ <property name="accessibleName">
+ <string>Files</string>
+ </property>
+ </widget>
</item>
</layout>
</widget>
@@ -346,11 +361,11 @@
<tabstop>listModeButton</tabstop>
<tabstop>detailModeButton</tabstop>
<tabstop>sidebar</tabstop>
+ <tabstop>treeView</tabstop>
<tabstop>listView</tabstop>
<tabstop>fileNameEdit</tabstop>
- <tabstop>fileTypeCombo</tabstop>
<tabstop>buttonBox</tabstop>
- <tabstop>treeView</tabstop>
+ <tabstop>fileTypeCombo</tabstop>
</tabstops>
<resources/>
<connections/>