wmayer
2aef0cfa61
Gui: move class Camera to own source files
2023-03-22 16:13:38 +01:00
wmayer
565cf73f1d
Gui: send message events for zoom in/out commands to also support the image view
2023-03-22 16:03:14 +01:00
wmayer
bb1de399ad
Gui: add function View3DSettings::stopAnimatingIfDeactivated()
2023-02-26 16:20:58 +01:00
wmayer
94f3a476a9
Gui: refactor View3DInventor and move handling of settings to separate classes
2023-02-26 15:17:39 +01:00
wmayer
3fb943864e
Gui: use Color::fromPackedRGBA to simplify client code
2023-02-26 13:30:44 +01:00
Uwe
53b275a735
[Gui] fix initialization of NaviCube colors
...
- the color is stored in for RRGGBBAA and must be passed in form AARRGGBB to QColor. In NaviCube.cpp this is already done right and the same is necessary for View3DInventor.cpp
2023-02-26 05:35:39 +01:00
Uwe
faca6b2e40
[Gui] fixes for NaviCube parameters
...
- add missing routines to save default values
- also fix color read in (transparency was read in wrong order)
2023-02-25 18:56:27 +01:00
Uwe
4adf98e369
[Gui] add UI to change the NaviCube button size
...
- it was frequently requested and people now even published videos since I documented this hidden feature in the Wiki.
However, for a user it is a nightmare without a UI and users who like a bright background need to change the button color to keep the buttons visible.
2023-02-25 15:28:51 +01:00
Adrian Insaurralde Avalos
b15391752e
Fix NaviCube default font incorrect display in pref. page
2023-02-25 00:00:56 +01:00
wmayer
9906c63b32
Gui: move calls of OnChange to separate method
...
and explicitly call the class' method to fix warning about bypassing virtual dispatch during construction
2023-02-07 22:16:09 +01:00
Uwe
932abebca9
[Gui] register NaviCube parameters to view
...
- there is a bug: when deleting any NaviCube parameter in the parameters dialog, the background color suddenly changes
the fix is to register the NaviCube parameters to the view
- the PR also fixes the issue that the default font size was not properly calculated but hardcoded
2023-02-02 19:02:51 +01:00
wmayer
2e5cb03261
Gui: move to new style connect()
2023-02-01 13:49:35 +01:00
wmayer
ec553a9292
Qt6 port:
...
* Explicitly include some missing headers
* Use 'static const char*' for XPM icon
* Skip template parameters for qMakePair
* Constructor of QFileInfo is marked as 'explicit' now
* QString::fromLatin1() also accepts a QByteArray
* QDateTime::fromTime_t() is deprecated in Qt5 and has been removed in Qt6. Use QDateTime::fromSecsSinceEpoch()
* QDateTime::toTime_t() is deprecated in Qt5 and has been removed in Qt6. Use QDateTime::toSecsSinceEpoch()
* QApplication::globalStrut() is deprecated. Don't use it any more.
* QWidget::isTopLevel() is deprecated, use QWidget::isWindow()
2022-11-02 15:16:41 +01:00
Uwe
4ff19f343e
Revert "[Gui] background default colors"
...
This reverts commit 1efb0503d2 .
2022-10-31 23:18:33 +01:00
wmayer
6d33a969bf
Gui: replace some places of deprecated QRegExp
2022-10-05 19:10:29 +02:00
berniev
75acacd1b7
Gui: Use auto and range-based for ( #7481 )
...
* On lines where the variable type is obvious from inspection, avoid repeating the type using auto.
* When possible use a ranged for loop instead of begin() and end() iterators
2022-09-14 13:25:13 -05:00
Uwe
1efb0503d2
[Gui] background default colors
...
- for better contrast and "fresher" look, see developers forum
2022-08-18 02:38:45 +02:00
berniev
656ef8961f
Gui: redundant void 2
2022-08-08 10:21:44 +02:00
Uwe
1b5285bebd
[Gui] move a NaviCube parameter to the NaviCube parameter group
...
- at the moment some NaviCube parameters are in the general View group, some in the dedicated NaviCube group
2022-07-30 00:50:12 +02:00
Uwe
c23a30b916
[Gui] remove unnecessary Boolean comparisons
2022-06-19 15:17:01 +02:00
Zheng, Lei
3ef438eaf0
Fix mixed line endings
2022-04-26 12:52:55 -05:00
Chris Hennes
bedf920702
Gui: PR6497 move return statement to new line
2022-03-29 12:33:50 -05:00
wmayer
96adb98f46
Gui: modernize C++11
...
* use nullptr
2022-03-23 18:41:21 +01:00
Uwe
c4f5628899
[Gui] So headers: remove unused includes
...
- also sort out some headers to be used in precompiled headers
- also move a boost header to precompiled headers
2022-03-16 02:01:32 +01:00
wmayer
1ca7429705
Gui: Optimize includes to reduce compile time
2022-03-07 20:29:18 +01:00
Uwe
14288f9725
[Gui] View3D*: remove unused includes
2022-03-05 23:16:28 +01:00
wmayer
34c77609dd
Gui: [skip ci] export PDF of 3D view in landscape orientation
2022-03-01 12:46:35 +01:00
Uwe
b4fff07d9e
[App] Expression and Extension: remove unused includes
2022-02-25 18:06:57 +01:00
Uwe
1e314b0165
[Gui] improvements for PCH builds
2022-02-19 06:38:45 +01:00
wmayer
daf1269497
Gui: remove support of using deprecated Qt OpenGL API
2022-01-26 14:46:41 +01:00
wmayer
369fc153b1
Gui: code refactoring that handles printer settings, also support color mode
2022-01-24 12:45:06 +01:00
0penBrain
34ef43811c
[Gui] Add corner cross size as a preference in Display/3D View/General
2021-11-23 00:07:02 +01:00
wmayer
fad2fd9568
Gui: make View3DInventorPy acting as sub-class of MDIViewPy
2021-11-21 19:44:38 +01:00
mwganson
b9a2fb2f74
[Print Preview] Save paper size and orientation to user parameters
2021-11-14 21:21:17 -06:00
Chris Hennes
b1f8184858
Remove unneeded Qt version checks
2021-03-28 17:41:27 +02:00
Chris Hennes
b15f134038
Remove deprecated Qt constants
...
Qt has deprecated the following constants, this commit replaces them
with their new equivalent/replacement:
Qt::TextColorRole -> Qt::ForegroundRole
Qt::BackgroundColorRole -> Qt::BackgroundRole
QPainter::HighQualityAntialiasing -> QPainter::Antialiasing
QPalette::Foreground -> QPalette::WindowText
2021-03-28 17:03:09 +02:00
wmayer
aa45875a2b
Gui: modernize C++
2021-01-28 16:22:40 +01:00
vosk
b49c523a54
[Part] - Fix View3DInventor.setCamera leaking SoCamera*
2021-01-28 16:17:33 +01:00
Mateusz Skowroński
294a2ebc9d
Fix Qt deprecation warnings. QPrinter::paperSize() and QPrinter::setPaperSize() are obsolete.
2021-01-04 13:40:58 +01:00
Mateusz Skowroński
712f6c1251
Fix Qt deprecation warnings. QPrinter::orientation() and QPrinter::setOrientation() are obsolete.
2021-01-03 15:08:10 +01:00
Mateusz Skowroński
e6032b7d53
Fix Qt deprecation warnings. QPrinter::paperRect() and QPrinter::pageRect() are obsolete.
2021-01-02 10:39:16 +01:00
wmayer
0eba78d400
Gui: [skip ci] support of bitmasks for enum RotationCenterMode
2020-11-29 11:43:51 +01:00
wmayer
5e83aa8848
Gui: [skip ci] in user settings offer combo box to choose between rotation modes
2020-11-28 22:12:25 +01:00
wmayer
4c9eca5623
Gui: [skip ci] replace dragAtCursor with new enum value WindowCenter
2020-11-28 17:31:42 +01:00
luz paz
298c677873
Gui: Fix header uniformity, whitespace, and doxygen fixes
2020-11-26 10:14:56 +01:00
wmayer
66e546042f
Gui: [skip ci] move handling of parameter ShowAxisCross from Document to View3DInventor
2020-05-30 11:32:34 +02:00
wmayer
ea8d3bb242
Gui: [skip ci] add options to set one-pass and backface-pass rendering
2020-04-06 19:50:58 +02:00
wmayer
e6b3fad6e1
Gui: allow to dump only the visible part of the scene graph
...
Gui.ActiveDocument.ActiveView.dump("scene.iv", True)
The second parameter is optional and by default False
2020-01-16 13:28:01 +01:00
wmayer
eb4e2d2c56
Gui: add virtual method containsViewProvider to MDIView and re-implement it in some sub-classes
...
Improve Document::setActiveView to not always switch to the first 3D view but check the currently active view before
2019-12-29 15:00:35 +01:00
wmayer
1bfe0f3bea
fixes #0004125 : MDIViews not accessible correctly
2019-09-15 18:15:44 +02:00