luz paz
a76e5446aa
Fix various typos in source documentation and comments
...
Found via `codespell`
2022-12-04 13:30:01 +01:00
joshua
de3fa988b1
Fix some clazy warning
2022-04-09 13:07:47 +02:00
joshua
b42aec7bdf
Minor
...
Block database signal when a project is currently being deleted.
Among other things, this avoid the multiple show of the dialog "table
limitation".
2022-04-09 12:46:07 +02:00
joshua
5a51f6bace
Fix crash
...
See bug N°244
https://qelectrotech.org/bugtracker/view.php?id=244
2022-03-31 19:05:45 +02:00
joshua
374805d6ab
Revert "Revert "Merge branch 'master' of ssh://git.tuxfamily.org/gitroot/qet/qet into terminal_strip""
...
This reverts commit bb26954bd498cacf31a06a568cc4f9dc93deff6f.
2021-09-10 23:30:20 +02:00
joshua
bb26954bd4
Revert "Merge branch 'master' of ssh://git.tuxfamily.org/gitroot/qet/qet into terminal_strip"
...
This reverts commit 364bce618cc8a2a77329261cc485a40f4825eac5, reversing
changes made to efb4a8dd71b9e19ac55c5ac8911f1f53e3b43c22.
2021-06-07 20:00:52 +02:00
joshua
6660caa70f
Merge branch 'master' into terminal_strip
2021-05-21 19:18:16 +02:00
joshua
0aea48bdaa
Open project is a litle more faster
...
In the methods readDiagramsXml we call addDiagram for each diagrams
loaded from xml, inside the addDiagram method we call the method
updateDiagramsFolioData() and to finish this method operate a loop for
each existing diagram.
Then when we load a project from xml of
10 folios, loop inside updateDiagramsFolioData() is called 55 time.
50 folios, loop inside updateDiagramsFolioData() is called 1275 time.
100 folios, loop inside updateDiagramsFolioData() is called 5050 time.
Now instead of call addDiagram, we add diagram directly inside the
methods readDiagramsXml and call the method updateDiagramsFolioData()
only once when all diagrams are loaded.
2021-05-14 13:38:59 +02:00
joshua
dbb21373e1
Read terminal strip from xml
2021-05-11 18:20:46 +02:00
joshua
89f3ce1eb3
terminal strip can be saved to xml
2021-05-11 18:20:46 +02:00
joshua
2cf5ea11fd
Fix : undo code is executed in redo function and vice versa
...
Need to sleep ?
2021-05-11 18:20:46 +02:00
joshua
573c0c236a
Add undo command for add/remove a terminal strip
2021-05-11 18:20:46 +02:00
joshua
91db58bb64
Add dialog to create terminal strip + display existing terminal strip
2021-05-11 18:20:46 +02:00
joshua
f2f50084e0
Use QStringLiteral and QLatin1String.
...
According to the Qt documentation
(https://doc.qt.io/qt-5/qstring.html#QStringLiteral )
(https://woboq.com/blog/qstringliteral.html ), use QStringLiteral and
QLatin1String is better on some conditions (faster).
This commit change the code related to the loading of a project (in
qetproject class), let see if loading time is improved.
2021-03-30 19:59:14 +02:00
joshua
11b8ef927b
Revert "Merge branch 'XMLPropertiesNew'"
...
**Break a lot of thing.**
This reverts commit 1db1800572aa9a636b0cc03cd70cb490e47f00ca, reversing
changes made to 4c563821e885535ec123a019b5aa545e729b6cfc.
2021-03-11 19:52:50 +01:00
joshua
1db1800572
Merge branch 'XMLPropertiesNew'
2021-03-09 19:09:31 +01:00
Simon De Backer
332d978043
[QT6] QtConcurrent its backwards now...function, object, args
2021-03-07 19:58:49 +01:00
Martin Marmsoler
058824f29a
move all static xml functions to qetxml
2021-03-06 20:01:31 +01:00
Martin Marmsoler
ed8c1dea9d
Merge commit '28cd389695248b56a99a417bc10640bb3e99c298'
2021-02-28 17:33:43 +01:00
joshua
d8707a4ef2
Add dialog to inform user when open a non compatible project
2021-02-27 14:01:33 +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 d04bccc384aa8b9dc16e4432ac72ccb787b2508b.
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
b64086fbcd
Fix add project_title on save
...
see
https://qelectrotech.org/forum/viewtopic.php?pid=14160
2021-01-23 21:57:56 +01:00
Simon De Backer
cb37c1c2fe
Add switch for KF5 (QT6) and Mod Cmake
...
if we want to test QET on QT6, KF5 must be removed from the code,
this switch is for that,
this is for testing only
2020-12-16 23:06:08 +01:00
Simon De Backer
3fe0adc66e
QT6 QChar and int build error remove code for QT 6 or later!
...
this will have to be restored later.
2020-12-10 16:12:04 +01:00
Simon De Backer
10c4c3d528
Wip Fix preprocessor on Cmake
2020-12-08 19:57:35 +01:00
Claveau Joshua
b514c39883
Improve update of the project database
2020-11-01 21:27:40 +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
694cbfb1b7
QT6: Todo Fix QtConcurrent (remove KCoreAddons?)
2020-10-03 16:04:54 +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
2a69e540d6
Fix Qt 6 definition of macro ‘Q_DECLARE_MOVABLE_CONTAINER’
...
adding #include <QHash>
+ code fail to compile if it uses deprecated APIs.
=> see .pro file
2020-09-21 21:19:50 +02:00
Simon De Backer
c7ffae7918
Fix Qt 6 deprecated Qt::SystemLocaleShortDate
...
The format options
Qt::SystemLocaleDate, Qt::SystemLocaleShortDate
and Qt::SystemLocaleLongDate
shall be removed in Qt 6.
Their use should be replaced with
QLocale::system().toString(date, QLocale::ShortFormat)
or
QLocale::system().toString(date, QLocale::LongFormat).
2020-09-21 20:23:20 +02:00
Simon De Backer
5d92393ee7
Wrap code for better readability
2020-09-07 22:03:40 +02:00
Simon De Backer
9e4af439ef
Wrap code for better readability
2020-08-25 20:52:49 +02:00
Claveau Joshua
0e6b385be2
Write backup improvement.
...
Remove the waitForFinished function to truly use the multi-threading.
2020-08-21 00:25:20 +02:00
Simon De Backer
88686b3cbf
Wrap code for better readability
2020-08-20 17:45:24 +02:00
Simon De Backer
d1c91a7fc2
Fix some doxygen issues
2020-08-20 17:44:59 +02:00
Simon De Backer
8e956df8d8
Fix some doxygen issues
2020-08-18 21:28:52 +02:00
Simon De Backer
b5f212418c
Improve code style, Wrap code for better readability
2020-08-17 21:24:46 +02:00
Simon De Backer
b28ca0361d
Fix some doxygen issues
2020-08-17 21:24:20 +02:00
Simon De Backer
41cef49453
Improve code style, Wrap code for better readability
2020-08-16 14:26:40 +02:00
Simon De Backer
d4ee161c07
Mod doc set style de same
2020-08-16 11:19:36 +02:00
Yuki Atoh
770161ac57
Initial Japanese translation
2020-08-15 18:39:41 +09:00
Simon De Backer
7834d6fb84
Mod doc, Improve code style
2020-08-08 23:58:17 +02:00