Karliss
42790475d6
Add missing parent for messagebox and other popups
...
Unparented popups can easily get lost in backround, but they still block top level event loop when run with ::exec() thus preventing interactions with main window. This mainly happens on wayland. Setting the parent ensures they are always kept on top and reasonably positioned.
2025-03-16 16:02:36 -05:00
Chris Hennes
a3004c2c0a
Merge pull request #19142 from hyarion/refactor/add-template-addobject
...
Add new addObject<T>() function
2025-02-11 09:42:47 -06:00
Benjamin Nauck
265b58c034
Mod: Use new addObject<T>(...) using regex
2025-02-10 18:35:38 +01:00
Benjamin Bræstrup Sayoc
0b844f8137
Points: Use QStringLiteral
2025-02-10 18:34:57 +01:00
tritao
551c2e48fb
Gui: Reorganize the selection files into a top Selection folder.
2025-02-03 17:56:57 +01:00
Benjamin Nauck
74f3aee9a7
Add template based SelectionSingleton::countObjectsOfType
...
Also convert code to use this new method
2025-01-13 18:55:15 +01:00
Chris Hennes
fb410d15a2
Update src/Mod/Points/Gui/Command.cpp
2024-12-06 10:33:56 -06:00
pre-commit-ci[bot]
a02ab5b0d3
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-11-03 23:25:40 +00:00
mwganson
874e2e39a0
[Points WB] fix issue where points are inaccurately imported when the points are far from the origin. This PR checks if the bounding box contains the origin and offers to move it to the origin if not, addresses issue #5808
2024-11-03 23:22:15 +00:00
Florian Foinant-Willig
85827958ca
Points: modernize type checking
2023-10-23 18:08:48 +02:00
wmayer
d305f306df
Core: Revert superfluous changes made with PR #9521
2023-10-09 15:06:45 +02:00
AgCaliva
64f60721a9
merge master via cli
2023-09-16 02:12:58 -03:00
AgCaliva
93679b2729
Fix DOMDocument redefinition error
2023-09-08 09:12:52 -03:00
wmayer
c91b82db0b
Points: apply clang-formatting
2023-09-01 20:07:54 +02:00
wmayer
3e8f4d941f
Points: modernize C++: use range-based for loop
2023-08-15 17:20:01 +02:00
wmayer
340c239cf5
fixes #9134 : Points Merge doesn't keep Color information
2023-05-12 13:12:14 +02:00
Uwe
bdaee726ae
[Points] remove unused includes ( #7900 )
...
- also some sorting
2022-11-29 04:44:35 +01:00
wmayer
23288e7b01
Points: fixes #5785 : a python method to convert a Shape into a point cloud without extra dialog but parameter
2022-06-21 15:25:53 +02:00
Uwe
d52633a030
[Points] remove Python.h and Xerces
2022-03-20 22:55:16 +01:00
wmayer
cdf755ec71
Points: modernize C++11
...
* remove redundant void-arg
* use nullptr
2022-01-26 17:53:41 +01:00
wmayer
f355b8556c
Points: [skip ci] for CmdPointsConvert command make minimal value dependent on user settings of used decimals
2021-10-05 10:59:07 +02:00
Chris Hennes
533814dd0f
Silence Qt/Windows setGeometry Warning
...
Add the optional Qt::MSWindowsFixedSizeDialogHint parameter to all uses of the QInputDialog::getX static functions to silence a Qt/Windows debug mode warning about QWindowsWindow::setGeometry: Unable to set geometry. Increase the size of the unit calculator to eliminate the same warning. Finally, call adjustSize() on the "Unsaved Changes" dialog to silence the warning.
2020-12-11 09:58:09 +01:00
luz paz
b4ea8991fc
Points: Issue #0004473 : Expose openCommand() to translation
...
Continuing the work to expose the undo/redo functionality to translation. This commit does so for the Points Wb.
Ticket: https://tracker.freecadweb.org/view.php?id=4473
2020-12-01 14:53:35 +01:00
luz paz
5e0bd097fc
Points: link to icons from said commands
2020-12-01 13:37:53 +01:00
wmayer
7b72dcb062
Qt5: 'QString::null' is deprecated: use QString() [-Wdeprecated-declarations]
2020-06-12 17:51:33 +02:00
wmayer
10831dc70a
command to create a structured points object from a unstructured points object
2019-11-22 19:48:46 +01:00
wmayer
8c97f81877
add escape sequence when executing as Python string
2019-09-28 23:35:08 +02:00
wmayer
5ae5e56950
fix cutting of points
2019-09-22 22:58:53 +02:00
wmayer
e48c52c480
force strict ISO C++ (-Wpedantic)
...
for Drawing, Image, Inspection, Mesh, MeshPart, Part, Path, Points, Raytracing, ReverseEngineering, Spreadsheet, Start, Surface, Web
TODO: fix several -Woverflow in area
2019-09-18 11:32:42 +02:00
Mateusz Skowroński
ac508516da
Use QString's multi-arg overload to save memory allocations. [-Wclazy-qstring-arg] Thanks Clazy!
2019-02-11 15:39:14 +01:00
wmayer
bd8d62d0e3
take care of object's global placement when creating point cloud of it
2018-09-05 21:24:22 +02:00
wmayer
5ff6945577
fix compiler warnings with py3 and msvc
2018-04-16 18:24:53 +02:00
wmayer
a815251048
improve point import and export
2018-02-13 00:27:18 +01:00
luz.paz
69216f3604
sWhatsThis fixes
...
ref: https://forum.freecadweb.org/viewtopic.php?f=10&t=26687
2018-01-31 19:07:07 +01:00
wmayer
5fdb1012cb
use abstract interface to create point cloud from geometric feature
2017-10-24 19:39:23 +02:00
wmayer
67cff74865
add command to merge point clouds
2017-05-08 21:50:03 +02:00
wmayer
dec6897ec9
fix -Wextra in Points
2016-09-21 21:10:41 +02:00
wmayer
0777ef1e13
+ command to create points object from geometry
...
+ implement TopoShape::getPoints
2016-03-05 23:36:57 +01:00
wmayer
7ba4da0913
+ create points with normals from mesh object
2016-03-04 19:39:13 +01:00
wmayer
d962fda983
+ removed unneeded pure virtual method getFaces from PropertyComplexGeoData
...
+ extend interface of ComplexGeoData::getPoints to also return normals if available
2016-03-04 17:16:57 +01:00
wmayer
c3075a49e5
+ function to create points from mesh
2016-03-04 16:00:08 +01:00
wmayer
ba5cdf386d
+ remove feature classes to import/export points
2015-12-30 15:16:22 +01:00
wmayer
d19ada810f
+ split file extension from descriptive text of file format to avoid that invalid translation breaks file dialog
...
+ add method to make image view unclosable for user
+ fix possible crash in MeshAlgorithm::GetMeshBorder
+ fix possible crash in MeshAlgorithm::ConnectLines
2015-10-06 17:28:52 +02:00
wmayer
be7ad6f5ba
+ Add new icons, fix German translation in Points module
2014-01-26 16:19:07 +01:00
wmayer
120ca87015
+ unify DLL export defines to namespace names
...
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00