Mercurial > hg > svgui
comparison view/Pane.cpp @ 758:785c6f175ccc tonioni
Remove tool-specific keyboard shortcut reference registration from Pane and put it in MainWindow (as it depends on which tools are in use)
author | Chris Cannam |
---|---|
date | Wed, 02 Apr 2014 09:01:56 +0100 |
parents | 09e2677e34e7 |
children | 30bc7b2155dc |
comparison
equal
deleted
inserted
replaced
753:09e2677e34e7 | 758:785c6f175ccc |
---|---|
1231 tr("Click middle button and drag to navigate with any tool")); | 1231 tr("Click middle button and drag to navigate with any tool")); |
1232 kr.registerShortcut(tr("Relocate"), tr("Double-Click Middle"), | 1232 kr.registerShortcut(tr("Relocate"), tr("Double-Click Middle"), |
1233 tr("Double-click middle button to relocate with any tool")); | 1233 tr("Double-click middle button to relocate with any tool")); |
1234 kr.registerShortcut(tr("Menu"), tr("Right"), | 1234 kr.registerShortcut(tr("Menu"), tr("Right"), |
1235 tr("Show pane context menu")); | 1235 tr("Show pane context menu")); |
1236 | |
1237 kr.setCategory(tr("Navigate Tool Mouse Actions")); | |
1238 | |
1239 kr.registerShortcut(tr("Navigate"), tr("Left"), | |
1240 tr("Click left button and drag to move around")); | |
1241 kr.registerShortcut(tr("Zoom to Area"), tr("Shift+Left"), | |
1242 tr("Shift-click left button and drag to zoom to a rectangular area")); | |
1243 kr.registerShortcut(tr("Relocate"), tr("Double-Click Left"), | |
1244 tr("Double-click left button to jump to clicked location")); | |
1245 kr.registerShortcut(tr("Edit"), tr("Double-Click Left"), | |
1246 tr("Double-click left button on an item to edit it")); | |
1247 | |
1248 kr.setCategory(tr("Select Tool Mouse Actions")); | |
1249 kr.registerShortcut(tr("Select"), tr("Left"), | |
1250 tr("Click left button and drag to select region; drag region edge to resize")); | |
1251 kr.registerShortcut(tr("Multi Select"), tr("Ctrl+Left"), | |
1252 #ifdef Q_OS_MAC | |
1253 tr("Cmd-click left button and drag to select an additional region")); | |
1254 #else | |
1255 tr("Ctrl-click left button and drag to select an additional region")); | |
1256 #endif | |
1257 kr.registerShortcut(tr("Fine Select"), tr("Shift+Left"), | |
1258 tr("Shift-click left button and drag to select without snapping to items or grid")); | |
1259 | |
1260 kr.setCategory(tr("Edit Tool Mouse Actions")); | |
1261 kr.registerShortcut(tr("Move"), tr("Left"), | |
1262 tr("Click left button on an item or selected region and drag to move")); | |
1263 kr.registerShortcut(tr("Edit"), tr("Double-Click Left"), | |
1264 tr("Double-click left button on an item to edit it")); | |
1265 | |
1266 kr.setCategory(tr("Draw Tool Mouse Actions")); | |
1267 kr.registerShortcut(tr("Draw"), tr("Left"), | |
1268 tr("Click left button and drag to create new item")); | |
1269 | |
1270 kr.setCategory(tr("Measure Tool Mouse Actions")); | |
1271 kr.registerShortcut(tr("Measure Area"), tr("Left"), | |
1272 tr("Click left button and drag to measure a rectangular area")); | |
1273 kr.registerShortcut(tr("Measure Item"), tr("Double-Click Left"), | |
1274 tr("Click left button and drag to measure extents of an item or shape")); | |
1275 kr.registerShortcut(tr("Zoom to Area"), tr("Shift+Left"), | |
1276 tr("Shift-click left button and drag to zoom to a rectangular area")); | |
1277 } | 1236 } |
1278 | 1237 |
1279 Layer * | 1238 Layer * |
1280 Pane::getTopFlexiNoteLayer() | 1239 Pane::getTopFlexiNoteLayer() |
1281 { | 1240 { |