[Feat] Add filtering support for dynamic data type #74
+599
−19
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Split from #72
This pull request significantly improves the topic filter dialog in the
TablePageUI and lays the groundwork for more advanced filter expression parsing in the backend. The main change replaces the basic input dialog with a custom, user-friendly filter dialog that supports multi-line editing, provides clear instructions, and adds dedicated buttons for clearing, confirming, or canceling the filter. Additionally, several helper methods are introduced inTopicMonitorto support complex filter evaluation, although their implementations are not included in this diff.UI/UX Improvements to Topic Filter Dialog:
QInputDialogwith a customQDialoginTablePage::on_filterButton_clicked, featuring a multi-lineQTextEditfor filter input, detailed instructions, and dedicated "Clear", "OK", and "Cancel" buttons. This makes it easier for users to enter, clear, or cancel filter expressions.Backend Preparation for Advanced Filter Expressions:
TopicMonitorfor evaluating and parsing complex filter expressions (e.g., handling SQL-like logic, cleaning input, supportingIN,LIKE, and comparison operators). These methods will enable more powerful and flexible filtering in the future.Dependency Update:
Additional Includes for UI Components:
table_page.cppto support the new dialog and its widgets.