Commit Graph

2071 Commits

Author SHA1 Message Date
Ian Rees
e7a5bd0aad SpaceNavigator on Linux: rearrange #includes 2018-09-17 12:43:24 +02:00
Ian Rees
d63e29c3bc Replace Q_OS_UNIX with Q_OS_LINUX for spacenav 2018-09-17 12:43:24 +02:00
Ian Rees
39b27ab9e3 Port SpaceNavigator support on Linux to Qt5 2018-09-17 12:43:24 +02:00
wmayer
189a729027 extend QuantityFormat to set denominator independent of user settings 2018-09-17 12:38:46 +02:00
hokieengr
92145e7e37 Fractional inch setting now disabled when not in Imperial building 2018-09-17 10:32:04 +02:00
hokieengr
77060a75a6 Added support for fractional inch user setting. 2018-09-17 10:32:04 +02:00
hokieengr
b102e15569 Now only storing the actual fractional denominator
GUI settings now computed directly from this value. This eliminates the
possibility of the combobox index and the value it represents getting
out of sync.
2018-09-17 10:32:03 +02:00
hokieengr
00a11a6366 Added option to select minimum fractional inch displayed
Load/save operation complete. Not yet integrated with the display code.
Also would like to disable option when non supported (those not using
fractional inches) are selected.
2018-09-17 10:32:03 +02:00
wmayer
c8cfc15e3c fix build failure on Linux 2018-09-15 21:38:15 +02:00
wmayer
f809a50be8 when loading file by drag and drop then create the objects in the active document
if no document exists then use i18n to translate the document name
2018-09-15 19:14:46 +02:00
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