Commit Graph

5026 Commits

Author SHA1 Message Date
wmayer
f8936185d8 Gui: fixes a problem that if executing a macro that requires user-interaction this is blocked 2023-10-11 15:19:04 +02:00
Zheng, Lei
033f520cc5 Gui: expose various overlay UI options to preference pages 2023-10-11 09:58:53 +02:00
Zheng, Lei
ba6b2a4375 Gui: add support for transparent overlay docking widget 2023-10-11 09:58:53 +02:00
Zheng, Lei
1dd0a9afaa Gui/TechDraw: declare 'panning' capability in views
OverlayManager queries this capability to determin whether to auto hide
the overlay docking widgets
2023-10-11 09:58:53 +02:00
Zheng, Lei
28bcc3d097 Gui: fix selection of nested object in App::Part 2023-10-10 14:28:26 +02:00
wmayer
eaeec1b5d0 Gui: Initial save of a document doesn't have the expected thumbnail
When saving the thumbnail there is a check if the 3D window is the active window. This check fails if a document is saved for the first time because
the appearing file dialog causes the 3D window to not be active any more. Thus, no snapshot of the 3D window will be created and the program logo will be
saved instead. A workaround is to save the document twice.

This PR removes the check for the active window so that the snapshot can be created. The issue might be related to #10937.
2023-10-10 13:08:29 +02:00
Rexbas
f1fde08b3b Gui: Fix rotation center indicator for Gesture styles 2023-10-09 22:30:05 +02:00
Haas
2f6b984d30 Update DlgSettingsWorkbenchesImp.cpp
added translucent background for workbench name/icon widget.
2023-10-09 16:42:53 +02:00
xtemp09
bce07d726a [GUI] Fix memory leak in ViewProviderPlane.cpp 2023-10-09 16:27:39 +02:00
wmayer
f7cf84c0b8 Gui: Enable the thumbnail size widget by default
With PR #10016 the saving of thumbnails is on by default but the spin box to set the size is still disabled.
This results into an inconsistency and one has to click the Save thumbnails check box twice to enable the size widget.
2023-10-09 16:23:35 +02:00
wmayer
3e33591093 Core: add method to XMLReader to access next element of an XML file
If the next element could be read-in successfully true is returned, and false otherwise.
2023-10-09 15:06:45 +02:00
wmayer
d305f306df Core: Revert superfluous changes made with PR #9521 2023-10-09 15:06:45 +02:00
luzpaz
22aa20c9e0 Preferences: remove whitespace before colon
Uniformity fix in the preference page
2023-10-09 14:44:42 +02:00
sliptonic
747c2b86f8 Merge pull request #9521 from AgCaliva/User/Document/Feature_level_units_selection_#7746
Adding "ProjectUnitSystem" support to project files.
2023-10-06 07:56:59 -05:00
mwganson
58e9a4d513 [MacroExecuteDialog] set keyboard focus to LineEditFind 2023-10-05 10:35:32 +02:00
AgCaliva
3ac69993c0 merge master via cli 2023-10-04 13:28:48 -03:00
wmayer
c4f355ad8d Part: move CmdSelectFilter and friends from core to Part module 2023-10-03 19:26:28 +02:00
wmayer
3c8f245e67 Part: handle Part_SectionCut in WorkbenchManipulator 2023-10-03 19:26:28 +02:00
wmayer
9429d6a44a Gui: integrate WorkbenchManipulator 2023-10-03 19:26:28 +02:00
wmayer
29eadb7e1f Gui: add class WorkbenchManipulator 2023-10-03 19:26:28 +02:00
Vincenzo Calligaro
283961539d [Feature Request] [Core] [Preferences] [UI/UX] Buttons to reset default values of Pages/Groups (#10688)
* Gui: added buttons to restore the default values of the selected Tab or Group
 * reformatted texts for better translations
 * Morphed buttons from QPushButton to QToolButton
 * added code to resize items list and buttons on language change

Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
2023-10-02 16:14:29 -05:00
Paddle
e87f9ed980 Remove Std_MacroStopRecord command as obsolete. 2023-10-01 17:22:19 -05:00
Paddle
eefdeb1db5 Remove macro recording stop from toolbar and menu, and adds the stop functionality to the main macro recording command. 2023-10-01 17:22:19 -05:00
wmayer
763aa21e8c Gui: several minor improvements:
* replace C array with std::array
* use range-based loop
* activate the first of tabified dock widgets
* refactor DockWindowManager::setup
2023-09-30 17:33:33 +02:00
wmayer
9f42bdb323 Gui: fixes #10807: By default keep the old tabulated layout of ComboView and TaskView 2023-09-30 17:33:33 +02:00
Chris Hennes
6c9be93378 Update translations 2023-09-29 22:57:37 -05:00
wmayer
fc5a4edef2 Gui: fix build failure with Qt6 on macOS 2023-09-29 11:19:25 +02:00
dyylanhammond
3b44bba8ac Change default file saving preferences (#10781)
* Change default compression level from 3 to 7
* increase default thumbnail size to 256
2023-09-27 16:08:43 -05:00
Yorik van Havre
f1fb45960d Revert "Gui: Refactor navigation animations" 2023-09-26 19:44:16 +02:00
wmayer
097b60a612 Gui: fix automatic spinning of DemoMode 2023-09-26 15:41:12 +02:00
wmayer
dca598f4e5 Gui: do not create the commands StdCmdSelBack and StdCmdSelForward twice 2023-09-26 11:07:51 +02:00
Yorik van Havre
d65dcc255d Merge pull request #10790 from Rexbas/rotation-center-preferences
Gui: Add rotation center indicator color, transparency and size preferences
2023-09-26 11:01:19 +02:00
AgCaliva
a4e90b2609 Merge branch 'master' into User/Document/Feature_level_units_selection_#7746 2023-09-25 22:58:23 -03:00
Yorik van Havre
113bfed537 Merge pull request #9446 from Rexbas/navigation-animation
Gui: Refactor navigation animations
2023-09-25 18:15:43 +02:00
Chris Hennes
f3422cdf5b Merge pull request #10761 from Ondsel-Development/ui_view_toolbar
Toolbar View and Structure cleaning
2023-09-25 10:42:26 -05:00
Yorik van Havre
2489998ab6 Merge pull request #10555 from Syres916/Font_8514oem_exclude
[Preferences] Exclude 8514oem from Monospace fonts
2023-09-25 10:57:26 +02:00
wmayer
3c3ea2d601 Gui: fixes #10782: Unable to cancel Select module Open obj messagebox 2023-09-24 16:08:02 -05:00
Rexbas
bb42cdc92a Gui: Add rotation center indicator color, transparency and size preferences 2023-09-23 22:42:20 +02:00
wmayer
1cdff85086 MSVC: fix warnings and build failure 2023-09-23 19:10:32 +02:00
wmayer
ac88cfb2c9 Gui: fixes #10724: TaskView gets truncated 2023-09-21 19:11:45 -05:00
wmayer
9644ae092d Gui: fix possible memory leak if inappropriate view provider is created
Example code:
doc = App.newDocument()
doc.addObject(type = "Part::Feature", viewType = "MeshGui::ViewProviderMesh")
2023-09-21 19:11:29 -05:00
Paddle
c9d6e9f0b5 Improve tooltips and remove the html from the translate. 2023-09-21 07:31:15 +02:00
Chris Hennes
a928289804 Merge pull request #10738 from qewer33/transform-fixes
Gui: Transform dragger fixes for PR #10706
2023-09-20 09:43:33 -05:00
Rexbas
6a062e95d7 Gui: Improve accuracy for navigation cube's rotate to nearest feature 2023-09-20 07:37:02 -05:00
Paddle
887f119a8a Group: Give a proper tooltip 2023-09-20 13:42:30 +02:00
Paddle
a06123f50e Std_Part : give it a proper tooltip. 2023-09-20 13:39:50 +02:00
Paddle
566864c316 Add "Std_LinkSelectActions" to the view menu.
Remove "Std_LinkSelectActions" from the toolbar.
Remove "Std_SelBack" & "Std_SelForward" from the toolbar
Remove "Std_SelBoundingBox"
 from the toolbar
Reorder the toolbar entries.
2023-09-20 12:44:38 +02:00
Paddle
77986707da Add Std_SelBack and Std_SelForward to the Std_TreeViewActions group where they belong.
This also solve the fact that these commands were not in the menu which are supposed to be exaustive.
2023-09-20 12:44:38 +02:00
Paddle
d8151af335 Give std_SelBack and std_selforward proper names and tooltips. 2023-09-20 12:44:38 +02:00
Paddle
696a48d3b4 Give std_LinkMake a proper tooltip. 2023-09-20 12:44:38 +02:00