eric7/ViewManager/ViewManager.py

branch
eric7
changeset 8701
9a7ef33a4534
parent 8637
394377638256
child 8761
f05818ae6431
equal deleted inserted replaced
8700:112271b4a2eb 8701:9a7ef33a4534
1118 self.uncommentAct = EricAction( 1118 self.uncommentAct = EricAction(
1119 QCoreApplication.translate('ViewManager', 'Uncomment'), 1119 QCoreApplication.translate('ViewManager', 'Uncomment'),
1120 UI.PixmapCache.getIcon("editUncomment"), 1120 UI.PixmapCache.getIcon("editUncomment"),
1121 QCoreApplication.translate('ViewManager', 'Unco&mment'), 1121 QCoreApplication.translate('ViewManager', 'Unco&mment'),
1122 QKeySequence(QCoreApplication.translate( 1122 QKeySequence(QCoreApplication.translate(
1123 'ViewManager', "Alt+Ctrl+M", "Edit|Uncomment")), 1123 'ViewManager', "Ctrl+Shift+M", "Edit|Uncomment")),
1124 0, 1124 0,
1125 self.editActGrp, 'vm_edit_uncomment') 1125 self.editActGrp, 'vm_edit_uncomment')
1126 self.uncommentAct.setStatusTip(QCoreApplication.translate( 1126 self.uncommentAct.setStatusTip(QCoreApplication.translate(
1127 'ViewManager', 'Uncomment Line or Selection')) 1127 'ViewManager', 'Uncomment Line or Selection'))
1128 self.uncommentAct.setWhatsThis(QCoreApplication.translate( 1128 self.uncommentAct.setWhatsThis(QCoreApplication.translate(
1137 self.toggleCommentAct = EricAction( 1137 self.toggleCommentAct = EricAction(
1138 QCoreApplication.translate('ViewManager', 'Toggle Comment'), 1138 QCoreApplication.translate('ViewManager', 'Toggle Comment'),
1139 UI.PixmapCache.getIcon("editToggleComment"), 1139 UI.PixmapCache.getIcon("editToggleComment"),
1140 QCoreApplication.translate('ViewManager', 'Toggle Comment'), 1140 QCoreApplication.translate('ViewManager', 'Toggle Comment'),
1141 QKeySequence(QCoreApplication.translate( 1141 QKeySequence(QCoreApplication.translate(
1142 'ViewManager', "Ctrl+Shift+M", "Edit|Toggle Comment")), 1142 'ViewManager', "Ctrl+#", "Edit|Toggle Comment")),
1143 0, 1143 0,
1144 self.editActGrp, 'vm_edit_toggle_comment') 1144 self.editActGrp, 'vm_edit_toggle_comment')
1145 self.toggleCommentAct.setStatusTip(QCoreApplication.translate( 1145 self.toggleCommentAct.setStatusTip(QCoreApplication.translate(
1146 'ViewManager', 1146 'ViewManager',
1147 'Toggle the comment of the current line, selection or' 1147 'Toggle the comment of the current line, selection or'
3399 3399
3400 self.zoomToAct = EricAction( 3400 self.zoomToAct = EricAction(
3401 QCoreApplication.translate('ViewManager', 'Zoom'), 3401 QCoreApplication.translate('ViewManager', 'Zoom'),
3402 UI.PixmapCache.getIcon("zoomTo"), 3402 UI.PixmapCache.getIcon("zoomTo"),
3403 QCoreApplication.translate('ViewManager', '&Zoom'), 3403 QCoreApplication.translate('ViewManager', '&Zoom'),
3404 QKeySequence(QCoreApplication.translate( 3404 0, 0,
3405 'ViewManager', "Ctrl+#", "View|Zoom")),
3406 0,
3407 self.viewActGrp, 'vm_view_zoom') 3405 self.viewActGrp, 'vm_view_zoom')
3408 self.zoomToAct.setStatusTip(QCoreApplication.translate( 3406 self.zoomToAct.setStatusTip(QCoreApplication.translate(
3409 'ViewManager', 'Zoom the text')) 3407 'ViewManager', 'Zoom the text'))
3410 self.zoomToAct.setWhatsThis(QCoreApplication.translate( 3408 self.zoomToAct.setWhatsThis(QCoreApplication.translate(
3411 'ViewManager', 3409 'ViewManager',

eric ide

mercurial