bitacovir
1d3113ebda
Add SVG icons for ten Std File Menu Commands
...
This commit adds SVG files with icons for these commands. Also, it makes the necessary changes on CommandDoc.cpp, CommandWindow.cpp, CommandStd.cpp and resource.qrc files.
2020-12-06 18:25:20 -03:00
wmayer
53eb15fe50
Gui: [skip ci] make parameter to control High DPI scaling available for all platforms
2020-12-02 22:38:04 +01:00
wmayer
3d6dee2a12
Gui: [skip ci] add user parameter to disable High DPI scaling on Windows (by default off)
2020-12-02 13:15:01 +01:00
ADDIREKT\Apeltauer
181914b46f
(Windows only) Improve the dpi handling with different dpi screens on windows
2020-12-02 13:08:46 +01:00
luz paz
74ab516494
Gui: Issue #0004473 : Expose openCommand() to translation
...
Continuing the work to expose the undo/redo functionality to translation. This commit does so for the src/Gui code.
Ticket: https://tracker.freecadweb.org/view.php?id=4473
2020-12-01 14:53:35 +01:00
wmayer
c54deee146
Py2/Qt4: fix build failures and warnings
2020-11-30 19:05:37 +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
wmayer
c582e8a085
Gui: [skip ci] implement new RotationCenterMode called BoundingBoxCenter
2020-11-27 15:12:10 +01:00
wmayer
5f7df94ea1
Gui: [skip ci] improve commands Std_ViewSaveCamera & Std_ViewRestoreCamera to save/restore camera per view
...
Implement resetToHomePosition() for Blender style
2020-11-27 12:27:25 +01:00
wmayer
15e661061c
Gui: [skip ci] add commands to save & restore camera positions so that they can be bound to a space mouse button
2020-11-27 12:09:04 +01:00
wmayer
e92fff2ca5
Gui: [skip ci] const correctness and remove superfluous semicolon
2020-11-26 15:59:27 +01:00
luz paz
298c677873
Gui: Fix header uniformity, whitespace, and doxygen fixes
2020-11-26 10:14:56 +01:00
wmayer
de07c92361
Py2: do not open Init[Gui].py files with utf-8 encoding
2020-11-26 00:48:28 +01:00
wmayer
a3603911bd
Gui: [skip ci] when embedding app icon into thumbnail then only scale it if the offscreen image could be created from the active view
2020-11-25 19:43:46 +01:00
Rafael Villar Burke
981b9b6214
Reduce appicon size when generating thumbnail
...
This smaller size is less intrusive but still can be recognized, and makes the thumbnail more generally useful.
2020-11-25 19:35:59 +01:00
wmayer
6b2b6a4868
PyCXX: [skip ci] fix compiler warnings due to changes on PyCXX
2020-11-25 16:52:46 +01:00
wmayer
6bd39e8a90
Gui: [skip ci] fix -Wodr
...
The forward declarations of QuantitySpinBox and Ui_TaskAppearance were done in the wrong namespace
2020-11-24 15:46:46 +01:00
wmayer
27ee19c1f7
Init: [skip ci] do explicitly open Init[Gui].py files with utf-8 encoding
2020-11-24 14:15:26 +01:00
wmayer
b3200a8a9a
Gui: [skip ci] add method to return list of QAction of a Command
2020-11-23 16:49:25 +01:00
wmayer
6e07dd9e26
Gui: [skip ci] add method to create Python wrapper for QObject
2020-11-23 16:48:54 +01:00
bitacovir
acf9b1f0de
Add SVG icons for five Std Tool commands
...
This commit adds SVG files with icons for these commands. Also, it makes the necessary changes on CommandStd.cpp, CommandDoc.cpp, CommandView.cpp and resource.qrc files.
Forum Discussion: https://forum.freecadweb.org/viewtopic.php?f=34&t=51502&start=10
2020-11-22 11:58:14 +01:00
wmayer
5a9da45e08
Gui: [skip ci] add method to Python binding of ViewProviderExtension to ignore overlay icon
2020-11-22 11:20:54 +01:00
wmayer
d0e5a281c6
Gui: [skip ci] merge icons of extensions of view provider of a Python feature
2020-11-22 11:15:11 +01:00
wmayer
f9104f5884
Gui: [skip ci] add method to ignore to merge icon of an extension that is e.g. used for Part primitives
2020-11-21 16:49:08 +01:00
wmayer
99e9b4db1c
Gui: [skip ci] Fix navigation styles
...
If a joystick is connected events of type Spaceball::MotionEvent might be emitted but the last saved mouse position is not passed to the SoMotion3Event and thus will lead to problems while panning.
See also: https://forum.freecadweb.org/viewtopic.php?f=3&t=50628 and https://github.com/FreeCAD/FreeCAD/pull/3902
2020-11-21 10:15:13 +01:00
donovaly
5916572c40
[Gui] get rid of MSCV compiler warning
2020-11-15 12:08:01 +01:00
wmayer
aabff60388
Gui: [skip ci] try to avoid to truncate QuantitySpinBox at bottom margin on macOS
2020-11-14 13:18:45 +01:00
wmayer
b7f9e351c5
Win: [skip ci] check if NOMINMAX is already defined before setting it
2020-11-11 13:34:42 +01:00
Yorik van Havre
e76c857036
Merged crowdin translations
2020-11-10 14:58:06 +01:00
wmayer
c5a4b01d2e
Gui: [skip ci] try to avoid to truncate QuantitySpinBox at bottom margin on macOS
2020-11-08 16:07:10 +01:00
wmayer
31ff1921ce
Gui: [skip ci] add method extensionSetupContextMenu to extension view provider
2020-11-08 13:36:31 +01:00
wmayer
30e18cdbe0
Gui: [skip ci] support of translation in undo/redo dialog
2020-11-03 15:14:26 +01:00
wmayer
c9923ab153
Gui: [skip ci] Revert workaround to avoid to handle wheel events twice inside the 3d view
...
This workaround caused a regression with Qt 5.15. For more details see: https://forum.freecadweb.org/viewtopic.php?f=3&t=50231
2020-11-03 14:50:06 +01:00
wmayer
0324d2de64
Gui: [skip ci] when closing document via context-menu ask the user first how to continue
...
See also forum thread: https://forum.freecadweb.org/viewtopic.php?f=3&t=51746
2020-11-03 12:09:28 +01:00
Yorik van Havre
7c9e0f3a99
Merged crowdin translations
2020-10-28 12:04:37 +01:00
Yorik van Havre
5eafaa37fd
Updated ts files
2020-10-28 10:46:51 +01:00
wmayer
3598da57ac
Gui: [skip ci] move support of SpaceMouse Explorer to its own event handler function
2020-10-24 19:04:28 +02:00
TinkerGnome
0b1cc83c8e
handle button presses on "Spacemouse Enterprise"
2020-10-24 18:52:18 +02:00
wmayer
d3f0ed247e
Add list of all available 3Dconnexion devices
2020-10-24 18:52:03 +02:00
wmayer
c5895e1a02
Gui: do not use event handling of SpaceMouse Plus XT for Enterprise model
2020-10-24 18:51:52 +02:00
wmayer
690cc3e180
Gui: [skip ci] let view provider to decide to whether open a transaction on double-click
...
The sketcher view provider doesn't need a transaction on double-click or otherwise shows a useless entry in the undo dialog which when undoing leads to weird behaviour
2020-10-24 15:37:04 +02:00
luz paz
9f74b422a9
Fix various typos [skip-ci]
2020-10-24 12:25:46 +02:00
bitacovir
ccd8980398
Add SVG icons for two Std commands
...
Two Std commands do not have icons for the FreeCAD UI (Menu Edit): Std DuplicateSelection, Std_Alignment.
2020-10-21 16:26:27 +02:00
Chrismettal
4234e66796
[Stylesheet] Add border to tiled subwindows to allow resizing
2020-10-19 13:21:26 +02:00
wmayer
54e29ac2b8
macOS: suppress some warnings
2020-10-18 16:18:34 +02:00
wmayer
38fcf770ab
Qt5: fix build failure with Qt 5.15
2020-10-18 16:17:48 +02:00
wmayer
571ab1b6e6
Qt5: make StatusWidget derive from QDialog instead of QWidget to avoid code duplication and using deprecated API functions
2020-10-18 14:45:31 +02:00
wmayer
2057e151d8
Qt5: fix deprecation warnings for Qt 5.15
...
+ QByteArray::append is deprecated
+ QPixmap* QLabel::pixmap() is deprecated
+ overloaded version of QString::split is deprecated
+ QSysInfo::windowsVersion()/QSysInfo::MacVersion() is deprecated
2020-10-18 14:45:31 +02:00