wmayer
2e5cb03261
Gui: move to new style connect()
2023-02-01 13:49:35 +01:00
wmayer
103de43a4e
Gui: fix possible problems with new style connect
...
* In UIntSpinBox rename the signal to not overwrite the signal of the base class
* In UIntSpinBox use the (ambiguous) signal 'valueChanged' of the base class QSpinBox
* To avoid that connect() fails use the function pointer of the Qt class where the signal is defined
2023-01-12 17:02:59 +01:00
Uwe
ed995b5a15
[Gui] modernize some connect() settings
...
- addresses #6166
2023-01-12 15:13:16 +01:00
0penBrain
5bb041deaa
Gui: use default app text color for Python code instuctions highlighting
...
This allows to deal with OS native dark themes
In such cases, Python instructions were black on a dark background
2022-10-10 07:33:41 -07:00
wmayer
807fa281a8
Core: replace QRegExp with QRegularExpression
2022-10-06 13:54:20 +02: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
d5921e08ec
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
a91f5e7352
Gui: do not reset tab size to 4 when creating new text editor
2022-04-22 14:33:44 +02:00
wmayer
96adb98f46
Gui: modernize C++11
...
* use nullptr
2022-03-23 18:41:21 +01:00
Uwe
aa7977c51a
[Gui] Task* and Text*: remove unused includes
2022-03-05 17:44:07 +01:00
marioalexis
ec167207bf
Gui: Add functionality to enable/disable block shape cursor in text editor and console
2022-01-26 11:53:29 +01:00
wmayer
4f12416fa0
Gui: fix C++20 warning: bitwise operation between different enumeration types [-Wdeprecated-enum-enum-conversion]
2021-12-02 09:59:31 +01:00
wmayer
bbacecb397
Gui: fix C++20 warning: bitwise operation between different enumeration types [-Wdeprecated-enum-enum-conversion]
2021-12-01 23:45:26 +01:00
wmayer
f3ca27e18e
Gui: add search box to text editor
2021-10-25 13:29:42 +02:00
luz paz
298c677873
Gui: Fix header uniformity, whitespace, and doxygen fixes
2020-11-26 10:14:56 +01:00
wmayer
6d0a136aad
Qt5: 'void Q[Plain]TextEdit::setTabStopWidth(int)' is deprecated [-Wdeprecated-declarations]
2020-06-12 17:51:33 +02:00
wmayer
1ee3d79d7c
Qt5: 'int QFontMetrics::width' is deprecated since Qt 5.11: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations]
2020-06-12 17:51:33 +02:00
wmayer
053312188b
Qt5: 'void QListWidget::setItemSelected(const QListWidgetItem*, bool)' is deprecated: Use QListWidgetItem::setSelected() instead [-Wdeprecated-declarations]
2020-06-12 17:51:33 +02:00
wmayer
f0320d954a
PVS: V629 Consider inspecting the 'col.red() << 24' expression. Bit shifting of the 32-bit value with a subsequent expansion to the 64-bit type.
2019-02-17 22:27:00 +01:00
wmayer
72ab17fb48
fix typos
2016-12-19 14:07:35 +01:00
wmayer
f19d424d8b
fix -Wextra in FreeCADGui
2016-09-21 20:54:52 +02:00
wmayer
0824c5fd3c
fix Coverity issues
2016-08-21 14:03:02 +02:00
mandeeps708
e5cb8db3ce
fixes Enable/Disable line number of MacroEditor
2016-04-20 22:23:48 +02: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
wmayer
d927d0bcb9
+ improve handling of default colors of report view and Python console when using style sheets
2014-01-31 11:34:30 +01:00
Yorik van Havre
5ca9ca1111
Allow to change macro editor line highlight color in preferences
2012-03-18 01:53:04 -03: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