Commit Graph

6554 Commits

Author SHA1 Message Date
joshua 0a616088ea Dynamic text field editor : move kcolorbutton from ui file to cpp file
Kcolorbutton is not available in Qt6 for now.
We move it from the ui file to the cpp file for choose at compilation if
qet must use kcolorbutton or not.
2021-01-07 18:56:25 +01:00
pavelfric 58b7097748 Updated Czech translations of elements. 2021-01-06 20:35:44 +01:00
pavelfric 966a08f50f Updated Czech translations of elements. 2021-01-05 22:14:49 +01:00
Simon De Backer 2000b6cd2b Update Cmake and disable fail to compile if it uses deprecated APIs. 2021-01-04 20:38:57 +01:00
Simon De Backer d3093f495b Revert "Mod DynamicTextFieldEditor"
This reverts commit f6d777e2f7.

it is preferable to keep the gui in the ui file
QT6 will have to wait.
2021-01-04 20:37:17 +01:00
pavelfric 55dfec41c3 Updated Czech translations of elements. 2021-01-04 18:25:24 +01:00
joshua 34baceb8da Fix bug 175
When use a "dark" Qt theme, some part of element are drawn white/gray
instead of black.
2021-01-03 23:30:48 +01:00
pavelfric ade79b467a Updated Czech translations of elements. 2021-01-03 22:52:18 +01:00
plc-user 948915a47e further bug-fixing 2021-01-03 21:38:59 +01:00
plc-user ba693420f3 some new elements 2021-01-03 15:22:54 +01:00
plc-user 63b43421a7 some bugfixing and optimizing of elements 2021-01-03 15:22:54 +01:00
joshua 0a8376c189 Fix bug 220
see https://qelectrotech.org/bugtracker/view.php?id=220
2021-01-02 20:11:47 +01:00
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 c2acbc88ed.

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