feat: Improved searching for hotkeys (#5884)
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
#pragma once
|
||||
|
||||
#include <pajlada/signals/signal.hpp>
|
||||
#include <QKeySequence>
|
||||
#include <QWidget>
|
||||
|
||||
#include <span>
|
||||
|
||||
class QAbstractTableModel;
|
||||
class QTableView;
|
||||
class QHBoxLayout;
|
||||
@@ -25,6 +28,10 @@ public:
|
||||
void addCustomButton(QWidget *widget);
|
||||
void addRegexHelpLink();
|
||||
|
||||
bool filterSearchResults(const QString &query,
|
||||
std::span<const int> columnSelect);
|
||||
void filterSearchResultsHotkey(const QKeySequence &keySequenceQuery);
|
||||
|
||||
private:
|
||||
QTableView *tableView_{};
|
||||
QAbstractTableModel *model_{};
|
||||
|
||||
Reference in New Issue
Block a user