[utilities/kdebugsettings] src/quickapps/contents/ui: continue to implement EditCustomRuleDialog

Laurent Montel <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit f376518ac6d90d0408fbe15156e0baad4cd0f3d6 by Laurent Montel.
Committed on 20/07/2026 at 11:28.
Pushed by mlaurent into branch 'master'.

continue to implement EditCustomRuleDialog

M  +25   -3    src/quickapps/contents/ui/EditCustomRuleDialog.qml

https://invent.kde.org/utilities/kdebugsettings/-/commit/f376518ac6d90d0408fbe15156e0baad4cd0f3d6

diff --git a/src/quickapps/contents/ui/EditCustomRuleDialog.qml b/src/quickapps/contents/ui/EditCustomRuleDialog.qml
index 9919c241..49bdd562 100644
--- a/src/quickapps/contents/ui/EditCustomRuleDialog.qml
+++ b/src/quickapps/contents/ui/EditCustomRuleDialog.qml
@@ -2,12 +2,34 @@
 // SPDX-License-Identifier: LGPL-2.0-or-later
 import QtQuick
 import org.kde.kirigami as Kirigami
-import QtQuick.Controls as Controls
-
+import QtQuick.Controls as QQC2
+import QtQuick.Layouts
+import org.kde.kdebugsettings 1.0
 Kirigami.Dialog {
     id: dialog
     title: i18n("Edit Custom Rule")
     clip: true
 
-    standardButtons: Controls.Dialog.Ok | Controls.Dialog.Cancel
+    standardButtons: QQC2.Dialog.Ok | QQC2.Dialog.Cancel
+    RowLayout {
+        id: mainColumn
+        spacing: Kirigami.Units.smallSpacing
+
+        QQC2.Label {
+            Layout.fillHeight: true
+            Layout.leftMargin: 4
+            Layout.alignment: Qt.AlignLeft
+            text: i18n("Category:")
+        }
+        QQC2.ComboBox {
+            Layout.alignment: Qt.AlignRight | Qt.AlignVCenter
+
+            model: CategoryTypeProxyModel {
+                sourceModel: LoggingManager.categoryTypeModel
+                showOffType: true
+            }
+            textRole: "display"
+            valueRole: "categoryType"
+        }
+    }
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.