From 2ad9b17d53e19418de089cc98820af0776c3bfba Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Thu, 13 Aug 2026 11:39:49 +0200 Subject: feat(rules): text mode, and leave untouched rules unwritten --- src/tagrulesdialog.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/tagrulesdialog.h') diff --git a/src/tagrulesdialog.h b/src/tagrulesdialog.h index 6676da9..9cee163 100644 --- a/src/tagrulesdialog.h +++ b/src/tagrulesdialog.h @@ -64,6 +64,11 @@ public: /// Selects the rule at `index` as a click on the list would. void selectRuleForTest(int index); + bool textModeForTest() const; + void setRowValueForTest(int index, const QString &value); + /// Runs the Save path without showing the dialog. + void saveForTest() { onSave(); } + signals: /// Asks the owner to run countQueries() through the worker. void countsRequested(); @@ -104,6 +109,8 @@ private: void updateExclusionsVisibility(); void syncQueryLine(); + void setTextMode(bool on); + void rebuildRows(const RuleQuery &query); void applyTermToRow(Row *row, const RuleTerm &term); RuleQuery currentQueryFromRows() const; -- cgit v1.2.3