Commit Graph

2061 Commits

Author SHA1 Message Date
luz.paz
d1f1230ef5 Typo and whitespace fixes
Found via `codespell -q 3 -I ../fc-word-whitelist.txt --skip=".git,*.ts,*.po,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/zipios++" -L "entires,fle,actuall"`
2018-09-15 19:13:52 +02:00
wmayer
6d49383093 Initial support of SpaceMouse Plus XT 2018-09-15 14:53:48 +02:00
wmayer
161973b962 add option to disable auto-deactivation of property view for inactive document 2018-09-14 16:30:26 +02:00
Markus Lampert
18ed94f788 Disable property editor if none of the selected objects is in the active document. 2018-09-13 22:18:28 -07:00
wmayer
88babaf60a Ignore key events in dialogs and let parent task panel handle them
The affected dialogs are:
* Texture mapping
* Cross-sections
* Extrusion
* Revolution
2018-09-13 11:13:33 +02:00
wmayer
ba2cdde66e move document mode command further uo in the View menu 2018-09-13 01:23:52 +02:00
wmayer
2ce34d6d4c fix regression wrt to bold text in multi-document mode when activating document by tabs 2018-09-13 01:19:49 +02:00
wmayer
876339b885 add method to activate 3d view when setting active object list 2018-09-12 15:38:28 +02:00
wmayer
faad5ea273 ignore key events in placement dialog and let parent task panel handle them 2018-09-11 21:12:04 +02:00
wmayer
8f3a53c24c move check for grabbed node and releasing it from ViewProviderDragger::unsetEditViewer to View3DInventorViewer::resetEditingViewProvider 2018-09-11 17:27:17 +02:00
wmayer
aae8062f15 minor fixes:
make QtCreator happy by removing const & when connecting signal/slots
fix typo in comment
2018-09-11 15:50:27 +02:00
Zheng, Lei
3a81bd5103 PropertyEditor: improve editing experience 2018-09-11 14:51:03 +02:00
Markus Lampert
052d8a70e9 Added collapse/expand option to the document tree view. 2018-09-11 11:38:58 +02:00
Markus Lampert
6359c26b5b Changed tree view document hiding boolean to integer to support arbitrary number of views. 2018-09-11 11:38:38 +02:00
Markus Lampert
03d4f084c7 Added option to hide inactive documents in tree view. 2018-09-11 11:38:20 +02:00
Markus Lampert
399c95ccc8 Added icon to TaskPanel tab in CombiView to indicate if an edit session is in progress. 2018-09-11 07:42:46 +02:00
luz.paz
37305f69fe Misc. typo and whitespace fixes
`codespell -q 3 -I ../fc-word-whitelist.txt --skip=".git,*.ts,*.po,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/zipios++"`
2018-09-11 07:27:22 +02:00
DeepSOIC
2cb1bad660 GestureNavigationStyle: fix interaction with SoClipPlaneManip 2018-09-11 00:38:06 +03:00
wmayer
63e8241e64 fix inconsistencies between default action of context menu and double-click 2018-09-10 17:32:39 +02:00
wmayer
2dd876c082 auto-expand/collapse a tree item when activating it 2018-09-10 15:47:48 +02:00
wmayer
34a0c7bce2 by default show highlighted object in bold text, a document's active object is not in bold text any more 2018-09-10 14:24:37 +02:00
wmayer
3b9a9e02bc close all top-level widgets when about to quit event loop 2018-09-10 12:32:14 +02:00
wmayer
fd2befe7a7 when leaving dragger edit mode make sure to release the grabbed node 2018-09-06 12:42:08 +02:00
looooo
599e59059b reduce line-length to 80 characters 2018-09-05 11:06:26 +02:00
looooo
b20d1bc09c new style modules: print traceback as error and as log. 2018-09-05 11:06:12 +02:00
wmayer
9e5b31fe2a add missing comma separator in list 2018-09-03 21:33:06 +02:00
wmayer
acbbcbcb00 enable VBO support for Intel graphic drivers if UseVBO is activated 2018-09-03 16:57:33 +02:00
wmayer
b385387797 enable VBO support for Intel graphic drivers if UseVBO is activated 2018-09-03 16:46:54 +02:00
Mark Ganson TheMarkster
689765da1b Revert unintended change
Not sure how that happened...
2018-09-03 11:08:16 -03:00
Mark Ganson TheMarkster
43d16fc87a Add Duplicate button to Execute Macro dialog
With the Duplicate button a macro is duplicated with a new name, e.g. duplicate a macro named "MyMacro.FCMacro" and you get a new duplicate file named "MyMacro@001.FCMacro", but the user has opportunity to override the new name with a name of his own or to cancel the operation.

