@@ -82,44 +82,54 @@ def create_actions(self,parent):
82
82
83
83
self ._actions = \
84
84
{'View' : [QAction (qta .icon ('fa.arrows-alt' ),
85
- 'Fit' ,
85
+ 'Fit (Shift+F1) ' ,
86
86
parent ,
87
+ shortcut = 'shift+F1' ,
87
88
triggered = self .fit ),
88
89
QAction (QIcon (':/images/icons/isometric_view.svg' ),
89
- 'Iso' ,
90
+ 'Iso (Shift+F2) ' ,
90
91
parent ,
92
+ shortcut = 'shift+F2' ,
91
93
triggered = self .iso_view ),
92
94
QAction (QIcon (':/images/icons/top_view.svg' ),
93
- 'Top' ,
95
+ 'Top (Shift+F3) ' ,
94
96
parent ,
97
+ shortcut = 'shift+F3' ,
95
98
triggered = self .top_view ),
96
99
QAction (QIcon (':/images/icons/bottom_view.svg' ),
97
- 'Bottom' ,
100
+ 'Bottom (Shift+F4) ' ,
98
101
parent ,
102
+ shortcut = 'shift+F4' ,
99
103
triggered = self .bottom_view ),
100
104
QAction (QIcon (':/images/icons/front_view.svg' ),
101
- 'Front' ,
105
+ 'Front (Shift+F5) ' ,
102
106
parent ,
107
+ shortcut = 'shift+F5' ,
103
108
triggered = self .front_view ),
104
109
QAction (QIcon (':/images/icons/back_view.svg' ),
105
- 'Back' ,
110
+ 'Back (Shift+F6) ' ,
106
111
parent ,
112
+ shortcut = 'shift+F6' ,
107
113
triggered = self .back_view),
108
114
QAction (QIcon (':/images/icons/left_side_view.svg' ),
109
- 'Left' ,
115
+ 'Left (Shift+F7) ' ,
110
116
parent ,
117
+ shortcut = 'shift+F7' ,
111
118
triggered = self .left_view ),
112
119
QAction (QIcon (':/images/icons/right_side_view.svg' ),
113
- 'Right' ,
120
+ 'Right (Shift+F8) ' ,
114
121
parent ,
122
+ shortcut = 'shift+F8' ,
115
123
triggered = self .right_view ),
116
124
QAction (qta .icon ('fa.square-o' ),
117
- 'Wireframe' ,
125
+ 'Wireframe (Shift+F9) ' ,
118
126
parent ,
127
+ shortcut = 'shift+F9' ,
119
128
triggered = self .wireframe_view ),
120
129
QAction (qta .icon ('fa.square' ),
121
- 'Shaded' ,
130
+ 'Shaded (Shift+F10) ' ,
122
131
parent ,
132
+ shortcut = 'shift+F10' ,
123
133
triggered = self .shaded_view )],
124
134
'Tools' : [QAction (icon ('screenshot' ),
125
135
'Screenshot' ,
0 commit comments