Claveau Joshua
ca0dcc9b7b
Fix crash
2020-11-02 19:31:52 +01:00
Claveau Joshua
62333506f1
Improve update of the project database
2020-11-02 19:13:56 +01:00
Claveau Joshua
a0efad18ab
Merge branch 'master' of ssh://git.tuxfamily.org/gitroot/qet/qet into master
2020-11-01 21:28:06 +01:00
Claveau Joshua
b514c39883
Improve update of the project database
2020-11-01 21:27:40 +01:00
Simon De Backer
859bf7f645
Mod clazy checks range-loop
...
you're using C++11 range-loops with non-const Qt containers
(potential detach).
adding missing &
2020-11-01 19:10:30 +01:00
Simon De Backer
1b10fe3b7f
Mod container-anti-pattern
...
Finds when temporary containers are being created needlessly.
These cases are usually easy to fix by using iterators,
avoiding memory allocations.
And mod to return on first true
can we test if the Elements collection reload faster or not?
2020-11-01 18:44:14 +01:00
Simon De Backer
41c7cde8ca
Mod overlapping comparisons
...
warning: overlapping comparisons always evaluate to true
valid for a project made before 0.7
probably it will be better to delete the code completely.
2020-11-01 18:11:55 +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
Simon De Backer
24c930d727
Mod raw Pointer to QScopedPointer
...
Clang-Tidy and Clazy said
"drag" leaks memory
2020-10-30 21:07:12 +01:00
Simon De Backer
87845ef0ee
Add failed to load message of languages on log file
...
compiler complained about non return value of
bool QTranslator::load
2020-10-29 20:41:24 +01:00
Claveau Joshua
8ba982f6cc
improve code readability
2020-10-27 21:05:29 +01:00
Claveau Joshua
329ceb4594
Bug fix : directory of embedded element collection is not translated
...
Bug introduced at commit 995066916b5f1c697abc70821750d8ae2364a3b7
2020-10-27 20:49:16 +01:00
Simon De Backer
6bfb2b95d2
QT6: QStringref replaced to QStringView in QT6
...
as a result this additional instruction is required
2020-10-26 23:01:45 +01:00
Simon De Backer
c5c3dfb07b
Mod Maximum Size of configureQET widget
2020-10-25 12:24:43 +01:00
Claveau Joshua
b1eb59f3ea
Improve previous comit
2020-10-22 21:07:41 +02:00
Laurent Trinques
cb29a4d383
Fix date on summary pages
2020-10-22 18:28:52 +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
Claveau Joshua
69f775aa0f
Minor fix : can't move diagram to top from element panel widget
2020-10-18 11:50:04 +02:00
Claveau Joshua
74ee2fd82c
minor
2020-10-18 10:49:45 +02:00
Claveau Joshua
ec0b92ec1d
Fix : Filling color is not apply to polyline.
2020-10-18 10:45:05 +02:00
Simon De Backer
364012848c
Fix code style
2020-10-13 17:44:08 +02:00
Simon De Backer
106b17cf2f
QT6: QMutex::RecursionMode are obsolete
...
The default is QMutex::NonRecursive.
https://doc-snapshots.qt.io/qt6-dev/qmutex-obsolete.html
2020-10-13 17:43:26 +02:00
Claveau Joshua
d3da5a98a5
Minor : disable button for QPageSetupDialog on windows
2020-10-12 21:20:40 +02:00
Claveau Joshua
9b0e659300
Remove unused class
2020-10-12 21:02:48 +02:00
Claveau Joshua
e878082b79
Fix bug 203
...
https://qelectrotech.org/bugtracker/view.php?id=203
Take advantage of this bugfix, to recode the widget with Qt designer.
2020-10-10 16:58:02 +02:00
Claveau Joshua
419585f97e
Add new QAction : export to pdf
2020-10-10 14:37:23 +02:00
Claveau Joshua
44e945489a
project print window : minor gui improvement
2020-10-10 12:12:50 +02:00
Claveau Joshua
b45c6b453e
Minor fix : QetGraphicsTableItem keep his size when model is reseted or when open from xml.
2020-10-10 11:18:21 +02:00
Claveau Joshua
5d47ecd8f6
Fix : can't open print dialog on windows
2020-10-09 19:25:41 +02:00
Simon De Backer
4e44b4bcd4
QT6: Fix : dragging view don't work
2020-10-08 16:16:59 +02:00
Claveau Joshua
9193e1c39b
Fix : dragging view don't work
2020-10-04 16:03:09 +02:00
David Varley
941aaf7087
Fix build for Qt < 5.10
2020-10-04 20:51:07 +11:00
Simon De Backer
9f3c173b9f
QT6: No Qt::AA_EnableHighDpiScaling in QT6
2020-10-03 16:08:55 +02:00
Simon De Backer
9a915c2ad0
QT6: TeDo mod QList for DeleteQGraphicsItemCommand
2020-10-03 16:07:55 +02:00
Simon De Backer
694cbfb1b7
QT6: Todo Fix QtConcurrent (remove KCoreAddons?)
2020-10-03 16:04:54 +02:00
Simon De Backer
f69e3a3fa7
QT6: Todo QVariant::setValue
2020-10-03 16:02:35 +02:00
Simon De Backer
8a5ba90d01
QT6: std::min needs further tweaking
2020-10-03 16:00:24 +02:00
Simon De Backer
32605e1377
QPrinting class needs further tweaking
2020-10-03 15:58:09 +02:00
Simon De Backer
0ab1b322d6
QT6: QStyleOptionGraphicsItem
2020-10-03 15:56:11 +02:00
Simon De Backer
a7920ea5fc
Add QActionGroup
2020-10-03 15:54:38 +02:00
Simon De Backer
937a6d740b
QT6: QStyleOptionGraphicsItem
2020-10-03 15:54:02 +02:00
Simon De Backer
a0b95ee944
QT6: QLibraryInfo
2020-10-03 15:51:53 +02:00
Simon De Backer
ad0df66ab1
Totest QRegularExpression ok?
2020-10-03 15:51:09 +02:00
Simon De Backer
c1e93fc442
QT6: QStyleOptionGraphicsItem
2020-10-03 15:48:40 +02:00
Simon De Backer
2e2a652343
QT6: QMouseEvent
2020-10-03 15:45:43 +02:00
Simon De Backer
074e2c8b2d
QT6: QDropEvent
2020-10-03 15:42:58 +02:00
Simon De Backer
9034d8d791
QT6: Fix deprecated QRegExp
2020-10-03 15:40:32 +02:00
Simon De Backer
0b5091b606
QT6: hooks added
2020-10-03 12:04:35 +02:00
Simon De Backer
b339dc2812
QT6: Mod unused function put in comments
2020-10-03 12:03:44 +02:00
Simon De Backer
ce11610d1d
Add missing include QActionGroup
2020-10-03 11:57:55 +02:00