6778 Commits

Author SHA1 Message Date
Laurent Trinques
3729bec350 Flatpak update flatpak/org.qelectrotech.QElectroTech.json 2021-04-09 16:15:26 +02:00
Laurent Trinques
157377e1c1 Faltpak update org.qelectrotech.QElectroTech.json
see :https://github.com/flathub/flathub/pull/2146
2021-04-09 16:01:14 +02:00
joshua
7cb47f3b9e Fix unwanted moving part in element editor.
Fix an unwanted behavior when the properties dock widget is displayed :

1 there is no selection
2 the dock widget width is set to minimum
3 select a part, the dock widget gain new widgets used to edit the
current selected part and the width of the dock grow so the width of the
QGraphicsView is reduced and cause a mouse move event.
When this case occur the part is moved but they should not.
2021-04-07 12:56:43 +02:00
joshua
9db15f91e7 Improve gui layout for low resolution screen 2021-04-07 12:34:56 +02:00
plc-user
c54ee9b66d Bug-Fixing on an element 2021-04-07 01:05:42 +02:00
Laurent Trinques
7a2c62d4d2 Minor: update readme.md files 2021-04-04 17:21:50 +02:00
joshua
7f5b446fc9 Use QStringLiteral and QLatin1String. 2021-04-02 19:16:32 +02:00
Laurent Trinques
bba1f07f57 Revert "Flatpak add --socket=cups for work with LAN printers"
This reverts commit d32c322e5a62ec4ebefb224af569185920bd4fef.
2021-03-31 16:16:41 +02:00
Laurent Trinques
d32c322e5a Flatpak add --socket=cups for work with LAN printers 2021-03-31 15:03:18 +02:00
joshua
8960981f09 Use QStringLiteral and QLatin1String. 2021-03-30 20:48:56 +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
Ole Carlsen
48be92cde5 Updated Danish translation 2021-03-29 20:18:26 +02:00
Kevin Tee
845431179d Update qelectrotech.appdata.xml
Add missing release tag.
I also suggest changing the license of this file.
This document suggest using permissive license, also it can be accept to Flathub.
https://freedesktop.org/software/appstream/docs/chap-Quickstart.html#qsr-app-contents

