Commit Graph

2998 Commits

Author SHA1 Message Date
Roy-043
33ef4e0e35 Update CommandView.cpp 2020-09-01 20:22:26 +02:00
wmayer
b8fedc6030 Gui: use utility tovrmlx3d to convert a VRML 2.0 file into X3D format 2020-09-01 16:11:09 +02:00
wmayer
9beeb53a98 Gui: [skip ci] do not handle left mouse button events when in dragging or zooming mode 2020-08-31 22:23:35 +02:00
Zheng, Lei
6ef1562d1f App/Gui: warn when loading/saving file with identical physical path 2020-08-31 14:05:14 +02:00
Mark Ganson TheMarkster
c714dd0a78 [Report View] fix inconsistencies
Make default values consistent for whether to show report view on log and normal messages.  Default values should be warnings: true, errors: true, normals: false, logs: false.
2020-08-24 16:30:12 +02:00
Ron Miller
ff57ddeb6f Gui: Add missing SoSubEvent.h header to SoMouseWheelEvent.h 2020-08-24 16:06:54 +02:00
wmayer
4b7e64381c Gui: avoid code duplication in NavigationStyle and remove superfluous doZoom_wheel method 2020-08-22 18:44:47 +02:00
DeepSOIC
b200801ebc Gui: use SoMouseWheelEvent in navigation styles 2020-08-22 17:15:02 +02:00
DeepSOIC
68848ea9f8 Gui: implement SoMouseWheelEvent
and sythesize it instead of fake buttons 4 and 5
2020-08-22 17:15:02 +02:00
Christopher Coley
f6411f8221 3DConnexion SpaceBall and configuration dialog improvements 2020-08-22 15:26:00 +02:00
carlopav
a262b11cd7 Gui: divide ViewProviderGeometryObject properties into groups
.


.


.


.
2020-08-21 12:36:46 +02:00
carlopav
26ac41f93d Gui: attempt to reorder ViewProviderDocumentObject properties
ref: https://forum.freecadweb.org/viewtopic.php?f=8&t=46911#p403077
@wmayer beware, I didn't test compiling.
Gui: fixed duplicated property adding in ViewProviderDocumentObject

