diff options
author | kintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c> | 2010-01-06 21:35:01 (GMT) |
---|---|---|
committer | kintel <kintel@b57f626f-c46c-0410-a088-ec61d464b74c> | 2010-01-06 21:35:01 (GMT) |
commit | 480c3badb1da98bceed223b3d116608793ca8455 (patch) | |
tree | 76c3a1b4fdb3156a262f85d913c8a13bdfc6a5dd /MainWindow.ui | |
parent | c342e41e2f5084ac37b0a92f04c75949d5f352e9 (diff) |
bugfix: recent files were broken, added File->Close, simplified file I/O using QTextStream, removed side-effect of find_root_node
git-svn-id: http://svn.clifford.at/openscad/trunk@223 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'MainWindow.ui')
-rw-r--r-- | MainWindow.ui | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/MainWindow.ui b/MainWindow.ui index 0a296a4..3cb8d30 100644 --- a/MainWindow.ui +++ b/MainWindow.ui @@ -98,7 +98,7 @@ <x>0</x> <y>0</y> <width>681</width> - <height>27</height> + <height>22</height> </rect> </property> <widget class="QMenu" name="menu_File"> @@ -113,6 +113,8 @@ <addaction name="fileActionNew"/> <addaction name="fileActionOpen"/> <addaction name="menuOpenRecent"/> + <addaction name="separator"/> + <addaction name="fileActionClose"/> <addaction name="fileActionSave"/> <addaction name="fileActionSaveAs"/> <addaction name="fileActionReload"/> @@ -594,6 +596,14 @@ <string>Export as DXF...</string> </property> </action> + <action name="fileActionClose"> + <property name="text"> + <string>Close</string> + </property> + <property name="shortcut"> + <string>Ctrl+W</string> + </property> + </action> </widget> <customwidgets> <customwidget> @@ -621,5 +631,21 @@ </hint> </hints> </connection> + <connection> + <sender>fileActionClose</sender> + <signal>triggered()</signal> + <receiver>MainWindow</receiver> + <slot>close()</slot> + <hints> + <hint type="sourcelabel"> + <x>-1</x> + <y>-1</y> + </hint> + <hint type="destinationlabel"> + <x>340</x> + <y>323</y> + </hint> + </hints> + </connection> </connections> </ui> |