Mercurial > projects > dil
comparison trunk/src/translator/translator.ui @ 477:3b5421d40f9b
Translator: major changes and additions.
Moved Close Project menu item to Project menu. Added Save, Save All, Close
and Close All menu items.
Added class Document which all forms inherit from. Documents can indicated
that they have been modified, they can be saved and closed. They are displayed
as pages in the main tab widget.
Fix: signals from changing the text in text controls programatically are
ignored now.
Fix: text taken from text controls must be passed to unicode()
Catching errors from yaml.load() in classes LangFile and Project.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Sat, 10 Nov 2007 23:50:09 +0100 |
parents | 77c17bbe9d20 |
children |
comparison
equal
deleted
inserted
replaced
476:773ddddb583d | 477:3b5421d40f9b |
---|---|
28 <property name="title" > | 28 <property name="title" > |
29 <string>&File</string> | 29 <string>&File</string> |
30 </property> | 30 </property> |
31 <addaction name="action_Open_Project" /> | 31 <addaction name="action_Open_Project" /> |
32 <addaction name="action_New_Project" /> | 32 <addaction name="action_New_Project" /> |
33 <addaction name="action_Close_Project" /> | 33 <addaction name="separator" /> |
34 <addaction name="action_Save" /> | |
35 <addaction name="action_Save_All" /> | |
36 <addaction name="separator" /> | |
37 <addaction name="action_Close" /> | |
38 <addaction name="action_Close_All" /> | |
34 <addaction name="separator" /> | 39 <addaction name="separator" /> |
35 <addaction name="action_Quit" /> | 40 <addaction name="action_Quit" /> |
36 </widget> | 41 </widget> |
37 <widget class="QMenu" name="menu_Help" > | 42 <widget class="QMenu" name="menu_Help" > |
38 <property name="title" > | 43 <property name="title" > |
47 <addaction name="action_Add_Catalogue" /> | 52 <addaction name="action_Add_Catalogue" /> |
48 <addaction name="action_Add_New_Catalogue" /> | 53 <addaction name="action_Add_New_Catalogue" /> |
49 <addaction name="action_Build_Project" /> | 54 <addaction name="action_Build_Project" /> |
50 <addaction name="separator" /> | 55 <addaction name="separator" /> |
51 <addaction name="action_Properties" /> | 56 <addaction name="action_Properties" /> |
57 <addaction name="separator" /> | |
58 <addaction name="action_Close_Project" /> | |
52 </widget> | 59 </widget> |
53 <addaction name="menu_File" /> | 60 <addaction name="menu_File" /> |
54 <addaction name="menu_Project" /> | 61 <addaction name="menu_Project" /> |
55 <addaction name="menu_Help" /> | 62 <addaction name="menu_Help" /> |
56 </widget> | 63 </widget> |
97 </property> | 104 </property> |
98 <property name="shortcut" > | 105 <property name="shortcut" > |
99 <string>Ctrl+O</string> | 106 <string>Ctrl+O</string> |
100 </property> | 107 </property> |
101 </action> | 108 </action> |
102 <action name="action_Close_Project" > | 109 <action name="action_Close" > |
103 <property name="text" > | 110 <property name="text" > |
104 <string>&Close Project</string> | 111 <string>&Close</string> |
105 </property> | 112 </property> |
106 <property name="shortcut" > | 113 <property name="shortcut" > |
107 <string>Ctrl+W</string> | 114 <string>Ctrl+W</string> |
108 </property> | 115 </property> |
109 </action> | 116 </action> |
110 <action name="action_Add_New_Catalogue" > | 117 <action name="action_Add_New_Catalogue" > |
111 <property name="text" > | 118 <property name="text" > |
112 <string>Add new catalogue...</string> | 119 <string>Add new catalogue...</string> |
120 </property> | |
121 </action> | |
122 <action name="action_Close_Project" > | |
123 <property name="text" > | |
124 <string>&Close Project</string> | |
125 </property> | |
126 <property name="shortcut" > | |
127 <string>Ctrl+F4</string> | |
128 </property> | |
129 </action> | |
130 <action name="action_Save" > | |
131 <property name="text" > | |
132 <string>&Save</string> | |
133 </property> | |
134 <property name="shortcut" > | |
135 <string>Ctrl+S</string> | |
136 </property> | |
137 </action> | |
138 <action name="action_Save_All" > | |
139 <property name="text" > | |
140 <string>Save &All</string> | |
141 </property> | |
142 <property name="shortcut" > | |
143 <string>Ctrl+Shift+S</string> | |
144 </property> | |
145 </action> | |
146 <action name="action_Close_All" > | |
147 <property name="text" > | |
148 <string>Clos&e All</string> | |
149 </property> | |
150 <property name="shortcut" > | |
151 <string>Ctrl+Shift+W</string> | |
113 </property> | 152 </property> |
114 </action> | 153 </action> |
115 </widget> | 154 </widget> |
116 <resources/> | 155 <resources/> |
117 <connections> | 156 <connections> |