Commit Graph

42896 Commits

Author SHA1 Message Date
Syres916
5f0c93758e [BIM] Fix Runtime Error when creating Wall (#21862)
* [BIM] Fix Runtime Error when creating Wall

* [BIM] Fix continueMode functionality for Wall, Panel and Structure
2025-06-23 13:59:13 +02:00
Kacper Donat
f71d1cf875 Gui: Use proper placement property for Link
Links require different placement property (LinkPlacement) to be used,
otherwise it breaks the transform.

Fixes: #20776
2025-06-22 23:04:06 -05:00
Bas Ruigrok
7a63946762 Part: Align to planar curves normal direction 2025-06-22 21:43:45 -05:00
xtemp09
0a9a16ffe3 [GUI] Remove dark fringe around letters (#21536)
Closes #12394

Co-authored-by: Kacper Donat <kacper@kadet.net>
2025-06-22 21:24:51 -05:00
matthiasdanner
b9b57f8c02 Sketcher: 3 Point Symmetry fixed if root is selected first (and simplify and fix the selection logic) (#21612) 2025-06-22 19:54:39 -05:00
Kacper Donat
294780a047 Merge pull request #22002 from tetektoza/search_preferences_box
Core: Introduce searching in Preferences
2025-06-23 02:16:55 +02:00
Chris Hennes
25aa4d247c FEM: Eliminate unused proxy member 2025-06-22 19:10:48 -05:00
Chris Hennes
e38af07217 TD: Remove calls to now-empty clearLineSets() method 2025-06-22 19:10:48 -05:00
Chris Hennes
c0d22febd8 TD: Add missing override 2025-06-22 19:10:48 -05:00
Chris Hennes
0b0f3cedac CAM: Add missing initializers
Also switch to designated initializers to give context.
2025-06-22 19:10:48 -05:00
Chris Hennes
757ea2db61 CAM: Add initializer for retract_mode
Also explicitly list fields for clarity.
2025-06-22 19:10:39 -05:00
tetektoza
0e21764c42 Core: Use bypass WM hint for X11 for search list in preferences 2025-06-23 01:24:50 +02:00
tetektoza
581f492660 Core: Handle globalPos for both Qt6 and Qt5 2025-06-23 01:24:50 +02:00
tetektoza
b5b86d5c51 Core: Correct font sizes to be smaller in search box in preferences 2025-06-23 01:24:50 +02:00
tetektoza
f4785d6a8f Core: Remove displayText field from search box's result
Removes displayText from the searchboxes result, as it's being handled
differently and there are two other fields that store this previously
concatenated information separately.
2025-06-23 01:24:50 +02:00
tetektoza
5daaa8edea Core: Move reusable parts of MixedFontDelegate to separate functions
Co-Authored-By: Kacper Donat <kacper@kadet.net>
2025-06-23 01:24:50 +02:00
tetektoza
d2f370aeb6 Core: Use separate roles for found item in font delegate for search 2025-06-23 01:15:27 +02:00
tetektoza
e9f7c95f0e Core: Use designated init for SearchResult in preferences 2025-06-23 01:15:27 +02:00
tetektoza
9d12f70506 Core: Use an enum for search bar popup in preferences 2025-06-23 01:15:27 +02:00
tetektoza
94559a3092 Core: Extract preferences search bar to it's own class 2025-06-23 01:15:27 +02:00
tetektoza
b3f37d262a Core: Formatting changes for search in preferences 2025-06-23 01:15:27 +02:00
tetektoza
2412d99966 Core: Introduce searching in Preferences
This PR introduces search box in preferences.
Features:
*supports left click on the result, taking user to the result
*clicking anywhere cancels searching and closes popup box, same with ESC
key
*double click on the result closes the popup too (same behavior as
enter)
*supports enter (although if you are on the position you are already
on it so enter just closes the popup basically)
*escape closes it
*you can navigate through the list with mouse
*support fuzzy search so stuff like "OVP" is being matched to "On-View-Parameters"
*there is hierarchical display (tab/page/setting)
*some of the results are prioritized but fuzzy search prioritizing is the most important
*highlights found item
*goes to tab/page of found item
*if the pop-up box won't fit next to the right side of the screen,
it is added underneath the search box
2025-06-23 01:15:27 +02:00
Benjamin Nauck
ffeb5b0538 Merge pull request #21902 from tetektoza/fix/21380_allow_group_to_be_in_active_obj
Core: Allow users to add groups to active objects
2025-06-23 00:45:24 +02:00
Chris Hennes
33dda885bc Gui: Drop name of unused parameter in PropertyBoolItem 2025-06-22 17:40:25 -05:00
Chris Hennes
93a9b87c59 Gui: Make narrowing conversion float->int explicit 2025-06-22 17:11:22 -05:00
Chris Hennes
cb34546d4c Gui: Mark widget as [[maybe_unused]] 2025-06-22 17:06:51 -05:00
Chris Hennes
2b03016cae Gui: Implicit capture of this is deprecated 2025-06-22 17:03:55 -05:00
tetektoza
ecad444131 Gui: Allow users to add groups to active objects
As the title says, if right now there is Arch type active (like Level,
Building, etc. etc.), then it's not possible to assign Group to it
automatically (it's being created on root level of the document).

So this patch basically takes an active object and tries to insert it.
2025-06-22 23:50:12 +02:00
Benjamin Nauck
5ed384c7f3 App: Expose allowObject for groups in python 2025-06-22 23:50:12 +02:00
tetektoza
908941f2d1 Core: Add a possibility to extract active object based on extension 2025-06-22 23:48:52 +02:00
Balazs Nagy
661d2052b7 find job in parent chain (#21742) 2025-06-22 09:18:07 -05:00
jffmichi
b74a3b5270 CAM: simplify Order Output By Tool logic and fix #21969 (#21970)
Co-authored-by: jffmichi <>
2025-06-21 12:49:49 -05:00
jffmichi
7b1775bc4c CAM: improve Job toggleVisibility (#21802)
Co-authored-by: jffmichi <>
2025-06-21 12:49:32 -05:00
tetektoza
b330a9399f Sketcher: Make TAB lock the label if user has typed previously 2025-06-21 13:48:12 +02:00
xtemp09
be542053e1 [Spreadsheet] Replace override cursor with QGraphicsItem::setCursor (#22097)
* [Spreadsheet] Replace the risky use of override cursor with
QGraphicsItem::setCursor

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-06-21 12:57:07 +02:00
tetektoza
d553e21e53 Sketcher: Add QLabel header for newly added locked icon 2025-06-21 12:46:37 +02:00
tetektoza
9642ce0170 Sketcher: Force cycling back to first labels on OVP if they are not set 2025-06-21 12:46:27 +02:00
tetektoza
de966ae5be Sketcher: Initialize lock icon only once 2025-06-21 12:46:27 +02:00
tetektoza
a00980cc25 Sketcher: Adjust P&D mode to new enter behavior 2025-06-21 12:46:27 +02:00
tetektoza
cc207edb1a Sketcher: Change enter behavior on OVP to put OVP in lock state only
This patch adds/changes a couple of things:
* if you press enter on a label now, it moves you to another label and
  adds the label and lock on the previous label, instead of previous behavior
  where it was accepting whole dimension
* if you press enter and have lock state on both labels then you move to
  next stage
* if you press ctrl+enter it's as is if you'd press enter on both labels
  (the object becomes constrained with whatever dimensions that were in
  both labels)
* tab still works the same way
* you can remove "Lock" state from the label by typing something
  additional or removing the dimension at all
2025-06-21 12:46:27 +02:00
Chris Hennes
7619b638e7 Measure: Remove redundant check for edges > 0 2025-06-20 22:49:34 +02:00
Chris Hennes
eb69381f89 CI: Eliminate 3rd party and generated code from analysis 2025-06-20 22:49:00 +02:00
Chris Hennes
ec86e2a440 Sketcher: Remove redundant checks
Also cleanup missing curly braces.
2025-06-20 22:48:31 +02:00
Chris Hennes
bb1760546b Sketcher: Remove dead code 2025-06-20 22:41:59 +02:00
Chris Hennes
f0b53af32f Part: Remove remnants of code from TNP merge 2025-06-20 22:41:24 +02:00
Chris Hennes
965bb6d2c8 Tools: Use a safer hostname detection 2025-06-20 22:40:55 +02:00
Kacper Donat
273a84c822 Merge pull request #22015 from 3x380V/matrix4d_fixes
Matrix4D fixes
2025-06-20 22:39:44 +02:00
Benjamin Nauck
a6485d1ae1 Gui: Use middle elide for text in model tree 2025-06-20 22:37:37 +02:00
Max Wilfinger
45ee397b43 Gui: Add toggle overlay icons 2025-06-20 22:36:40 +02:00
Chris Hennes
b8e46288cd Merge pull request #22094 from oursland/lint-on-pr-only 2025-06-20 14:30:40 -06:00