Commit Graph

3444 Commits

Author SHA1 Message Date
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
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
c8a019c312 Improve display of Apply button 2021-09-25 17:17:35 -05:00
Chris Hennes
4427de68c2 Redesign pref pack GUI 2021-09-24 16:09:17 -05:00
Chris Hennes
b31b1b4af5 Merge branch 'master' into hiddenPrefToLockToolbars 2021-09-24 07:56:45 -05:00
Chris Hennes
b432592fb2 Merge branch 'master' into addThemeSupport 2021-09-24 07:51:04 -05:00
Chris Hennes
2e77d44856 Merge branch 'master' into selection2021SelectionViewAutoShow 2021-09-24 07:44:28 -05:00
marioalexis
6d51083240 Gui: Fix Unicode and UTF-8 encoding character behavior 2021-09-23 21:21:24 -03: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