fixed regression
2020-08-21 12:36:46 +02:00
Vanuan
7a0aec1210 High DPI support: Convert sketcher cursors to SVG
Remove xpm
2020-08-19 19:59:13 +02:00
wmayer
77dc31d9a0 Gui: [skip ci] fix warning when opening recovery dialog in debug mode 2020-08-13 14:21:55 +02:00
wmayer
050356aa55 plugin: [skip ci] add new signal textChanged() to QuantitySpinBox 2020-08-09 11:22:47 +02:00
Bernd Hahnebach
7852957623 Base: add new unit schema for mm and N for use in FEM 2020-08-07 19:19:44 +02:00
Zheng, Lei
49a5f554fa Gui: fix ViewProviderPythonFeature::getLinkedViewProvider 2020-08-07 17:20:55 +02:00
luz paz
59e3ea096e Crowdin: Merge new translations [skip-ci] 2020-08-07 17:17:35 +02:00
mwganson
ee383b7aef [Gui::CommandPy] add new command resetShortcut() -- resets shortcut to default 2020-08-06 11:29:07 +02:00
wmayer
ad7fbee066 Part: [skip ci] fix crash when closing document while face colors panel is open 2020-08-06 11:26:24 +02:00
wmayer
76e7429489 Gui: [skip ci] set Gui.listCommands to keep old code working 2020-08-03 18:58:00 +02:00
mwganson
0cf8279f00 [Gui Commands] new command: listCommandsByShortcut(string) -- returns a python list of all commands that are using the shortcut. Search is case-insensitive and ignores spaces 2020-08-02 21:09:36 +02:00
wmayer
9b529bc45c Gui: [skip ci] move Python functions for commands to its own class 2020-08-02 20:50:43 +02:00
wmayer
ed4876abb4 Gui: add an option to also suppress normal messages 2020-07-31 19:39:49 +02:00
mwganson
a41ad338e9 [report view] add preferences to report view context menu 2020-07-31 19:39:49 +02:00
donovaly
2a8fe51038 [App/Gui] improve coding style
inspired by the changes made with https://github.com/FreeCAD/FreeCAD/commit/dc65b055e514
2020-07-30 12:05:22 +02:00
wmayer
767b2787c1 LGTM: [skip ci] remove some obsolete FIXME comments from source code 2020-07-28 09:49:20 +02:00
wmayer
244d7aae41 LGTM: [skip ci] fix: Inconsistent definition of copy constructor and assignment ('Rule of Two') 2020-07-27 14:39:14 +02:00
wmayer
44f42a8e2c LGTM: [skip ci] fix: Declaration hides parameter
A local variable hides a parameter. This may be confusing. Consider renaming one of them.
2020-07-27 10:57:34 +02:00
wmayer
48f9085746 LGTM: [skip ci] fix: Local variable hides global variable
A local variable or parameter that hides a global variable of the same name.
This may be confusing. Consider renaming one of the variables.
2020-07-26 19:30:24 +02:00
wmayer
dc65b055e5 LGTM: [skip ci] fix: Empty branch of conditional
An empty block after a conditional can be a sign of an omission and can decrease maintainability of the code.
Such blocks should contain an explanatory comment to aid future maintainers.
2020-07-26 15:49:14 +02:00
wmayer
47d570716c LGTM: [skip ci] fix: Non-virtual destructor in base class 2020-07-24 19:30:12 +02:00
luz paz
752f84046c Crowdin: Edits based on feedback from translators [skip-ci]
https://crowdin.com/translate/freecad/27911/en-en#6581566  
https://crowdin.com/translate/freecad/6766/en-en#6584432  
https://crowdin.com/translate/freecad/549/en-en#6578092
2020-07-24 13:49:59 +02:00
wmayer
b25dee58d5 Coverity: Uninitialized scalar/pointer field 2020-07-20 17:34:30 +02:00
wmayer
b480a207c0 Coverity: Uncaught exception 2020-07-20 17:34:29 +02:00
wmayer
aff2e5a76d Gui: Optimize ViewProviderDocumentObject::getDocument() 2020-07-20 17:34:29 +02:00
wmayer
43d9e82f97 Coverity: Uncaught exception 2020-07-20 17:34:26 +02:00
wmayer
4a494fec69 Coverity: Dereference null return value 2020-07-20 17:34:26 +02:00
wmayer
a2f3c51290 Coverity: Dereference before null check 2020-07-20 17:34:26 +02:00
wmayer
d26aafa833 Coverity: Argument cannot be negative (actually a bug by using the wrong index variable) 2020-07-20 17:34:24 +02:00
mwganson
8565736dea avoid saving to parameters if new shortcut is the default, better check for if setting shortcut was success 2020-07-20 14:11:14 +02:00
mwganson
43be29c3b1 return false when unable to set shortcut 2020-07-20 14:11:14 +02:00
Mark Ganson TheMarkster
42a4b11d1f convert tab to spaces 2020-07-20 14:11:14 +02:00
Mark Ganson TheMarkster
c437ab007c move preprocessor directives back to column 1 2020-07-20 14:11:14 +02:00
Mark Ganson TheMarkster
5c42e35f52 remove some commented lines 2020-07-20 14:11:14 +02:00
mwganson
5f347447b1 [Python Gui] add new command Gui.setCommandShortcut(), fix bug in Gui.getCommandShortcut() and Gui.getCommandInfo() where user has changed shortcut via customize dialog, but these 2 commands returned previous default information 2020-07-20 14:11:14 +02:00
mwganson
ac8259e560 [Standard Views] change preference label to default camera orientation 2020-07-20 13:48:37 +02:00
mwganson
78cd1790df [Standard Views] add Home view command. Default shortcut is 'Home' key. Restores camera orientation to current home view, configurable in edit menu -> preferences -> display -> navigation -> New Document Camera Orientation / Home view. 2020-07-20 13:48:37 +02:00
wmayer
71e1f7c331 Gui: [skip ci] add some security checks before dereferencing pointer to QTreeWidgetItem 2020-07-18 12:05:02 +02:00
mwganson
9ea45bc8b7 [crash fix] Edit Parameters right click was causing crash unless right clicking on item 2020-07-18 11:55:24 +02:00