pre-commit-ci[bot]
25c3ba7338
All: Reformat according to new standard
2025-11-11 13:49:01 +01:00
Markus Reitböck
6ef07bb358
Gui: use CMake to generate precompiled headers on all platforms
...
"Professional CMake" book suggest the following:
"Targets should build successfully with or without compiler support for precompiled headers. It
should be considered an optimization, not a requirement. In particular, do not explicitly include a
precompile header (e.g. stdafx.h) in the source code, let CMake force-include an automatically
generated precompile header on the compiler command line instead. This is more portable across
the major compilers and is likely to be easier to maintain. It will also avoid warnings being
generated from certain code checking tools like iwyu (include what you use)."
Therefore, removed the "#include <PreCompiled.h>" from sources, also
there is no need for the "#ifdef _PreComp_" anymore
2025-09-14 09:47:03 +02:00
Max Wilfinger
ecf02b7878
Gui: Update UI strings for consistency
...
Closes : #22135
2025-08-04 20:14:45 +02:00
Andrea
da66720d3a
REMOVE old QT<= 5.14 code
...
Ubuntu 22.04 use qt 1.15.3.
In the code is still used qt code <5.10.
A cleanup was done by removing qT code version used in ubuntu 18.04.
2025-03-05 09:32:06 +01:00
tritao
8aa50c4380
Gui: Reorganize the dialog files into a top Dialogs folder.
2025-01-24 16:28:02 -06:00
wwmayer
977e13795a
Gui: Prepare for clang-format ( #16051 )
...
* Gui: Prepare for clang-format
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-09-02 17:48:55 +02:00
wmayer
eeaca2af88
Gui: Fix Delete key in parameter editor
2024-07-01 11:53:53 +02:00
mos
d12635246f
[gui] code clean
...
.
2024-05-23 11:34:15 +02:00
wmayer
9b29c3a683
Gui: replace slots with member function pointers
2023-02-03 00:21:38 +01:00
wmayer
2e5cb03261
Gui: move to new style connect()
2023-02-01 13:49:35 +01: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
1ca7429705
Gui: Optimize includes to reduce compile time
2022-03-07 20:29:18 +01:00
Uwe
5f9020b09a
[Gui] Document and Download: remove unused includes
2022-03-04 04:37:36 +01:00
wmayer
09da245af9
App: harmonize API of App::Application
...
* make getHomePath() static and return a std::string
* make getExecutableName() static and return a std::string
2021-11-04 10:50:09 +01:00
Chris Hennes
50c7ee36bf
[GUI] Remove code for Qt < 5.9
2021-04-02 10:10:37 +02:00
wmayer
d26e60fb30
[skip ci] code cleanup
2020-06-14 16:24:14 +02:00
wmayer
2c113442a7
Qt5: 'void QTime::start()' / 'int QTime::elapsed() const' / 'int QTime::restart()' are deprecated: Use QElapsedTimer instead [-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
2bb5797568
PVS: V595 The pointer was utilized before it was verified against nullptr
2019-02-17 20:55:52 +01:00
Mateusz Skowroński
fbdfe16462
Use faster form of QFileInfo(filename).exists(). [-Wclazy-qfileinfo-exists] Thanks Clazy!
2019-02-11 15:39:15 +01:00
Mateusz Skowroński
317bcd59c9
Use QString's multi-arg overload to save memory allocations. [-Wclazy-qstring-arg] Thanks Clazy!
2019-02-11 15:39:14 +01:00
luz.paz
49b3fbab58
Source typo fix
...
minor typo in function saveIfNeccessary() to saveIfNecessary()
2018-07-13 18:49:48 -04:00
luzpaz
467ef55788
Misc. typos discovered via crowdin
...
should close several crowdin issues.
2017-08-28 11:50:33 -03:00
wmayer
57e71e5d55
port C++ code to Qt5
2016-12-13 14:22:59 +01:00
wmayer
75681ed0a5
improve download manager
2016-09-21 10:04:42 +02:00
wmayer
9ef81d7d56
optimize download manager
2016-08-31 16:22:21 +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
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
c3102b69bc
+ issue #0001705 : Download manager does not follow redirect (HTTP status 302)
2015-01-04 18:15:20 +01:00
wmayer
847b6b79e0
+ Replace math.h with cmath
2014-01-05 11:25:40 +01:00
wmayer
00b4fd364a
Show status of downloading file
2013-06-12 23:15:13 +02:00
wmayer
26d1751aeb
0000952: Download manager
2013-05-29 17:57:25 +02:00
wmayer
2896efe584
0000952: Download manager
2013-05-29 12:38:01 +02:00
wmayer
3db10284b1
0000952: Download manager
2013-05-28 18:14:58 +02:00