|
6 | 6 | { |
7 | 7 | "type":"command", |
8 | 8 | "label":"Open...", |
9 | | - "file":"../examples/hotkeys/hotkey_functions.py", |
| 9 | + "file":"./hotkey_functions.py", |
10 | 10 | "function_name":"open_session", |
11 | 11 | "shortcut":"QtGui.QKeySequence.Open" |
12 | 12 | }, |
13 | 13 | { |
14 | 14 | "type":"command", |
15 | 15 | "label":"Import...", |
16 | | - "file":"../examples/hotkeys/hotkey_functions.py", |
| 16 | + "file":"./hotkey_functions.py", |
17 | 17 | "function_name":"import_session", |
18 | 18 | "shortcut":"" |
19 | 19 | }, |
20 | 20 | { |
21 | 21 | "type":"command", |
22 | 22 | "label":"Clear Session...", |
23 | | - "file":"../examples/hotkeys/hotkey_functions.py", |
| 23 | + "file":"./hotkey_functions.py", |
24 | 24 | "function_name":"clear_session", |
25 | 25 | "shortcut":"" |
26 | 26 | }, |
27 | 27 | { |
28 | 28 | "type":"command", |
29 | 29 | "label":"Save...", |
30 | | - "file":"../examples/hotkeys/hotkey_functions.py", |
| 30 | + "file":"./hotkey_functions.py", |
31 | 31 | "function_name":"save_session", |
32 | 32 | "shortcut":"QtGui.QKeySequence.Save" |
33 | 33 | }, |
34 | 34 | { |
35 | 35 | "type":"command", |
36 | 36 | "label":"Save As...", |
37 | | - "file":"../examples/hotkeys/hotkey_functions.py", |
| 37 | + "file":"./hotkey_functions.py", |
38 | 38 | "function_name":"save_session_as", |
39 | 39 | "shortcut":"Ctrl+Shift+S" |
| 40 | + }, |
| 41 | + { |
| 42 | + "type":"command", |
| 43 | + "label":"Exit", |
| 44 | + "file":"./hotkey_functions.py", |
| 45 | + "function_name":"quit_qt", |
| 46 | + "shortcut":"Ctrl+Shift+Q" |
40 | 47 | } |
41 | 48 | ] |
42 | 49 | }, |
|
47 | 54 | { |
48 | 55 | "type":"command", |
49 | 56 | "label":"Clear Undo History", |
50 | | - "file":"../examples/hotkeys/hotkey_functions.py", |
| 57 | + "file":"./hotkey_functions.py", |
51 | 58 | "function_name":"clear_undo", |
52 | 59 | "shortcut":"" |
53 | 60 | }, |
54 | 61 | { |
55 | 62 | "type":"command", |
56 | 63 | "label":"Show Undo History", |
57 | | - "file":"../examples/hotkeys/hotkey_functions.py", |
| 64 | + "file":"./hotkey_functions.py", |
58 | 65 | "function_name":"show_undo_view", |
59 | 66 | "shortcut":"" |
60 | 67 | }, |
|
64 | 71 | { |
65 | 72 | "type":"command", |
66 | 73 | "label":"Copy", |
67 | | - "file":"../examples/hotkeys/hotkey_functions.py", |
| 74 | + "file":"./hotkey_functions.py", |
68 | 75 | "function_name":"copy_nodes", |
69 | 76 | "shortcut":"QtGui.QKeySequence.Copy" |
70 | 77 | }, |
71 | 78 | { |
72 | 79 | "type":"command", |
73 | 80 | "label":"Cut", |
74 | | - "file":"../examples/hotkeys/hotkey_functions.py", |
| 81 | + "file":"./hotkey_functions.py", |
75 | 82 | "function_name":"cut_nodes", |
76 | 83 | "shortcut":"QtGui.QKeySequence.Cut" |
77 | 84 | }, |
78 | 85 | { |
79 | 86 | "type":"command", |
80 | 87 | "label":"Paste", |
81 | | - "file":"../examples/hotkeys/hotkey_functions.py", |
| 88 | + "file":"./hotkey_functions.py", |
82 | 89 | "function_name":"paste_nodes", |
83 | 90 | "shortcut":"QtGui.QKeySequence.Paste" |
84 | 91 | }, |
85 | 92 | { |
86 | 93 | "type":"command", |
87 | 94 | "label":"Delete", |
88 | | - "file":"../examples/hotkeys/hotkey_functions.py", |
| 95 | + "file":"./hotkey_functions.py", |
89 | 96 | "function_name":"delete_nodes", |
90 | 97 | "shortcut":"QtGui.QKeySequence.Delete" |
91 | 98 | }, |
|
95 | 102 | { |
96 | 103 | "type":"command", |
97 | 104 | "label":"Select All", |
98 | | - "file":"../examples/hotkeys/hotkey_functions.py", |
| 105 | + "file":"./hotkey_functions.py", |
99 | 106 | "function_name":"select_all_nodes", |
100 | 107 | "shortcut":"Ctrl+A" |
101 | 108 | }, |
102 | 109 | { |
103 | 110 | "type":"command", |
104 | 111 | "label":"Unselect All", |
105 | | - "file":"../examples/hotkeys/hotkey_functions.py", |
| 112 | + "file":"./hotkey_functions.py", |
106 | 113 | "function_name":"clear_node_selection", |
107 | 114 | "shortcut":"Ctrl+Shift+A" |
108 | 115 | }, |
109 | 116 | { |
110 | 117 | "type":"command", |
111 | 118 | "label":"Invert Selection", |
112 | | - "file":"../examples/hotkeys/hotkey_functions.py", |
| 119 | + "file":"./hotkey_functions.py", |
113 | 120 | "function_name":"invert_node_selection" |
114 | 121 | }, |
115 | 122 | { |
116 | 123 | "type":"command", |
117 | 124 | "label":"Enable/Disable", |
118 | | - "file":"../examples/hotkeys/hotkey_functions.py", |
| 125 | + "file":"./hotkey_functions.py", |
119 | 126 | "function_name":"disable_nodes", |
120 | 127 | "shortcut":"D" |
121 | 128 | }, |
122 | 129 | { |
123 | 130 | "type":"command", |
124 | 131 | "label":"Duplicate", |
125 | | - "file":"../examples/hotkeys/hotkey_functions.py", |
| 132 | + "file":"./hotkey_functions.py", |
126 | 133 | "function_name":"duplicate_nodes", |
127 | 134 | "shortcut":"Alt+C" |
128 | 135 | }, |
129 | 136 | { |
130 | 137 | "type":"command", |
131 | 138 | "label":"Extract", |
132 | | - "file":"../examples/hotkeys/hotkey_functions.py", |
| 139 | + "file":"./hotkey_functions.py", |
133 | 140 | "function_name":"extract_nodes", |
134 | 141 | "shortcut":"Ctrl+Shift+X" |
135 | 142 | }, |
136 | 143 | { |
137 | 144 | "type":"command", |
138 | 145 | "label":"Clear Connections", |
139 | | - "file":"../examples/hotkeys/hotkey_functions.py", |
| 146 | + "file":"./hotkey_functions.py", |
140 | 147 | "function_name":"clear_node_connections", |
141 | 148 | "shortcut":"Ctrl+D" |
142 | 149 | }, |
143 | 150 | { |
144 | 151 | "type":"command", |
145 | 152 | "label":"Fit to Selection", |
146 | | - "file":"../examples/hotkeys/hotkey_functions.py", |
| 153 | + "file":"./hotkey_functions.py", |
147 | 154 | "function_name":"fit_to_selection", |
148 | 155 | "shortcut":"F" |
149 | 156 | }, |
|
153 | 160 | { |
154 | 161 | "type":"command", |
155 | 162 | "label":"Zoom In", |
156 | | - "file":"../examples/hotkeys/hotkey_functions.py", |
| 163 | + "file":"./hotkey_functions.py", |
157 | 164 | "function_name":"zoom_in", |
158 | 165 | "shortcut":"=" |
159 | 166 | }, |
160 | 167 | { |
161 | 168 | "type":"command", |
162 | 169 | "label":"Zoom Out", |
163 | | - "file":"../examples/hotkeys/hotkey_functions.py", |
| 170 | + "file":"./hotkey_functions.py", |
164 | 171 | "function_name":"zoom_out", |
165 | 172 | "shortcut":"-" |
166 | 173 | }, |
167 | 174 | { |
168 | 175 | "type":"command", |
169 | 176 | "label":"Reset Zoom", |
170 | | - "file":"../examples/hotkeys/hotkey_functions.py", |
| 177 | + "file":"./hotkey_functions.py", |
171 | 178 | "function_name":"reset_zoom", |
172 | 179 | "shortcut":"H" |
173 | 180 | } |
|
187 | 194 | { |
188 | 195 | "type":"command", |
189 | 196 | "label":"None", |
190 | | - "file":"../examples/hotkeys/hotkey_functions.py", |
| 197 | + "file":"./hotkey_functions.py", |
191 | 198 | "function_name":"bg_grid_none", |
192 | 199 | "shortcut":"Alt+1" |
193 | 200 | }, |
194 | 201 | { |
195 | 202 | "type":"command", |
196 | 203 | "label":"Lines", |
197 | | - "file":"../examples/hotkeys/hotkey_functions.py", |
| 204 | + "file":"./hotkey_functions.py", |
198 | 205 | "function_name":"bg_grid_lines", |
199 | 206 | "shortcut":"Alt+2" |
200 | 207 | }, |
201 | 208 | { |
202 | 209 | "type":"command", |
203 | 210 | "label":"Dots", |
204 | | - "file":"../examples/hotkeys/hotkey_functions.py", |
| 211 | + "file":"./hotkey_functions.py", |
205 | 212 | "function_name":"bg_grid_dots", |
206 | 213 | "shortcut":"Alt+3" |
207 | 214 | } |
|
214 | 221 | { |
215 | 222 | "type":"command", |
216 | 223 | "label":"Horizontal", |
217 | | - "file":"../examples/hotkeys/hotkey_functions.py", |
| 224 | + "file":"./hotkey_functions.py", |
218 | 225 | "function_name":"layout_h_mode", |
219 | 226 | "shortcut":"Shift+1" |
220 | 227 | }, |
221 | 228 | { |
222 | 229 | "type":"command", |
223 | 230 | "label":"Vertical", |
224 | | - "file":"../examples/hotkeys/hotkey_functions.py", |
| 231 | + "file":"./hotkey_functions.py", |
225 | 232 | "function_name":"layout_v_mode", |
226 | 233 | "shortcut":"Shift+2" |
227 | 234 | } |
|
236 | 243 | { |
237 | 244 | "type":"command", |
238 | 245 | "label":"Node Search", |
239 | | - "file":"../examples/hotkeys/hotkey_functions.py", |
| 246 | + "file":"./hotkey_functions.py", |
240 | 247 | "function_name":"toggle_node_search", |
241 | 248 | "shortcut":"Tab" |
242 | 249 | }, |
|
246 | 253 | { |
247 | 254 | "type":"command", |
248 | 255 | "label":"Auto Layout Up Stream", |
249 | | - "file":"../examples/hotkeys/hotkey_functions.py", |
| 256 | + "file":"./hotkey_functions.py", |
250 | 257 | "function_name":"layout_graph_up", |
251 | 258 | "shortcut":"L" |
252 | 259 | }, |
253 | 260 | { |
254 | 261 | "type":"command", |
255 | 262 | "label":"Auto Layout Down Stream", |
256 | | - "file":"../examples/hotkeys/hotkey_functions.py", |
| 263 | + "file":"./hotkey_functions.py", |
257 | 264 | "function_name":"layout_graph_down", |
258 | 265 | "shortcut":"Ctrl+L" |
259 | 266 | }, |
|
263 | 270 | { |
264 | 271 | "type":"command", |
265 | 272 | "label":"Expand Group Node", |
266 | | - "file":"../examples/hotkeys/hotkey_functions.py", |
| 273 | + "file":"./hotkey_functions.py", |
267 | 274 | "function_name":"expand_group_node", |
268 | 275 | "shortcut":"Alt+Enter" |
269 | 276 | } |
|
276 | 283 | { |
277 | 284 | "type":"command", |
278 | 285 | "label":"Curved", |
279 | | - "file":"../examples/hotkeys/hotkey_functions.py", |
| 286 | + "file":"./hotkey_functions.py", |
280 | 287 | "function_name":"curved_pipe", |
281 | 288 | "shortcut":"Ctrl+1" |
282 | 289 | }, |
283 | 290 | { |
284 | 291 | "type":"command", |
285 | 292 | "label":"Straight", |
286 | | - "file":"../examples/hotkeys/hotkey_functions.py", |
| 293 | + "file":"./hotkey_functions.py", |
287 | 294 | "function_name":"straight_pipe", |
288 | 295 | "shortcut":"Ctrl+2" |
289 | 296 | }, |
290 | 297 | { |
291 | 298 | "type":"command", |
292 | 299 | "label":"Angle", |
293 | | - "file":"../examples/hotkeys/hotkey_functions.py", |
| 300 | + "file":"./hotkey_functions.py", |
294 | 301 | "function_name":"angle_pipe", |
295 | 302 | "shortcut":"Ctrl+3" |
296 | 303 | } |
|
0 commit comments