Pascal Sander
ee49086d03
QMenu must set a parent for correct position. #3
2025-08-17 17:48:29 +02:00
plc-user
ad29893842
use "%" for string-concatenation
...
Qt-Docs says it's less memory-usage...
2025-05-22 21:33:32 +02:00
plc-user
e0b26592c7
fix typos
2025-02-28 20:36:38 +01:00
Laurent Trinques
43f0107eb1
Revert "Try Clazy fix-its"
...
Segfault on old Qt versions!
This reverts commit dba7caed30 .
2025-02-14 16:17:58 +01:00
Laurent Trinques
dba7caed30
Try Clazy fix-its
...
clazy is a compiler plugin which allows clang to understand Qt
semantics. You get more than 50 Qt related compiler warnings, ranging
from unneeded memory allocations to misusage of API, including fix-its
for automatic refactoring.
https://invent.kde.org/sdk/clazy
2025-02-14 15:52:23 +01:00
plc-user
317c90c769
do not hardcode translations for shortcuts: let the system do it for you!
2025-02-11 14:36:15 +01:00
plc-user
79f894a327
Set default-location for projects to documents-dir.
...
All export files that are derived from the project (BOM,
nomenclature, etc.) are saved in the same directory by default.
In this context, the standard directories have been grouped
together in qetapp.cpp / qetapp.h so that only one place needs
to be searched for in case of any adjustments.
2025-01-26 11:32:46 +01:00
Laurent Trinques
77bfe84a4c
One year
2025-01-04 13:37:40 +01:00
Laurent Trinques
e73cf633ce
2023->2024
2024-03-29 10:09:48 +01:00
Laurent Trinques
9afef79629
Update Copyright date
2023-01-01 17:05:57 +01:00
luz paz
1994235bc5
Fix various typos in source documentation and comments (cont.)
...
Found via `codespell`
2022-12-04 20:46:32 +01:00
joshua
11b8ef927b
Revert "Merge branch 'XMLPropertiesNew'"
...
**Break a lot of thing.**
This reverts commit 1db1800572 , reversing
changes made to 4c563821e8 .
2021-03-11 19:52:50 +01:00
joshua
1db1800572
Merge branch 'XMLPropertiesNew'
2021-03-09 19:09:31 +01:00
Simon De Backer
4c563821e8
[Qt6] ad QCloseEvent to Widgets
2021-03-07 20:23:07 +01:00
Martin
ea364f9c4e
merge
2021-02-23 17:35:55 +01:00
Laurent Trinques
ef58f34c14
Update Copyright date
2021-02-20 12:13:46 +01:00
joshua
2513961cd6
Revert "Update Copyright date"
...
This reverts commit d04bccc384 .
2021-02-06 19:00:48 +01:00
Laurent Trinques
d04bccc384
Update Copyright date
2021-02-06 18:33:42 +01:00
Simon De Backer
d0c129478e
Mod Cmake en preprocessor
2020-12-10 00:08:26 +01:00
Simon De Backer
10c4c3d528
Wip Fix preprocessor on Cmake
2020-12-08 19:57:35 +01:00
Claveau Joshua
72271cfc69
Improve format of save date
...
3 formats : local, eu (dd mm yyyy) and us (yyyy mm dd)
2020-10-31 14:22:06 +01:00
Martin Marmsoler
12e301b887
replace 4 spaces by a tab
2020-10-20 08:54:56 +02:00
Martin Marmsoler
f3097fc537
rebase XMLProperties_New ( c0d9bf9) to master
2020-10-20 08:54:14 +02:00
Martin Marmsoler
73b394527d
replace tabs by 4 spaces
2020-10-20 08:53:43 +02:00
Laurent Trinques
9c267d673d
Fix %{saveddate} titleblock variable and
...
add new %{saveddate-eu} variable dd-MM-yyyy date format
2020-10-19 14:09:26 +02:00
Simon De Backer
30b8205f82
Mod some qWarning add QObject::tr
2020-09-24 22:39:11 +02:00
Simon De Backer
36dbe65457
Add TODO compile var + Fix doxygen issue
...
You can make your code warn on compile time for the TODO's
In order to do so, uncomment the following line. in pro file
DEFINES += TODO_LIST
2020-09-24 17:01:33 +02:00
Simon De Backer
b5ae1237e3
Fix QRegularExpression
...
-add isValid
-add debug
2020-09-23 21:36:48 +02:00
Simon De Backer
c958d54d01
Fix Qt 6 deprecated QDockWidget::AllDockWidgetFeatures
...
(Deprecated) The dock widget can be closed, moved, and floated.
Since new features might be added in future releases,
the look and behavior of dock widgets might change if you use this flag.
Please specify individual flags instead.
2020-09-21 21:16:05 +02:00
Simon De Backer
176dcd376b
Fix deprecated QRegExp
...
Use QRegularExpression instead.
https://doc.qt.io/qt-5/qregularexpression.html#notes-for-qregexp-users
This function was introduced in Qt 5
2020-09-19 01:13:09 +02:00
Simon De Backer
813014ec33
Fix deprecated QRegExp
...
Use QRegularExpression instead.
https://doc.qt.io/qt-5/qregularexpression.html#notes-for-qregexp-users
This function was introduced in Qt 5
2020-09-19 01:13:01 +02:00
Simon De Backer
5d92393ee7
Wrap code for better readability
2020-09-07 22:03:40 +02:00
Simon De Backer
d1c91a7fc2
Fix some doxygen issues
2020-08-20 17:44:59 +02:00
Simon De Backer
cdb2e7b523
Wrap code for better readability
2020-08-19 21:27:14 +02:00
Simon De Backer
666f20856e
Fix some doxygen issues
2020-08-19 21:26:36 +02:00
Simon De Backer
3b3ce2cb7c
Improve code style, Wrap code for better readability
2020-08-16 14:24:12 +02:00
Simon De Backer
d4ee161c07
Mod doc set style de same
2020-08-16 11:19:36 +02:00
Simon De Backer
90417ae509
Fix Copyright indentation
2020-08-16 09:40:14 +02:00
Simon De Backer
ca2e737df3
fix deprecated warning int QWheelEvent::delta() const
...
Use angleDelta() instead
and .y();
2020-06-21 10:50:26 +02:00
Laurent Trinques
e10ae8ce2e
Update Copyright date
2020-06-15 17:42:53 +02:00
Laurent Trinques
a8c2283cbe
hot fix zoom and scrolling
...
bug: was only zoom In
(int QPoint::manhattanLength() const
Returns the sum of the absolute values)
2020-06-14 14:29:59 +02:00
Simon De Backer
e4f4c1e154
fix deprecated warning void QGraphicsView::resetMatrix()
...
Use resetTransform() instead
This class was introduced in Qt 4.2.
+ indentation warning
of "resetSceneRect();"
2020-06-12 19:54:13 +02:00
Simon De Backer
71abaf92cb
fix deprecated warning int QWheelEvent::delta() const
...
Use angleDelta() instead
manhattanLength()
Returns the sum of the absolute values of x() and y(),
traditionally known as the "Manhattan length" of the vector
from the origin to the point.
This class was introduced in Qt 5.5
2020-06-12 19:52:50 +02:00
Simon De Backer
b9ed45c8a3
fix deprecated warning QMap
...
This function is obsolete.
Use QMultiMap instead.
This function was introduced in Qt 4.3 - 5.14
2020-06-12 05:52:50 +02:00
Simon De Backer
803414f716
remove user-defined copy constructor
...
We need to define our own copy constructor only
if an object has pointers or any runtime allocation
of the resource like file handle, a network connection..etc.
note: Default constructor does only shallow copy.
2020-06-07 16:41:42 +02:00
Simon De Backer
09006dc75f
fix deprecated warning QDir& QDir::operator=(const QString&)
...
This function is obsolete.
Use
QDir::setPath() instead
instead.
2020-05-30 06:24:04 +02:00
Simon De Backer
70f0541e06
fix deprecated warning qVariantFromValue
...
This function is obsolete.
Note:
This function was provided as a workaround for MSVC 6
which did not support member template functions.
It is advised to use the other form in new code.
This function is equivalent to QVariant::fromValue(value).
2020-05-29 14:56:07 +02:00
Simon De Backer
e56701d336
*fix deprecated warning QWidget::getContentsMargins
...
This function is obsolete.
Use contentsMargins().
instead.
This function was introduced in Qt 4.6.
2020-05-29 14:03:00 +02:00
Simon De Backer
362509cb38
fix deprecated warning QSet<T>::toList() Use values() instead.
...
warning: ‘QList<T> QSet<T>::toList() const [with T = Conductor*]’
is deprecated: Use values() instead. [-Wdeprecated-declarations]
QT_VERSION 5.15.0
GCC 64bit
2020-05-28 15:54:53 +02:00
Laurent Trinques
a0a7513847
Replance Q_OS_MAC Deprecated by Q_OS_MACOS
2019-09-08 18:29:29 +02:00