Commit Graph

5457 Commits

Author SHA1 Message Date
Chris Hennes
73ae4102e6 Update translations
Arch->BIM is a WIP
2024-05-25 19:11:51 -05:00
wmayer
0825b4dda0 Port python modules documentation to Py 3.11
Fixes #14148: Automatic python modules documentation index page broken
2024-05-24 20:34:12 +02:00
wmayer
170f117ae2 Gui: refactor PythonOnlineHelp 2024-05-24 20:34:12 +02:00
mos
a8d093280e [gui] code clean
.
2024-05-23 11:34:15 +02:00
wmayer
1d78063df8 Fix accessibility of some group commands
Several group commands are active but require an active document to work. This PR overrides the method isActive() to
disable the commands if no active document exists.

The affected commands are:
* Std_ViewGroup
* Std_LinkActions
* PartDesign_CompDatums
* PartDesign_CompSketches
2024-05-23 10:14:46 +02:00
Martin Rodriguez Reboredo
831035b72e Gui: Fix NaviCube for Qt6 2024-05-22 13:57:59 -04:00
Chris Hennes
f451258104 Merge pull request #13691 from Ondsel-Development/prop-view-menu
Gui: Rearrange the property view context menu
2024-05-20 11:54:00 -05:00
wmayer
ae2b881477 Gui: Restore previous width when closing task dialog
This fixes #11016
2024-05-20 11:35:59 -05:00
Chris Hennes
0e0fce5678 Merge pull request #13906 from Rexbas/align-camera
Align camera to faces and edges
2024-05-20 11:28:24 -05:00
Kacper Donat
302706be38 Gui: Add ability to disable single-solid rule by default 2024-05-20 12:25:36 -04:00
Florian Foinant-Willig
7f1936bc65 Gui: fix SoDatumLabel arrow disappear 2024-05-20 11:19:56 -05:00
Kacper Donat
132cad9058 Gui: Fix ToolBarManager review remarks 2024-05-20 11:12:38 -05:00
André Althaus
fb4fe28c39 Gray out all columns in the tree if an item is invisible 2024-05-20 11:04:45 -05:00
Chris Hennes
439ea63627 Merge pull request #13627 from wwmayer/fix_datum_label
Gui: Fix datum label
2024-05-20 11:03:38 -05:00
hlorus
6d406a940c PartGui: Remove remaining measure "clear all" and "toggle delta" commands 2024-05-20 10:56:43 -05:00
Chris Hennes
aef423731d Merge pull request #14011 from hlorus/measure-icons
Add measurement icons
2024-05-20 10:54:06 -05:00
PaddleStroke
b0f32f1100 Tree Context menu: add 'go to linked object' action for links. Fixes #12167 2024-05-20 10:51:03 -05:00
Chris Hennes
407a572d2f Merge pull request #14004 from wwmayer/prop_item
Gui: move to new-style connect() in createEditor()
2024-05-20 10:45:54 -05:00
Kacper Donat
b231bbb0ca Gui: Add Std_ReloadStyleSheet command
This adds a command that will reload currently active stylesheet - a must have for stylesheet developers
2024-05-20 10:41:23 -05:00
Max Wilfinger
baed58a950 Unify document icons according to artwork guidelines 2024-05-20 10:35:39 -05:00
Chris Hennes
a4e179f182 Gui: Add privacy policy to About (#13987) 2024-05-20 10:34:10 -05:00
Pieter Hijma
db00c99d05 Gui: Make one level + status submenu
Based on a discussion in the PR, make the menu such that there is only
one level except for the status flags.  This makes showall unambiguous
only meaning that it shows the hidden properties instead of showing all
the hidden properties and all options of the menu.  "Show all" has
therefore been renamed to "Show hidden".
2024-05-19 23:25:45 +02:00
Pieter Hijma
37242d4b9c Gui: Rearrange the property view context menu 2024-05-19 21:52:15 +02:00
wmayer
4d5a9fc86e Gui: Fix memory leak 2024-05-17 15:54:08 +02:00
Max Wilfinger
f4fa7619c0 Update icons for legibility and consistency 2024-05-16 21:29:16 -04:00
MisterMakerNL
ad87d61bb7 Small fix to issue in the menu
Small fix to issue in the menu
2024-05-16 21:27:50 -04:00
wmayer
1a01ca17dd Gui: refactor SoDatumLabel::GLRender() 2024-05-16 21:24:57 -04:00
wmayer
a2003d4a08 Gui: fix linter warnings in SoDatumLabel 2024-05-16 21:24:57 -04:00
wmayer
f85e33b538 Gui: Fix possible crashes with SoDatumLabel
There are possible crashes in the methods:
* SoDatumLabel::getLabelTextCenter()
* SoDatumLabel::generatePrimitives()

The two methods expect three points but do not check that they are defined. Depending on the use case of the SoDatumLabel only
two points may be defined. Accessing a third point is undefined behaviour.
2024-05-16 21:24:57 -04:00
hlorus
3bb78b1873 MeasureGui: Add UMF folder icon
Co-Authored-By: Max Wilfinger <6246609+maxwxyz@users.noreply.github.com>
2024-05-14 17:55:21 +02:00
hlorus
c9b2287e82 Gui: Add icon support in SoFrameLabel 2024-05-14 17:55:06 +02:00
wmayer
af3861aa79 Gui: move to new-style connect() in createEditor() 2024-05-14 15:58:44 +02:00
wmayer
4c1a63f538 Fix linter warnings 2024-05-14 12:06:15 +02:00
Bas Ruigrok
c985c3ddee Gui: Add alignToSelection() icon and add to toolbar
Co-authored-by: Max Wilfinger <6246609+maxwxyz@users.noreply.github.com>
2024-05-13 19:04:06 +02:00
Bas Ruigrok
52b6f4f5ad Gui: Add alignToSelection() method and command 2024-05-13 19:04:06 +02:00
Johannes Wüller
33e91421b5 Fix backwards-compatible Qt6 warnings 2024-05-13 11:39:24 -05:00
WandererFan
5b4eeb29a9 Merge pull request #13525 from Ondsel-Development/td_dimension
TechDraw: Smart dimension tool
2024-05-13 12:31:32 -04:00
MisterMaker
36fbe1bade New XP icons for Qsint dialog (#13697)
* new icons

Less kb more pixels what more do you want?

* small tweaks
2024-05-13 11:24:40 -05:00
marcuspollio
a3d0713911 Update Draft WB icons (#13585)
* Update Draft WB icons

* Also make all icons 64px based

* keep inner white outline and small tweaks

* Tweaks following review

* Further tweaks following feedback

* Tweak more icons for consistency with light/dark themes

* Update following PR 13865, save as Plain SVG and remove unused ressources

Update texts for visibility

Some more cleanup

Use consistent FreeSans font
2024-05-13 11:20:42 -05:00
Chris Hennes
6c4f76a8a5 Merge pull request #13721 from kadet1090/more-at-the-end
Gui: Move more button to the end WB TabBar
2024-05-13 11:12:26 -05:00
Zheng, Lei
4919afddad Gui: fix toolbar init state 2024-05-13 11:06:01 -05:00
PaddleStroke
5f4dd814ea Core: Add getRootObjectsIgnoreLinks and fix bugs in tree.cpp and AssemblyObject.cpp, CommandInsertLink.py, UtilsAssembly.py 2024-05-13 17:58:34 +02:00
Chris Hennes
bd7abe5521 Merge pull request #13907 from wwmayer/issue_13898
Fix memory leaks with PySequence_GetItem
2024-05-13 10:53:00 -05:00
hlorus
c81776a418 MeasureGui: Improve measure task wording (#13857)
* MeasureGui: Add remaining labels for translation

* MeasureGui: Improve wording for annotation and close buttons
2024-05-13 10:45:09 -05:00
Florian Foinant-Willig
1398ab67e4 Fix #13107 (#13682)
Introduce a signal slot for tree item highlight change.
2024-05-13 10:42:57 -05:00
PaddleStroke
972f711210 TechDraw: Smart Dimension tool : Integrate the 'chamfer' tool. 2024-05-13 15:03:43 +02:00
Chris Hennes
9fead3682d Update translations 2024-05-12 17:06:56 -05:00
Kacper Donat
52560ce650 Gui: Reuse QActions for workbench activation
This fixes segfault that can occour due to keeping reference to QAction
that is supposed to change workbench.
2024-05-12 19:05:14 +02:00
Kacper Donat
33c6b04461 Gui: Fix wrong orientation of workbench tab bar after start
This replaces old mechanism that was based on storing tab bar
orientation in user settings with one that delays initialization by half
of a second to ensure that toolbar is placed where in right place.
2024-05-12 19:05:14 +02:00
Kacper Donat
75d43f8607 Gui: Use RTL layout when Wb Tab Bar is placed in right corner
Right corner is placed to the right edge of screen, so its natural
growth occours on the left side. Basically it is Right to Left order and
so in that case the "end" is actually on left and so TabBar should grow
in that direction.

Unfortunately it is not possible to simply use RTL Qt feature to handle
that case as it would result in reverse order of workbenches (people will still
read it in LTR order) and icons on the right which is not wanted. That's
custom support is introduced.
2024-05-12 19:05:14 +02:00