I suggest MIT, what do you think?
2021-03-29 05:50:47 +02:00
Kevin Tee
f6161af258 Update qelectrotech.appdata.xml
I forgot missing closing release tag.
2021-03-29 05:50:47 +02:00
Kevin Tee
8755a12698 Update qelectrotech.appdata.xml
I'm not sure about the date for this 2021-02-21
2021-03-28 18:52:41 +02:00
Kevin Tee
a361e16a8e Update qelectrotech.appdata.xml
add content rating, release date, and license according to SPDX.
2021-03-28 18:52:41 +02:00
Laurent Trinques
0f8f26e177 Refrersh splash 2021-03-23 00:58:56 +01:00
joshua
d53bb22509 Make MachineInfo a singleton class
Because on windows MachineInfo take a little time to init, we make it to
a singleton.
MachineInfo is build the first time in main.cpp.
Now all other places where we use MachineInfo (aboutqetdialog and
configdialog) gui don't hang anymore in waiting to MachineInfo finish to
build.
2021-03-22 19:20:07 +01:00
joshua
3d25beaea0 Rename class Machine_info to MachinInfo
Rename to follow the code style of QElectroTech
2021-03-22 19:01:46 +01:00
Laurent Trinques
1a3656f7be Add MINGW flag for cmake 2021-03-22 08:15:37 +01:00
Joshua Claveau
7de810bac4 little fix 2021-03-21 19:06:12 +01:00
Joshua Claveau
1b6cf7d5f3 Project properties dialog launch a little more faster (especially on windows)
Instead of build machine_info class which take time, only to get the max
width and height of screens, call  of methods
Machine_info::i_max_screen_width() and
Machine_info::i_max_screen_height() are now static and compute only
this.
The project properties dialog is now faster because don't wait the end
build of machine_info.
2021-03-21 19:01:54 +01:00
Joshua Claveau
6cf79e6e75 Qet start a little more faster (especially on windows)
Machine_Info class take time on windows even in powerful computer.
Run the machine_info in main.cpp in parallel into another thread.
2021-03-21 18:36:03 +01:00
artgg7300
8fdb9ba21a translated hungarian element names 2021-03-20 20:22:52 +01:00
Simon De Backer
a4adcf4865 Fix cmake user properties class
for commit 44db25e76b23c7446097468552aeccd3a2984b11
2021-03-18 21:22:39 +01:00
Gleb Popov
9300130aaf Add installation phase to CMake build system 2021-03-18 13:44:26 +01:00
Gleb Popov
d7dd32ff1a Fix CMake build when git revision can't be determined 2021-03-18 13:44:15 +01:00
Gleb Popov
564f38396f Add CMake option to allow using system pugixml library 2021-03-18 13:44:04 +01:00
Gleb Popov
ab5dd39556 Add CMake option to allow using system KF5 libraries 2021-03-18 13:43:50 +01:00
Gleisson Jesuino Joaquim Cardoso
b12a4525a2 Update PT_BR translation 2021-03-17 22:00:38 +01:00
Laurent Trinques
e0f2a66f3c Update Mongolian translation, thanks Nathalie 2021-03-17 09:59:12 +01:00
Laurent Trinques
20f5c3e443 Minor update README.md files 2021-03-15 23:44:26 +01:00
Paweł Śmiech
ea730a2fa1 Polish translation update 2021-03-14 21:03:08 +01:00
anvilex
28d98a1a30 Update qelectrotech.xml
1. Russian translation added.
2021-03-14 15:30:48 +01:00
anvilex
a75565e30d Update x-qet-titleblock.xml
1. Russian translation added.
2. German translation added.
2021-03-13 22:08:16 +01:00
anvilex
6ededf94bf Update x-qet-titleblock.desktop
1. Russian translation added.
2. Englisch translation improved.
3. German translation improved.
2021-03-13 22:07:21 +01:00
anvilex
9ca44f2557 Update qelectrotech.desktop
Russian translation added
2021-03-13 22:02:33 +01:00
anvilex
9aad769a37 Update qelectrotech.appdata.xml
1. German translation added.
2. Russian translation improved.
2021-03-13 22:01:36 +01:00
plc-user
1f0f44233e Update qet_directory 2021-03-13 22:00:24 +01:00
plc-user
5594197aab some Bug-Fixing of elements 2021-03-13 22:00:24 +01:00
plc-user
13b6b0c6c9 removed HTML-Tag 
 from some element-informations 2021-03-13 12:19:47 +01:00
plc-user
b0e6ad46ac centered some elements on DIN-rail (allows rotating without changing Y-position) 2021-03-13 12:19:47 +01:00
Lars Biskupek
b417edaff8 Fixed grammer issues in German language file 2021-03-12 06:39:53 +01:00
anvilex
301fa629d8 Update qet_fr_ru.qph 2021-03-12 06:32:55 +01:00
joshua
44db25e76b Add user properties class
Add a specific class for user properties instead of embedded user
properties in properties interface.
2021-03-11 21:39:57 +01:00
joshua
d5df9703d0 Add new XML function 2021-03-11 20:20:07 +01: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
83b69253dc Revert "fix compile error"
This reverts commit b1813111627275d4ec2eb06d226e745de54786f7.
2021-03-11 19:49:46 +01:00
joshua
b96eff00ef Revert "Fix for cmake"
This reverts commit 4051bbd30911dc106fbaa78a181771f2949e4c5d.
2021-03-11 19:49:32 +01:00
Laurent Trinques
4051bbd309 Fix for cmake 2021-03-11 07:59:54 +01:00