From cb76fedcbc8e419e2b945baa56ac3f986a9e79a3 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Wed, 1 Sep 2021 17:13:51 +0200 Subject: Implement event model in C++ Filtering events in JS is too slow with >20,000 events. This moves the event data model into C++. --- Filter.qml | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 Filter.qml (limited to 'Filter.qml') diff --git a/Filter.qml b/Filter.qml deleted file mode 100644 index e1b5f93..0000000 --- a/Filter.qml +++ /dev/null @@ -1,34 +0,0 @@ -// SPDX-License-Identifier: Unlicense - -import QtQuick 2.12 -import QtQuick.Controls 2.13 -import QtQuick.Layouts 1.6 - -GridLayout { - property var tags: [] - - function check(item) { - if (item.tag === tags.currentText) - return true - return false - } - - signal changed - - columns: 2 - - Label { text: qsTr('Tag') } - ComboBox { - model: tags - textRole: 'tag' - Layout.fillWidth: true - onCurrentTextChanged: changed() - } - - Label { - text: qsTr('Filters are not implemented yet! 😊') - wrapMode: Text.Wrap - Layout.fillWidth: true - Layout.columnSpan: 2 - } -} -- cgit v1.3