wmayer
c016f1c1fb
Gui: modernize C++: use equals default
2023-08-20 18:12:43 +02:00
wmayer
d150fa7164
modernize C++: avoid bind
...
In many cases std::bind() is kept because the code is much simpler
2023-08-08 21:10:16 +02:00
wmayer
68d22d864b
modernize C++: move from boost::bind to std::bind
2023-08-08 17:36:13 +02:00
Ronny Standtke
b44f82f0f6
use standard Close button for consistency with other task dialogs
2023-03-13 11:56:27 -05:00
wmayer
ad1cccdd27
Gui/Mod: handle several compiler warnings:
...
* ignore -Wfree-nonheap-object for generated code
* replace 0 with Qt::NoModifier when creating a QKeyEvent
* in Qt 5.14 QCombobox::activated(QString) is deprecated, use textActivated
* don't mix QCheckBox::setChecked() with tristate API
2022-11-29 10:36:02 +01:00
wmayer
f503c061fc
Gui: fix warnings in DlgDisplayPropertiesImp reported by GH actions
2022-11-09 14:39:00 +01:00
wmayer
b26fec66b1
Gui: use new-style connect() in DlgDisplayPropertiesImp
2022-11-09 10:20:49 +01:00
wmayer
5ab37d8cc2
Gui: use QSignalBlocker in DlgDisplayPropertiesImp
2022-11-09 09:36:43 +01:00
wmayer
4a27fa4ed5
Gui: refactor DlgDisplayPropertiesImp to avoid code duplication
2022-11-09 09:33:31 +01:00
Adrian Insaurralde Avalos
fc76d37d6f
Add button to set point color in Appearance task dialog
2022-11-09 02:12:20 +01:00
Adrián Insaurralde Avalos
3003d660f0
Move "Close" button to north in appearance dialog
...
for consistency with other task dialogs
2022-11-03 20:29:15 -04:00
marioalexis
0382f276a2
Gui: Replace C cast
2022-09-18 11:06:51 -05:00
berniev
75acacd1b7
Gui: Use auto and range-based for ( #7481 )
...
* On lines where the variable type is obvious from inspection, avoid repeating the type using auto.
* When possible use a ranged for loop instead of begin() and end() iterators
2022-09-14 13:25:13 -05:00
wmayer
ba8d5ab055
Gui: modernize C++: replace 'typedef' with 'using'
2022-08-29 14:09:18 +02:00
wmayer
b548d3b1ef
Partially revert "Remove unused code into GUI"
2022-07-17 12:32:03 +02:00
andrea
3018985f80
Remove unused code into GUI
2022-07-17 03:53:11 +02:00
wmayer
7db925d991
App: fix memory leaks in Enumeration class and simplify code
2022-06-25 18:18:57 +02:00
mosfet80
620c273c4e
Boost version <=1.60 is never used in freecad 0.20 ( #7038 )
...
* Boost version 1.60 is never used in freecad 0.20
2022-06-24 02:20:26 +02:00
Zheng, Lei
3ef438eaf0
Fix mixed line endings
2022-04-26 12:52:55 -05:00
Chris Hennes
bedf920702
Gui: PR6497 move return statement to new line
2022-03-29 12:33:50 -05:00
wmayer
96adb98f46
Gui: modernize C++11
...
* use nullptr
2022-03-23 18:41:21 +01:00
Uwe
c7d6a507d3
[Gui] DlgActions etc.: remove unused includes and sort headers
2022-03-16 04:06:37 +01:00
Mateusz Skowroński
2559f2d29c
Fix build warnings from deprecated Boost headers (they are used internally by Boost). Thanks @wwmayer for the hint.
2020-12-29 10:20:53 +01:00
luz paz
298c677873
Gui: Fix header uniformity, whitespace, and doxygen fixes
2020-11-26 10:14:56 +01:00
wmayer
d4c0baba0c
C++11: replace deprecated function std::bind2nd with lambda functions
2020-10-15 14:46:02 +02:00
wmayer
f3b460e42e
boost: fix for boost < 1.60
2020-06-15 19:38:39 +02:00
wmayer
4ec45b545e
boost 1.73.0: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated
2020-06-12 17:51:33 +02:00
wmayer
625d252cb1
Gui: implementation classes don't inherit from UI classes any more
2020-01-09 14:30:45 +01:00
wmayer
97fef55d66
fixes #0004244 : Std_SetAppearance always appears on a corner of the secondary monitor
2020-01-09 11:26:30 +01:00
wmayer
36026f0eec
Gui: [skip ci] DlgDisplayPropertiesImp doesn't inherit from its UI class any more
2020-01-09 11:00:16 +01:00
wmayer
7fdbc1d2b8
inside display panel check if the property is part of the view provider
2018-09-19 21:30:35 +02:00
triplus
d58d973adc
Make appearance widget dockable
2016-11-26 12:41:19 +01:00
wmayer
f19d424d8b
fix -Wextra in FreeCADGui
2016-09-21 20:54:52 +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
d5c074f80d
QString::toAscii() is obsolete in Qt5. Replace it with toLatin1().
...
This change is Qt4/Qt5 neutral.
2016-01-05 16:06:48 +01:00
wmayer
b7be7aec13
+ Prefer prefix ++/-- operators for non-primitive types
2015-10-07 13:38:17 +02:00
Mateusz Skowroński
43a4a5938c
Fix files encoding. Go from ISO8859-1 to UTF-8.
2015-09-21 19:50:49 -03:00
wmayer
6a9252744d
+ fixes #0000976 : Usability: default Material drop-down is not the active material type
2014-12-27 00:56:46 +01:00
wmayer
cc775f9254
+ fix -Wnull-conversion, -Woverloaded-virtual, -Wlogical-not-parentheses, -Wsometimes-uninitialized
2014-08-26 19:14:13 +02:00
jriegel
664c1d4862
Integrate Werners & Jans double branch
...
Move from float to double
Further suggestions for float -> double move
Moved Tools2D from float to double
More suggestions for float->double move from Gui subdirectory
Changes to FEM constraint visuals for float->double move
Suggested changes for float -> double move
Suggestions for Part module moving float -> double
2013-09-24 11:00:57 +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