Uwe
6f3bd9812c
[Gui] [skip CI] NaviCube: fix indentation mistake from previous commit
2022-08-13 15:11:32 +02:00
Uwe
3a2c408c8f
[Gui] fix NaviCube step handling
...
- as reported in https://forum.freecadweb.org/viewtopic.php?f=3&t=71050
2022-08-13 15:02:26 +02:00
wmayer
779a728a8c
Gui: remove redundant void
2022-08-12 17:59:59 +02:00
wmayer
71caf67686
Gui: clear combo boxes before re-filling them, fix handling of icon size in preferences pack
2022-08-12 14:08:04 +02:00
wmayer
f632712724
Gui: don't show non-existing and unusual directories in file dialog
2022-08-11 17:46:13 +02:00
Tobias Frost
d20a2c60a1
Replace edit-cut.svg
...
Replace 2 instances of edit-cut.svg with the version from the tango icon
library to reslove license issue. Closes #7347 .
Tango Icon Library used: http://tango.freedesktop.org/releases/tango-icon-theme-0.8.90.tar.gz
Location within the tarball:
./tango-icon-theme-0.8.90/scalable/actions/edit-cut.svg
2022-08-11 10:23:02 -04:00
wmayer
81ce5cb8ce
Gui: revert changes of 3fd70d378b for GestureNavigationStyle
2022-08-09 23:50:05 +02:00
wmayer
c87e1cc1c2
clang: fix warnings [-Winconsistent-missing-override]
2022-08-09 17:36:25 +02:00
berniev
75fa455c5d
Gui: Use override etc 2
2022-08-09 12:43:23 +02:00
berniev
7aede27553
Gui: Redundant_string_initialization
2022-08-08 16:51:32 +02:00
Uwe
271b27b7df
[Gui] fix typos
...
- fix a typo found by codespell
- rename variables to please codespell
2022-08-08 14:14:23 +02:00
wmayer
7554996b72
Gui: set width of list box according to text length
2022-08-08 11:36:35 +02:00
wmayer
bfef3ed33a
Gui: [skip ci] include header with export macros
2022-08-08 10:22:59 +02:00
berniev
3d1f70765a
Gui: redundant void 2
2022-08-08 10:21:44 +02:00
wmayer
2d592e06a0
Gui: improve integrated Python console:
...
* correctly handle the case that Py_BuildValue() can return a null pointer
* fix a latin1 <-> UTF-8 conversion problem
2022-08-07 17:50:28 +02:00
berniev
2db561561e
Gui: use empty
2022-08-06 16:35:45 +02:00
berniev
066656f62a
Gui: use emplace_back
2022-08-05 10:33:41 +02:00
Uwe
8a114eb798
[Gui] QSint: missing piece to fix QGroupBox visibility
...
- also the freecadscheme must be adapted (e.g. for PartDesign dialogs)
- fixes now #6102 completely
2022-08-03 01:05:37 +02:00
wmayer
0de3b2892e
PyCXX: change typedef of PyCxx_ssize_t to fix compiler warnings with MSVC
2022-08-02 16:58:25 +02:00
Uwe
0e77b99c71
- fixes #6102
...
- the point is that we don't set any style for the group boxes, therefore the Windows style is applied as nothing was set yet. The default Windows style is the color #dddddd which is hardly visible on our blue default style.
as solution set an explicit color.
2022-08-02 01:00:03 +02:00
wmayer
08d9d73e18
Gui: [skip ci] modernize QuantitySpinBox class
2022-07-31 13:59:28 +02:00
Zheng, Lei
c443b8de53
Gui: fix ViewProviderLink transform with scale
...
Fixes FreeCAD/FreeCAD#7113
2022-07-30 19:12:03 +02:00
Uwe
ed009d500c
[Gui] [skip CI] PropertyItem: some .clang spacing uniformication
...
- automatically done by MSVC
2022-07-30 15:32:08 +02:00
Uwe
ef81bdfd42
[Gui] move a NaviCube parameter to the NaviCube parameter group
...
- at the moment some NaviCube parameters are in the general View group, some in the dedicated NaviCube group
2022-07-30 00:50:12 +02:00
wmayer
45576f87c8
Gui: [skip ci] mkae sure the tooltip in ActionGroup::onActivated() disappears again
2022-07-28 16:33:27 +02:00
wmayer
ff4857d953
Gui: help clazy with missing include
2022-07-27 07:43:24 +02:00
Uwe
32041689c4
[Gui] fix unreferenced local variable warning
...
- fixes: warning C4101: 'e': unreferenced local variable
2022-07-27 01:35:08 +02:00
wmayer
3293f54a50
Gui: help clazy checker with export macro
2022-07-27 01:19:43 +02:00
wmayer
7a4d29e87a
Gui: Use new-style syntax of connect()
...
When fixing clazy issues -Wclazy-fully-qualified-moc-types then old-style syntax of connect() may fail. Thus, replace it with the new-style syntax
2022-07-26 16:32:18 +02:00
0penBrain
b3cbedcc4e
Make image scaling command aware of user units ( #7222 )
...
* Image: image scaling command is user unit aware ; fixes #6118
- if unitless value entered, InputField uses user choosen base unit
Before change, always used FC core base unit
Only applies to GUI user entered values, value changed programmatically still ...
... considered in core base unit if applied unitless
2022-07-25 21:17:02 +02:00
wmayer
5782a9429a
Fix several clazy issues:
...
* Returning data of temporary QByteArray [-Wclazy-returning-data-from-temporary]
2022-07-25 00:19:41 +02:00
wmayer
76c993baae
Fix several clazy issues:
...
* Don't call ... on temporary [-Wclazy-detaching-temporary]
2022-07-25 00:18:42 +02:00
wmayer
923ebef729
Fix several clazy issues:
...
* Mixing iterators with const_iterators [-Wclazy-strict-iterators]
2022-07-25 00:04:04 +02:00
wmayer
85bd6b5c6b
Fix several clazy issues:
...
* C++11 range-loop might detach Qt container [-Wclazy-range-loop-detach]
2022-07-24 23:48:37 +02:00
wmayer
25483b78be
Fix several clazy issue:
...
* Missing reference in range-for with non trivial type [-Wclazy-range-loop-reference]
2022-07-24 22:29:06 +02:00
wmayer
916c814219
Fix several clazy issue:
...
* Use multi-arg instead [-Wclazy-qstring-arg]
* Use an empty QLatin1String instead of an empty QStringLiteral [-Wclazy-empty-qstringliteral]
* getter Gui::ProgressBar::canAbort possibly mismarked as a slot [-Wclazy-const-signal-or-slot]
* Missing emit keyword on signal call [-Wclazy-incorrect-emit]
2022-07-24 20:07:04 +02:00
wmayer
fd5558f295
Fix several clazy issue:
...
* Using copy-ctor but class SbMatrix/SbViewportRegion has a trivial copy-ctor but non trivial assign operator [-Wclazy-rule-of-two-soft]
2022-07-24 19:38:59 +02:00
wmayer
3fddaf4a2f
Fix several clazy issues:
...
* Q_PROPERTY should have either NOTIFY or CONSTANT [-Wclazy-qproperty-without-notify]
* Use Q_ENUM instead of Q_ENUMS [-Wclazy-qenums]
* Add missing a Q_OBJECT macro [-Wclazy-missing-qobject-macro]
* Signal/Slot arguments need to be fully-qualified [-Wclazy-fully-qualified-moc-types]
2022-07-24 19:03:30 +02:00
Uwe
0a67a39065
[Gui] [skip CI] Selection: a formatting style fix
2022-07-22 02:09:25 +02:00
Chrismettal
404b481625
[Stylesheets] Remove whitespace and add "checked" icon style
2022-07-22 02:05:49 +02:00
wmayer
108c64dc46
Gui: fix crash in ViewProviderLink::currentDraggingPlacement() if there is no active dragger
2022-07-19 10:40:32 +02:00
Uwe
c40e476a5b
[Gui] remove some more superfluous nullptr checks
2022-07-18 13:15:38 +02:00
Uwe
d2ccbc75c4
[Part] cleanup new preferences Feature
...
- correct preferences location
- handle preferences packs
- remove unused code
2022-07-18 12:42:26 +02:00
Uwe
d5b227e6a6
[Gui] remove more superfluous nullptr checks
2022-07-18 03:34:22 +02:00
Uwe
bb2b49fb1f
[Gui] remove superfluous nullptr checks
2022-07-18 03:17:42 +02:00
wmayer
07ccb73fe7
Partially revert "Remove unused code into GUI"
2022-07-17 12:32:03 +02:00
andrea
7886d3cbf4
Remove unused code into GUI
2022-07-17 03:53:11 +02:00
wmayer
654de93621
Gui: implement mechanism to set a custom icon name or tooltip of a preferences group
2022-07-16 19:27:22 +02:00
wmayer
6d4f22a970
Gui: fix crash in ExpressionCompleter::slotUpdate
...
Forum thread: https://forum.freecadweb.org/viewtopic.php?f=3&t=69931
2022-07-16 18:23:42 +02:00
Uwe
0c5407b63d
[Gui] preferences: clarify Part/PD page
...
- users are confused that we have a preferences page named "Part design" that also defines things for the Part WB. The Wiki is clear that the preferences page is for both, Part and PD, however the UI is not.
This PR makes this clear.
2022-07-16 16:20:36 +02:00