Commit Graph

6411 Commits

Author SHA1 Message Date
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
Simon De Backer 69adb10bcc Add clang-format file (WIP) 2020-11-01 16:57:19 +01:00
Laurent Trinques 23764c0e11 Update be-nl translations, thanks Ronny 2020-11-01 11:40:17 +01:00
Laurent Trinques beec556a55 Update qet_en.qm 2020-11-01 07:10:46 +01:00
M. Buijs 3a0da97878 Update qet_en.ts
The first letter of the word needs to be in upper case to align with the rest of the menu.
2020-11-01 07:09:11 +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
Ole Carlsen 8c51725c71 Danish translation update 2020-10-29 17:19:29 +01:00
Laurent Trinques dbf4315deb Update de translation, thanks Lars 2020-10-29 02:10:05 +01:00
Laurent Trinques 099dc614bd Update en qm 2020-10-28 10:57:12 +01:00
M. Buijs 96450ce19f Update qet_en.ts
Small language updates
2020-10-27 23:56:20 +01:00
dlee99 1d606c574b modified: lang/qet_nl.qm
modified:   lang/qet_nl.ts
2020-10-27 21:46:54 +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 995066916b
2020-10-27 20:49:16 +01:00
Laurent Trinques 50de125787 Update en translations 2020-10-27 12:07:44 +01:00
M. Buijs 2839a4009c Update qet_en.ts
Added missing translation
2020-10-27 12:07:01 +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
sdeffaux 0dba97ef6a Add symbols and fix bux 193 2020-10-26 21:23:33 +01:00
Simon De Backer c5c3dfb07b Mod Maximum Size of configureQET widget 2020-10-25 12:24:43 +01:00
sdeffaux 1c91a6300a Add symbols 2020-10-24 20:31:45 +02: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
artgg7300 077c4f578a translated hungarian files 2020-10-21 18:24:05 +02:00
aitolos 752f31513c Update Greek Lang 2020-10-19 18:29:29 +03:00
aitolos 756fc845a5 Merge branch 'master' of ssh://git.tuxfamily.org/gitroot/qet/qet 2020-10-19 18:14:08 +03:00
aitolos 9d89719c21 Merge branch 'master' of ssh://git.tuxfamily.org/gitroot/qet/qet 2020-10-19 18:12:26 +03:00
aitolos 785c5884e8 Update Greek Lang 2020-10-19 18:11:32 +03:00
Laurent Trinques 87425d70ce Update * TS files 2020-10-19 14:21:02 +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
Ole Carlsen 2619d96998 Danish translation updated 2020-10-18 11:03:34 +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
artgg7300 a65675b53e translated hungarian files 2020-10-15 20:17:03 +02:00
Laurent Trinques c39ef0a999 Update en fr translation 2020-10-15 18:54:08 +02:00
dlee99 ff84a71d97 modified: lang/qet_nl.qm
modified:   lang/qet_nl.ts
2020-10-14 23:15:59 +02:00
Laurent Trinques 434c3dfbfb Update TS files 2020-10-14 21:00:33 +02:00
Laurent Trinques 096f8f58e1 Updatre de translation, thanks Lars 2020-10-14 20:58:35 +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
pavelfric 30f8989e3d Updated Czech translation 2020-10-11 21:56:53 +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