Commit cbad0775 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Start to implement sorting

parent efb12fbe
Pipeline #53401 passed with stage
in 43 minutes and 25 seconds
......@@ -12,6 +12,7 @@
#include <KTreeWidgetSearchLine>
#include <QApplication>
#include <QClipboard>
#include <QDebug>
#include <QHeaderView>
#include <QMenu>
#include <QTreeWidget>
......@@ -32,6 +33,9 @@ DKIMManagerKeyWidget::DKIMManagerKeyWidget(QWidget *parent)
mTreeWidget->setContextMenuPolicy(Qt::CustomContextMenu);
mTreeWidget->setSelectionMode(QAbstractItemView::ExtendedSelection);
mTreeWidget->setAlternatingRowColors(true);
mTreeWidget->setSortingEnabled(true);
mTreeWidget->header()->setSortIndicatorShown(true);
mTreeWidget->header()->setSectionsClickable(true);
auto searchLineEdit = new KTreeWidgetSearchLine(this, mTreeWidget);
searchLineEdit->setObjectName(QStringLiteral("searchlineedit"));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment