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
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
Chris Hennes
4154bdd158
[Stylesheet] Add styling for Sketcher labels
...
With Sketcher's constraint status label now exposed to stylesheet
control on a per-state basis, add basic styling that is more visible in
this dark stylesheet.
2021-10-05 23:25:20 -05:00
Chris Hennes
224ffe37e2
[Gui] New widget supporting per-state styles
...
The new StatefulLabel widget is designed to be customizable by optional
preferences entries, Qt stylesheets, and default styles, set on a
per-state basis, where "state" is a Qt property that can be changed
dynamically at runtime.
2021-10-05 23:20:29 -05:00
mwganson
b46e454190
[Dragger] add dragger (Std_TransformManip) to right click context menu when right clicking on an object in the 3D view
2021-10-05 23:02:15 -05:00
wmayer
57375ce7c2
Gui: [skip ci] add Gui::cmdAppDocumentArgs and support further string types with FormatString::str
2021-10-03 16:45:45 +02:00
Chris Hennes
c4878487ba
[Gui] Add StatefulLabel
2021-10-02 22:15:47 -05:00
wmayer
fe7f4c4be7
Gui: remove QT_TR_NOOP from command group names and use "CommandGroup" as context string
2021-09-29 16:31:55 +02:00
wmayer
d2f3cd1e70
Gui: [skip ci] support different context in Command::translatedGroupName
2021-09-29 15:44:44 +02:00
wmayer
bc57ba6027
Gui: add convenience function Command::translatedGroupName()
2021-09-29 15:25:46 +02:00
wmayer
cf58f30ed4
Gui: [skip ci] handle exception text as UTF-8 encoded string when saving failed
2021-09-29 14:03:51 +02:00
0penBrain
510cbf523a
Gui : susbtitute dot with local decimal separator for spin boxes
...
Main goal is to improve user-friendlyness for several locales
Substitution of dot is performed :
* Always if dot is neither decimal nor group/thousand separator of current locale
* Only on NUMPAD dot if dot is not decimal but is group separator of current locale
2021-09-27 15:06:36 +02:00
Chris Hennes
b31b1b4af5
Merge branch 'master' into hiddenPrefToLockToolbars
2021-09-24 07:56:45 -05:00
wmayer
00bb1d0b58
Gui: [skip ci] fix possible warning
2021-09-23 19:02:15 +02:00
Yorik van Havre
b042405933
Merged crowdin translations
2021-09-23 17:14:48 +02:00
Yorik van Havre
15da3f01e5
Updated ts files
2021-09-23 17:04:05 +02:00
0penBrain
3f224066db
[BUILDFIX] Add missing includes
2021-09-23 13:14:03 +02:00
wmayer
381e4b4d5a
Gui: use cbegin()/cend() for const_iterator
2021-09-23 11:17:42 +02:00
wmayer
eb18c2f9db
Gui: modernize some classes
2021-09-23 11:00:50 +02:00
wmayer
89ab1ddbfb
Gui: include FCGlobal.h for export macro
2021-09-23 10:57:22 +02:00
wmayer
0d2451a20a
Gui: implement a workaround for MSYS2 to access QUiLoader via its Python interface
2021-09-23 09:46:20 +02:00
wmayer
00759f9c96
Gui: move PythonWrapper class to its own source file
2021-09-22 23:30:03 +02:00
wmayer
b4e69f1b2d
Gui: move Ui loader classes to their own source files
2021-09-22 20:31:01 +02:00
wmayer
30848cb635
Gui: extend PythonWrapper:
...
* add methods to wrap/unwrap QDir
* add method to load QtUiTools module
2021-09-22 19:49:39 +02:00
wmayer
0ec51a959a
Gui: remove QUiLoader from Qt4All.h to make sure it is included from a single file
2021-09-22 19:30:58 +02:00
Chris Hennes
f04f1e396a
Merge branch 'master' into hiddenPrefToLockToolbars
2021-09-21 14:53:27 -05:00
Yorik van Havre
907ab8205e
Merge pull request #5040 from mwganson/macros
...
[Macros Dialog] Add 2 new parameters: DuplicateIgnoreExtraNote and Du…
2021-09-20 10:43:00 +02:00
wmayer
e211b89cf8
port to MSYS2/clang
2021-09-19 19:49:44 +02:00
Chris Hennes
5661e23eef
Merge pull request #4792 from heewa/abort-quit-on-failed-save
...
[Gui] Fix app quitting despite failing to save project
2021-09-17 19:46:01 -05:00
mwganson
bb48dad417
[Macros Dialog]rename DuplicateReplaceSpaces parameter to ReplaceSpaces, make it default = true, apply also to new file creation and renaming in the dialog
2021-09-17 14:04:01 -05:00
mwganson
fe616e8954
[Macros Dialog] Add 2 new parameters: DuplicateIgnoreExtraNote and DuplicateReplaceSpaces
2021-09-17 12:47:57 -05:00
Yorik van Havre
edee981ee1
Merge pull request #5038 from mwganson/macros
...
[Macros Dialog] begin searching for unique name for duplicate functio…
2021-09-17 11:02:31 +02:00
wmayer
54700faad8
Gui: fix typos
2021-09-17 08:28:34 +02:00
mwganson
a3357cfda8
[Macros Dialog] begin searching for unique name for duplicate function with current numbers rather than from 001
2021-09-17 00:22:39 -05:00
Ajinkya Dahale
820e88f95b
[Core] (Partially?) Fix data loss on dir rename ( #4996 )
...
* Fix lost filename in err msg
In some circumstances, FileExceptions are constructed empty, then have a
filename assigned to them, but the error message in these scenarios is
left as the default "unknown" one, which is sometimes shown to users.
This change fixes that case to be consistent with instances that are
constructed with the filename.
The exception can happen when trying to save the file in a location that does
not exist, or when the user does not have permission to write there. If it
comes when saving after closing the document, all previous changes can be lost.
Partially fixes issue #4098 .
Co-authored-by: Heewa Barfchin <heewa.b@gmail.com >
2021-09-16 12:06:29 -05:00
wmayer
671032f506
Merge branch 'master' of github.com:FreeCAD/FreeCAD
2021-09-14 16:42:43 +02:00
wmayer
046fcdc68c
Gui: fix compiler warnings: [-Wunused-parameter]
2021-09-14 16:42:30 +02:00
Chris Hennes
4ed05b1406
Merge pull request #4771 from Syres916/patch-16
...
[Gui] Preferences - Selection Fix Bug for new...
2021-09-14 09:39:49 -05:00
0penBrain
59a4a4c361
[Core] Rotation : fix gimbal lock handling
...
+ fix Euler representation on GUI
2021-09-13 18:34:58 +02:00
Yorik van Havre
811004b6c8
Merge pull request #5021 from chennes/translatorImprovements
...
[GUI] Add prefs for translators
2021-09-13 15:38:23 +02:00