summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Sergey Starosek <sergey.starosek@gmail.com>2014-02-10 11:03:09 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-10 07:12:35 -0800
commit16e80bf6afa22e3e39227c6b01a70e2466375010 (patch)
tree3d28ad98638e25b27ad7f9c7c1c23577c1cbdda1
parent0dfff310de4616f4d378ee91641dd641c77fd6b3 (diff)
downloadsubsurface-16e80bf6afa22e3e39227c6b01a70e2466375010.tar.gz
Close search panel by button click
Connect Close button (X) to panel's hide() method. Signed-off-by: Sergey Starosek <sergey.starosek@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-ui/usermanual.ui19
1 files changed, 18 insertions, 1 deletions
diff --git a/qt-ui/usermanual.ui b/qt-ui/usermanual.ui
index 766a0a832..506b5c2ca 100644
--- a/qt-ui/usermanual.ui
+++ b/qt-ui/usermanual.ui
@@ -142,5 +142,22 @@
<resources>
<include location="../subsurface.qrc"/>
</resources>
- <connections/>
+ <connections>
+ <connection>
+ <sender>findClose</sender>
+ <signal>clicked()</signal>
+ <receiver>searchPanel</receiver>
+ <slot>hide()</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>261</x>
+ <y>37</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>220</x>
+ <y>11</y>
+ </hint>
+ </hints>
+ </connection>
+ </connections>
</ui>