Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
Kleopatra
Commits
a71ac7b3
Commit
a71ac7b3
authored
Jul 21, 2022
by
Ingo Klöcker
Browse files
Set accessible names for search input field and list of groups
GnuPG-bug-id: 6095
parent
37c1af56
Pipeline
#207419
passed with stage
in 4 minutes and 58 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/conf/groupsconfigwidget.cpp
View file @
a71ac7b3
...
...
@@ -132,6 +132,7 @@ public:
{
auto
hbox
=
new
QHBoxLayout
;
auto
label
=
new
QLabel
{
i18nc
(
"@label"
,
"Search:"
)};
label
->
setAccessibleName
(
i18nc
(
"@label"
,
"Search groups"
));
label
->
setToolTip
(
i18nc
(
"@info:tooltip"
,
"Search the list for groups matching the search term."
));
hbox
->
addWidget
(
label
);
...
...
@@ -154,6 +155,7 @@ public:
groupsFilterModel
->
setSourceModel
(
groupsModel
);
groupsFilterModel
->
sort
(
KeyList
::
Summary
,
Qt
::
AscendingOrder
);
ui
.
groupsList
=
new
ListView
(
q
);
ui
.
groupsList
->
setAccessibleName
(
i18nc
(
"groups of keys"
,
"groups"
));
ui
.
groupsList
->
setModel
(
groupsFilterModel
);
ui
.
groupsList
->
setSelectionBehavior
(
QAbstractItemView
::
SelectRows
);
ui
.
groupsList
->
setSelectionMode
(
QAbstractItemView
::
ExtendedSelection
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment