comparison qt-gui/MainWindowLayout.ui @ 26:55d4f16c982b

Fixes #250: QtSharp app doesn't always quit properly * Override Close event to dispose of file dialogs (open and save) * Remove unnecessary event handler hooked to close * Change app initialisation to match pattern used by Synapse * Create file dialogs without specifying "this" as parent - seems to be main fix, for some reason.
author IBBoard <dev@ibboard.co.uk>
date Sat, 31 Jul 2010 16:03:14 +0000
parents dbe784f0802c
children be876c03054f
comparison
equal deleted inserted replaced
25:4ec2083eb755 26:55d4f16c982b
64 <property name="geometry"> 64 <property name="geometry">
65 <rect> 65 <rect>
66 <x>0</x> 66 <x>0</x>
67 <y>0</y> 67 <y>0</y>
68 <width>696</width> 68 <width>696</width>
69 <height>23</height> 69 <height>21</height>
70 </rect> 70 </rect>
71 </property> 71 </property>
72 <widget class="QMenu" name="menuFile"> 72 <widget class="QMenu" name="menuFile">
73 <property name="title"> 73 <property name="title">
74 <string>&amp;file</string> 74 <string>&amp;file</string>
204 <string>&amp;redo</string> 204 <string>&amp;redo</string>
205 </property> 205 </property>
206 </action> 206 </action>
207 </widget> 207 </widget>
208 <resources/> 208 <resources/>
209 <connections> 209 <connections/>
210 <connection>
211 <sender>actionExit</sender>
212 <signal>triggered()</signal>
213 <receiver>MainWindowLayout</receiver>
214 <slot>close()</slot>
215 <hints>
216 <hint type="sourcelabel">
217 <x>-1</x>
218 <y>-1</y>
219 </hint>
220 <hint type="destinationlabel">
221 <x>399</x>
222 <y>299</y>
223 </hint>
224 </hints>
225 </connection>
226 </connections>
227 </ui> 210 </ui>