Commit Graph

23 Commits

Author SHA1 Message Date
Chris Hennes
7560a35ea0 Fix minor issues with Workbenches preference panel
This fixes three issues with the new Workbench Loader preferences panel reported by users:
* Some icons were not being properly scaled to the new 48x48 size
* Some text was being incorrectly cut off, despite fitting in the column
* The sort order of the workbenches was incorrect when external workbenches were added
2021-02-05 13:22:00 +01:00
Chris Hennes
d5b68febbb Add Workbench name as Tab item tooltip
In cases where the user's font is large or the Workbench name is long,
the new, narrower sidebar may not display the entire workbench name. To
address those cases, the tooltip for the element is now also set to the
workbench name. Thanks to Github user @marioalexis84 for the suggestion.
2021-02-04 19:40:31 +01:00
Chris Hennes
13e2f93bae Fix bug due to early return
Github user @marioalexis84 found a bug that caused only the first page
of the most recently-added workbench to show. This refactors the
AddPage() static function to eliminate the early return statement that
was the cause of that bug.
2021-02-04 19:40:13 +01:00
Chris Hennes
bd8a3c5021 Add pref window that loads unloaded workbenches
A new group is added to the Preferences window that explains why
some preferences may appear to be missing due to the workbench being
unloaded. It lists the unloaded workbenches, and offers to load them,
updating the preferences dialog as necessary.

This at least partially resolves issue #4474.
2021-02-04 19:38:57 +01:00
luz paz
298c677873 Gui: Fix header uniformity, whitespace, and doxygen fixes 2020-11-26 10:14:56 +01:00
wmayer
14f38f7566 Gui: [skip ci] fix warning when opening preferences dialog in debug mode
The warning is e.g.: QWindowsWindow::setGeometry: Unable to set geometry 570x454+1524+350 on QWidgetWindow/'Gui__Dialog__DlgPreferencesWindow
2020-07-10 12:53:29 +02:00
wmayer
eced0cb568 Qt5: QDesktopWidget is deprecated use QScreen [-Wdeprecated-declarations] 2020-06-12 17:51:33 +02:00
wmayer
4765b7e2fe fixes 0003848: Preferences dialog not fully visible 2019-02-23 16:28:39 +01:00
wmayer
3845350c0a PVS: V773 A memory leak is possible 2019-02-17 18:40:06 +01:00
Silas
8526b0747e Improve readability with some comments 2019-01-03 11:43:43 +01:00
wmayer
001ebc0b70 issue #0002733: Preferences dialog box 2016-10-16 08:14:29 +02:00
wmayer
0824c5fd3c fix Coverity issues 2016-08-21 14:03:02 +02:00
Mateusz Skowroński
7d0e892d36 Qt4's qglobal.h defined TRUE and FALSE. Qt5 does not do it anymore. Replace it with true and false.
158f39ec78

This change is Qt4/Qt5 neutral.
2016-01-05 16:43:33 +01:00
Mateusz Skowroński
3b463f2138 Qt::WFlags is obsolete in Qt5. Replace it with Qt::WindowFlags.
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:58 +01:00
Mateusz Skowroński
cd2db00f22 QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:25 +01:00
Mateusz Skowroński
43a4a5938c Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00
wmayer
a7012575d4 + fixes #0002106: Add 'Default' option in Preferences 2015-09-15 00:12:40 +02:00
wmayer
39aa178b13 + fixes #0001925: Preferences not kept well 2015-01-23 19:41:31 +01:00
wmayer
064b5f851c + issue #0000953: No scroll bar on preferences dialog window 2014-03-09 15:04:44 +01:00
wmayer
cea0daa5e6 + issue #0000953: No scroll bar on preferences dialog window 2014-03-09 13:03:49 +01:00
wmayer
1f478269af + use dialog button box where possible, replace old Python icon 2014-03-08 15:17:56 +01:00
wmayer
acb1205d5d Allow also other file types for group icons in preference page when size is 96x96 2012-07-28 16:01:46 +02:00
wmayer
120ca87015 + unify DLL export defines to namespace names
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00