wmayer
c93031da39
Gui: expose some more methods of MDIView to Python
2021-11-21 14:32:36 +01:00
wmayer
195144fdc3
Gui: make sure the calltips show the added methods of MainWindowPy
2021-11-20 22:49:51 +01:00
luz paz
449797d7f5
Gui: Remove superfluous whitespace from string that is translated
2021-11-20 11:48:45 +01:00
wmayer
751227402d
Gui: extend MainWindowPy
...
* implement MainWindowPy::getWindows
* implement MainWindowPy::getWindowsOfType
2021-11-19 16:21:40 +01:00
wmayer
6bf724cca9
Gui: extend PySide2 wrapper of MainWindow with extra functions
2021-11-19 15:45:56 +01:00
wmayer
8eb099d4e1
Gui: add MDIViewPy.cast_to_base and implement in Python wrappers for sub-classes of MDIView
2021-11-19 15:44:23 +01:00
wmayer
508df64732
Gui: [skip ci] add sub-classes of the MDIView to the type system
2021-11-19 12:51:13 +01:00
Yorik van Havre
a26fb4db1a
Merged crowdin translations
2021-11-16 17:30:39 +01:00
Yorik van Havre
aca390ac88
Updated ts files
2021-11-16 17:25:03 +01:00
wmayer
ed03e8ded5
Gui: allow to configure the checks of the cache directory
2021-11-16 15:37:04 +01:00
Chris Hennes
8527cab2bc
Gui: Add missing Windows QPrinterInfo include
2021-11-15 20:59:13 -06:00
wmayer
973642285e
Gui: periodically check cache directory and offer a way to clean it up if it exceeds the limit
2021-11-15 22:53:41 +01:00
wmayer
d5726bd7af
App: standard path handling
...
* distinguish between temp and cache location
* document's transident directory is created in the cache location
* add functions to access temp and cache location via Python
2021-11-15 16:26:25 +01:00
mwganson
b9a2fb2f74
[Print Preview] Save paper size and orientation to user parameters
2021-11-14 21:21:17 -06:00
Zheng, Lei
8cf3cf330b
App/Gui: allow change dynamic property group and documentation
...
Exposed as PropertyContainerPy.setGroup/DocumentationOfProperty.
Added a menu action to property view for rename dynamic property group.
2021-11-14 20:45:09 -06:00
Zheng, Lei
72ae26dfee
App/Gui: improve expression binding of PropertyEnumeration
...
The enumeration items are exposed through sub path '.Enum'. When
'ShowAll' is enabled in property view, this sub path is exposed as a
sub property item named 'Enum', and can be either manually edited or
bound with an expression.
2021-11-14 20:45:09 -06:00
wmayer
5f7b8214e5
Spreadsheet: implement SheetViewPy that acts as sub-class of MDIViewPy
2021-11-13 20:40:32 +01:00
0penBrain
7c54774ef1
[Core] Improve decimal point substitution mechanism
2021-11-12 17:01:12 +01:00
wmayer
bce2c0e648
Gui: [skip ci] fix -Winconsistent-missing-override
2021-11-11 20:36:30 +01:00
Chris Hennes
c62239d0ba
Merge pull request #4626 from pavltom/GUI_TreeView_Item_Ordering
...
[Gui] Issue #3923 - Add arbitrary Tree View item ordering
2021-11-10 23:35:05 -06:00
luz paz
1957bcc489
Gui: expose the 'Link Actions' toolbar icon to translation
...
Related to https://github.com/FreeCAD/FreeCAD-translations/issues/51 and https://github.com/FreeCAD/FreeCAD-translations/issues/16
2021-11-10 01:12:45 +01:00
wmayer
916fe37a6b
Gui: move handling of SoMouseWheelEvent to its own handler function
2021-11-05 21:37:19 +01:00
wmayer
4a1c1c7004
C++11: modernize use nullptr (replaces NULL or 0)
2021-11-05 18:16:19 +01:00
wmayer
528ffce593
Gui: add method NavigationStyle::processClickEvent() to reduce code duplication in sub-classes
2021-11-05 14:37:18 +01:00
wmayer
b1ab5c3b8f
Gui: [skip ci] in MayaGestureNavigationStyle rename mousedownConsumedEvent to mousedownConsumedEvents
2021-11-05 14:00:09 +01:00
wmayer
5b023b0af5
Gui: [skip ci] rename handleKeyboardEvent to processKeyboardEvent
2021-11-05 12:58:36 +01:00
wmayer
ef100d55e9
Gui: add support of TinkerCAD navigation style
2021-11-05 11:10:38 +01:00
wmayer
09da245af9
App: harmonize API of App::Application
...
* make getHomePath() static and return a std::string
* make getExecutableName() static and return a std::string
2021-11-04 10:50:09 +01:00
Uwe
909b035d0b
Squashed commit of the following:
...
commit b5aa19950f09d9a391b189a578073b9920943294
Author: Roy-043 <70520633+Roy-043@users.noreply.github.com >
Date: Tue Nov 2 14:37:19 2021 +0100
Std: Fix OpenSCAD navigation string
Holding down SHIFT is not required when zooming with the MMB.
2021-11-04 00:52:08 +01:00
wmayer
5b3bf97f2b
Gui: [skip ci] replace getNormalizedPosition() with normalizePixelPos()
2021-11-02 19:06:12 +01:00
wmayer
60467908c8
Gui: [skip ci] code clean-up
2021-11-02 16:06:21 +01:00
wmayer
bec3c797a8
Gui: [skip ci] add method NavigationStyle::getNormalizedPosition() to reduce code duplication
2021-11-02 15:57:54 +01:00
wmayer
0b802eb717
Gui: [skip ci] add method NavigationStyle::handleKeyboardEvent() to achieve consistent handling and reduce code duplication
2021-11-02 15:32:20 +01:00
wmayer
1c93d3ee15
Gui: [skip ci] add method NavigationStyle::syncModifierKeys() to reduce code duplication
2021-11-02 14:52:22 +01:00
wmayer
9def811a3a
Gui: [skip ci] expose function to Python to enable/disable context-menu of 3d view
2021-11-02 12:57:54 +01:00
wmayer
13ba2242de
Gui: [skip ci] allow to set edit mode in cmdSetEdit()
2021-11-01 14:47:26 +01:00
Zheng, Lei
a2fb4a5d6d
Minor code change according to suggestions
2021-10-30 12:30:45 +08:00
Zheng, Lei
fc9d3547ad
App: fix external document loading
...
The problem happens when partial loading is enabled. If document A
contains a link to some object in document B, it will load B as partial
document with only that object and its necessary dependencies. But if
document A contains another link to some object in document C which also
has a link to some object in document B, the link in document C may not
be restored, because document B is partially loaded without the linked
object. This patch will check for this case and reload document B for
more objects.
See an example reported in
https://forum.freecadweb.org/viewtopic.php?p=495078#p495078
2021-10-30 11:03:52 +08:00
Zheng, Lei
01d8d26bb4
Gui: fix document 'modified' status on view property change
2021-10-30 11:02:39 +08:00
wmayer
7a35afdd8e
Gui: add class RotationHelper to reduce code duplication of PropertyRotationItem and PropertyPlacementItem
2021-10-29 15:59:55 +02:00
wmayer
61de191771
Gui: implement editor for PropertyRotation
2021-10-29 12:41:03 +02:00
Roy-043
7d21029ff5
Std: Fix URLs in CommandStd.cpp
...
Updated all URLs to the new freecad.org domain.
2021-10-27 08:08:39 +02:00
wmayer
8aa340b9e7
Gui: [skip ci] fix regression not to allow to have selected several objects when opening the placement dialog
2021-10-26 21:55:15 +02:00
Tomas Pavlicek
345dcd5252
[Gui] Issue #3923 - Arbitrary Tree item ordering + tests
2021-10-26 19:09:34 +02:00
wmayer
e702c5d234
Gui: [skip ci] fix minor memory leak
2021-10-26 13:31:55 +02:00
wmayer
a1c9ab658c
Gui: add support of OpenSCAD navigation style
2021-10-26 00:21:31 +02:00
Chris Hennes
13ebb12bef
Merge pull request #4133 from donovaly/Gui-ChildSelection
...
[GUI] fix tree object context menu issues
2021-10-25 08:28:13 -05:00
wmayer
f3ca27e18e
Gui: add search box to text editor
2021-10-25 13:29:42 +02:00
donovaly
67e8fd0b6a
[GUI] fix tree object context menu issues
...
- fix bug that you can select several objects across different document to make them a group
- fix bug that when more than one object is selected you get a context menu to rename, despite it is unclear what object should be renamed
- add feature to select also the child objects of the selection
The latter was also requested long time ago: https://tracker.freecadweb.org/view.php?id=2397
2021-10-25 11:14:53 +02:00
wmayer
65923bfdbf
Gui: add virtual methods undoActions()/redoActions() to MDIView to simplify code in UndoDialog/RedoDialog
2021-10-23 15:15:09 +02:00