wmayer
ef100d55e9
Gui: add support of TinkerCAD navigation style
2021-11-05 11:10:38 +01:00
wmayer
09da245af9
App: harmonize API of App::Application
...
* make getHomePath() static and return a std::string
* make getExecutableName() static and return a std::string
2021-11-04 10:50:09 +01:00
Uwe
909b035d0b
Squashed commit of the following:
...
commit b5aa19950f09d9a391b189a578073b9920943294
Author: Roy-043 <70520633+Roy-043@users.noreply.github.com >
Date: Tue Nov 2 14:37:19 2021 +0100
Std: Fix OpenSCAD navigation string
Holding down SHIFT is not required when zooming with the MMB.
2021-11-04 00:52:08 +01:00
wmayer
5b3bf97f2b
Gui: [skip ci] replace getNormalizedPosition() with normalizePixelPos()
2021-11-02 19:06:12 +01:00
wmayer
60467908c8
Gui: [skip ci] code clean-up
2021-11-02 16:06:21 +01:00
wmayer
bec3c797a8
Gui: [skip ci] add method NavigationStyle::getNormalizedPosition() to reduce code duplication
2021-11-02 15:57:54 +01:00
wmayer
0b802eb717
Gui: [skip ci] add method NavigationStyle::handleKeyboardEvent() to achieve consistent handling and reduce code duplication
2021-11-02 15:32:20 +01:00
wmayer
1c93d3ee15
Gui: [skip ci] add method NavigationStyle::syncModifierKeys() to reduce code duplication
2021-11-02 14:52:22 +01:00
wmayer
9def811a3a
Gui: [skip ci] expose function to Python to enable/disable context-menu of 3d view
2021-11-02 12:57:54 +01:00
wmayer
13ba2242de
Gui: [skip ci] allow to set edit mode in cmdSetEdit()
2021-11-01 14:47:26 +01:00
Zheng, Lei
a2fb4a5d6d
Minor code change according to suggestions
2021-10-30 12:30:45 +08:00
Zheng, Lei
fc9d3547ad
App: fix external document loading
...
The problem happens when partial loading is enabled. If document A
contains a link to some object in document B, it will load B as partial
document with only that object and its necessary dependencies. But if
document A contains another link to some object in document C which also
has a link to some object in document B, the link in document C may not
be restored, because document B is partially loaded without the linked
object. This patch will check for this case and reload document B for
more objects.
See an example reported in
https://forum.freecadweb.org/viewtopic.php?p=495078#p495078
2021-10-30 11:03:52 +08:00
Zheng, Lei
01d8d26bb4
Gui: fix document 'modified' status on view property change
2021-10-30 11:02:39 +08:00
wmayer
7a35afdd8e
Gui: add class RotationHelper to reduce code duplication of PropertyRotationItem and PropertyPlacementItem
2021-10-29 15:59:55 +02:00
wmayer
61de191771
Gui: implement editor for PropertyRotation
2021-10-29 12:41:03 +02:00
Roy-043
7d21029ff5
Std: Fix URLs in CommandStd.cpp
...
Updated all URLs to the new freecad.org domain.
2021-10-27 08:08:39 +02:00
wmayer
8aa340b9e7
Gui: [skip ci] fix regression not to allow to have selected several objects when opening the placement dialog
2021-10-26 21:55:15 +02:00
wmayer
e702c5d234
Gui: [skip ci] fix minor memory leak
2021-10-26 13:31:55 +02:00
wmayer
a1c9ab658c
Gui: add support of OpenSCAD navigation style
2021-10-26 00:21:31 +02:00
Chris Hennes
13ebb12bef
Merge pull request #4133 from donovaly/Gui-ChildSelection
...
[GUI] fix tree object context menu issues
2021-10-25 08:28:13 -05:00
wmayer
f3ca27e18e
Gui: add search box to text editor
2021-10-25 13:29:42 +02:00
donovaly
67e8fd0b6a
[GUI] fix tree object context menu issues
...
- fix bug that you can select several objects across different document to make them a group
- fix bug that when more than one object is selected you get a context menu to rename, despite it is unclear what object should be renamed
- add feature to select also the child objects of the selection
The latter was also requested long time ago: https://tracker.freecadweb.org/view.php?id=2397
2021-10-25 11:14:53 +02:00
wmayer
65923bfdbf
Gui: add virtual methods undoActions()/redoActions() to MDIView to simplify code in UndoDialog/RedoDialog
2021-10-23 15:15:09 +02:00
wmayer
a5411da5b9
Gui: code-refactoring of document recovery handling to reduce code duplication
2021-10-21 21:45:52 +02:00
wmayer
68e4806788
Gui: [skip ci] add get() method to WeakPtrT class
2021-10-21 15:50:18 +02:00
wmayer
a9002f4218
Gui: [skip ci] improve whitespaces
2021-10-20 22:33:50 +02:00
wmayer
5da633d59f
Gui: [skip ci] improve whitespaces
2021-10-20 22:21:52 +02:00
wmayer
b93aa77a1c
Gui: move handling of failed document saving to a function to reduce code duplication
2021-10-20 21:57:51 +02:00
Yorik van Havre
d95f085760
Merge pull request #4787 from chennes/addThemeSupport
...
[GUI] Add Preference Pack support
2021-10-14 12:41:06 +02:00
Yorik van Havre
f3ccc6d660
Merge pull request #5023 from marioalexis84/gui-encoding
...
Gui: Harmonize encoding/decoding between view, property editor and command line.
2021-10-14 12:24:49 +02:00
Chris Hennes
620576ebd9
Merge pull request #5110 from 0penBrain/UserEditMode
...
[Gui] UserEditMode : new icons + naming + used mode memorization
2021-10-13 12:48:02 -05:00
Chris Hennes
2d10f5cac3
Merge pull request #5111 from chennes/spreadsheetCherryPickRealThunder
...
[Spreadsheet] Cherry-pick realthunder Round 1
2021-10-13 10:54:04 -05:00
0penBrain
408982e709
[Gui] UserEditMode : last used mode is remembered between sessions
2021-10-13 14:58:05 +02:00
0penBrain
74e8f087ae
[Gui] UserEditMode : new (better) icons for modes + SVG file naming improvement
...
Icons are provided by @bitacovir
2021-10-13 14:23:29 +02:00
abdullahtahiriyo
4579b842fd
Merge branch 'master' into sketcherMoveColorsToPrefs
2021-10-13 10:01:30 +02:00
Zheng, Lei
51d814d222
Gui: handle exception in property item display
2021-10-12 14:49:15 -05:00
Chris Hennes
24c3261424
Merge pull request #4277 from chennes/selection2021SelectionViewAutoShow
...
[GUI] Add option to auto-show selection view
2021-10-12 11:39:14 -05:00
Chris Hennes
dc3583e5df
[Stylesheets] Add StatefulLabel and UrlLabel styles
2021-10-12 11:23:53 -05:00
Chris Hennes
23622c8e08
[Gui] Refactor StatefulLabel coloring
2021-10-12 11:23:13 -05:00
Chris Hennes
1076ba0df5
[Gui] PrefPacks - remove "type" parameter
...
In display, show the "tags" instead.
2021-10-11 13:22:28 -05:00
Chris Hennes
6bcda71712
Merge branch 'master' into sketcherMoveColorsToPrefs
2021-10-11 12:31:08 -05:00
Yorik van Havre
68b657e166
Merge pull request #5090 from mwganson/dragger
...
[Dragger] add dragger (Std_TransformManip) to right click context men…
2021-10-11 12:17:42 +02:00
Chris Hennes
70ad1396ea
Gui: Add option to show alpha in QColorDialog
2021-10-10 20:17:44 -05:00
Chris Hennes
7237495d79
[Gui] Migrate UrlLabel to use QDesktopServices
...
UrlLabel predates QDesktopServices' ability to ask the host OS to launch
a URL, and resorted to a Python workaround that on Windows resulted in
launchin Internet Explorer regardless of the default system browser.
2021-10-10 11:12:36 -05:00
donovaly
67ebeeaad0
[Doc] update weblink to Coin3D
...
* Coin3D is no loner available via bitbucket, therefore update the new dead links
* change a weblink so that it is the same in all our code
2021-10-09 19:24:15 +02:00
wmayer
52269f0c88
Gui: [skip ci] fix gcc warning -Wimplicit-fallthrough=
2021-10-09 15:18:06 +02:00
wmayer
b1c3982391
Gui: [skip ci] reformat code
2021-10-09 15:17:24 +02:00
Chris Hennes
010f1680d8
Merge pull request #4992 from chennes/hiddenPrefToLockToolbars
...
[Gui] Add hidden pref to lock toolbars
2021-10-08 17:47:45 -05:00
Chris Hennes
6858d938cc
[Gui] Add ability for stylesheet to override prefs
2021-10-06 11:43:06 -05:00
wmayer
7b45d63bf2
App: use consistent spelling of SubElement
2021-10-06 18:09:53 +02:00