2022-08-04 Fred Gleason <fredg@paravelsystems.com>

* Added support for sorting the event list in rdcatch(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2022-08-04 19:31:48 -04:00
parent e2f3ff23ce
commit 1f22430ed4
4 changed files with 73 additions and 6 deletions

View File

@@ -379,6 +379,8 @@ MainWidget::MainWidget(RDConfig *c,QWidget *parent)
catch_recordings_model
,SLOT(notificationReceivedData(RDNotification *)));
catch_recordings_view->setModel(catch_recordings_model);
catch_recordings_view->setSortingEnabled(true);
catch_recordings_view->sortByColumn(2,Qt::AscendingOrder);
catch_recordings_view->resizeColumnsToContents();
connect(catch_recordings_view,SIGNAL(doubleClicked(const QModelIndex &)),
this,SLOT(doubleClickedData(const QModelIndex &)));