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
04095bab
Commit
04095bab
authored
Aug 03, 2022
by
Ingo Klöcker
Browse files
Make test results tree view navigatable column by column
GnuPG-bug-id: 6101
parent
5898bdda
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/dialogs/selftestdialog.cpp
View file @
04095bab
...
...
@@ -14,6 +14,7 @@
#include
<selftest/selftest.h>
#include
<utils/scrollarea.h>
#include
<Libkleo/NavigatableTreeView>
#include
<Libkleo/SystemInfo>
#include
<KLocalizedString>
...
...
@@ -31,7 +32,6 @@
#include
<QPushButton>
#include
<QSortFilterProxyModel>
#include
<QSplitter>
#include
<QTreeView>
#include
<QVBoxLayout>
#include
"kleopatra_debug.h"
...
...
@@ -309,7 +309,7 @@ private:
Proxy
proxy
;
struct
UI
{
Q
TreeView
*
resultsTV
=
nullptr
;
Navigatable
TreeView
*
resultsTV
=
nullptr
;
QCheckBox
*
showAllCB
=
nullptr
;
QGroupBox
*
detailsGB
=
nullptr
;
QLabel
*
detailsLB
=
nullptr
;
...
...
@@ -341,7 +341,7 @@ private:
auto
vbox
=
new
QVBoxLayout
{
widget
};
vbox
->
setContentsMargins
(
0
,
0
,
0
,
0
);
resultsTV
=
new
Q
TreeView
{
qq
};
resultsTV
=
new
Navigatable
TreeView
{
qq
};
QSizePolicy
sizePolicy
(
QSizePolicy
::
Expanding
,
QSizePolicy
::
Expanding
);
sizePolicy
.
setHorizontalStretch
(
0
);
sizePolicy
.
setVerticalStretch
(
1
);
...
...
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