diff options
author | Ken Moore <ken@pcbsd.org> | 2016-09-08 14:38:51 -0400 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2016-09-08 14:38:51 -0400 |
commit | 79adf4f3be1ea25e7cba6ee835eeac486bc0fda3 (patch) | |
tree | 15aa9703cae32691b024d02e6aa23de3aa0336c0 /src-qt5/desktop-utils/lumina-textedit/MainUI.ui | |
parent | Adjust the default fluxbox keyboard shrotcuts: (diff) | |
download | lumina-79adf4f3be1ea25e7cba6ee835eeac486bc0fda3.tar.gz lumina-79adf4f3be1ea25e7cba6ee835eeac486bc0fda3.tar.bz2 lumina-79adf4f3be1ea25e7cba6ee835eeac486bc0fda3.zip |
Clean up the find/replace dialog a bit:
1) Add a "hide" button so it can be hidden with the mouse and not just the keyboard shortcut.
2) Streamline the dialog a bit so it takes less realestate
Diffstat (limited to 'src-qt5/desktop-utils/lumina-textedit/MainUI.ui')
-rw-r--r-- | src-qt5/desktop-utils/lumina-textedit/MainUI.ui | 72 |
1 files changed, 43 insertions, 29 deletions
diff --git a/src-qt5/desktop-utils/lumina-textedit/MainUI.ui b/src-qt5/desktop-utils/lumina-textedit/MainUI.ui index fd300460..3c6de123 100644 --- a/src-qt5/desktop-utils/lumina-textedit/MainUI.ui +++ b/src-qt5/desktop-utils/lumina-textedit/MainUI.ui @@ -49,33 +49,30 @@ </widget> </item> <item> - <widget class="QGroupBox" name="groupReplace"> - <property name="title"> - <string>Find/Replace</string> - </property> - <property name="flat"> - <bool>false</bool> + <widget class="QFrame" name="groupReplace"> + <property name="frameShape"> + <enum>QFrame::StyledPanel</enum> </property> <layout class="QGridLayout" name="gridLayout"> <property name="leftMargin"> - <number>1</number> + <number>2</number> </property> <property name="topMargin"> - <number>3</number> + <number>2</number> </property> <property name="rightMargin"> - <number>1</number> + <number>2</number> </property> <property name="bottomMargin"> - <number>1</number> + <number>2</number> </property> <property name="spacing"> <number>2</number> </property> - <item row="1" column="1"> + <item row="2" column="1"> <widget class="QLineEdit" name="line_replace"/> </item> - <item row="0" column="2"> + <item row="1" column="2"> <widget class="QToolButton" name="tool_find_prev"> <property name="focusPolicy"> <enum>Qt::NoFocus</enum> @@ -88,17 +85,7 @@ </property> </widget> </item> - <item row="0" column="0"> - <widget class="QLabel" name="label"> - <property name="text"> - <string>Find:</string> - </property> - <property name="alignment"> - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> - </property> - </widget> - </item> - <item row="0" column="3"> + <item row="1" column="3"> <widget class="QToolButton" name="tool_find_next"> <property name="focusPolicy"> <enum>Qt::NoFocus</enum> @@ -111,7 +98,7 @@ </property> </widget> </item> - <item row="1" column="0"> + <item row="2" column="0"> <widget class="QLabel" name="label_2"> <property name="text"> <string>Replace:</string> @@ -121,10 +108,10 @@ </property> </widget> </item> - <item row="0" column="1"> + <item row="1" column="1"> <widget class="QLineEdit" name="line_find"/> </item> - <item row="0" column="4"> + <item row="1" column="4"> <widget class="QToolButton" name="tool_find_casesensitive"> <property name="focusPolicy"> <enum>Qt::NoFocus</enum> @@ -149,7 +136,7 @@ </property> </widget> </item> - <item row="1" column="2"> + <item row="2" column="2"> <widget class="QToolButton" name="tool_replace"> <property name="focusPolicy"> <enum>Qt::NoFocus</enum> @@ -162,7 +149,7 @@ </property> </widget> </item> - <item row="1" column="3"> + <item row="2" column="3"> <widget class="QToolButton" name="tool_replace_all"> <property name="focusPolicy"> <enum>Qt::NoFocus</enum> @@ -175,6 +162,33 @@ </property> </widget> </item> + <item row="1" column="0"> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <widget class="QToolButton" name="tool_hideReplaceGroup"> + <property name="statusTip"> + <string>Hide the find/replace options</string> + </property> + <property name="text"> + <string>...</string> + </property> + <property name="autoRaise"> + <bool>true</bool> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label"> + <property name="text"> + <string>Find:</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + </item> + </layout> + </item> </layout> </widget> </item> @@ -186,7 +200,7 @@ <x>0</x> <y>0</y> <width>505</width> - <height>23</height> + <height>22</height> </rect> </property> <widget class="QMenu" name="menuFile"> |