Add a drop-down for the script output panel to switch context

* By default we still display all messages, but this allows users to switch to
  just seeing the output from one extension if desired.
This commit is contained in:
baldurk
2026-08-13 17:46:40 +01:00
parent 768d8fa615
commit 3c6dfd23b4
5 changed files with 158 additions and 14 deletions
+48
View File
@@ -344,6 +344,54 @@
<number>4</number>
</property>
<item row="0" column="0">
<widget class="QWidget" name="outputContextGroup" native="true">
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="spacing">
<number>4</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QLabel" name="outputContextLabel">
<property name="text">
<string>Output from:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="outputContext">
<property name="sizeAdjustPolicy">
<enum>QComboBox::AdjustToContents</enum>
</property>
</widget>
</item>
<item>
<spacer name="outputContextSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item row="1" column="0">
<widget class="RDTextEdit" name="scriptOutput">
<property name="verticalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOn</enum>