Simon De Backer
bf9123f9b5
Fix xml in Element (Catch from QElectroTech_Element_Updater)
...
I don't know how this could have happened, but it happened.
2021-01-01 15:28:41 +01:00
Laurent Trinques
20f9475a6e
Update symbols
2021-01-01 14:42:46 +01:00
pavelfric
1badeceed4
Updated Czech translations of elements.
2021-01-01 13:41:50 +01:00
Laurent Trinques
344d898461
Add symbols
2021-01-01 13:13:44 +01:00
pavelfric
5730559ed0
Updated Czech elements translations.
2020-12-31 14:19:52 +01:00
plc-user
74342cb00d
added manufacturer- and designation-info also to front-views
2020-12-22 09:53:32 +01:00
plc-user
c5fd14794f
re-organized directory, added manufacturer- and designation-info and added some new elements
2020-12-22 09:53:32 +01:00
sdeffaux
401a5010be
reorganized folder
2020-12-21 11:23:16 +01:00
sdeffaux
c8adffb696
Add symbols
2020-12-21 11:23:16 +01:00
Simon De Backer
0cc3099908
Mod TextEditor
...
the ui file is written in the TextEditor class
Add switch for KF5 (QT6)
2020-12-18 17:39:00 +01:00
Simon De Backer
2e543dd1f7
Add create translation .ts file on Cmake
2020-12-18 17:05:41 +01:00
joshua
af3772b95a
Element view : fix drag view
2020-12-17 23:39:35 +01:00
joshua
546db38683
Fix fail to build
2020-12-17 23:39:04 +01:00
Simon De Backer
404ae4fffc
Add Cmake ui files in sdk
2020-12-17 21:43:23 +01:00
Simon De Backer
f6d777e2f7
Mod DynamicTextFieldEditor
...
the ui file is written in the Dynamic Text Field Editor class
Add switch for KF5 (QT6)
2020-12-17 21:42:18 +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
13db08ad56
Mod hoto_update_cmake_message
2020-12-15 21:30:25 +01:00
Simon De Backer
7fc9d06eef
Fix Cmake translation files dir
2020-12-14 21:30:40 +01:00
Simon De Backer
842b39d68b
Fix som Cmake PATH
2020-12-13 20:57:10 +01:00
Simon De Backer
8fb1cd0fa7
Add __FILE__ __LINE__ __FUNCTION__ to failed to load desired_language
...
qInstallMessageHandler(myMessageOutput);// for debugging
is only called later,so we have to get the info manually
2020-12-13 16:26:33 +01:00
Simon De Backer
2fc7f594cc
Add Cmake files
2020-12-13 15:44:01 +01:00
Simon De Backer
c46caaf6e4
Fix Cmake dubbe
...
see cmake/define_definitions.cmake
2020-12-13 00:47:09 +01:00
Simon De Backer
c88d1ef6bb
Refactoring Cmake
...
cleaning up the Cmake code
2020-12-13 00:40:43 +01:00
Simon De Backer
d2fb0d8ad1
Fix stop the run autotests of kcoreaddons
...
see
https://invent.kde.org/frameworks/kcoreaddons/-/blob/master/CMakeLists.txt#L98
issue:
CMake Error at /usr/share/ECM/modules/ECMAddTests.cmake:89 (add_executable):
Cannot find source file:
see
https://qelectrotech.org/forum/viewtopic.php?pid=13929#p13929
2020-12-11 23:57:17 +01:00
Simon De Backer
0207390ced
Revert "Remove all qm files"
...
This reverts commit c2acbc88ed06e6ff14bde199ffda1d2084de8112.
i will have to find another way for cmake
2020-12-11 23:43:15 +01:00
Simon De Backer
ce5cc25186
Fix stop the run autotests of kcoreaddons
...
see
https://invent.kde.org/frameworks/kcoreaddons/-/blob/master/CMakeLists.txt#L98
issue:
CMake Error at /usr/share/ECM/modules/ECMAddTests.cmake:89 (add_executable):
Cannot find source file:
see
https://qelectrotech.org/forum/viewtopic.php?pid=13929#p13929
2020-12-11 22:41:30 +01:00
Simon De Backer
74b112a4bb
Mod KF5 v5.76.0 => v5.70.0
...
see https://qelectrotech.org/forum/viewtopic.php?pid=13924#p13924
2020-12-11 18:05:21 +01:00
Simon De Backer
c2acbc88ed
Remove all qm files
...
why:
they are created at compile time,
but the existing ones in src dir prevent the ones created in the buid dir
=> no qm files are shipped
2020-12-11 17:41:10 +01:00
Simon De Backer
6ec9a04fda
Fix translation in Cmake
2020-12-11 17:29:05 +01:00
Simon De Backer
35ad994471
Mod more Cmake
2020-12-11 16:17:15 +01:00
Simon De Backer
83d802adf7
Mod Cmake first working build
2020-12-11 14:55:11 +01:00
Simon De Backer
aacbe57d51
Mod Pro file to close the gap with Cmake
2020-12-11 08:08:12 +01:00
Simon De Backer
62b71c0ba5
Fix more Cmake + Mod pragma message
2020-12-11 00:45:43 +01:00
Simon De Backer
eb49977c75
Fix som Cmake (add_definitions)
...
add_definitions(-DGIT_COMMIT_SHA=${GIT_COMMIT_SHA})
-DGIT_COMMIT_SHA=GIT_COMMIT_SHA
2020-12-11 00:16:49 +01:00
Simon De Backer
6da9c58458
Wip Fix preprocessor on Cmake
2020-12-10 21:19:45 +01:00
Simon De Backer
234f468f15
Fix GIT_COMMIT_SHA in Cmake
2020-12-10 21:18:42 +01:00
Simon De Backer
ed938c82cd
Mod Cmake
2020-12-10 19:03:36 +01:00
Simon De Backer
6aa30d5f57
Add QPointF code did not build
2020-12-10 18:52:20 +01:00
Simon De Backer
d15443cf93
Wip Fix preprocessor on Cmake
2020-12-10 18:49:35 +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
d0c129478e
Mod Cmake en preprocessor
2020-12-10 00:08:26 +01:00
Simon De Backer
4de9c1d922
Add Test google mock
...
for imitating QET on tests (a file, a netwerk link, ...)
2020-12-09 10:48:38 +01:00
Simon De Backer
d89d1088a3
Cmake for UI files auto link
...
this is one of the errors:
the ui files must be linked and changed to h files
so the h files found in the code by preprocessor
2020-12-09 10:40:12 +01:00
Simon De Backer
6556fbaf38
Add QT test to tests
2020-12-08 21:00:43 +01:00
Simon De Backer
c83388c1d5
Add Test files
2020-12-08 20:44:50 +01:00
Simon De Backer
10c4c3d528
Wip Fix preprocessor on Cmake
2020-12-08 19:57:35 +01:00
Simon De Backer
1871b7ad12
Add more Cmake
2020-12-08 15:20:48 +01:00
Simon De Backer
6cd6efaca9
Add Catch2 and Google Test on Cmake
...
ToDo:
- Add compiling QElectroTech on Cmake (help needed)
- more Tests?
- Qt Test
- Boost Test
to test
run qtcreator
File > open => CMakeLists.txt
2020-12-08 12:18:20 +01:00
plc-user
b70775bc84
added elements to WAGO and corrected typo
2020-12-07 10:15:17 +01:00
Simon De Backer
cffec76018
Fix warning: implicit conversion from 'int' to 'float'
...
changes value from 2147483647 to 2147483648
/* The largest number rand will return (same as INT_MAX). */
#define RAND_MAX 2147483647
(static_cast<float>(quint32) / int * 8)
why cast an int to a float to then divide by an int?
just divide the int by an int.
2020-12-05 08:24:35 +01:00