wmayer
75bfb8f48f
Core: replace QRegExp with QRegularExpression
2022-10-06 13:54:20 +02:00
marioalexis
ff1b4eff05
Gui: Replace C cast
2022-09-18 11:06:51 -05:00
berniev
ae53c9b0a4
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
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
82a6241fc5
fix (Qt) issues found by clang's clazy tool:
...
+ -Wclazy-incorrect-emit
+ -Wclazy-strict-iterators
+ -Wclazy-overloaded-signal
+ -Wclazy-qstring-arg
+ -Wclazy-unused-non-trivial-variable
+ -Wclazy-container-anti-pattern
+ -Wclazy-range-loop-reference
+ -Wclazy-const-signal-or-slot
+ -Wclazy-detaching-temporary
+ -Wclazy-qfileinfo-exists
2022-06-29 21:00:54 +02:00
wmayer
4791575e31
Gui: remove some superfluous const_cast
2022-06-24 14:48:52 +02:00
wmayer
f5235a8057
cppcoreguidelines-pro-type-union-access
...
According to https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md using union for type-punning is undefined behaviour.
Replace it with std::memcpy
2022-06-24 14:29:50 +02:00
Zheng, Lei
8bec44934b
Fix mixed line endings
2022-04-26 12:52:55 -05:00
Chris Hennes
5df3dbae6f
Gui: PR6497 move return statement to new line
2022-03-29 12:33:50 -05:00
wmayer
1178df06b4
Gui: modernize C++11
...
* use nullptr
2022-03-23 18:41:21 +01:00
wmayer
8f786ea6ef
Gui: Optimize includes to reduce compile time
2022-03-07 20:29:18 +01:00
Uwe
1a9493d937
[Gui] ActiveObjectList etc.: remove unused includes
2022-03-03 02:08:19 +01:00
wmayer
bd530b9070
Gui: make sure the calltips show the added methods of MainWindowPy
2021-11-20 22:49:51 +01:00
luz paz
17ffa8255b
Gui: remove py2 code
2021-04-25 11:27:48 +02:00
wmayer
d456b1021e
Qt5: 'QVariant qVariantFromValue(const T&)' is deprecated: Use QVariant::fromValue() instead. [-Wdeprecated-declarations]
2020-06-12 17:51:33 +02:00
wmayer
623bf3eec0
Qt5: 'void QListWidget::setItemSelected(const QListWidgetItem*, bool)' is deprecated: Use QListWidgetItem::setSelected() instead [-Wdeprecated-declarations]
2020-06-12 17:51:33 +02:00
wmayer
ca327b6f25
Qt5: 'bool QTreeWidget::isItemSelected(const QTreeWidgetItem*) const' is deprecated: Use QTreeWidgetItem::isSelected() instead [-Wdeprecated-declarations]
2020-06-12 17:51:33 +02:00
wmayer
9fa56345cf
core system
...
force strict ISO C++ (-Wpedantic)
TODO: still a lot of variadic macros are not valid ISO C++
2019-09-18 01:01:14 +02:00
wmayer
a3df5237ae
improve calltips windows for Py2
2019-02-14 15:58:23 +01:00
wmayer
6e5564707b
Py3: fix possible crash in call tips list
2019-02-12 17:14:27 +01:00
luz.paz
cb4a0adf71
Misc. typos
...
Found via `codespell`
2019-02-08 11:01:24 -02:00
wmayer
39babc560f
improve call tips window
2018-10-26 19:37:16 +02:00
wmayer
3d36a58795
improve Python call tips window
2018-09-27 21:49:20 +02:00
Yorik van Havre
7e39fed862
py3: Gui: files A-P ported to python3
2017-05-06 17:23:27 +02:00
wmayer
b5cbaae73a
move handling of dynamic properties from FeaturePythonPyT to DocumentObjectPy
2016-11-09 16:09:21 +01:00
wmayer
7a5bfaef70
+ fix minor issue with url redirection
...
+ remove const reference
2016-03-14 18:04:31 +01:00
wmayer
94c5ceddb8
+ fix minor regression of issue 2417
2016-02-08 11:04:50 +01:00
wmayer
41ffd21392
+ fixes #0002417 : console autocomplete runs python properties
2016-01-31 13:54:18 +01:00
wmayer
d42e9e81f2
+ issue #0002417 : console autocomplete runs python properties
2016-01-31 02:28:24 +01:00
Mateusz Skowroński
c275b35d48
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
0695552cff
QString::toAscii() is obsolete in Qt5. Replace it with toLatin1().
...
This change is Qt4/Qt5 neutral.
2016-01-05 16:06:48 +01:00
Mateusz Skowroński
803a845242
qVariantValue() is obsolete in Qt4. Replace it with equivalent QVariant::value<T>(value).
...
This change is Qt4/Qt5 neutral.
2015-12-24 12:49:26 +01:00
wmayer
d2507dc15f
+ handling of undercore in calltips window
2015-04-10 19:36:30 +02:00
jmaustpc
6f74ac4a82
add SVG icons for the Class Browser
...
Created new svg icons to replace the 7 png icons in
src/Gui/Icons/ClassBrowser
and made FreeCAD use them
2013-12-03 10:54:18 +01:00
wmayer
e5c210ab99
Show dynamically added methods in calltips list
2013-03-24 13:29:13 +01:00
wmayer
0b0f55e8f8
+ fix problems with call tips window if text after dot is not a word
...
+ fix problems with history in python console
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5356 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-29 11:20:49 +00:00
wmayer
6ed7ad3a15
0000489: python console: "RFC"s for even more "rapid" prototyping :-)
...
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5253 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-10 14:40:44 +00:00
wmayer
dbbf111ff0
0000488: python console: buggy CallTips completion for members, starting with underscore ('_')
...
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5152 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-21 14:28:41 +00: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