diff options
Diffstat (limited to 'src/MainWindow.ui')
-rw-r--r-- | src/MainWindow.ui | 146 |
1 files changed, 137 insertions, 9 deletions
diff --git a/src/MainWindow.ui b/src/MainWindow.ui index 4cb043f..0b03e56 100644 --- a/src/MainWindow.ui +++ b/src/MainWindow.ui @@ -15,7 +15,16 @@ </property> <widget class="QWidget" name="centralwidget"> <layout class="QVBoxLayout" name="verticalLayout_2"> - <property name="margin"> + <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> @@ -23,13 +32,86 @@ <property name="orientation"> <enum>Qt::Horizontal</enum> </property> - <widget class="Editor" name="editor" native="true"> - <property name="font"> - <font> - <family>Monaco</family> - <pointsize>8</pointsize> - </font> - </property> + <widget class="QWidget" name="editorlayoutwidget"> + <layout class="QVBoxLayout" name="verticalLayout_2"> + <item> + <widget class="QFrame" name="find_panel"> + <property name="enabled"> + <bool>true</bool> + </property> + <property name="sizePolicy"> + <sizepolicy hsizetype="Preferred" vsizetype="Minimum"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="frameShape"> + <enum>QFrame::NoFrame</enum> + </property> + <property name="frameShadow"> + <enum>QFrame::Raised</enum> + </property> + <property name="lineWidth"> + <number>0</number> + </property> + <layout class="QHBoxLayout" name="horizontalLayout"> + <property name="leftMargin"> + <number>5</number> + </property> + <property name="topMargin"> + <number>0</number> + </property> + <property name="rightMargin"> + <number>5</number> + </property> + <property name="bottomMargin"> + <number>0</number> + </property> + <item> + <widget class="QLabel" name="label"> + <property name="text"> + <string>Find</string> + </property> + </widget> + </item> + <item> + <widget class="QLineEdit" name="findInputField"/> + </item> + <item> + <widget class="QPushButton" name="prevButton"> + <property name="text"> + <string><</string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="nextButton"> + <property name="text"> + <string>></string> + </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="hideFindButton"> + <property name="text"> + <string>Done</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item> + <widget class="Editor" name="editor" native="true"> + <property name="font"> + <font> + <family>Monaco</family> + <pointsize>8</pointsize> + </font> + </property> + </widget> + </item> + </layout> </widget> <widget class="QWidget" name="layoutWidget"> <layout class="QVBoxLayout" name="verticalLayout"> @@ -61,7 +143,16 @@ <number>0</number> </property> <layout class="QHBoxLayout" name="horizontalLayout"> - <property name="margin"> + <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> @@ -165,6 +256,11 @@ <addaction name="editActionPasteVPT"/> <addaction name="editActionPasteVPR"/> <addaction name="separator"/> + <addaction name="editActionFind"/> + <addaction name="editActionFindNext"/> + <addaction name="editActionFindPrevious"/> + <addaction name="editActionUseSelectionForFind"/> + <addaction name="separator"/> <addaction name="editActionZoomIn"/> <addaction name="editActionZoomOut"/> <addaction name="editActionPreferences"/> @@ -653,6 +749,38 @@ <string>Preferences</string> </property> </action> + <action name="editActionFind"> + <property name="text"> + <string>Find...</string> + </property> + <property name="shortcut"> + <string>Ctrl+F</string> + </property> + </action> + <action name="editActionFindNext"> + <property name="text"> + <string>Find Next</string> + </property> + <property name="shortcut"> + <string>Ctrl+G</string> + </property> + </action> + <action name="editActionFindPrevious"> + <property name="text"> + <string>Find Previous</string> + </property> + <property name="shortcut"> + <string>Ctrl+Shift+G</string> + </property> + </action> + <action name="editActionUseSelectionForFind"> + <property name="text"> + <string>Use Selection for Find</string> + </property> + <property name="shortcut"> + <string>Ctrl+E</string> + </property> + </action> <action name="designActionFlushCaches"> <property name="text"> <string>Flush Caches</string> |