[PATCH] Close search panel by button click
Sergey Starosek
sergey.starosek at gmail.com
Mon Feb 10 01:03:09 UTC 2014
Connect Close button (X) to panel's hide() method.
Signed-off-by: Sergey Starosek <sergey.starosek at gmail.com>
---
qt-ui/usermanual.ui | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/qt-ui/usermanual.ui b/qt-ui/usermanual.ui
index 766a0a8..506b5c2 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>
--
1.8.3.2
More information about the subsurface
mailing list