Commit Graph

26441 Commits

Author SHA1 Message Date
wmayer
cf337394a1 Gui: in repr() of MDIViewPy write the typeid name 2021-11-21 15:44:06 +01:00
wmayer
8de5d37fba Web: make BrowserViwePy acting as sub-class of MDIViewPy 2021-11-21 15:34:33 +01:00
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
Ajinkya Dahale
71e70c876b [PD] Use PropertyLinkSubList for loft and sweep sections
This change is necessary since we restrict part-design features to only use
other features from the same body.
2021-11-20 21:37:14 +01:00
wmayer
2c701c0985 Spreadsheet: [skip ci] return Py::None() instead of Py::Object() 2021-11-20 14:40:12 +01:00
Chris Hennes
d60a0fb760 Spreadsheet: Remove unnecessary functions & files
Remove functions from they Python code for ViewProviderSpreadsheet that
are now in SheetView, and eliminate the unneded files for SheetView now
that it's being generated by hand to facilitate pseudo-inheritance.
2021-11-20 14:40:12 +01:00
Chris Hennes
79a0c6b54c Spreadsheet: Implement Python SheetView functions
Add the following functions to the Python interface of SheetView:
* selectedRanges()
* selectedCells()
* select(cell, flags)
* select(upperLeft, lowerRight, flags)
* currentIndex()
* setCurrentIndex(cell)
2021-11-20 14:40:12 +01:00
luz paz
5b7fb78b10 App: remove superfluous whitespace in ObjectIdentifier.h 2021-11-20 14:03:40 +01:00
luz paz
0db37e77c3 App: fix doc typo in ObjectIdentifier.h 2021-11-20 14:03:40 +01:00
wmayer
4fa4446f01 PD: [skip ci] code clean-up in pad and pocket feature 2021-11-20 12:01:55 +01:00
luz paz
449797d7f5 Gui: Remove superfluous whitespace from string that is translated 2021-11-20 11:48:45 +01:00
wmayer
ab480df745 PD: move duplicated code to common base class 2021-11-20 11:45:13 +01:00
wmayer
9ee60fd585 PD: Add common base class for Pad/Pocket 2021-11-20 10:34:01 +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
sliptonic
7ca80cade0 Merge pull request #5177 from sliptonic/bug/profilebug
[Path] face outerwires aren't always the first wire in the Wires list.
2021-11-18 08:44:09 -06:00
Yorik van Havre
a41d11a299 Merge pull request #5028 from luzpaz/Crowdin-MeshPart
Crowdin: Fix and expose Mesh WB translations
2021-11-18 12:27:42 +01:00
wmayer
f0646d8b51 Tux: [skip ci] fix error: NameError: name 'adjustSize' is not defined
Caused by commit d7d23d5ef5
2021-11-17 19:18:12 +01:00
wmayer
3dc9acef62 PD: [skip ci] fix warning -Wunused-variable 2021-11-17 19:06:35 +01:00
wmayer
055068a255 TD: [skip ci] fix deprecation warning with Qt5.15 2021-11-17 17:20:57 +01:00
wmayer
6bea853e80 MingGW: [skip ci] fix build failure 2021-11-17 17:14:27 +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
Yorik van Havre
e953dc1c2a Merge pull request #5156 from donovaly/TUX-navibar-fixes
[Tux] fix navigation status bar width
2021-11-16 11:33:28 +01:00
Yorik van Havre
75846b340b Merge pull request #5153 from Roy-043/Draft-fix-importDXF-should-use-make_layer
Draft housekeeping: importDXF.py should use make_layer
2021-11-16 11:30:17 +01:00
Chris Hennes
8527cab2bc Gui: Add missing Windows QPrinterInfo include 2021-11-15 20:59:13 -06:00
sliptonic
4c129c7526 face outerwires aren't always the first wire in the Wires list.
Added logic to compare hashCodes()

https://forum.freecadweb.org/viewtopic.php?f=13&t=50567
2021-11-15 18:40:28 -06:00
wmayer
cd2955f3d3 PD: simplify Pad/Pocket commands 2021-11-16 00:58:55 +01:00
wmayer
a8cb5ed419 PD: [skip ci] for pockets use opposite direction of reference axis 2021-11-16 00:35:57 +01: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
sliptonic
7e5e0fe2fe Merge pull request #5154 from sliptonic/feature/drill-generator
[PATH] Drilling refactor part 1 - Generator and testing
2021-11-15 09:05:28 -06:00
Uwe
838bdf93bc [PD] fix issue 0004785
- then the profile of a pad/pocket was a face, the direction handling was completely broken
2021-11-15 15:44:28 +01:00
Uwe
61481dc9c5 [PD] uniform pad and pocket handling
- since pockets now can have a certain direction, also handle the reference axis like for pad
- uniforms initial length to 10.0
2021-11-15 15:32:56 +01:00
wmayer
0469e277ab App: add PropertyLinkSubList::addValue() to extend the list 2021-11-15 13:05:19 +01:00
wmayer
1929b4ca4a App: add PropertyLinkSubList::verifyObject() to reduce code duplication 2021-11-15 08:42:32 +01:00
mwganson
b9a2fb2f74 [Print Preview] Save paper size and orientation to user parameters 2021-11-14 21:21:17 -06:00
Chris Hennes
465548dc18 App: Add colCount and rowCount to Range 2021-11-14 20:45:09 -06:00
Chris Hennes
d5009f2946 App: Add missing use for boost placeholders 2021-11-14 20:45:09 -06:00
Chris Hennes
1f43b3f933 App: fix compilation of PropertyStandard.cpp during cherry-pick 2021-11-14 20:45:09 -06:00
Zheng, Lei
14dfae0597 App: add hiddenref() expression built-in function
Any object reference inside this function is treated as hidden to
exclude it from dependency calculation. This function allows some form
of cyclic depdenency.

Merger note: renamed from "HREF" to "HIDDENREF" to avoid confusion with
the standard "hypertext reference" use of HREF.
2021-11-14 20:45:09 -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
Zheng, Lei
3cc2b49ee9 App: fix crash on copy of Enumeration 2021-11-14 20:45:09 -06:00
wmayer
03dd79c155 Base: add methods to Vector2dPy 2021-11-14 20:05:22 +01:00
wmayer
3c1ea5883c Base: implement number protocol for Vector2dPy 2021-11-14 19:25:29 +01:00