Commit Graph

15 Commits (481d3754b3cd0b935a76a2832ea0cebd58ce0222)

Author SHA1 Message Date
Sławomir Demeszko ff555d760b Preventing loosing keyboard focus by editor.
When you write your code in editor sometimes you want to rotate or move object
on 3D view, but due stealing focus by this widget it is quite tedious.
You need additional mouse click to return focus to editor and search line where
you last edited. This behavior is not neccessary as we can interpret keyboard
events globally (in MainWindow) and send commands to 3D view.

Console window need ClickFocus to show context menu.

Zoom In/Out 3D view is assigned to CTRL+[ and CTRL+]. Adding also additional
shortcut to zoom in editor font CTRL+= (with CTRL++ SHIFT is necessary).
2014-04-11 01:18:08 +02:00
Marius Kintel 0f3de6ca8a Qt5: Ported Q_WS usage to Q_OS 2014-02-05 00:27:05 -05:00
Marius Kintel 77829d0a3a Merge pull request #529 from t-paul/issue434
Add menu entry "Reset View" to reset viewport to initial settings
2013-11-04 14:32:24 -08:00
Torsten Paul be4c72d9e9 Add menu entry "Reset View" to reset viewport to initial settings (fixes Issue #434). 2013-10-31 22:56:31 +01:00
Henner Zeller 3e15f42113 o Key-press event in the QGLView were ignored, as it never got the
focus. Fix: Gain focus on mouse-click inside that view.
o QGLView: make zoom-in as well possible on '=' key. On American
  keyboards, the '=' key is right next to the '-' (Minus) key, while
  '+' (plus) requires Shift-equals.
o Provide a useful 'c' key-binding for 'center'. Very useful after
  getting lost in panning.
2013-10-24 22:56:55 -07:00
Don Bright ea92d9ce19 fix issue #430 2013-09-11 19:52:31 -05:00
don bright 94d4acf765 cleanup tab spacing 2013-03-03 20:23:03 -06:00
don bright 2b2dc7a078 make Camera into single class, simplify code 2013-03-03 10:52:25 -06:00
don bright 06fd9e2798 cleanup commented-out 2013-02-27 00:50:33 -06:00
don bright 13b0fe4b3f rework Camera using boost::variant. first working --gimbalcam version 2013-02-27 00:37:37 -06:00
don bright 50489c4287 begin to implement --viewport option, by adding Camera class + children 2013-02-25 22:32:57 -06:00
don bright 8738cdc034 split out axes functions. begin to split out opencsg pre-rendering 2013-02-24 19:04:50 -06:00
don bright eb2c0d38f2 unify intializeGL(), remove duplicate code 2013-02-24 14:31:03 -06:00
don bright 76c5d5b55c merge enable_opencsg_shaders into GLView, remove duplicate code
from QGLView and OffscreenView
2013-02-24 12:33:11 -06:00
don bright 707118ce94 move enable_opencsg_shaders, fix indenting, split out display_opencsg_warning
also update docs, and try to make enable_opencsg_shaders the same between
qgl and offscreengl
2013-02-24 11:21:45 -06:00