Functionality is similar to already existing ability to create copies of the .FCStd file, only for macros, and this must be done manually for each new file.  Will be useful to coders mostly.  Expected use case could be to save a history of the macro periodically as changes are made or perhaps to duplicate the macro first, and then make changes to the duplicate, eventually replacing the original once satisfied with the changes.

New code is based largely on existing code from rename operation, but with QFile.copy() instead of QFile.rename() used, along with other changes needed, such as generating the new suggested filenames.

link to forum discussion and demonstration video:
https://forum.freecadweb.org/viewtopic.php?f=8&p=254014&sid=98243801791920b69086a3fcd4699e34#p254014

Not sure how to make the Duplicate button label text translate when changing languages.
2018-09-03 11:08:16 -03:00
Zheng, Lei
4231194a37 GLBuffer: fix isVBOSupported() 2018-09-03 12:59:27 +02:00
Michal Ulianko
faf8834484 py3.7 fix
PyUnicode_AsUTF8() returns const char* in py3.7 instead of char*. Making
changes to reflect that which should also be safe in
other Python versions.
2018-09-01 22:44:39 +02:00
Mark Ganson TheMarkster
591c1d32cd Add link button to Addon Manager to Macros dialog
Adds a button labeled Addons... to the macros dialog below the create, edit, delete, and rename buttons.  Clicking the Addons... button will open the same dialog available from Tools -> Addon Manager menu.
Convenience for experienced users, but new users who might not know about the addon manager will be able to see it here, too.
2018-09-01 22:21:33 +02:00
wmayer
b79e1bfee4 get rid of private function _PyImport_FixupBuiltin for FreeCAD and FreeCADGui modules 2018-09-01 19:57:15 +02:00
wmayer
fb1a0be846 exit application when running unit tests raised a system exception 2018-08-31 22:21:15 +02:00
wmayer
3d70f9ed4f number of used decimals in UnitsApi must already be set when initializing App 2018-08-29 23:35:38 +02:00
wmayer
96771a07b0 use a widget's current font as default in the list of available families 2018-08-29 19:33:02 +02:00
wmayer
16e709a682 do not explicitly use extesnion modules in SelectionView::getModule 2018-08-28 14:11:31 +02:00
wmayer
904aef5551 use abstract interface to access geometry in transform dialog 2018-08-27 16:19:56 +02:00
luz.paz
55e93745fa Misc. typo fixes
Found via `codespell`
2018-08-26 17:30:44 +02:00
Zheng, Lei
69efa47374 Selection: handle exception in observer callback
Selection callback are sometimes called while traversing Coin node tree.
If any unhandled exception is thrown while traversing the tree, FC 3D
rendering will become unstable and non-usable thereafter.
2018-08-26 17:29:14 +02:00
wmayer
5eaf2e6387 fixes #0003564: Python objects: updateData calls to proxy instance that should have been deleted 2018-08-25 16:33:22 +02:00
wmayer
bb9d737ba1 when adding a dynamic property to the editor then move it to the correct group or create a new group 2018-08-25 13:26:14 +02:00
wmayer
24579fff32 Py3: fix PropertyStringListItem::setValue 2018-08-23 17:46:27 +02:00
wmayer
93163b28d0 Improve usability of expression dialog:
+ add signal showFormulaDialog to QuantitySpinBox in order to indicate whether the formula dialog opens or closes
+ when formula dialog opens then hide the button box in the parent dialog, show it again when the formula dialog closes
2018-08-23 12:22:57 +02:00
wmayer
afd5249563 add static function isVBOSupported to OpenGLBuffer to check for the GL_ARB_vertex_buffer_object extension 2018-08-21 10:29:55 +02:00
wmayer
a1b0c2ff32 Gui: Better visualization of the Active Object 2018-08-19 18:14:06 +02:00
wmayer
4686f27f64 fix -Wimplicit-fallthrough 2018-08-19 12:35:57 +02:00
wmayer
e701f75c25 generic wrapper/unwrapper for PySide and PyQt classes 2018-08-18 22:12:00 +02:00
luz.paz
321b159f27 More typos 2018-08-18 21:48:43 +02:00