aboutsummaryrefslogtreecommitdiffstats
path: root/muddle
diff options
context:
space:
mode:
authorNao Pross <np@0hm.ch>2020-11-08 22:09:40 +0100
committerNao Pross <np@0hm.ch>2020-11-08 22:09:40 +0100
commita7a8006145cccde8a1bbdc09cdba72a7734e25b8 (patch)
treee17ffc08152bd02202131c52c6c3822ac5060b1b /muddle
parentReplace UI code with Qt designer file (diff)
downloadMuddle-a7a8006145cccde8a1bbdc09cdba72a7734e25b8.tar.gz
Muddle-a7a8006145cccde8a1bbdc09cdba72a7734e25b8.zip
Add regexp search feature
Diffstat (limited to '')
-rw-r--r--muddle.ui35
1 files changed, 9 insertions, 26 deletions
diff --git a/muddle.ui b/muddle.ui
index e25a1a9..9737c7a 100644
--- a/muddle.ui
+++ b/muddle.ui
@@ -57,13 +57,13 @@
<item row="0" column="0">
<widget class="QLineEdit" name="searchBar">
<property name="enabled">
- <bool>false</bool>
+ <bool>true</bool>
</property>
<property name="inputMask">
<string/>
</property>
<property name="placeholderText">
- <string>Search</string>
+ <string>Search (regexp)</string>
</property>
</widget>
</item>
@@ -77,23 +77,6 @@
</property>
</widget>
</item>
- <item row="1" column="0" colspan="2">
- <widget class="MoodleTreeWidget" name="moodleTree">
- <property name="headerHidden">
- <bool>false</bool>
- </property>
- <column>
- <property name="text">
- <string notr="true">Item</string>
- </property>
- </column>
- <column>
- <property name="text">
- <string>Size</string>
- </property>
- </column>
- </widget>
- </item>
<item row="0" column="1">
<widget class="QToolButton" name="refreshBtn">
<property name="text">
@@ -111,6 +94,13 @@
</property>
</widget>
</item>
+ <item row="1" column="0" colspan="2">
+ <widget class="QTreeView" name="moodleTree">
+ <property name="headerHidden">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
</layout>
</widget>
<widget class="QTreeWidget" name="localTab">
@@ -223,13 +213,6 @@
</widget>
<widget class="QStatusBar" name="statusbar"/>
</widget>
- <customwidgets>
- <customwidget>
- <class>MoodleTreeWidget</class>
- <extends>QTreeWidget</extends>
- <header>gui</header>
- </customwidget>
- </customwidgets>
<resources/>
<connections/>
</ui>