Add search function

Add the possibility to search in the content
Display only line where a match was found
Highlight match
This commit is contained in:
2022-12-16 12:40:29 +00:00
parent 03c0ad0635
commit 28585c1089
4 changed files with 82 additions and 36 deletions

View File

@ -13,6 +13,9 @@
<property name="windowTitle">
<string>Form</string>
</property>
<property name="styleSheet">
<string notr="true">font: 11pt &quot;UbuntuMono NF&quot;;</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QSplitter" name="splitter">
@ -22,7 +25,7 @@
<widget class="QWidget" name="layoutWidget">
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QLineEdit" name="lineEdit">
<widget class="QLineEdit" name="search_line_edit">
<property name="text">
<string>Search</string>
</property>