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>
This commit is contained in:
Sergey Starosek 2014-02-10 11:03:09 +02:00 committed by Dirk Hohndel
parent 0dfff310de
commit 16e80bf6af

View file

@ -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>