Compare commits

..

2226 Commits

Author SHA1 Message Date
joshua
09c0929040 Element editor gui fix
When select a primitive an unparented windows appear and can't be
deleted. Fix it.
2021-04-30 20:27:24 +02:00
Laurent Trinques
7312d06cc4 Minor 2021-04-30 11:52:44 +02:00
Laurent Trinques
5c75bc4194 OSX update qet_tb_generator PATH to python 3.9 2021-04-30 11:34:32 +02:00
Laurent Trinques
760a1f6c43 Try to improve HIGHDPI_SCALING 2021-04-21 09:38:48 +02:00
joshua
b6cfc8c755 Improve element collection loading time
According to Qt creator flame graph, call QSettings take lot of time.
When loading the element collection, each items of the collection get
the current language by calling the function QString
QETApp::langFromSetting().
This function instantiate a QSettings object each time and take a lot of
time.
Now the QSettings is instantiate only at the first call, and the value
is stored in memory, then all other call of the function don't
instantiate a QSettings, but just return the value in memory.
2021-04-18 20:03:13 +02:00
sdeffaux
820a01cb7d add symbol 2021-04-17 16:15:10 +02:00
sdeffaux
bfd7c1ea7c Update symbols and examples 2021-04-17 16:15:10 +02:00
Laurent Trinques
b8d9d38d31 Minor 2021-04-12 06:40:59 +02:00
Laurent Trinques
c05d76c633 Flatpak update org.qelectrotech.QElectroTech.json 2021-04-12 06:36:16 +02:00
joshua
5a8197b2b3 Element query widget : make code more readable 2021-04-11 14:08:21 +02:00
joshua
c1169f0e04 Element nomenclature sql query minor fix
Filter "is empty" don't work for any case :
We must to filter for NULL and empty string then replace the sql
sentence "value IS NULL" by "(value IS NULL OR value = '')"
2021-04-11 14:03:02 +02:00
joshua
794af49a3a Element nomenclature SQL query : minor fix
the filter "is not empty" in nomenclature don't work for every case.
Replace SQL sentence "IS NULL" by "!= ''" because an empty string is not
a NULL value string, but a NULL value string is like an empty string
2021-04-11 12:39:38 +02:00
Laurent Trinques
8ef0d0b2f0 Flatpak fix location patch 2021-04-09 16:22:41 +02:00
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 d32c322e5a.
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 44db25e76b
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 1db1800572, reversing
changes made to 4c563821e8.
2021-03-11 19:52:50 +01:00
joshua
83b69253dc Revert "fix compile error"
This reverts commit b181311162.
2021-03-11 19:49:46 +01:00
joshua
b96eff00ef Revert "Fix for cmake"
This reverts commit 4051bbd309.
2021-03-11 19:49:32 +01:00
Laurent Trinques
4051bbd309 Fix for cmake 2021-03-11 07:59:54 +01:00
Martin Marmsoler
b181311162 fix compile error 2021-03-10 19:12:00 +01:00
joshua
1db1800572 Merge branch 'XMLPropertiesNew' 2021-03-09 19:09:31 +01:00
joshua
001e93bc6f Forgoten revert ToXml() 2021-03-09 18:43:03 +01:00
Martin Marmsoler
6e17996d37 fix problem that default conductor is not found 2021-03-08 20:48:23 +01:00
Simon De Backer
4c563821e8 [Qt6] ad QCloseEvent to Widgets 2021-03-07 20:23:07 +01:00
Simon De Backer
a4872bf686 [Qt6] mod QRegExp to QRegularExpression
note ad Core5Compat to Cmake
2021-03-07 20:21:39 +01:00
Simon De Backer
332d978043 [QT6] QtConcurrent its backwards now...function, object, args 2021-03-07 19:58:49 +01:00
Martin Marmsoler
755bcf640d fix conductor properties xml load 2021-03-07 14:07:47 +01:00
joshua
38a825865c Fix ftbfs on debian buster 2021-03-07 12:18:30 +01:00
Martin Marmsoler
5d3710c4b2 copy all toXML() from master commit 4b82c3a0c4 into the current branch, because the new concept will be used only for user properties 2021-03-07 10:09:45 +01:00
Martin Marmsoler
058824f29a move all static xml functions to qetxml 2021-03-06 20:01:31 +01:00
joshua
4b82c3a0c4 Fix crash
Fix crash for a special case (the first time since qet exist) when a
conductor have all segments to 0 in the .qet file.
See https://qelectrotech.org/forum/viewtopic.php?id=1964
2021-03-06 15:17:10 +01:00
Martin Marmsoler
ea793125a5 move m_change_connections to ElementItemEditor, so it must not be defined by every editor it self 2021-03-05 20:59:36 +01:00
Laurent Trinques
153aecbbf3 Flatpak change to --socket=fallback-x11 2021-03-05 18:17:25 +01:00
Martin
bc88f2ec2e reimplement Priv function, so the ElementEditor gets called automatically 2021-03-05 17:38:51 +01:00
Martin
6887c543da add possibilities to fill the userProperties 2021-03-05 07:56:35 +01:00
Martin Marmsoler
51ed21f9ef Merge commit 'b021ac3e1fb98a56810773c7c701e3329efb3148'
Conflicts:
	sources/qetgraphicsitem/element.h
2021-03-04 21:31:55 +01:00
Martin Marmsoler
221773ea8a fix some issues 2021-03-04 21:25:04 +01:00
Martin Marmsoler
9d4b90da1a Add userProperties 2021-03-04 19:18:28 +01:00
Thomas Gravekamp
b021ac3e1f Add Williams EM symbols 2021-03-03 21:53:25 +01:00
joshua
faf4235bed Terminal element info
Provide only useful information for terminal
2021-03-03 21:28:22 +01:00
Laurent Trinques
0a51e22b7d Update org.kde.Platform" to "runtime-version": "5.15" 2021-03-03 18:38:13 +01:00
Laurent Trinques
632fba5366 Add binary hungarian lang file 2021-03-03 14:28:01 +01:00
artgg7300
0ca883f114 translated hungarian lang file 2021-03-03 14:10:24 +01:00
Simon De Backer
170d856007 Fix Cmake
did not compile
2021-03-02 22:15:44 +01:00
joshua
0424eb9fba Mark deprecated method 2021-03-01 22:17:58 +01:00
Lars Biskupek
8210f06919 Update of German Language File qet_de 2021-03-01 20:41:40 +01:00
Ole Carlsen
468618adda Danish translation updated 2021-03-01 20:28:58 +01:00
pavelfric
8141a75738 Updated Czech translations of elements. 2021-03-01 10:40:11 +01:00
dlee99
8f201a6e5d modified: lang/qet_nl.qm
modified:   lang/qet_nl.ts
2021-02-28 22:18:33 +01:00
Lars Biskupek
b8745c0a6b Update of German language file qet_de 2021-02-28 21:23:50 +01:00
Laurent Trinques
7c3bde9118 Update SingleApplication to upstream master 2021-02-28 18:05:18 +01:00
Martin Marmsoler
ed8c1dea9d Merge commit '28cd389695248b56a99a417bc10640bb3e99c298' 2021-02-28 17:33:43 +01:00
Laurent Trinques
28cd389695 Upgrade pugixml XML parser to 1.11 release
https://pugixml.org/docs/manual.html#v1.11
2021-02-28 17:12:53 +01:00
Laurent Trinques
56bb2a399b Refresh splash size 2021-02-28 05:56:59 +01:00
Laurent Trinques
dc726792d3 Update *TS files 2021-02-28 05:53:40 +01:00
joshua
d8707a4ef2 Add dialog to inform user when open a non compatible project 2021-02-27 14:01:33 +01:00
Martin Marmsoler
01d6cdb920 Merge commit '77710e1cc5e597d06196d2ee163198176032987a'
Conflicts:
	sources/conductorproperties.cpp
	sources/qetgraphicsitem/element.cpp
	sources/qetgraphicsitem/qetshapeitem.cpp
2021-02-27 07:49:24 +01:00
joshua
77710e1cc5 Remove compatibility of QetShapItem from version prior to svn 4075
Befor svn 4075 QetShapItem was saved as int in xml, after as a string.
Remove retro-compatibility (int to string) svn 4075 is older than 5
years.
2021-02-25 20:47:43 +01:00
joshua
1d2c00819d Element collection cache remove old code
Remove old code use to drop table when qet was using mtime instead of
uuid for check if an element was changed.
2021-02-25 20:31:14 +01:00
joshua
eee0469bd7 Remove retro compatibility of conductor text prior to qet 0.4
The property hide/show compatibility of conductor text is not maintained
for project made before qet 0.4
2021-02-25 20:21:18 +01:00
joshua
5118037cb5 Remove retro compatibility of element label prior to qet 0.5
Compatibility is not maintained anymore with the old project which
contain variable in the element information "label"
2021-02-25 19:42:14 +01:00
joshua
1f53c39290 Remove retro compatibility of element text item prior to qet 0.7
Compatibility is not maintained anymore with the old project which
contain old element text item.
2021-02-25 19:35:04 +01:00
Martin
f499507b2d fix load issue 2021-02-25 16:55:13 +01:00
joshua
b71aec9548 Fix wrong element type 2021-02-24 20:49:10 +01:00
joshua
c7798e1a80 Fix wrong element type 2021-02-24 20:41:47 +01:00
Martin
5430692359 remove not needed declaration, because the definition was already deleted. And so a linker error occured 2021-02-24 19:04:14 +01:00
Martin
02b7ead041 fix compile issues 2021-02-24 18:48:59 +01:00
Martin
ea364f9c4e merge 2021-02-23 17:35:55 +01:00
Laurent Trinques
f97edad75a DiagramView::mouseMoveEvent remove "DEV" in toolTip message mouse
postion
2021-02-23 00:51:50 +01:00
Laurent Trinques
454b2c8a0f Update splash to 0.9 version 2021-02-22 16:22:08 +01:00
Lars Biskupek
b2782bc460 Tab-stop definitions inserted where appropriate
Tab stop definitions inserted in some dialogs, so that the order of tab-stops-moves corresponds as closely as possible to the fields' position in the window.
2021-02-22 13:47:39 +01:00
Lars Biskupek
059f0eb1b6 Modifications to SaveFile-Dialog for "Save As PDF"
Fixed a typo that prevented existing PDF files from being displayed in SaveFileDialog for PDFs.

The way the file name for the PDF is generated has changed. If the project has already been saved, the PDF has the same file name (with .pdf of course); If not, the file name is generated from the project title (= same behavior as Save as - dialog for a .qet project file).
2021-02-22 13:47:39 +01:00
joshua
ce318ac667 Element : start use ElementData
Element now use ElementData for namelist and element information
2021-02-21 19:40:33 +01:00
joshua
be2067148e Element editor : add terminal properties editable 2021-02-21 19:40:33 +01:00
joshua
444f62a1f8 element data : add terminal type enum and terminal function enum 2021-02-21 19:40:33 +01:00
joshua
8f85cacb06 QetElementEditor : Use elementData class 2021-02-21 19:40:33 +01:00
joshua
ffe3d98279 Add element data class 2021-02-21 19:40:33 +01:00
joshua
dea926e4b4 Remove unnecessary method 2021-02-21 19:40:33 +01:00
joshua
a1779d1a7a Rewrite terminaleditor with ui file.
Write terminal editor with ui file.
The terminalData::type of a terminal can be edited with the terminal
editor.
2021-02-21 19:40:33 +01:00
joshua
252106178b Add enum Type to terminalData class 2021-02-21 19:40:32 +01:00
joshua
a00404bc9f clean terminal and terminaldata class 2021-02-21 19:40:32 +01:00
joshua
e2ebb445a8 Terminal : remove unused code 2021-02-21 19:40:32 +01:00
joshua
24ec94d73e QetElementEditor : rewrite gui with ui file 2021-02-21 19:40:32 +01:00
joshua
edb42caa16 Fix typo
Fixed a typo that resulted in existing PDF files not being displayed in
the dialog box "Save As PDF".
Thanks Bisku
2021-02-21 19:38:53 +01:00
Pawel Śmiech
c110acc0ac Polish translation updated
Signed-off-by: Pawel Śmiech <pawel@localhost.localdomain>
2021-02-21 13:46:41 +01:00
Laurent Trinques
3467c09c1e Change displayedVersion = "0.90-DEV" 2021-02-21 11:00:42 +01:00
Laurent Trinques
664537c178 Change displayedVersion 2021-02-21 10:15:38 +01:00
joshua
5f908fcd88 ElementCollectionWidgetWidget : Set search start when text to search have at least 3 letters.
The goal is to avoid gui freeze when search for 1 or 2 letters (in this
case qet search for every item and take a lot of time).
2021-02-21 09:44:38 +01:00
Laurent Trinques
ef58f34c14 Update Copyright date 2021-02-20 12:13:46 +01:00
artgg7300
34eb14a97e translated hungarian element names 2021-02-15 20:26:47 +01:00
joshua
30858f9a4d Minor fix :
Combobox "information of element" don't display the real information set
to the dynamic text field
2021-02-15 18:53:22 +01:00
Lars Biskupek
108513ef97 Update German Language file qet_de 2021-02-15 12:14:47 +01:00
Simon De Backer
81e6f217b4 Fix Cmake will not build
missing files in Cmake
From: 0c4f87bd76
2021-02-14 06:52:05 +01:00
joshua
c592b7a7fd Fix crash
When use the function "invert selection" qet crash when a selected
conductor is being deselected.
2021-02-09 21:05:32 +01:00
Laurent Trinques
e3fab9508f Update pl translation, thanks Pawel 2021-02-08 05:45:18 +01:00
joshua
c13af5ace0 Clean some include 2021-02-07 20:44:17 +01:00
joshua
0c4f87bd76 Replace AddItemCommand class by AddGraphicsObjectCommand
The class is the same except the name and the use of QPointer to avoid
segfault with deleted QGraphicsObject.
2021-02-07 16:20:55 +01:00
joshua
ac23010559 Fix crash 2021-02-07 13:25:21 +01:00
joshua
b335a4af4f Fix bug 225
https://qelectrotech.org/bugtracker/view.php?id=225
2021-02-06 19:41:22 +01:00
joshua
2513961cd6 Revert "Update Copyright date"
This reverts commit d04bccc384.
2021-02-06 19:00:48 +01:00
Laurent Trinques
d04bccc384 Update Copyright date 2021-02-06 18:33:42 +01:00
Ole Carlsen
47ea5a3da9 Updated Danish Translation 2021-02-01 20:43:18 +01:00
joshua
e1b98ce5b5 Revert "QetElementEditor : rewrite gui with ui file"
This reverts commit e3db2bc898.
2021-02-01 19:52:15 +01:00
pavelfric
70947ac5b9 Updated Czech translations of elements. 2021-02-01 18:35:26 +01:00
pavelfric
b58898b6c8 Updated Czech translations of elements. 2021-02-01 18:10:47 +01:00
plc-user
6da28a1845 added MDT-elements (by a.funke) and some cleanup of elements 2021-02-01 02:51:35 +01:00
Lars Biskupek
4ade6f3227 MantisBT Issue #219 solved
Translation for "Formater en tant que liste de materiel" added.
2021-01-31 14:42:59 +01:00
Lars Biskupek
507841208d Updated German language file qet_de.qm 2021-01-31 07:53:15 +01:00
dlee99
762a9e3718 modified: lang/qet_nl.qm
modified:   lang/qet_nl.ts
2021-01-31 00:25:56 +01:00
joshua
b1a7f2e26c Minor : Text of folio report is now set as "label" 2021-01-30 19:44:18 +01:00
joshua
e3db2bc898 QetElementEditor : rewrite gui with ui file 2021-01-30 19:34:21 +01:00
artgg7300
85fa9245a4 translated hungarian element names 2021-01-30 18:33:13 +01:00
artgg7300
4df313cbeb translated hungarian lang files 2021-01-30 16:49:50 +01:00
Laurent Trinques
f62feaef94 Update *ts files 2021-01-30 15:20:57 +01:00
Laurent Trinques
ad340cf95a Minor 2021-01-30 15:16:43 +01:00
Laurent Trinques
692bf0ed72 Replace the flag of the Arab country 2021-01-30 15:05:56 +01:00
pavelfric
3aceb436be Updated Czech translations of elements. 2021-01-30 11:43:02 +01:00
pavelfric
330299e9df Updated Czech translations of elements. 2021-01-30 11:17:13 +01:00
Lars Biskupek
eefa4de8f8 Updated German translation qet_de.ts
Translation for 'Mongol' and 'Modifier les informations de plusieurs éléments' added.
2021-01-30 07:14:58 +01:00
pavelfric
1d28f29c07 Updated Czech translations of elements. 2021-01-29 20:15:31 +01:00
artgg7300
5abf93dd8d translated hungarian lang files 2021-01-29 19:48:49 +01:00
Laurent Trinques
07a6dd887e Update translations_stat.pl files 2021-01-29 18:27:18 +01:00
Laurent Trinques
4a63aca8cd Update translation en fr 2021-01-29 17:40:54 +01:00
Laurent Trinques
3c278bbbfb Update *ts files 2021-01-29 17:36:40 +01:00
Laurent Trinques
d333b6a188 Prepare to add new country Mongolian switch 2021-01-29 17:12:44 +01:00
Laurent Trinques
f235022c44 Update Mongolian translation, thanks Nathalie 2021-01-29 16:22:55 +01:00
artgg7300
750f60f571 Merge branch 'master' of ssh://git.tuxfamily.org/gitroot/qet/qet 2021-01-28 20:10:21 +01:00
artgg7300
1558d0c00a translated hungarian element names 2021-01-28 20:07:22 +01:00
joshua
aa66eabe7c Fix bug 221
https://qelectrotech.org/bugtracker/view.php?id=221
2021-01-28 19:25:42 +01:00
joshua
20cd0366eb Update typo 2021-01-28 19:14:26 +01:00
pavelfric
ec63d7a1cb Updated Czech translations of elements. 2021-01-28 17:37:51 +01:00
plc-user
fdd617f9a5 added german translations for elements 2021-01-24 20:33:39 +01:00
plc-user
3e9c17030c added german translations for elements 2021-01-24 20:33:39 +01:00
artgg7300
8c07daaf8e translated hungarian element names 2021-01-24 07:31:06 +01:00
artgg7300
3cf178d056 translated hungarian element names 2021-01-24 06:58:26 +01:00
plc-user
842fa28390 corrected filenames and added german translations 2021-01-24 04:26:57 +01:00
plc-user
5041fa9ccc some german translations for elements 2021-01-24 04:26:57 +01:00
plc-user
2ce0205d94 some german translations in "qet_directory" 2021-01-24 04:26:57 +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
artgg7300
4c075ed551 Translated hungarian element names 2021-01-23 06:42:22 +01:00
artgg7300
51087551c9 little modif for elements directory 2021-01-22 06:01:05 +01:00
joshua
bb82a616de Minor fix : widget lose focus each time user tip
Each time a QUndoCommand is pushed to a QUndoStack, the current focused
widget lose focus.
So each time user change a value in a widget (for exemple a QSpinBox)
the widget lose focus and user will have to click again in the widget to
gain focus and continue to edit.
The workaround is to call the method focus of the current widget each
time we push a undo command
2021-01-21 19:35:38 +01:00
pavelfric
da1fda6b03 Updated Czech translations of elements. 2021-01-20 22:40:13 +01:00
pavelfric
7d9926ccfc Updated Czech translations of elements. 2021-01-20 22:37:11 +01:00
pavelfric
dd4c016b46 Updated Czech translations of elements. 2021-01-20 22:25:53 +01:00
plc-user
c954f204ac some bugfixing and some new elements 2021-01-19 16:12:46 +01:00
artgg7300
743557b604 translated hungarian files little mod 2021-01-18 21:00:02 +01:00
pavelfric
4fc7c1abd9 Updated Czech translations of elements. 2021-01-18 19:38:02 +01:00
plc-user
48fa67fc3d renamed element-directories 2021-01-18 05:33:35 +01:00
artgg7300
7fe26b5d1c translated hungarian element names 2021-01-17 19:33:39 +01:00
pavelfric
f726397038 Updated Czech translations of elements. 2021-01-17 18:06:28 +01:00
pavelfric
c78685e95f Updated Czech translations of elements. 2021-01-17 18:01:21 +01:00
pavelfric
ef5b17be6e Updated Czech translations of elements. 2021-01-17 09:32:54 +01:00
pavelfric
47d5862ab0 Updated Czech translations of elements. 2021-01-17 08:57:18 +01:00
pavelfric
30b733febe Updated Czech translations of elements. 2021-01-16 23:37:21 +01:00
pavelfric
61d7eb966c Merge branch 'master' of ssh://git.tuxfamily.org/gitroot/qet/qet 2021-01-16 22:17:35 +01:00
pavelfric
838003a25c Updated Czech translations of elements. 2021-01-16 22:16:51 +01:00
gleissonjoaquim3
753de5445b Added PT_BR translations of qet_directory 2021-01-16 21:57:22 +01:00
pavelfric
37fed57470 Updated Czech translations of elements. 2021-01-16 10:29:05 +01:00
pavelfric
bc2e91a271 Updated Czech translations of elements. 2021-01-16 10:16:26 +01:00
pavelfric
46b262243f Updated Czech translations of elements. 2021-01-15 18:57:08 +01:00
pavelfric
9281230ed7 Updated Czech translations of elements. 2021-01-15 18:45:19 +01:00
artgg7300
8111508090 translated hungarian element names 2021-01-14 20:40:34 +01:00
artgg7300
0deb58a3ff translated hungarian element names 2021-01-14 18:01:16 +01:00
pavelfric
4c356cd67a Updated Czech translations of elements. 2021-01-14 10:03:26 +01:00
pavelfric
c6af279b36 Updated Czech translations of group name. 2021-01-13 21:55:56 +01:00
pavelfric
e0353d0657 Update of Czech translation.Merge branch 'master' of ssh://git.tuxfamily.org/gitroot/qet/qet 2021-01-13 21:33:55 +01:00
pavelfric
6fcb0fec08 Updated Czech translations of elements. 2021-01-13 21:25:24 +01:00
artgg7300
3c26b1dfdb updated hungarian element names 2021-01-13 20:36:44 +01:00
pavelfric
d783ec66f5 Updated Czech translations of elements. 2021-01-13 20:11:20 +01:00
artgg7300
02b51ee4fa second attempt to commit translated hungarian element names 2021-01-13 06:10:39 +01:00
pavelfric
cf4d0dd2eb Updated Czech translations of elements. 2021-01-12 19:23:21 +01:00
Laurent Trinques
e8c2c29617 Revert "translated element names on hungarian lang"
This reverts commit 5f7f00f7ae.
2021-01-12 10:31:14 +01:00
artgg7300
ee7004a7d1 Merge branch 'master' of ssh://git.tuxfamily.org/gitroot/qet/qet 2021-01-11 21:45:34 +01:00
pavelfric
2c046975f3 Updated Czech translations of elements. 2021-01-11 21:39:27 +01:00
artgg7300
5f7f00f7ae translated element names on hungarian lang 2021-01-11 21:37:38 +01:00
pavelfric
577a7564dc Updated Czech translations of elements. 2021-01-10 20:21:45 +01:00
pavelfric
f54cd3ef7f Updated Czech translations of elements. 2021-01-10 18:24:57 +01:00
pavelfric
d7fdf188bf Updated Czech translations of elements. 2021-01-10 14:28:45 +01:00
Laurent Trinques
147137b24b Add new symbols, thanks gabor 2021-01-10 11:36:58 +01:00
joshua
4f455a5328 General configuration page : set 'appearance' as default tab 2021-01-08 18:26:55 +01:00
gleissonjoaquim3
a0b5feba08 Minor fixes in PT_BR translation 2021-01-08 05:55:34 +01:00
pavelfric
8c729b4732 Updated Czech translations of elements. 2021-01-07 21:29:20 +01:00
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
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
Lars Biskupek
ebe22f1131 Update qet_de.ts
Translation string for "Tension / Protocole" set from unfinished to translated.
2020-12-05 03:56:55 +01:00
Lars Biskupek
f3888be8a6 Updated somne elements I created earlier 2020-12-05 03:56:55 +01:00
Simon De Backer
53aaa03967 fix QT DEPRECATED VERSION 5.15.2 and QT6
-QPrinter
2020-12-04 22:46:11 +01:00
Claveau Joshua
b22741732b Minor fix : folio-report information 'tension_protocol' isn't displayed
When a folio report have a text item witch must display the information
'tension protocol' the text is empty.
Replace the string 'tension/protocol' by 'tension_protocol' in
QETInformation namespace.
Move the static QStrings of the namespace QETInformation from
qetinformation.cpp to qetinformation.h to be use everywhere in the code.
2020-12-04 21:07:42 +01:00
Simon De Backer
77e6248ac9 fix QT DEPRECATED VERSION 5.15.2 and QT6
-QPrinter
2020-12-04 18:15:37 +01:00
Simon De Backer
ccd76f902d fix QT DEPRECATED VERSION 5.15.2
-Qt::MidButton
2020-12-04 18:13:48 +01:00
Lars Biskupek
945b690430 Update of German Language File 2020-12-03 18:02:15 +01:00
Claveau Joshua
0f86685ebe Remove duplicated elements 2020-12-02 20:04:01 +01:00
Claveau Joshua
862f311f5a Remove duplicated elements 2020-12-02 19:07:58 +01:00
Claveau Joshua
abc6b35d4c Remove duplicated elements 2020-12-02 18:57:08 +01:00
Claveau Joshua
ada563719b Minor fix 2020-12-02 18:47:28 +01:00
Laurent Trinques
ed455609d5 Add new symbols, thanks Mario 2020-12-02 14:27:27 +01:00
Laurent Trinques
2f004c271f Update displayed version to release candidate 2020-12-01 15:45:48 +01:00
gleissonjoaquim3
bafe7a39db Fixed spelling error on Translation PT_BR 2020-12-01 07:44:47 +01:00
gleissonjoaquim3
0b1e012a32 Updated translation PT_BR 2020-12-01 07:44:47 +01:00
Claveau Joshua
e0a03e7353 Remove duplicated elements 2020-11-29 12:49:04 +01:00
Claveau Joshua
68215d099c Remove duplicated elements 2020-11-29 12:37:56 +01:00
Claveau Joshua
3b472591b6 Remove duplicated elements 2020-11-29 11:59:20 +01:00
Claveau Joshua
d3cb7ef08c Remove duplicated elements 2020-11-29 11:51:16 +01:00
Claveau Joshua
049848737b Remove duplicated elements 2020-11-29 11:44:02 +01:00
Claveau Joshua
d3348e25be Remove duplicated elements 2020-11-29 11:06:06 +01:00
Claveau Joshua
764cdfea53 Remove duplicated elements 2020-11-29 11:00:04 +01:00
Claveau Joshua
b149e3e6ca Remove duplicated element 2020-11-29 10:55:36 +01:00
Claveau Joshua
7313cdfa9e Remove duplicated elements (hager)
All elements are duplicated and standardised
2020-11-29 10:47:58 +01:00
Claveau Joshua
fd92c1ce92 Remove duplicated elements. 2020-11-28 17:20:33 +01:00
Ole Carlsen
0ac96eecfc Danish update color scheme 2020-11-22 14:29:20 +01:00
Lars Biskupek
d02b88488a German translation updated
Two new strings in qet_de.ts translated.
qet_de.qm generated.
2020-11-22 13:39:49 +01:00
Ole Carlsen
87956d8d42 Merge branch 'master' of ssh://git.tuxfamily.org/gitroot/qet/qet 2020-11-22 12:22:52 +01:00
Ole Carlsen
ab1027eb5d Danish translation 2020-11-22 12:20:58 +01:00
Claveau Joshua
aa858ba32d project database : minor 2020-11-22 12:16:17 +01:00
Claveau Joshua
a303a38d0d ProjectDatabase improvement
Use transaction / commit when several elements was changed instead of
update one by one each element.
2020-11-22 11:31:43 +01:00
artgg7300
51bae7cdf1 translated hungarian files 2020-11-22 07:58:18 +01:00
dlee99
05dad2c8d8 modified: lang/qet_nl.qm
modified:   lang/qet_nl.ts
2020-11-21 20:08:57 +01:00
Laurent Trinques
b457b98b22 Update *TS file 2020-11-21 11:35:08 +01:00
Claveau Joshua
8fec6dabef Dynamic element text item new feature
Add feature keep visual rotation.
When parent is rotated, the text rotation is changed to keep the same
visual rotation.
2020-11-20 20:52:19 +01:00
plc-user
f7e12e5e87 modified / added german translations and added some Elements 2020-11-20 14:56:00 +01:00
plc-user
689799ea24 modified / added german translations and added some Elements 2020-11-20 14:56:00 +01:00
Claveau Joshua
380de0b4c3 Search and replace widget : minor improvement
Fix 1 : when widget is reloaded the categories is not checked, but the
child items is. Now  all category is checked when reloaded.
Fix 2 : the folio number displayed in the widget is wrong (start at 0
instead of 1)
2020-11-17 22:25:01 +01:00
plc-user
3633123d17 changed/added some translations in qet_directory - files and elements 2020-11-17 21:43:10 +01:00
Lars Biskupek
66d45cc835 German language files updated
Translation of new items added
2020-11-17 21:41:31 +01:00
dlee99
56710ef25c modified: lang/qet_nl.qm
modified:   lang/qet_nl.ts
2020-11-17 21:19:15 +01:00
aitolos
77479dc949 Greek lang update 2020-11-17 17:43:34 +02:00
artgg7300
529c6a721a updated hungarian files 2020-11-17 05:32:27 +01:00
Laurent Trinques
fd3d2dfb90 Update *TS files 2020-11-16 21:59:28 +01:00
Lars Biskupek
d1aba1118b Update of language files DE, EN, IT
Update of german language file and some minor changes on the english language file.
Update of italian language to solve issue #0000193 on Bugtracker, issued by rpaolo538.
2020-11-16 10:10:27 +01:00
Simon De Backer
c4fe1fe3da Merge branch 'master' of ssh://debacker@git.tuxfamily.org/gitroot/qet/qet.git 2020-11-15 20:47:09 +01:00
Simon De Backer
c167015b22 Add Todo for qet_tb_generator 2020-11-15 20:46:37 +01:00
plc-user
48e597663e adjusting/correcting some item-numbers and adding some elements 2020-11-15 20:15:28 +01:00
plc-user
bd26e4bb9c adjusting/correcting some item-numbers and adding some elements 2020-11-15 20:15:28 +01:00
Simon De Backer
f7a445c0a7 Add Todo for DXF to GET-2020 2020-11-15 18:29:19 +01:00
Claveau Joshua
bb32c30004 Search and replace widget improvement
Add a popup menu to select the elements, conductors and texts of the
current selected diagram in the tree widget.
2020-11-15 17:19:42 +01:00
Claveau Joshua
79fa9c8ec5 improve qetinformation file 2020-11-15 12:19:37 +01:00
Claveau Joshua
a73d50d7d0 Fix wrong text 2020-11-15 11:49:24 +01:00
Claveau Joshua
af7d1df5ab Replace function by another one.
Replace function QETApp::elementInfoKeys() and
QETApp::elementInfoToVar(const QString &info) by function provided by
QETInformation.
2020-11-14 19:09:40 +01:00
Simon De Backer
c87fe8df2f Merge branch 'dev_submodule'
this sets the stage for submodules
submodules are not used at this time
2020-11-13 18:59:36 +01:00
Simon De Backer
f613f7fcdc Mod git pull
this works for git pull since Git 2.15
2020-11-13 18:51:30 +01:00
Laurent Trinques
20911f215b Update de translations, thanks Lars 2020-11-13 08:30:27 +01:00
Laurent Trinques
b557aa0e98 Add and refresh Wago WAGO_Kontakttechnik directory, thanks Plc-user 2020-11-12 19:06:22 +01:00
Laurent Trinques
6b89349240 Minor: move lt4301tadac.elmt to pro-face directory 2020-11-12 13:29:04 +01:00
Laurent Trinques
6b54e45e3a Add Pro face element, thanks Fury 2020-11-12 09:33:13 +01:00
Laurent Trinques
fec3c70739 Add new Legrand Optimum & Netatmo element, thanks Arnaud 2020-11-11 10:12:14 +01:00
Ole Carlsen
a028724773 Danish update 2020-11-09 20:51:43 +01:00
Claveau Joshua
49b2e4ad0a Replace function by another one
Replace QETApp::diagramInfoKeys() by QETInformation::diagramInfoKeys()
and QETApp::diagramTranslatedInfoKey(str) by
QETInformation::translatedInfoKey(str)
2020-11-08 20:23:16 +01:00
Claveau Joshua
81efc5181b Minor replace function by another one
Replace QETApp::conductorInfoKeys() and
QETApp::conductorTranslatedInfoKey(const QString &key) by
QETInformation::conductorInfoKeys() and
QETInformation::translatedInfoKey
2020-11-08 19:44:21 +01:00
Claveau Joshua
6f60156e00 Change function QETApp::elementTranslatedInfoKey
Use the function QETInformation::translatedInfoKey(const QString &info)
instead of QETApp::elementTranslatedInfoKey(const QString &info).

The final goal is to remove all information from the QETApp and use
instea QETInformation who is dedicated to this
2020-11-08 19:16:02 +01:00
Claveau Joshua
7882c5734a Minor : fix little regression about folio report and displayed information 2020-11-08 19:05:11 +01:00
Simon De Backer
0bfbc37bc9 Add git submodule instruction 2020-11-07 22:38:28 +01:00
Simon De Backer
e3b98001f3 Fix indentation restored 2020-11-07 22:19:54 +01:00
Simon De Backer
d1c969b723 Purge old comment 2020-11-07 22:18:53 +01:00
Simon De Backer
acf9c17969 Add packaging script's
info of packaging_script Debian, Ubuntu, Windows
https://qelectrotech.org/wiki_new/doc/packaging_debian#packaging_script_debian_ubuntu_windows

Laurent,
can you check the scripts if they work now,
I'll then change them to scripts that can handle git Submodules
2020-11-07 18:38:35 +01:00
artgg7300
862dbede24 updated hungarian files 2020-11-07 09:56:33 +01:00
dlee99
be3421f8c9 modified: lang/qet_nl.qm
modified:   lang/qet_nl.ts
2020-11-06 20:08:46 +01:00
Laurent Trinques
4ad4e75132 Update TS files and update it translation, thanks Marco 2020-11-06 08:01:14 +01:00
pavelfric
d2c4bf4ec7 Updated Czech translation. 2020-11-02 22:05:38 +01:00
pavelfric
a97ee8ddba Merge branch 'master' of ssh://git.tuxfamily.org/gitroot/qet/qet 2020-11-02 22:04:40 +01:00
Claveau Joshua
ca0dcc9b7b Fix crash 2020-11-02 19:31:52 +01:00
Claveau Joshua
62333506f1 Improve update of the project database 2020-11-02 19:13:56 +01:00
Ole Carlsen
98de247a4d Minor danish translation update 2020-11-02 18:47:53 +01:00
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
pavelfric
239a7daf7f Updated Czech translation. 2020-11-01 15:20:39 +01:00
pavelfric
f73f71c0aa Merge branch 'master' of ssh://git.tuxfamily.org/gitroot/qet/qet 2020-11-01 15:16:13 +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
pavelfric
2afac1e56d Updated Czech translation. 2020-10-31 22:20:13 +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
Martin Marmsoler
b32a295b0c fix issue when creating xml document 2020-10-20 12:01:55 +02:00
Martin Marmsoler
6251862f7a default color was wrong 2020-10-20 08:54:56 +02:00
Martin Marmsoler
793770a72a initialize TerminalData with nullpoint to not having an invalid value 2020-10-20 08:54:56 +02:00
Martin Marmsoler
aba16dc936 remove not needed variable 2020-10-20 08:54:56 +02:00
Martin Marmsoler
e5b8ba7e22 fix problems in partrectangle 2020-10-20 08:54:56 +02:00
Simon De Backer
dad32d5897 Add destructor to Machine_info class to fix segfault 2020-10-20 08:54:56 +02:00
Martin Marmsoler
9658a88c18 fix compile issues 2020-10-20 08:54:56 +02: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
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
Claveau Joshua
44e945489a project print window : minor gui improvement 2020-10-10 12:12:50 +02:00
Claveau Joshua
b45c6b453e Minor fix : QetGraphicsTableItem keep his size when model is reseted or when open from xml. 2020-10-10 11:18:21 +02:00
Claveau Joshua
5d47ecd8f6 Fix : can't open print dialog on windows 2020-10-09 19:25:41 +02:00
Remi Collet
639ccb25e2 use pkgconfig for sqlite3 2020-10-09 08:37:27 +02:00
Simon De Backer
746c5a81e3 Merge branch 'master' of ssh://debacker@git.tuxfamily.org/gitroot/qet/qet.git into master 2020-10-08 16:17:15 +02:00
Simon De Backer
4e44b4bcd4 QT6: Fix : dragging view don't work 2020-10-08 16:16:59 +02:00
dlee99
04125dcc55 modified: lang/qet_nl.qm
modified:   lang/qet_nl.ts
2020-10-06 23:32:40 +02:00
artgg7300
d6f08696bc translated hungarian files 2020-10-06 06:19:03 +02:00
Claveau Joshua
9193e1c39b Fix : dragging view don't work 2020-10-04 16:03:09 +02:00
David Varley
941aaf7087 Fix build for Qt < 5.10 2020-10-04 20:51:07 +11:00
Simon De Backer
f5d2fc3916 Merge branch 'QT6' into master
initial release to Qt6

TODO:
 -remove KCoreAddons
 -remove KWidgetsAddons

* QT6: (24 commits)
  QT6: No Qt::AA_EnableHighDpiScaling in QT6
  QT6: TeDo mod QList for DeleteQGraphicsItemCommand
  QT6: Todo Fix QtConcurrent (remove KCoreAddons?)
  QT6: Todo QVariant::setValue
  QT6: std::min needs further tweaking
  QPrinting class needs further tweaking
  QT6: QStyleOptionGraphicsItem
  Add QActionGroup
  QT6: QStyleOptionGraphicsItem
  QT6: QLibraryInfo
  Totest QRegularExpression ok?
  QT6: QStyleOptionGraphicsItem
  QT6: QMouseEvent
  QT6: QDropEvent
  QT6: Fix deprecated QRegExp
  QT6: hooks added
  QT6: Mod unused function put in comments
  Add missing include QActionGroup
  QT6: set C++17
  QT6: diagramitemweight set val to Font::Weight
  ...
2020-10-03 16:18:03 +02:00
Simon De Backer
9f3c173b9f QT6: No Qt::AA_EnableHighDpiScaling in QT6 2020-10-03 16:08:55 +02:00
Simon De Backer
9a915c2ad0 QT6: TeDo mod QList for DeleteQGraphicsItemCommand 2020-10-03 16:07:55 +02:00
Simon De Backer
694cbfb1b7 QT6: Todo Fix QtConcurrent (remove KCoreAddons?) 2020-10-03 16:04:54 +02:00
Simon De Backer
f69e3a3fa7 QT6: Todo QVariant::setValue 2020-10-03 16:02:35 +02:00
Simon De Backer
8a5ba90d01 QT6: std::min needs further tweaking 2020-10-03 16:00:24 +02:00
Simon De Backer
32605e1377 QPrinting class needs further tweaking 2020-10-03 15:58:09 +02:00
Simon De Backer
0ab1b322d6 QT6: QStyleOptionGraphicsItem 2020-10-03 15:56:11 +02:00
Simon De Backer
a7920ea5fc Add QActionGroup 2020-10-03 15:54:38 +02:00
Simon De Backer
937a6d740b QT6: QStyleOptionGraphicsItem 2020-10-03 15:54:02 +02:00
Simon De Backer
a0b95ee944 QT6: QLibraryInfo 2020-10-03 15:51:53 +02:00
Simon De Backer
ad0df66ab1 Totest QRegularExpression ok? 2020-10-03 15:51:09 +02:00
Simon De Backer
c1e93fc442 QT6: QStyleOptionGraphicsItem 2020-10-03 15:48:40 +02:00
Simon De Backer
2e2a652343 QT6: QMouseEvent 2020-10-03 15:45:43 +02:00
Simon De Backer
074e2c8b2d QT6: QDropEvent 2020-10-03 15:42:58 +02:00
Simon De Backer
9034d8d791 QT6: Fix deprecated QRegExp 2020-10-03 15:40:32 +02:00
Simon De Backer
0b5091b606 QT6: hooks added 2020-10-03 12:04:35 +02:00
Simon De Backer
b339dc2812 QT6: Mod unused function put in comments 2020-10-03 12:03:44 +02:00
Simon De Backer
ce11610d1d Add missing include QActionGroup 2020-10-03 11:57:55 +02:00
Simon De Backer
10cc3cdbb7 QT6: set C++17 2020-10-03 11:57:55 +02:00
Simon De Backer
184560cc5d QT6: diagramitemweight set val to Font::Weight 2020-10-03 11:57:55 +02:00
Simon De Backer
0e10b4adfa QT6: QTextStream::setCodec use QTextStream::setEncoding 2020-10-03 11:57:54 +02:00
Simon De Backer
caac531de1 QT6: Mod QLibraryInfo::location use QLibraryInfo::path 2020-10-03 11:57:54 +02:00
Simon De Backer
bc0cb6b1b3 QT6: Mod Qt::MidButton Use Qt::MiddleButton 2020-10-03 11:57:54 +02:00
Simon De Backer
4f929ef3c9 QT6: Use the QByteArrayView overload. 2020-10-03 11:57:54 +02:00
Laurent Trinques
3b71cb7dfe Revert "macOS : disable project database export"
This reverts commit fbe1c05c7d.
2020-10-03 07:06:05 +02:00
Laurent Trinques
fbe1c05c7d macOS : disable project database export 2020-10-03 06:39:33 +02:00
Claveau Joshua
6437bf212a Add macro to disable/enable project database export 2020-10-02 20:09:03 +02:00
Claveau Joshua
aa9266ab64 Minor : use Diagram::showMe() method instead of emit several signal to do the same thing 2020-10-02 19:41:17 +02:00
Claveau Joshua
8507040aa2 Improve how element editor is opened to edit an element in a diagram.
Before this commit :
ElementPropertiesWidget emit a signal of Diagram to edit an element, and
the signal goes up from Diagram -> DiagramView -> ProjectView ->
QetDiagramEditor and QetDiagramEditor call a static function.
Now :
ElementPropertiesWidget call the static function itself and that all.
All unnecessary signals are removed.
2020-10-02 19:28:52 +02:00
Claveau Joshua
e263264752 Minor : revamp code about shortcut for edit conductor color 2020-10-02 18:57:11 +02:00
Claveau Joshua
7038e6f796 Clean diagram view code 2020-10-02 18:38:24 +02:00
Claveau Joshua
e0201a8027 Remove old Backward compatibility: prior to version 0.3 2020-10-02 17:39:07 +02:00
Ole Carlsen
cbdbdd0ec6 Updated Danish translation 2020-10-02 16:37:17 +02:00
Claveau Joshua
9dda3e5997 Fix fail to build on windows 2020-10-01 19:29:09 +02:00
Laurent Trinques
94e29ef749 Fix installation-paths 2020-10-01 08:10:50 +02:00
Claveau Joshua
add11e7c7a Print preview dialog : Add selection by date.
Add two news option for select diagrams to print :
select "from the date :" and select "at the date".
2020-09-30 21:29:17 +02:00
Laurent Trinques
930bb70f99 Update *TS files 2020-09-30 13:14:13 +02:00
Laurent Trinques
78ecc53b89 Minor 2020-09-30 13:09:56 +02:00
Laurent Trinques
6eec588eb9 Fix typo 2020-09-30 13:04:45 +02:00
Laurent Trinques
1e0ca043e7 Fix typo in comments 2020-09-30 12:58:14 +02:00
Laurent Trinques
191eabd0a2 Flatak build: Fix the installation paths 2020-09-30 06:07:03 +02:00
Claveau Joshua
18f536d801 Revamp the print preview window 2020-09-29 22:54:09 +02:00
Ole Carlsen
7f698bd826 Danish translation updated 2020-09-28 20:33:39 +02:00
Maximilian Federle
0907830d67 snap: Fix whitespace in snapcraft.yaml 2020-09-27 12:44:08 +02:00
Laurent Trinques
35fb45c280 Flatpak refresh 0001-build-Fix-the-installation-paths.patch 2020-09-26 22:54:51 +02:00
Laurent Trinques
ea5ba0ecc8 DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 for Snap package
see :
https://snapcraft.io/qelectrotech/builds/1126332
2020-09-26 22:19:40 +02:00
Simon De Backer
f77255c762 Add position mouse cursor in DiagramView 2020-09-25 22:06:11 +02:00
Simon De Backer
546433cac2 WIP: Add Kabel to qet 2020-09-24 22:39:48 +02:00
Simon De Backer
30b8205f82 Mod some qWarning add QObject::tr 2020-09-24 22:39:11 +02:00
Simon De Backer
3b9ba6a261 WIP: Add Kabel to qet 2020-09-24 18:53:00 +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
Laurent Trinques
65ba816859 Try to fix Snap package with sqite3 new depend 2020-09-24 12:19:30 +02:00
Simon De Backer
bfd487effe Fix QRegularExpression pattern 2020-09-23 23:11:33 +02:00
Simon De Backer
d9f38f8a5d Fix QRegularExpression
-add isValid
-add debug
2020-09-23 22:50:41 +02:00
Simon De Backer
2fe53ba6e8 Fix QRegularExpression
-add isValid
-add debug
2020-09-23 22:19:13 +02:00
Simon De Backer
b5ae1237e3 Fix QRegularExpression
-add isValid
-add debug
2020-09-23 21:36:48 +02:00
Simon De Backer
e0c8dd9585 Fix Revert deprecated QRegExp
Use QRegularExpression instead.

https://doc.qt.io/qt-5/qregularexpression.html#notes-for-qregexp-users
This function was introduced in Qt 5

see https://qelectrotech.org/forum/viewtopic.php?pid=13406#p13406
2020-09-23 19:03:13 +02:00
artgg7300
86f7f98031 Merge branch 'master' of ssh://git.tuxfamily.org/gitroot/qet/qet 2020-09-23 17:53:01 +02:00
artgg7300
c829a9eb2d updated hungarian files 2020-09-23 17:39:39 +02:00
Laurent Trinques
1cf48f62e9 Fix commit "Change the way how the database is exported to file" :
produce a fail to build on OSX
2020-09-23 11:25:46 +02:00
David Varley
6a47fcddc9 Merge branch 'dxf' 2020-09-23 07:50:42 +10:00
Simon De Backer
77321f6b70 Revert "Fix deprecated QRegExp"
This reverts commit 0a46b83dca.
see https://qelectrotech.org/forum/viewtopic.php?pid=13378#p13378
2020-09-22 21:12:10 +02:00
David Varley
45137987ab DXF - remove a couple of debug messages 2020-09-22 19:47:02 +10:00
David Varley
2d6bef71ae DXF - Add some color 2020-09-22 19:41:47 +10:00
David Varley
bcc5846662 DXF - Cleaning up scaling 2020-09-22 12:16:32 +10: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
c958d54d01 Fix Qt 6 deprecated QDockWidget::AllDockWidgetFeatures
(Deprecated) The dock widget can be closed, moved, and floated.
Since new features might be added in future releases,
the look and behavior of dock widgets might change if you use this flag.
Please specify individual flags instead.
2020-09-21 21:16:05 +02:00
Simon De Backer
a917399950 Fix Qt 6 deprecated QComboBox::AdjustToMinimumContentsLength
Use
- QComboBox::AdjustToContents
- QComboBox::AdjustToContentsOnFirstShow
instead.
2020-09-21 20:42:40 +02:00
Simon De Backer
f671a63366 Fix Qt 6 deprecated QVBoxLayout::setMargin
Use QVBoxLayout::setContentsMargins instead.
2020-09-21 20:37:10 +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
Laurent Trinques
f21cdb4040 Update de translation, thanks Lars 2020-09-21 07:11:42 +02:00
Claveau Joshua
89f9f47174 Remove unused code 2020-09-20 11:40:18 +02:00
Simon De Backer
24d4885093 Fix deprecated QRegExp
Use QRegularExpression instead.

https://doc.qt.io/qt-5/qregularexpression.html#notes-for-qregexp-users

This function was introduced in Qt 5
2020-09-19 01:13:18 +02:00
Simon De Backer
b7c8ae88e2 Fix code style 2020-09-19 01:13:13 +02:00
Simon De Backer
176dcd376b Fix deprecated QRegExp
Use QRegularExpression instead.

https://doc.qt.io/qt-5/qregularexpression.html#notes-for-qregexp-users

This function was introduced in Qt 5
2020-09-19 01:13:09 +02:00
Simon De Backer
813014ec33 Fix deprecated QRegExp
Use QRegularExpression instead.

https://doc.qt.io/qt-5/qregularexpression.html#notes-for-qregexp-users

This function was introduced in Qt 5
2020-09-19 01:13:01 +02:00
Simon De Backer
4c54335301 Fix deprecated QRegExp
Use QRegularExpression instead.

https://doc.qt.io/qt-5/qregularexpression.html#notes-for-qregexp-users

This function was introduced in Qt 5
2020-09-19 01:12:54 +02:00
Simon De Backer
3eca82baad Fix deprecated QRegExp
Use QRegularExpression instead.

https://doc.qt.io/qt-5/qregularexpression.html#notes-for-qregexp-users

This function was introduced in Qt 5
2020-09-19 01:12:46 +02:00
Simon De Backer
93055c6a96 Fix deprecated QRegExp
Use QRegularExpression instead.

https://doc.qt.io/qt-5/qregularexpression.html#notes-for-qregexp-users

This function was introduced in Qt 5
2020-09-19 01:12:38 +02:00
Simon De Backer
7fb4033ece Fix deprecated QRegExp
Use QRegularExpression instead.

https://doc.qt.io/qt-5/qregularexpression.html#notes-for-qregexp-users

This function was introduced in Qt 5
2020-09-19 01:12:29 +02:00
Simon De Backer
0b3238aac0 Fix deprecated QRegExp
Use QRegularExpression instead.

https://doc.qt.io/qt-5/qregularexpression.html#notes-for-qregexp-users

This function was introduced in Qt 5
2020-09-19 01:12:20 +02:00
Simon De Backer
859f6dd06d Fix deprecated QRegExp
Use QRegularExpression instead.

https://doc.qt.io/qt-5/qregularexpression.html#notes-for-qregexp-users

This function was introduced in Qt 5
2020-09-19 01:12:13 +02:00
Simon De Backer
432e80cecb Fix deprecated QRegExp
Use QRegularExpression instead.

https://doc.qt.io/qt-5/qregularexpression.html#notes-for-qregexp-users

This function was introduced in Qt 5
2020-09-19 01:12:05 +02:00
Simon De Backer
46e96f0a67 Fix deprecated QRegExp
Use QRegularExpression instead.

https://doc.qt.io/qt-5/qregularexpression.html#notes-for-qregexp-users

This function was introduced in Qt 5
2020-09-19 01:11:54 +02:00
Simon De Backer
0ee8f4187b Fix deprecated QRegExp
Use QRegularExpression instead.

https://doc.qt.io/qt-5/qregularexpression.html#notes-for-qregexp-users

This function was introduced in Qt 5
2020-09-19 01:11:46 +02:00
Simon De Backer
402d2fbf4a Fix deprecated QRegExp
Use QRegularExpression instead.

https://doc.qt.io/qt-5/qregularexpression.html#notes-for-qregexp-users

This function was introduced in Qt 5
2020-09-19 01:11:37 +02:00
Simon De Backer
271fd096e2 Fix deprecated QRegExp
Use QRegularExpression instead.

https://doc.qt.io/qt-5/qregularexpression.html#notes-for-qregexp-users

This function was introduced in Qt 5
2020-09-19 01:11:28 +02:00
Simon De Backer
c5be1a98ba Fix deprecated QRegExp
Use QRegularExpression instead.

https://doc.qt.io/qt-5/qregularexpression.html#notes-for-qregexp-users

This function was introduced in Qt 5
2020-09-19 01:11:17 +02:00
Simon De Backer
0a46b83dca Fix deprecated QRegExp
Use QRegularExpression instead.

https://doc.qt.io/qt-5/qregularexpression.html#notes-for-qregexp-users

This function was introduced in Qt 5
2020-09-19 01:11:08 +02:00
Simon De Backer
c7f138a0e3 Fix deprecated QRegExp
Use QRegularExpression instead.

https://doc.qt.io/qt-5/qregularexpression.html#notes-for-qregexp-users

This function was introduced in Qt 5
2020-09-19 01:10:54 +02:00
Claveau Joshua
215ddbd878 Minor : minimize code 2020-09-18 11:48:11 +02:00
David Varley
4d7ece07ab DXF - Simplifying, WIP 2020-09-17 21:45:14 +10:00
Claveau Joshua
139241e773 Change the way how the database is exported to file
The export of internal database to file is now do by sqlite3 native
function instead of a dirty home made function.
For the moment, the export to file function is unavailable on macOSX (we
need some help to add sqlite3 lib on macOSX)
2020-09-16 21:28:47 +02:00
David Varley
07df62e362 DXF - Fix single shape rectangle scaling 2020-09-14 12:29:36 +10:00
David Varley
a68386c028 Merge branch 'cborn' of https://github.com/C-Born-Software/qelectrotech-source-mirror into cborn 2020-09-14 11:45:52 +10:00
Claveau Joshua
8e82dee8f0 Minor 2020-09-13 15:39:20 +02:00
Claveau Joshua
529027a350 Fix bug N°201: Line changes in the drawing area are not reflexted in the information area 2020-09-13 15:11:45 +02:00
Claveau Joshua
726b300999 Fix bug N°202 : Wrong bounding rect for primitive arc.
https://qelectrotech.org/bugtracker/view.php?id=202
2020-09-11 19:11:14 +02:00
Simon De Backer
989cd93a14 Remove old orientation for element Attribute in XML 2020-09-11 06:56:01 +02:00
David Varley
6b1d51bab8 DXF - Add Polylines, use for conductors and rectangles 2020-09-11 11:22:08 +10:00
David Varley
046d7c6b59 DXF - Add terminals to plot (optional) 2020-09-10 18:35:22 +10:00
David Varley
cd7f7eccec Merge branch 'master' of ssh://git.tuxfamily.org/gitroot/qet/qet 2020-09-10 00:18:39 +10:00
David Varley
45fb97f410 Start cborn branch - disable annoying startup warning 2020-09-10 00:16:03 +10:00
David Varley
d5d8181332 DXF - fine tune text item locations 2020-09-10 00:12:45 +10:00
Simon De Backer
0310cd2610 Revert "Add user warning on startup"
This reverts commit 87c957a062.
2020-09-08 17:53:37 +02:00
David Varley
713d467fe4 Merge branch 'master' of ssh://git.tuxfamily.org/gitroot/qet/qet 2020-09-08 22:10:31 +10:00
David Varley
cc8d0da0ac DXF - Fix conductor number positioning, add junction dots 2020-09-08 21:44:58 +10:00
dlee99
c0ced6dc56 Merge branch 'master' of ssh://git.tuxfamily.org/gitroot/qet/qet into master 2020-09-07 23:02:22 +02:00
dlee99
288c89daa7 modified: lang/qet_nl.qm
modified:   lang/qet_nl.ts
2020-09-07 23:00:49 +02:00
Simon De Backer
dce83f480c Add name to Terminal
now it is possible to enter the terminal name
2020-09-07 22:35:49 +02:00
Simon De Backer
5d92393ee7 Wrap code for better readability 2020-09-07 22:03:40 +02:00
Simon De Backer
8ee38fab9e Fix Coding convention
Please download and use
https://qelectrotech.org/wiki_new/_media/doc/qtcreator-qet-style.xml
when you write code in Qt
2020-09-07 21:41:45 +02:00
David Varley
babf3d2cf2 Merge branch 'master' of ssh://git.tuxfamily.org/gitroot/qet/qet 2020-09-07 22:14:07 +10:00
Laurent Trinques
82c8fb2d01 Update en fr translation 2020-09-07 10:51:56 +02:00
David Varley
68b4705630 Tidy up som comments 2020-09-07 16:27:59 +10:00
David Varley
d062175da7 Add tables to dxf export 2020-09-07 16:16:33 +10:00
Laurent Trinques
561209bc94 Update *TS files 2020-09-06 23:54:59 +02:00
Simon De Backer
87808df6c3 Moved message to QString 2020-09-05 20:09:08 +02:00
Simon De Backer
87c957a062 Add user warning on startup
notify the user of the use of dev software

ToDo: the text still needs to be adjusted
2020-09-05 00:27:24 +02:00
Simon De Backer
610a44c7cd Removed some Q_UNUSED 2020-09-04 23:19:59 +02:00
Simon De Backer
1bc2536c06 Add documentation 2020-09-04 21:13:10 +02:00
Simon De Backer
1528e1ebe2 Add build git commit sha in log file 2020-09-04 21:10:43 +02:00
David Varley
f8611c1b6e DXF Border Numbering - fix offset 2020-09-04 22:41:59 +10:00
David Varley
71d7f8bbe6 Fix some DXF issues 2020-09-04 16:06:06 +10:00
Ole Carlsen
ec464282f3 Updated Danish translation 2020-09-02 08:48:56 +02:00
Simon De Backer
81da7c6713 Fix dubbel // on log file dir 2020-08-31 22:26:03 +02:00
Simon De Backer
a4654dc6c2 remove old orientation for element Attribute in XML and code 2020-08-31 21:36:03 +02:00
Simon De Backer
504a061e71 Add loading time of collections inf to log 2020-08-31 21:22:26 +02:00
Simon De Backer
51c4b16836 Add log file's viewer in AboutQETDialog for user 2020-08-31 21:21:17 +02:00
Claveau Joshua
4a8e07b227 Fix csv export 2020-08-31 20:29:50 +02:00
sdeffaux
db4e8e3f5e add symbols 2020-08-30 19:00:31 +02:00
Laurent Trinques
6274f65455 AboutQETDialog : add Authors 2020-08-29 23:45:25 +02:00
Simon De Backer
00eb139f73 This property is obsolete. 2020-08-29 19:34:45 +02:00
Simon De Backer
62d370c99a Wrap code for better readability 2020-08-29 19:21:51 +02:00
Simon De Backer
cb0c0f8778 Fix Margin voor windows OS 2020-08-29 19:20:44 +02:00
Simon De Backer
f4550ab3b4 Wrap code for better readability 2020-08-28 18:32:24 +02:00
Simon De Backer
d8cbcf3b54 Restore add_new_diagram_button 2020-08-27 17:06:47 +02:00
Simon De Backer
63ad341b33 Fix add header file 2020-08-27 16:31:39 +02:00
Laurent Trinques
bd62f8768e ProjectView add arrows key for quickly navigate in projects
disable momentary "add diagram" button
2020-08-27 14:24:02 +02:00
Laurent Trinques
d9fde9a3e4 Doxyfile restore QCH 2020-08-26 11:01:58 +02:00
Laurent Trinques
f4c5087dc0 Restore opening of projects on the first folio 2020-08-26 02:38:25 +02:00
Laurent Trinques
0959330adf CSV export : Add "conductor_color & conductor_section" to
projectDataBase
2020-08-26 02:12:00 +02:00
Simon De Backer
4763eb92ec Update Doxyfile
bron See
https://qelectrotech.org/forum/viewtopic.php?pid=12901#p12901

run
doxygen Doxyfile
in project dir or met Qt
2020-08-25 21:12:47 +02:00
Simon De Backer
9e4af439ef Wrap code for better readability 2020-08-25 20:52:49 +02:00
Simon De Backer
dfadcb5523 Small change to TRANSLATIONS 2020-08-24 22:22:56 +02:00
Simon De Backer
995066916b Decreases the number of declaring variables
for improve readability
2020-08-24 22:10:58 +02:00
Simon De Backer
debca09d5c Translate documentation + Fix indentation 2020-08-24 22:02:22 +02:00
Simon De Backer
9dad8a5d01 Fix Bug Fill the combo box "element information" was not called
a typo it happens :)
See commit
216374d27c
2020-08-23 17:47:53 +02:00
artgg7300
347de4bcd3 updated hungarian files 2020-08-23 16:17:41 +02:00
Claveau Joshua
7960697b9e Remove unused class 2020-08-21 14:39:35 +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
4b4732a0a8 Fix doxygen issue 2020-08-20 22:35:25 +02:00
Simon De Backer
331918d143 Wrap code for better readability 2020-08-20 21:58:23 +02:00
Simon De Backer
0c00d83b27 Fix some doxygen issues 2020-08-20 21:57:35 +02:00
Laurent Trinques
8626ca5d1b Minor fix 2020-08-20 19:45:20 +02:00
Laurent Trinques
e05754da29 Machine_info : improve code 2020-08-20 19:34:07 +02:00
Laurent Trinques
b4f733a5e5 Machine_info : add Windows RAM Available 2020-08-20 18:09:37 +02:00
Simon De Backer
9352905335 Remove some code not in a class or in a function (Q_OS_WIN) 2020-08-20 17:50:29 +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
Laurent Trinques
f24f04084c Machine_info : add Windows RAM informations 2020-08-20 06:05:55 +02:00
Simon De Backer
e3093bd06c Fix doxygen issue, Mod to and from Settings
what does this code do?
2020-08-19 21:29:18 +02:00
Simon De Backer
cdb2e7b523 Wrap code for better readability 2020-08-19 21:27:14 +02:00
Simon De Backer
666f20856e Fix some doxygen issues 2020-08-19 21:26:36 +02:00
Simon De Backer
f5725531c2 Fix some doxygen issues 2020-08-19 17:31:02 +02:00
Simon De Backer
5dd57cf003 Wrap code for better readability 2020-08-19 17:30:18 +02:00
Simon De Backer
566747eb2b Improve code style, Wrap code for better readability 2020-08-18 21:29:12 +02:00
Simon De Backer
8e956df8d8 Fix some doxygen issues 2020-08-18 21:28:52 +02:00
Simon De Backer
ef15013715 Add QElectroTech Version in log file 2020-08-18 21:24:22 +02:00
sdeffaux
20896de561 Update hag_cds765f.elmt 2020-08-18 20:47:57 +02:00
sdeffaux
8cdcb59da2 add symbols 2020-08-18 20:47:57 +02:00
sdeffaux
35f206bc7e Add symbols Hager et Legrand 2020-08-18 20:47:57 +02:00
Simon De Backer
99abc165d6 Wrap code for better readability 2020-08-18 20:08:32 +02:00
Simon De Backer
790cdc5229 Fix some doxygen issues (~100) 2020-08-18 20:07:55 +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
2482a0bd4c Fix log files in wrong dir
when arguments are used,
the log file change from dir,
result 2 log files,
and 1 log file is not deleted by
void delete_old_log_files(int days)
2020-08-17 19:12:52 +02:00
Claveau Joshua
319188e010 Export to csv improvement
Export to csv doesn't use is own datase, but the project database
instead.
2020-08-17 16:42:07 +02:00
Laurent Trinques
bc0fecea6c Merge branch 'C-Born-Software-dxf' into master 2020-08-17 10:23:29 +02:00
David Varley
a4c829fbcd Merge branch 'master' into dxf 2020-08-17 16:02:06 +10:00
David Varley
73dd1e8299 Merge branch 'master' of https://github.com/qelectrotech/qelectrotech-source-mirror 2020-08-17 15:53:19 +10:00
David Varley
430ec27f36 Fix dxf export of autosize text cells in titleblock 2020-08-17 15:38:24 +10:00
David Varley
0cb98b2ee1 Adjust alignment of titleblock text in DXF export 2020-08-17 09:13:19 +10:00
Simon De Backer
41cef49453 Improve code style, Wrap code for better readability 2020-08-16 14:26:40 +02:00
Simon De Backer
c4bf492616 Improve code style 2020-08-16 14:26:04 +02:00
Simon De Backer
bc176da88d Improve code style, Wrap code for better readability 2020-08-16 14:25:48 +02:00
Simon De Backer
e55d336dc1 Improve code style 2020-08-16 14:25:31 +02:00
Simon De Backer
6c806d151d Improve code style 2020-08-16 14:25:14 +02:00
Simon De Backer
5e3e3aa4bd Improve code style, Wrap code for better readability, Mod doc 2020-08-16 14:24:51 +02:00
Simon De Backer
3b3ce2cb7c Improve code style, Wrap code for better readability 2020-08-16 14:24:12 +02:00
Simon De Backer
928b56f2bf Improve code style, Wrap code for better readability 2020-08-16 14:23:59 +02:00
Simon De Backer
8144e9b21b Wrap code for better readability 2020-08-16 14:23:42 +02:00
Simon De Backer
8a484ef901 Improve code style 2020-08-16 14:23:25 +02:00
Simon De Backer
574609abf5 Improve code style 2020-08-16 14:22:54 +02:00
Simon De Backer
76d16ab600 Improve code style, Wrap code for better readability 2020-08-16 14:22:36 +02:00
Simon De Backer
60a5a83320 Improve code style, Wrap code for better readability 2020-08-16 14:22:21 +02:00
Simon De Backer
e9fcd385d5 Improve code style, Wrap code for better readability 2020-08-16 14:22:12 +02:00
Simon De Backer
4ed33109f4 Improve code style, Wrap code for better readability 2020-08-16 14:21:55 +02:00
Simon De Backer
a83ee76f39 Fix Copyright indentation 2020-08-16 14:19:38 +02:00
Simon De Backer
3783a6a543 Fix warning 'setParts' is not marked 'override' 2020-08-16 14:07:46 +02:00
Laurent Trinques
070cc2e4ac Typo 2020-08-16 12:34:49 +02:00
Yuki Atoh
012d969d92 Fix Japanese 2020-08-16 12:23:41 +02:00
Yuki Atoh
e22c618152 Add Japanese translations for IEC 60617 2020-08-16 12:23:41 +02:00
Yuki Atoh
93929399b6 Add Japanese translations of qet_directory 2020-08-16 12:23:41 +02:00
David Varley
ea9a230844 Fix dxf export for border 2020-08-16 12:22:36 +02:00
Simon De Backer
d4ee161c07 Mod doc set style de same 2020-08-16 11:19:36 +02:00
Simon De Backer
90417ae509 Fix Copyright indentation 2020-08-16 09:40:14 +02:00
David Varley
2b396960d9 Merge branch 'master' of https://github.com/qelectrotech/qelectrotech-source-mirror 2020-08-16 15:57:55 +10:00
David Varley
ddc2afa427 Fix dxf export for border 2020-08-16 15:39:20 +10:00
Simon De Backer
5832e365e9 Fix log file Dir 2020-08-15 21:40:07 +02:00
Laurent Trinques
dff825810c Update *TS files 2020-08-15 18:35:27 +02:00
Laurent Trinques
12ddd3256e Update translations_stat.pl script 2020-08-15 15:10:06 +02:00
Laurent Trinques
7aaf0c0e58 Fix typo 2020-08-15 15:03:47 +02:00
David Varley
ceb2868b02 Fix dxf export for copied conductors 2020-08-15 14:15:57 +02:00
David Varley
02afb6c003 Fix dxf export for copied conductors 2020-08-15 22:00:14 +10:00
Laurent Trinques
6916736708 Merge branch 'yukia10-l10n_jp' into master 2020-08-15 13:52:01 +02:00
Yuki Atoh
4c51448c45 Merge branch 'l10n_jp' of https://github.com/yukia10/qelectrotech-source-mirror into l10n_jp 2020-08-15 18:42:16 +09:00
Yuki Atoh
770161ac57 Initial Japanese translation 2020-08-15 18:39:41 +09:00
sdeffaux
fa8917875b Add symbols 2020-08-15 08:37:06 +02:00
Yuki Atoh
295e285067 Initial Japanese translation 2020-08-15 14:17:29 +09:00
Simon De Backer
574f5b94b0 Update Copyright date 2020-08-14 22:48:44 +02:00
Simon De Backer
70d024fe79 Update Copyright date 2020-08-14 22:00:42 +02:00
Simon De Backer
de8ccc543d Fix no line number in debug 2020-08-14 18:35:53 +02:00
Simon De Backer
274108d509 Mod debuger to 7 days logs in .qet dir
the user can now read the log files
and/or send them to us for further investigation
2020-08-14 18:31:38 +02:00
Simon De Backer
d556206998 Fix to RAM Total info 2020-08-14 17:03:58 +02:00
Simon De Backer
84a2a25fa8 Mod get Screen info
get cpu info should not collect screen info
2020-08-14 17:03:08 +02:00
Laurent Trinques
6f82ac1df1 Mod Machine_info
Forgot QProcess::close()
2020-08-14 12:57:15 +02:00
Laurent Trinques
7616d11e9d Mod Machine_info
Improve GPU RAM
2020-08-14 12:55:04 +02:00
Laurent Trinques
9486deb3de Mod Machine_info
Add macOS RAM available
2020-08-14 12:51:50 +02:00
damianCaceres
e09bfa18b9 ElementEditor: partdynamictextfield.cpp code style fixes indentation 2020-08-14 01:37:41 +02:00
damianCaceres
fc4625fc0f ElementEditor: partdynamictextfield.cpp code style 2020-08-14 01:37:41 +02:00
damianCaceres
943aa469c6 ElementEditor: partdynamictextfield.h code style 2020-08-14 01:37:41 +02:00
damianCaceres
ba1242d5bb ElementEditor: parttext.cpp code style 2020-08-14 01:37:41 +02:00
damianCaceres
9bc6f7fa94 ElementEditor: parttext.h code style 2020-08-14 01:37:41 +02:00
damianCaceres
3b4237f21f ElementEditor: partterminal.cpp code style 2020-08-14 01:37:41 +02:00
damianCaceres
ac5ec020a6 ElementEditor: partterminal.h code style 2020-08-14 01:37:41 +02:00
damianCaceres
0bae33e3f5 ElementEditor: ~TerminalEditor() suppress extra semicolon 2020-08-14 01:37:41 +02:00
Simon De Backer
e5b7aacea6 Add LibraryInfo to debuger 2020-08-14 00:36:59 +02:00
Simon De Backer
5ca7ff177b Merge branch 'master'
# Conflicts:
#	sources/machine_info.cpp
2020-08-13 22:56:40 +02:00
Simon De Backer
d5b7414b36 Mod Machine_info
add send_info_to_debug
Mod get data PC
send to debuger on startup
2020-08-13 22:50:58 +02:00
Laurent Trinques
34259a4749 Typo 2020-08-13 21:32:51 +02:00
Laurent Trinques
4d61166864 Restore Simmon previous commit 2020-08-13 21:31:33 +02:00
Laurent Trinques
d46d6709f3 Machine info :
remove braces
2020-08-13 21:13:12 +02:00
Simon De Backer
da4e31dfcb Fix warning Wdeprecated
warning:
‘void QProcess::start(const QString&, QIODevice::OpenMode)’ is deprecated
"Use QProcess::start(const QString &program,
                     const QStringList &arguments,
                     OpenMode mode = ReadWrite) instead"
2020-08-13 20:37:07 +02:00
Simon De Backer
21b7aa059a rap code for better readability 2020-08-13 17:58:56 +02:00
Laurent Trinques
43a531fd2d Typo 2020-08-13 17:18:28 +02:00
Laurent Trinques
c0d51ef445 Machine info :
Add Windows GPU RAM informations
2020-08-13 17:10:42 +02:00
Laurent Trinques
f0b475bd77 Machine info :
add Windows CPU & GPU informations
2020-08-13 17:05:46 +02:00
sdeffaux
984d9bc5de Update symbols 2020-08-13 09:22:02 +02:00
Simon De Backer
288737af0d Add Debugging Techniques 2020-08-12 23:54:09 +02:00
Simon De Backer
b0df6d3101 Remove code minium QT_VERSION 5.9 2020-08-12 23:53:52 +02:00
Simon De Backer
11a90d2f69 Remove code minium QT_VERSION 5.9 2020-08-12 22:04:46 +02:00
Simon De Backer
69ff437368 Mod doc, Improve code style 2020-08-12 21:59:00 +02:00
Simon De Backer
87db0e2020 Wrap code for better readability 2020-08-12 19:33:29 +02:00
Claveau Joshua
044c5310f5 minor 2020-08-12 15:48:37 +02:00
Claveau Joshua
86766a9090 Element editor : a copied/pasted terminal part have a new uuid. 2020-08-12 15:45:48 +02:00
Simon De Backer
1805ef300e Add compiler message @TODO 2020-08-10 21:16:52 +02:00
Simon De Backer
e4033dd93c Wrap code for better readability + Mod doc 2020-08-10 21:13:31 +02:00
Simon De Backer
53d89ce4f7 Add documentation 2020-08-10 21:08:52 +02:00
Simon De Backer
7834d6fb84 Mod doc, Improve code style 2020-08-08 23:58:17 +02:00
Laurent Trinques
d9ec9bf274 Update Changelog 2020-08-08 15:53:01 +02:00
Laurent Trinques
66eaf52002 Update Changelog 2020-08-08 15:35:51 +02:00
Laurent Trinques
2e3e65df5a Update Changelog : WIP : you can add what i forgot 2020-08-08 15:08:23 +02:00
Laurent Trinques
b8daec441f Fix bug 199:
ElementEditor parText changes in the drawing area are not reflexted in
the information area
2020-08-07 15:32:24 +02:00
Simon De Backer
06dc1570fc Test writeToFile on a other Thread
to improve this for windows performance
2020-08-06 22:19:44 +02:00
Laurent Trinques
0ce001ea6e Fix bug 198
Text input loose the focus after each single letter
2020-08-06 13:20:33 +02:00
damianCaceres
fa719cf8ff ElementEditor: qetelementeditor fixes wrong braces introduced in previous commit 2020-08-06 11:08:08 +02:00
damianCaceres
0507336622 ElementEditor: qtelementeditor.cpp improve code style 2020-08-06 11:08:08 +02:00
damianCaceres
3d1e30b24e ElementEditor: qtelementeditor.h indentation 2020-08-06 11:08:08 +02:00
damianCaceres
b3a74a8315 ElementEditor: texteditor.cpp surround arrows and more braces 2020-08-06 11:08:08 +02:00
damianCaceres
216374d27c ElementEditor: dynamictextfieldeditor.cpp improve code style 2020-08-06 11:08:08 +02:00
damianCaceres
ce523b71e2 ElementEditor: dynamictextfieldeditor.h improve code style 2020-08-06 11:08:08 +02:00
damianCaceres
bb84bb2098 ElementEditor: texteditor.cpp improve code style 2020-08-06 11:08:08 +02:00
damianCaceres
23c43e72b5 ElementEditor: texteditor.h improve code style 2020-08-06 11:08:08 +02:00
damianCaceres
b53c083d0a ElementEditor: terminaleditor.cpp indentation, alignment and braces 2020-08-04 21:16:58 +02:00
damianCaceres
45edc34269 ElementEditor: terminaleditor.h indentation and alignment 2020-08-04 21:16:58 +02:00
damianCaceres
f8240558a0 ElementEditor: in PolygonEditor::setPart remove redundant calls to StyleEditor::setPart 2020-08-04 11:18:20 +02:00
damianCaceres
dd70637408 ElementEditor: in RectangleEditor::setPart remove redundant calls to StyleEditor::setPart 2020-08-04 11:18:20 +02:00
damianCaceres
45d1b489c4 ElementEditor: in ArcEditor::setPart remove redundant calls to StyleEditor::setPart 2020-08-04 11:18:20 +02:00
damianCaceres
72918a31db ElementEditor: in EllipseEditor::setPart remove redundant calls to StyleEditor::setPart 2020-08-04 11:18:20 +02:00
damianCaceres
9d772b4091 ElementEditor: in LineEditor::setPart remove redundant calls to StyleEditor::setPart 2020-08-04 11:18:20 +02:00
damianCaceres
dd257c48d9 ElementEditor: always clear m_cep_list in StyleEditor::setPart bugfix 0197 2020-08-03 16:07:31 +02:00
Claveau Joshua
78992ee762 Fix backup file on windows
For unknown reason KautoSaveFile don't write the file on Windows if file
is open in another part of the code.
No error is returned and use the method :
qint64 QIODevice::write(const QByteArray &byteArray) return the good
number of bytes written but the real file stay empty.
Probably the problem don't come from KautoSaveFile but QFileDevice or
QIODevice on windows.

The fix consist to open the file just before write on it and close it
just after.
2020-08-02 22:24:46 +02:00
Simon De Backer
7a04788d54 Mod code to drop 2 inden
- if (isReadOnly()) return;
- if (dc.items(DiagramContent::All).isEmpty())
2020-08-02 20:52:52 +02:00
Simon De Backer
fa1abbd38d Wrap code for better readability + Mod doc 2020-08-02 20:29:20 +02:00
Simon De Backer
effc86e72c Translate documentation + Fix indentation 2020-08-02 20:29:06 +02:00
Simon De Backer
d4d364cfde Fix wrap code for better readability 2020-08-02 19:36:12 +02:00
Claveau Joshua
1fc893157d Minor fix
Fix : During the opening of a project, if the project contain a
nomenclature, the dialog used to inform user that the table is too small
is displayed
2020-08-02 18:20:30 +02:00
Simon De Backer
494a5f1df2 Mod Coding conventions + Wrap code
Wrap code for better readability
2020-08-02 17:38:21 +02:00
Simon De Backer
900b7e22aa Mod CONTRIBUTING.md
add info Interactive Staging
2020-08-02 16:27:23 +02:00
Simon De Backer
4751934d68 New Signal Slot Syntax 2020-08-02 15:23:38 +02:00
Simon De Backer
510aa74266 Wrap code for better readability + Mod doc 2020-08-02 15:14:16 +02:00
Simon De Backer
e938673872 Add documentation 2020-08-02 15:09:21 +02:00
Simon De Backer
2a53f09a37 Translate documentation + Fix indentation 2020-08-02 12:09:08 +02:00
Laurent Trinques
6bece6fa84 Update Ru translation, thanks Aleksander 2020-07-29 21:31:55 +02:00
Simon De Backer
1372d1c8ba Wrap code for better readability + Mod doc 2020-07-28 20:57:02 +02:00
Simon De Backer
70e54bc9b2 Translate documentation + Fix indentation 2020-07-28 20:56:41 +02:00
sdeffaux
e6eeef5cf5 update symbols 2020-07-27 21:33:58 +02:00
dlee99
96acd6ff95 modified: lang/qet_nl.qm
modified:   lang/qet_nl.ts
2020-07-26 23:22:49 +02:00
Laurent Trinques
9cdc023f31 Pugixml XML parser
Update to upstream master
2020-07-26 16:14:31 +02:00
pavelfric
a2eb92803a Updated Czech translation 2020-07-26 13:13:23 +02:00
Simon De Backer
655e608268 Doxygen using dashes to create lists of items. 2020-07-26 11:55:51 +02:00
Simon De Backer
c401e93125 Wrap code for better readability + Mod doc 2020-07-26 11:36:27 +02:00
Simon De Backer
4d57e7fbfb Mod get elementInfo from elementInfoKeys 2020-07-26 11:16:12 +02:00
Simon De Backer
0c62bf2b3b Translate documentation + Fix indentation
- Mod doc set style de same
- Fix indentation code
2020-07-26 10:33:15 +02:00
Simon De Backer
1f78196fa6 Fix widget size 2020-07-25 22:00:19 +02:00
Simon De Backer
49cca54adc Wrap code for better readability 2020-07-24 22:44:32 +02:00
Simon De Backer
c0df06c2ee Mod doc set style de same 2020-07-24 22:44:10 +02:00
Simon De Backer
d087a8be66 Moved compilation_info to class Machine_info
This is preparation for making a dev log file
2020-07-23 21:57:30 +02:00
Simon De Backer
55beaa9be9 Mod ScrollArea on demand
QScrollArea is not asked if the screen is big enough.
2020-07-23 17:24:10 +02:00
Simon De Backer
c5eb5af47d Fix name to clarify value is int 2020-07-23 17:05:48 +02:00
Simon De Backer
90e283902e This adds ScrollArea to config dialog
Not everything is visible with low resolution screens.
https://qelectrotech.org/bugtracker/view.php?id=195
2020-07-23 16:55:42 +02:00
Simon De Backer
7420eeb60d Mod name to clarify value is int 2020-07-23 16:49:31 +02:00
Simon De Backer
698db4e5c0 Add Copyright to machine_info class 2020-07-22 21:16:38 +02:00
Simon De Backer
6b95c6bf6f Add QScrollArea to configdialog and resize to max_screen 2020-07-22 21:03:54 +02:00
Claveau Joshua
2b754cffb4 AddTableDialog : fix minor bug 2020-07-21 22:56:31 +02:00
Simon De Backer
03425bcb5b Add gui resize depending on screen size
Init of request
https://qelectrotech.org/bugtracker/view.php?id=195
This is a start will have to be adjusted further.
2020-07-21 20:29:05 +02:00
Laurent Trinques
3a08e60856 aboutqetdialog.cpp minor 2020-07-21 16:01:28 +02:00
Laurent Trinques
e03e36fb2c AboutQETDialog add Linux RAM Total and MemAvailable 2020-07-21 15:58:35 +02:00
Laurent Trinques
8f5e759528 AboutQETDialog add Linux RAM 2020-07-21 14:45:41 +02:00
Laurent Trinques
bddf10588f AboutQETDialog add macOS cpuinfo 'model name' 2020-07-21 14:12:06 +02:00
Laurent Trinques
a33ae2bb13 AboutQETDialog add Linux gpu info 'model name' 2020-07-21 13:44:45 +02:00
Laurent Trinques
bd93e62341 AboutQETDialog add Linux cpuinfo 'model name' 2020-07-21 13:05:08 +02:00
Simon De Backer
119e12b1cf Add Screen info user 2020-07-20 22:41:27 +02:00
Claveau Joshua
f242e1bccc graphics table properties editor : minor
Add label to inform users that the number of row is less than the number
of information to display.
2020-07-20 20:29:13 +02:00
Claveau Joshua
709280e3c1 QetGraphicsTableItem : add dialog to inform user
When user edit the query of an existing table/s if the content to
display is bigger than the content who can be displayed by the table/s a
dialog is opened for inform user of the current situation.
2020-07-20 19:38:52 +02:00
Simon De Backer
3b14946421 Add compiler message @TODO + Mod doc set style de same 2020-07-19 22:19:21 +02:00
Simon De Backer
280e4605e8 Mod doc set style de same 2020-07-19 22:08:41 +02:00
Simon De Backer
fe4552200b Add compiler message @TODO 2020-07-19 22:06:42 +02:00
Simon De Backer
d3b237d06c Mod documentation + wrap code for better readability 2020-07-19 20:28:56 +02:00
Simon De Backer
26fd1a497c Add ignore lines to .gitignore
if doxygen Doxyfile is run all file's of folder doc are added
Qt user file should not see either
2020-07-19 20:24:37 +02:00
Simon De Backer
bbd3085b8d Fix indentation code + Mod doc 2020-07-19 20:06:22 +02:00
Simon De Backer
1251d7d9b0 Fix indentation code + Mod doc 2020-07-19 20:05:58 +02:00
Simon De Backer
2229a1938d Add documentation 2020-07-19 20:05:13 +02:00
Simon De Backer
ffcdccb469 Mod doc set style de same 2020-07-19 18:40:41 +02:00
Simon De Backer
5df6d7f403 Wrap code for better readability 2020-07-19 18:40:41 +02:00
Simon De Backer
4cd69a2450 Mod doc set style de same 2020-07-19 18:40:41 +02:00
Simon De Backer
102629b86f Mod doc set style de same + wrap code for better readability 2020-07-19 18:40:41 +02:00
Simon De Backer
7ddae811a5 Fix Wdeprecated-declarations QProcess::startDetached
QProcess::startDetached(const QString&)’ is deprecated
Use
QProcess::startDetached(const QString &program,
			const QStringList &arguments)
instead
2020-07-19 18:30:28 +02:00
Simon De Backer
cecacfc769 Fix compiler warining non-virtual destructor
ref:
https://stackoverflow.com/questions/38407723/how-to-delete-an-object-of-derived-class-that-has-no-dstructor
2020-07-19 15:48:46 +02:00
Simon De Backer
8c9b30acd6 Mod doc + Update Copyright date
And wrap code for better readability
2020-07-16 22:06:56 +02:00
Simon De Backer
6aa6d055ec Add translation for directory 2020-07-16 22:01:04 +02:00
Simon De Backer
495d9a5f51 Add documentation + wrap code for better readability 2020-07-16 22:00:33 +02:00
Simon De Backer
70ef559874 Improve portability of Doxyfile
note run "doxygen Doxyfile" in qet dir
2020-07-16 16:56:30 +02:00
sdeffaux
80c54b3edb Add new Symbols 2020-07-16 15:51:47 +02:00
Laurent Trinques
68116f4664 Fix indentation code 2020-07-15 23:00:21 +02:00
Simon De Backer
b9ce532db7 Mod doc for better readability doxygen
1. this can be an example howto
add english and french documentation without sacrificing code readability
	2. Fix indentation code
2020-07-15 22:37:29 +02:00
Laurent Trinques
a28e7289b9 Doxyfile update add QCH file for
doxygen-generated docs using qhelpgenerator and then import them into Qt Creator.
2020-07-15 22:25:29 +02:00
Claveau Joshua
ac49ecce7d Fix wrong position of slave xref after open a saved project 2020-07-15 20:48:52 +02:00
Laurent Trinques
7ed71a6312 Fix indentation code 2020-07-15 20:35:23 +02:00
Laurent Trinques
350e7e5233 Fix indentation code 2020-07-15 20:21:59 +02:00
Laurent Trinques
68e78a0de9 Fix indentation code 2020-07-15 20:20:07 +02:00
Laurent Trinques
6313319f80 Fix-indentation-code 2020-07-15 19:57:37 +02:00
Laurent Trinques
a718cfa16d Fix indentation code 2020-07-15 19:48:28 +02:00
Simon De Backer
d7e1d326a2 Wrap code for better readability + Mod doc 2020-07-15 18:34:42 +02:00
Simon De Backer
2cdfce18ec Mod doc to set style de same + Fix indentation code 2020-07-15 18:31:04 +02:00
Simon De Backer
251dfdf37a add documentation 2020-07-15 18:29:04 +02:00
Laurent Trinques
0c381eae28 Fix Remove old summary feature 2020-07-15 17:43:20 +02:00
Laurent Trinques
f8ca26f6e3 Mod doc 2020-07-15 15:32:19 +02:00
Laurent Trinques
b866323e90 Minor QETDiagramEditor::setUpMenu reorder action 2020-07-15 15:28:47 +02:00
Laurent Trinques
53663e20e1 Remove old summary feature 2020-07-15 15:06:46 +02:00
Simon De Backer
430bcae946 Wrap code for better readability 2020-07-14 22:29:23 +02:00
Simon De Backer
41b0434c20 Fix indentation 2020-07-14 22:29:06 +02:00
Simon De Backer
01d97246ce Mod doc set style de same 2020-07-14 22:28:58 +02:00
Simon De Backer
06dbb468ce Mod the doc moved info to the class 2020-07-14 22:28:49 +02:00
Claveau Joshua
132f3ad1b4 Remove old summary feature 2020-07-14 20:00:28 +02:00
sdeffaux
d44bb87d0b add symbols 2020-07-14 18:04:28 +02:00
Laurent Trinques
4d83a1b53e Add new symbols 2020-07-14 17:26:17 +02:00
Laurent Trinques
edf65c83e1 Add new example 2020-07-14 15:07:52 +02:00
sdeffaux
f2c3bd5d26 add symbols 2020-07-13 18:33:03 +02:00
Simon De Backer
c0e248bcd0 fix white space 2020-07-13 06:51:55 +02:00
Simon De Backer
c167468f29 add documentation ExportPropertiesWidget functions 2020-07-13 06:51:46 +02:00
Simon De Backer
09207eec92 add documentation ConductorNumExport function 2020-07-13 06:51:36 +02:00
Simon De Backer
169c440de1 add documentation & removed Q_UNUSED for used value's 2020-07-13 06:51:26 +02:00
Simon De Backer
f9c705f30a add documentation GenericPanel functions 2020-07-13 06:51:17 +02:00
Claveau Joshua
b9a34ce2fd Fix projectdbmodel 2020-07-12 12:33:42 +02:00
artgg7300
28ea80d458 translated hungarian files 2020-07-12 11:19:13 +02:00
sdeffaux
14431db1b2 Translate symbols 2020-07-11 12:56:10 +02:00
Claveau Joshua
83b72c4aac Fix wrong date format for nomenclature table. 2020-07-08 20:56:20 +02:00
Claveau Joshua
31ce923580 fix crash 2020-07-07 22:11:39 +02:00
Claveau Joshua
dae4329699 Update project database class
Add method :
addDiagram and removeDiagram
2020-07-06 21:52:14 +02:00
Ole Carlsen
ff19b3d4d7 Danish update 2020-07-06 18:29:58 +02:00
dlee99
8f921854a3 modified: lang/qet_nl.qm
modified:   lang/qet_nl.ts
2020-07-05 19:45:41 +02:00
Ole Carlsen
bc56820864 Danish translation updated 2020-07-05 16:12:40 +02:00
Laurent Trinques
6c2c5635a6 Update *TS files 2020-07-05 15:28:27 +02:00
Laurent Trinques
2ee11c3f1b Minor :
Rename variable for translation
2020-07-05 15:23:42 +02:00
Laurent Trinques
fb75bf0a73 Add new variables for report folio and can be added in a composite text
{conductor_color}
{conductor_section}
2020-07-05 14:01:38 +02:00
Claveau Joshua
beaa2ccdc8 Fix bug with folio report formula 2020-07-04 20:49:13 +02:00
Claveau Joshua
8ac8ff5384 Replace minus (-) by underscore (_) 2020-07-04 20:43:40 +02:00
Simon De Backer
59ba3d24af init of contribute file
this is now mainly referring to the wiki.
2020-07-04 07:55:40 +02:00
Ole Carlsen
1f9e5e130a Danish translation 2020-07-02 20:24:37 +02:00
Laurent Trinques
82b6c8e815 Update * TS files 2020-07-02 16:42:00 +02:00
Laurent Trinques
6d05038f71 minor 2020-07-02 15:20:27 +02:00
Laurent Trinques
4b117bb4d5 generalWidget : add Kindinformations 2020-07-02 14:45:28 +02:00
Laurent Trinques
7ace0e38ed generalWidget : add link type information 2020-07-02 14:34:53 +02:00
Claveau Joshua
c86f9ccc3a Improve ProjectDataBase use 2020-07-01 18:31:19 +02:00
Claveau Joshua
6652401d07 Minor improvement
Element query widget, when "all" is selected, report and slave is not
selected anymore.
Summary should be smaller.
2020-06-29 20:50:29 +02:00
artgg7300
485ccbfb61 updated hungarian files 2020-06-23 19:15:11 +02:00
Martin Marmsoler
6c84b55586 allow multiedit also for arceditor, ellipse, line, rectangle and show properties when single polygon is selected 2020-06-23 06:54:40 +02:00
Ole Carlsen
0ed9ac393c Danish translation updated 2020-06-22 18:14:55 +02:00
Laurent Trinques
3e0d8aa3c3 Update Polish translation, thanks Pawel 2020-06-22 05:36:06 +02:00
Simon De Backer
e590c76251 add Vertical sparcer's 2020-06-22 05:26:12 +02:00
Laurent Trinques
a323cbbc48 Update example with new summary and nomenclature feature 2020-06-21 19:44:56 +02:00
dlee99
168bafa9c8 modified: lang/qet_nl.qm
modified:   lang/qet_nl.ts
2020-06-21 18:24:19 +02:00
Laurent Trinques
c8bdfb3ac6 Update *TS files 2020-06-21 18:15:26 +02:00
Claveau Joshua
0a1b688003 Fix crash.
Fix crash when when move and undo the move of a QetGraphicsTableItem
2020-06-21 16:25:34 +02:00
Claveau Joshua
0587c56bba Summary query widget : config can be saved/loaded 2020-06-21 16:17:35 +02:00
Claveau Joshua
64f3001c86 Continue new summary feature
Header name is now well translated.
Open the good dialog from the properties dock widget
2020-06-21 16:00:14 +02:00
Laurent Trinques
edb5217b31 Update *TS files 2020-06-21 11:23:56 +02:00
Simon De Backer
cfb5acc8d5 fix tr() cannot be called without context
add QObject::
qetdiagrameditor.cpp:2341: tr() cannot be called without context
qetdiagrameditor.cpp:2372: tr() cannot be called without context
diagramfoliolist.cpp:175: Class 'DiagramFolioList' lacks Q_OBJECT macro
2020-06-21 11:22:44 +02:00
Simon De Backer
ca2e737df3 fix deprecated warning int QWheelEvent::delta() const
Use angleDelta() instead
and .y();
2020-06-21 10:50:26 +02:00
Simon De Backer
2241343fba fix Wmisleading-indentation
is misleadingly indented as if it were guarded by the ‘if’
2020-06-21 10:50:00 +02:00
Simon De Backer
501134ab25 add Q_UNUSED for TerminalData:: fromSettings & toSettings 2020-06-21 10:49:38 +02:00
Simon De Backer
c4850f815f fix Wdeprecated-declarations
Use default constructor instead
2020-06-21 10:49:14 +02:00
Ole Carlsen
6a926bbe50 Danish translation updated 2020-06-21 07:53:20 +02:00
Laurent Trinques
34b4d11e53 Minor 2020-06-20 23:52:12 +02:00
Simon De Backer
ddf88bbed7 add font color of the conductors 2020-06-20 23:48:20 +02:00
dlee99
53447b41c9 modified: lang/qet_nl.qm
modified:   lang/qet_nl.ts
2020-06-20 22:46:30 +02:00
Simon De Backer
47637c4779 another alternative ui for ConductorPropertiesWidget 2020-06-19 21:56:38 +02:00
Laurent Trinques
205c683d6f Improve Simon patch :
The window of the properties of the conductor does not
 exactly fit in height.
2020-06-19 09:40:45 +02:00
Simon De Backer
1278fe1124 The window of the properties of the conductor does not exactly fit in height.
On the laptop, the resolution is 1368 * 768.
2020-06-19 09:02:22 +02:00
Claveau Joshua
090da90e22 fix fail to build 2020-06-18 19:20:25 +02:00
Claveau Joshua
ec5f537da4 Add new summary table (WIP) 2020-06-18 18:52:29 +02:00
artgg7300
80b5029cd1 translated hungarian files 2020-06-17 05:34:02 +02:00
Laurent Trinques
534ab19616 Revert "MacOS: try to remove hard coded python PATH"
This reverts commit 36071e9cf5.
2020-06-16 17:36:54 +02:00
Laurent Trinques
36071e9cf5 MacOS: try to remove hard coded python PATH 2020-06-16 17:21:44 +02:00
Laurent Trinques
b8b0bbed44 Add new symbols 2020-06-16 01:32:50 +02:00
Laurent Trinques
78a02af400 Minor : general_widget add TextEditorInteraction 2020-06-15 19:26:44 +02:00
Laurent Trinques
e10ae8ce2e Update Copyright date 2020-06-15 17:42:53 +02:00
Laurent Trinques
a5465c201f Try to fix bad font rendering under Windows plateform
see : https://bugreports.qt.io/browse/QTBUG-83161
2020-06-15 13:01:05 +02:00
Laurent Trinques
bb7ef2a13f Update *TS files 2020-06-14 22:19:28 +02:00
dlee99
3f9db7b9ec modified: lang/qet_nl.qm
modified:   lang/qet_nl.ts
2020-06-14 21:20:51 +02:00
Laurent Trinques
ec13e0dde3 Try to fix Ubuntu 18.04 FTBFS, again 2020-06-14 18:14:14 +02:00
Laurent Trinques
509d1f39f0 Try to fix Ubuntu 18.04 FTBFS again 2020-06-14 17:49:50 +02:00
Martin Marmsoler
83f4a7c6ba do not set parts again when they are set already 2020-06-14 17:07:14 +02:00
Martin Marmsoler
d7b5ceece1 implement currentParts() for every elementItemEditor so the editor can be extended to multi part edit in a later step 2020-06-14 17:07:14 +02:00
Martin Marmsoler
0fb98fbdac add multiedit feature also for dynamic text 2020-06-14 17:07:14 +02:00
Martin Marmsoler
0485df25dc static_cast is enough 2020-06-14 17:07:14 +02:00
Martin Marmsoler
cfda59e978 multipart edit 2020-06-14 17:07:14 +02:00
Martin Marmsoler
4abf1c4f2e - static_cast because it is a condition that it is PartTerminal 2020-06-14 17:07:14 +02:00
Martin Marmsoler
37cc326a46 solves #7 2020-06-14 17:07:14 +02:00
Martin Marmsoler
a6137ed0d0 forgotten to commit texteditor 2020-06-14 17:07:14 +02:00
Martin Marmsoler
a07e973482 make partTextEditor capable to modify multiple parts at the same time 2020-06-14 17:07:13 +02:00
Martin Marmsoler
a2d466240b multiterminal change 2020-06-14 17:07:13 +02:00
Martin Marmsoler
b85b341941 WIP 2020-06-14 17:07:13 +02:00
Martin Marmsoler
451d5c8f58 not needed, because it is the same than a few lines below 2020-06-14 17:07:13 +02:00
Laurent Trinques
09dd92215f Try to fix Ubuntu 18.04 FTBFS 2020-06-14 16:22:23 +02:00
Laurent Trinques
a8c2283cbe hot fix zoom and scrolling
bug: was only zoom In
    (int QPoint::manhattanLength() const
    Returns the sum of the absolute values)
2020-06-14 14:29:59 +02:00
Simon De Backer
39fba2702d add be lang 2020-06-14 13:51:48 +02:00
Simon De Backer
35ba2bbe95 hot fix zoom and scrolling
bug: was only zoom In
(int QPoint::manhattanLength() const
Returns the sum of the absolute values)
2020-06-14 13:40:12 +02:00
Martin Marmsoler
81992bc777 remove inline, because it creates compile issues in release mode. see #48 2020-06-14 13:29:26 +02:00
Martin Marmsoler
3bac452141 add comments 2020-06-14 13:29:26 +02:00
Martin Marmsoler
51843bf03e replace foreach by for 2020-06-14 13:29:26 +02:00
Martin Marmsoler
af989b1cd8 Use uuid instead of an index to connect multiple elements 2020-06-14 13:29:25 +02:00
Martin Marmsoler
c2e17daab9 move initialization to header, so it must not be done in every constructor 2020-06-14 13:29:25 +02:00
Martin Marmsoler
439cf4cbd6 fix segmentation fault 2020-06-14 13:29:25 +02:00
Martin Marmsoler
89452f0b3c fix nullpointer exception 2020-06-14 13:29:25 +02:00
Martin Marmsoler
587ada643f try to use TerminalData in Terminal and PartTerminal, sou the code must not be written double 2020-06-14 13:29:25 +02:00
Martin Marmsoler
77a2ceea7d regarding to joshuas email, toXml uses a new structure. So it is changed in the properties interface and xrefproperties 2020-06-14 13:29:25 +02:00
Laurent Trinques
496b8f302a Fix FTBFS on Ubuntu 18.04 2020-06-14 08:26:52 +02:00
Laurent Trinques
22e619d6b9 Revert pull request #48 2020-06-14 07:35:52 +02:00
Martin Marmsoler
c9a7c836c5 add comments 2020-06-13 16:26:22 +02:00
Martin Marmsoler
a8a2df7c55 replace foreach by for 2020-06-13 16:26:22 +02:00
Martin Marmsoler
9b06a81c49 Use uuid instead of an index to connect multiple elements 2020-06-13 16:26:22 +02:00
Martin Marmsoler
7f07660959 move initialization to header, so it must not be done in every constructor 2020-06-13 16:26:22 +02:00
Martin Marmsoler
bc8bb63cae fix segmentation fault 2020-06-13 16:26:22 +02:00
Martin Marmsoler
e8d4b6c9d5 fix nullpointer exception 2020-06-13 16:26:22 +02:00
Martin Marmsoler
ec52032532 try to use TerminalData in Terminal and PartTerminal, sou the code must not be written double 2020-06-13 16:26:22 +02:00
Martin Marmsoler
8c6b4120f5 regarding to joshuas email, toXml uses a new structure. So it is changed in the properties interface and xrefproperties 2020-06-13 16:26:22 +02:00
Laurent Trinques
ca80b3d69f Improve last commit 2020-06-13 06:29:24 +02:00
Laurent Trinques
2e8c7d5236 Fix FTBFS
QTextStreamFunctions::endl(QTextStream&)

simple but no buffer flush
2020-06-13 06:08:11 +02:00
Laurent Trinques
f41b3ba26f QTextStreamFunctions::endl(QTextStream&)
Use Qt::endl instead
2020-06-13 05:44:34 +02:00
Simon De Backer
2aff40fd52 fix deprecated warning QTextStream& QTextStreamFunctions::endl(QTextStream&)
Use Qt::endl instead

QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl")
2020-06-13 05:42:05 +02:00
Simon De Backer
c97a239c29 fix deprecated warning Qt::WindowFlags = nullptr
Use default constructor instead

Qt::Widget 0x00000000
This is the default type for QWidget.
Widgets of this type are child widgets if they have a parent,
and independent windows if they have no parent.
See also Qt::Window and Qt::SubWindow.
2020-06-12 19:54:34 +02:00
Simon De Backer
e4f4c1e154 fix deprecated warning void QGraphicsView::resetMatrix()
Use resetTransform() instead

This class was introduced in Qt 4.2.

+ indentation warning
of "resetSceneRect();"
2020-06-12 19:54:13 +02:00
Simon De Backer
b29753e37e fix deprecated warning QMatrix QGraphicsView::matrix() const
Use transform() instead

This class was introduced in Qt 4.2.
2020-06-12 19:53:57 +02:00
Simon De Backer
71abaf92cb fix deprecated warning int QWheelEvent::delta() const
Use angleDelta() instead

manhattanLength()
Returns the sum of the absolute values of x() and y(),
traditionally known as the "Manhattan length" of the vector
from the origin to the point.

This class was introduced in Qt 5.5
2020-06-12 19:52:50 +02:00
Simon De Backer
bb093ba0cd Mod Copyright Date
from const to dynamic

benefit the date no longer needs to be translated
2020-06-12 19:52:31 +02:00
Laurent Trinques
247a14f7aa Fix Unbutu 18.04 FTFS 2020-06-12 07:22:18 +02:00
Simon De Backer
2ec018a4e9 fix deprecated warning QString::SplitBehavior
enum QString::SplitBehavior This enum is obsolete.

Use Qt::SplitBehavior instead.
This enum was introduced or modified in Qt 5.14.
2020-06-12 05:52:50 +02:00
Simon De Backer
2570108caf fix deprecated warning qsrand
This function is obsolete.

Use QRandomGenerator instead.
This class was introduced in Qt 5.10.
2020-06-12 05:52:50 +02:00
Simon De Backer
5d2d4a48a5 fix deprecated warning QButtonGroup::buttonClicked
This function is obsolete.

Use QButtonGroup::idClicked instead.
This function was introduced in Qt 5.15.
2020-06-12 05:52:50 +02:00
Simon De Backer
21c3c09341 fix deprecated warning QHash
This function is obsolete.

Use QMultiHash instead.
This function was introduced in Qt 4.3 - 5.14
2020-06-12 05:52:50 +02:00
Simon De Backer
b9ed45c8a3 fix deprecated warning QMap
This function is obsolete.

Use QMultiMap instead.
This function was introduced in Qt 4.3 - 5.14
2020-06-12 05:52:50 +02:00
Simon De Backer
573a36b93f fix deprecated warning QDirModel
This class is obsolete. It is provided to keep old source code working.
We strongly advise against using it in new code.

Use QFileSystemModel instead.
This class was introduced in Qt 4.4
2020-06-12 05:52:50 +02:00
artgg7300
e61cbfe30a translated hungarian files 2020-06-12 05:42:26 +02:00
Laurent Trinques
3e1740cee0 Revert Martin pull request for now, and return to last 7e9fd8df9 commit 2020-06-11 13:19:30 +02:00
Martin Marmsoler
bf2e02273e do not set parts again when they are set already 2020-06-11 11:12:17 +02:00
Martin Marmsoler
e36a4ddd0a implement currentParts() for every elementItemEditor so the editor can be extended to multi part edit in a later step 2020-06-11 11:12:17 +02:00
Martin Marmsoler
1ccffda93b add multiedit feature also for dynamic text 2020-06-11 11:12:17 +02:00
Martin Marmsoler
a8c62b8257 static_cast is enough 2020-06-11 11:12:17 +02:00
Martin Marmsoler
5666782e91 multipart edit 2020-06-11 11:12:17 +02:00
Martin Marmsoler
d000f611d8 - static_cast because it is a condition that it is PartTerminal 2020-06-11 11:12:17 +02:00
Martin Marmsoler
35896d5771 solves #7 2020-06-11 11:12:17 +02:00
Martin Marmsoler
8ffe50715d forgotten to commit texteditor 2020-06-11 11:12:17 +02:00
Martin Marmsoler
1c04ea0efb make partTextEditor capable to modify multiple parts at the same time 2020-06-11 11:12:17 +02:00
Martin Marmsoler
4bae1b902d multiterminal change 2020-06-11 11:12:17 +02:00
Martin Marmsoler
304ea00d7b WIP 2020-06-11 11:12:17 +02:00
Martin Marmsoler
f2c796bdb0 not needed, because it is the same than a few lines below 2020-06-11 11:12:17 +02:00
Martin Marmsoler
cccc4fc0c4 add comments 2020-06-11 11:12:05 +02:00
Martin Marmsoler
b7c2740778 replace foreach by for 2020-06-11 11:12:05 +02:00
Martin Marmsoler
e6f77ec369 Use uuid instead of an index to connect multiple elements 2020-06-11 11:12:05 +02:00
Martin Marmsoler
bb24e121eb move initialization to header, so it must not be done in every constructor 2020-06-11 11:12:05 +02:00
Martin Marmsoler
dd377eeb73 fix segmentation fault 2020-06-11 11:12:05 +02:00
Martin Marmsoler
19d494afcd fix nullpointer exception 2020-06-11 11:12:05 +02:00
Martin Marmsoler
6d782f4abb try to use TerminalData in Terminal and PartTerminal, sou the code must not be written double 2020-06-11 11:12:05 +02:00
Martin Marmsoler
dcbcb5391f regarding to joshuas email, toXml uses a new structure. So it is changed in the properties interface and xrefproperties 2020-06-11 11:12:05 +02:00
Claveau Joshua
7e9fd8df98 graphics table properties editor : Add two buttons new button
Add new two new buttons :
1. Adjust the selected table to fit as well into folio.
2. Set current geometry to all linked tables : Apply the geometry (pos,
height, width, row to display) of the selected table to all linked
tables.
2020-06-11 10:41:01 +02:00
Ole Carlsen
516435554a Danish translation updated 2020-06-09 14:10:22 +02:00
Laurent Trinques
e96a704215 Update fr en translation 2020-06-09 11:28:20 +02:00
Laurent Trinques
e3b5fbb5ac Update *TS files 2020-06-09 10:45:37 +02:00
Martin Marmsoler
d1742d5685 when model is not yet loaded, but the element editor should be opened, a segmentation fault occurs. Do not set current index when m_model is not yet loaded 2020-06-09 10:01:32 +02:00
Simon De Backer
4a3b7e708a QAbstractTableModel explicitly initialized in copy constructor
warning: base class ‘class QAbstractTableModel’
should be explicitly initialized in the copy constructor [-Wextra]
2020-06-08 21:14:15 +02:00
Ole Carlsen
521ed615d9 Minor Danish update 2020-06-08 18:43:43 +02:00
Laurent Trinques
fea245d485 Update polish translation, thanks Pawel 2020-06-08 03:55:36 +02:00
Simon De Backer
fe64923ffe fix deprecated warning QSet<T> QList<T>::toSet()
Use
QSet<T>(list.begin(), list.end())
instead.

This function was introduced in Qt 5.14
2020-06-08 03:52:51 +02:00
Simon De Backer
37658efd0d fix deprecated warning qUpperBound
Use
std::upper_bound
instead.
2020-06-07 16:42:41 +02:00
Simon De Backer
20a739fa96 fix deprecated warning QList::swap() attempt 2
Use
QList::swapItemsAt()
instead.

This function was introduced in Qt 5.13.
2020-06-07 16:42:26 +02:00
Simon De Backer
24528b0fdb fix deprecated warning QModelIndex::child
Use
QModelIndex::index
instead.

This function was DEPRECATED_SINCE(5, 8)
2020-06-07 16:42:17 +02:00
Simon De Backer
803414f716 remove user-defined copy constructor
We need to define our own copy constructor only
if an object has pointers or any runtime allocation
of the resource like file handle, a network connection..etc.

note: Default constructor does only shallow copy.
2020-06-07 16:41:42 +02:00
Claveau Joshua
9085c6fcda table item : remove a table remove also all linked tables 2020-06-05 20:00:13 +02:00
Claveau Joshua
ae9ef3cf21 Make a copie of previous table model when unlink a table from her previous table. 2020-06-04 14:17:14 +02:00
Claveau Joshua
8ad876fb31 Improve the use of the database 2020-06-03 19:46:27 +02:00
Claveau Joshua
b445ce8934 Nomenclature model : Improve function to setup the name of header 2020-06-03 19:15:21 +02:00
Claveau Joshua
042faeae32 Table widget : Enable arrow to quicly switch to previous/next linked table 2020-06-02 19:44:19 +02:00
Simon De Backer
de88b32e5b fix deprecated warning QPainter::drawRoundRect
Use
QPainter::drawRoundedRect
instead.

This function was introduced in Qt 4.4.
2020-06-02 06:23:17 +02:00
Simon De Backer
74c3fc8dd9 fix deprecated warning QTreeWidgetItem::setBackgroundColor
Use
setBackground()
instead.
This function was introduced in Qt 4.2.
2020-06-01 11:53:38 +02:00
Ole Carlsen
faf35c4985 Danish translation updated 2020-06-01 08:29:13 +02:00
Laurent Trinques
6b16f5b46d Add new conductors properties color and section 2020-05-31 22:33:25 +02:00
Simon De Backer
9b570525d3 fix deprecated warning QDrag::start
Use
QDrag::exec
instead.
2020-05-31 11:43:59 +02:00
Claveau Joshua
0897ed43fe Add table dialog : table config can saved and loaded.
The dialog used to edit the configuration of QetGraphicsTable item can
now save and load a configuration from graphics_table.json file located
in the user config dir.
2020-05-30 20:18:44 +02:00
Laurent Trinques
261abfa10b Revert "fix deprecated warning QList::swap()"
This reverts commit b5a33429df.
2020-05-30 06:47:34 +02:00
Simon De Backer
b5a33429df fix deprecated warning QList::swap()
Use
QList::swapItemsAt()
instead.
2020-05-30 06:24:40 +02:00
Simon De Backer
09006dc75f fix deprecated warning QDir& QDir::operator=(const QString&)
This function is obsolete.

Use
QDir::setPath() instead
instead.
2020-05-30 06:24:04 +02:00
Simon De Backer
9ee911e484 fix -Wswitch warning
add default and Qt::MarkdownText
2020-05-30 06:23:43 +02:00
Claveau Joshua
27472bdd8b Nomenclature model don't save header data "display role"
The model doesn't save anymore the header data with role
Qt::displayRole.
The header display role is now generated in the fly, by concequent the
header displayed texts are always in the current local
2020-05-29 20:54:50 +02:00
Simon De Backer
70f0541e06 fix deprecated warning qVariantFromValue
This function is obsolete.
Note:
This function was provided as a workaround for MSVC 6
which did not support member template functions.
It is advised to use the other form in new code.

This function is equivalent to QVariant::fromValue(value).
2020-05-29 14:56:07 +02:00
Simon De Backer
86a4701d2b fix deprecated warning QLineF::intersect
This function is obsolete.

Use
QLineF::intersects(const QLineF &line, QPointF *intersectionPoint) const
instead.
This function was introduced in Qt 5.14.
2020-05-29 14:55:54 +02:00
Simon De Backer
0611fe2798 fix deprecated warning QTime::start()
Use
QElapsedTimer::QElapsedTimer()
instead.
This function was introduced in Qt 5.4.
2020-05-29 14:55:37 +02:00
Simon De Backer
22566a1bc6 fix deprecated warning QFontMetrics::width(QChar ch)
Use
QFontMetrics::horizontalAdvance(const QString &text, int len = -1)
instead.
This function was introduced in Qt 5.11.
2020-05-29 14:55:27 +02:00
Simon De Backer
addcdeb2a0 fix -Wmisleading-indentation warning
there were spaces used to indent the conditional line
2020-05-29 14:03:26 +02:00
Simon De Backer
e56701d336 *fix deprecated warning QWidget::getContentsMargins
This function is obsolete.

Use contentsMargins().
instead.

This function was introduced in Qt 4.6.
2020-05-29 14:03:00 +02:00
aitolos
61ebbbc23c Greek Lang update 2020-05-28 21:45:37 +03:00
sdeffaux
0b3d287c75 add and update symbols 2020-05-28 17:55:11 +02:00
Simon De Backer
362509cb38 fix deprecated warning QSet<T>::toList() Use values() instead.
warning: ‘QList<T> QSet<T>::toList() const [with T = Conductor*]’
is deprecated: Use values() instead. [-Wdeprecated-declarations]

QT_VERSION 5.15.0
GCC 64bit
2020-05-28 15:54:53 +02:00
artgg7300
7948e2b1d3 updated hungarian language files 2020-05-28 06:06:14 +02:00
dlee99
abdb76b68e modified: lang/qet_nl.qm
modified:   lang/qet_nl.ts
2020-05-26 22:42:37 +02:00
Claveau Joshua
75e6f28221 Reduce the time spend when nomenclature table is created automatically 2020-05-26 22:00:32 +02:00
Laurent Trinques
5772d919e3 Update *TS files 2020-05-25 13:44:14 +02:00
Laurent Trinques
1e9cb8a75a Update Polish translation, thanks Rafal 2020-05-25 13:26:32 +02:00
Simon De Backer
bb2c822b2f Add some "Vaillant" hydraulic elements for allSTOR 2020-05-24 19:20:50 +02:00
Claveau Joshua
65777a0fb5 Minor typo 2020-05-24 17:23:11 +02:00
Claveau Joshua
df26c5b7ed Add nomenclature dialog : enable option "add new folio and table if needed" 2020-05-24 17:17:17 +02:00
Claveau Joshua
7ea42752a4 Change the way how a diagram is added
Now it's the project itself who manage the adding of diagram instead of
the diagram view, it's more coherent
2020-05-24 16:24:39 +02:00
Claveau Joshua
edfdf83c99 Nomenclature : enable option "fit to diagram" 2020-05-24 15:03:56 +02:00
Maximilian Federle
0c550497d1 snap: Start org.freedesktop.portal.Desktop on launch
Open & save dialogs might fail if it is not running.
org.freedesktop.portal.Desktop is DBus activated and this doesn't play
nicely with AppArmor at the moment.
2020-05-24 14:12:09 +02:00
Laurent Trinques
30dbcae2a5 Typo 2020-05-20 02:36:23 +02:00
Laurent Trinques
a7121cce50 Improve : Try to launch qet_tb_generator portable version of the plugin
if user put binary on QDir::homePath()
2020-05-20 02:27:47 +02:00
Laurent Trinques
83b58ec246 Try to launch qet_tb_generator portable version of the plugin if user
put binary on QDir::homePath()
2020-05-19 11:15:52 +02:00
Claveau Joshua
77c9cad501 Animate search and replace widget when close with the button of the widget 2020-05-17 15:59:23 +02:00
Laurent Trinques
987dbd3fa6 Add symbol 2020-05-17 10:24:13 +02:00
Laurent Trinques
b41a0656ec Minor : increase max conductors to 20px 2020-05-16 16:00:32 +02:00
Laurent Trinques
fca9c7c479 Minor : set maximum to 99 text conductor 2020-05-16 15:56:00 +02:00
Laurent Trinques
f360973eeb Macos add key LSMinimumSystemVersion 2020-05-15 13:34:41 +02:00
Claveau Joshua
70493a06f7 Minor : typo and tab edit order 2020-05-15 11:38:09 +02:00
Claveau Joshua
e40ba32281 Bug fix : some element informations can't be set 2020-05-15 10:26:05 +02:00
Laurent Trinques
4ee65320f3 Update binary of norwegian translation 2020-05-14 20:20:56 +02:00
Joel As
da297c8591 Recent update of norwegian translation 2020-05-14 20:16:52 +02:00
Laurent Trinques
6041818d8f Update qet_nb.ts qet_nb.qm, thanks Joel 2020-05-14 17:32:57 +02:00
Laurent Trinques
d14d5de442 Update qet_nb.ts 2020-05-14 16:48:30 +02:00
Laurent Trinques
cc9124cdfb Prepare to add new country Norwegian switch 2020-05-14 16:01:40 +02:00
Ole Carlsen
b1ef5d4b2b anish translation updated 2020-05-12 18:44:36 +02:00
Claveau Joshua
0015f4a694 Qet graphics table item can be removed from diagram 2020-05-12 11:17:25 +02:00
artgg7300
50f061697c translated hungarian files 2020-05-10 10:11:08 +02:00
Claveau Joshua
37efa97ce7 qet graphics table item : to/from xml change
The font, alignment and margins is not saved by the table anymore but by
the model.
2020-05-08 00:08:57 +02:00
Maximilian Federle
9fa7e21905 snap: Prevent the use of the KDE Plasma platformtheme
A KDE session forces the KDE Plasma platformtheme which is incompatible with QET.
Unset the ENV vars in that case to prevent loading of the theme.
2020-05-06 23:15:52 +02:00
Laurent Trinques
bc9ebca815 Update *TS files 2020-05-06 21:12:36 +02:00
Laurent Trinques
f3138960b1 Fix : key sequence 'space' don't work with nl be local 2020-05-06 21:11:11 +02:00
Laurent Trinques
f316ab5900 Update *TS files 2020-05-06 19:21:32 +02:00
Claveau Joshua
66a3c269ca Fix : key sequence 'space' don't work with nl be local 2020-05-06 19:14:42 +02:00
Laurent Trinques
d5f3531d66 Snap remove i386 architecture 2020-05-06 10:46:10 +02:00
Laurent Trinques
df3dd717d0 Enable only amd64 i386 architectures 2020-05-06 10:05:47 +02:00
Laurent Trinques
1320d12535 Refresh github link for DXFtoQET-2020 2020-05-06 09:49:03 +02:00
Laurent Trinques
2f0845daa9 Update *TS files and update english and french translation 2020-05-06 08:53:57 +02:00
Laurent Trinques
b481073993 Fix typo 2020-05-06 08:41:18 +02:00
Laurent Trinques
7ea2474a6c Update Binary be translation 2020-05-06 07:07:29 +02:00
Simon De Backer
96028b1499 add translation be 2020-05-06 07:05:42 +02:00
Claveau Joshua
efac27b9b8 Nomenclature : Add dialog when insert a new nomenclature table 2020-05-05 20:38:31 +02:00
Claveau Joshua
3905371da6 Fix wrong element text value when loading from xml 2020-05-03 20:29:55 +02:00
Laurent Trinques
c49ee74d81 Add new Vacuum Technology elements, thanks Dinozzo 2020-05-03 15:12:23 +02:00
sdeffaux
4f8df55099 suppression de doublon 2020-05-02 16:14:23 +02:00
Laurent Trinques
711db09855 Add some "Vaillant" elements, thanks riesermauf 2020-05-02 16:08:11 +02:00
Claveau Joshua
0aae330bef Minor : improve layout for low resolution screen 2020-05-01 18:33:11 +02:00
Claveau Joshua
f20df15ccf Nomenclature query can be saved/load 2020-05-01 18:07:15 +02:00
Laurent Trinques
7e7346da6e Add Weintek HMI symbols, thanks Rafał 2020-04-30 21:48:32 +02:00
gleissonjoaquim3
2c8c624e56 Update on PT_BR translation members 2020-04-30 12:17:11 +02:00
Laurent Trinques
f78ac2c82b Fix missing many languages after run make install
or made any distro specific package, thanks Charles
2020-04-29 13:49:19 +02:00
Claveau Joshua
9bb58fedea Element query widget : widget restor is state according to the current query 2020-04-29 11:48:45 +02:00
artgg7300
bc1f10aa80 Merge branch 'master' of ssh://git.tuxfamily.org/gitroot/qet/qet
Translated hungarian files
2020-04-28 20:22:58 +02:00
artgg7300
9267befbbc Translated hungarian language files 2020-04-28 20:06:56 +02:00
Laurent Trinques
418e45552d macOS : add more explanation in Message Box about install plugin 2020-04-28 17:47:52 +02:00
Ole Carlsen
a95a8b7fb6 Update danish translation 2020-04-27 19:46:10 +02:00
Claveau Joshua
a8a9ddc3d6 Add view 'element_nomenclature_view' to projectDataBase
Add a view for the nomenclature to reduce the size of the query and make
it more understandable
2020-04-25 15:52:06 +02:00
Claveau Joshua
44bf0a5ce4 minor 2020-04-23 20:01:01 +02:00
Claveau Joshua
9525278be7 Animate show and replace widget.
this feature is totally useless and by consequent indispensable.
2020-04-23 19:52:56 +02:00
Laurent Trinques
f4cbf21075 Add new Delta symbols, thanks Rafał 2020-04-23 12:45:37 +02:00
sdeffaux
a19eb57a0f add symbols and reorganised folders 2020-04-23 12:06:35 +02:00
Laurent Trinques
e4c15e21bf Update translation ang generete new Norwegian dialects nb 2020-04-20 07:11:38 +02:00
dlee99
d1af0e921c modified: lang/qet_nl.qm
modified:   lang/qet_nl.ts
2020-04-19 23:05:10 +02:00
sdeffaux
ba1b306834 add symbols
j'ai vu un louper sur les disjoncteur de l'ancien commit
2020-04-19 14:34:36 +02:00
Laurent Trinques
e99f8c9e7a Update pt_b binary translation 2020-04-19 13:46:49 +02:00
gleissonjoaquim3
88641cba2a Update translation pt-br 2020-04-19 13:44:46 +02:00
Claveau Joshua
8f4d5ef9dd element query widget : minor improvement
Double click on an item act like add or remove push button
2020-04-18 18:22:00 +02:00
Claveau Joshua
8cd9b3ba6e Element info query : fix wrong behavior 2020-04-18 18:11:56 +02:00
sdeffaux
f3c4d94822 add symbols 2020-04-18 14:44:47 +02:00
Claveau Joshua
61d4ddfcda QetGraphicsTableItem : Imrpove how the table is resized 2020-04-17 23:15:39 +02:00
Claveau Joshua
9eb651449f Merge branch 'master' of ssh://git.tuxfamily.org/gitroot/qet/qet 2020-04-17 18:41:02 +02:00
Claveau Joshua
908d79925c save/load QetGraphicsTableItem to/from .qet file 2020-04-17 18:40:28 +02:00
Laurent Trinques
64ad7967ed Update Fr translation 2020-04-17 12:21:09 +02:00
Laurent Trinques
bc11e03f00 Update En translation 2020-04-17 12:05:06 +02:00
Laurent Trinques
92074987c6 Update *TS files 2020-04-17 11:47:20 +02:00
Maximilian Federle
74d5d0f6ef snap: Use symlinks instead of bind-mounts
As per https://snapcraft.io/docs/snap-layouts,
bind-mounts significantly increase the startup time of the snap.
Use symlinks instead for better performance.
2020-04-17 05:29:31 +02:00
Maximilian Federle
983d78727c snap: Set correct PYTHONPATH
Fix qet-tb-generator not being able to find
its packages.
2020-04-17 05:29:31 +02:00
Maximilian Federle
07d3fd1ed4 snap: Use SNAP_USER_COMMON as HOME
This prevents the config and the user collection from being
backed up by snapd on update. If the user reverts qelectrotech,
the current collection will thus not be overwritten by the
possibly outdated backup.

Add a migration script that automatically transfers the user's .qet
directory to the new location.
2020-04-17 05:29:31 +02:00
Maximilian Federle
6867bf813a snap: Do not ship files already included in content snaps
Remove all files from prime that are already included in our content
snaps, which reduces snap size considerably.
2020-04-17 05:29:31 +02:00
Maximilian Federle
b9002ab4da snap: Use kde-frameworks-5-core18-sdk to build
Use kde-neon's corresponding sdk snap instead of
build-packages.
2020-04-17 05:29:31 +02:00
Maximilian Federle
5b1bd22b30 snap: Use kde-neon extension
The kde-neon extension reduces our boilerplate in snapcraft.yaml
and reduces the snap size considerably, as we do not need to ship
any library that is already included in the kde-frameworks-5-core18
snap itself.

This limits qelectrotech builds to the architectures supported
by kde-frameworks-5-core18, i.e. only amd64.
2020-04-17 05:29:31 +02:00
Laurent Trinques
f1036fe017 Add new symbols Legrand Viking, thanks Arnaud 2020-04-16 17:34:30 +02:00
Laurent Trinques
bddcb0a5ae Minor: aboutqetdialog.ui set compilation information selectable by mouse 2020-04-16 08:50:19 +02:00
Laurent Trinques
47152d7cac Update qelectrotech.qrc 2020-04-15 10:59:22 +02:00
Laurent Trinques
081f44f8be Element Editor add new ColorHTML, THANKS Arnaud for the patch 2020-04-15 10:27:54 +02:00
Laurent Trinques
cc72bb6e06 Revert Update org.qelectrotech.QElectroTech.json not fixing Python's Tkinter need for qet-tb-generator 2020-04-15 08:44:29 +02:00
Laurent Trinques
3f2441eb8a Update org.qelectrotech.QElectroTech.json for Flatpak build 2020-04-15 07:55:18 +02:00
sdeffaux
7bbef5785d update symbols
mise à jour en autre des symbols GCE il leurs manquer un  nom
2020-04-14 06:34:38 +02:00
sdeffaux
345ebeebcd add symbols and reorganise folders 2020-04-13 15:19:08 +02:00
Laurent Trinques
3fc7ff525c Add new GCE symbols 2020-04-13 07:01:06 +02:00
Claveau Joshua
851265844f Fix break from merge of qetgraphicsTableItem to master 2020-04-12 20:10:30 +02:00
Claveau Joshua
55876293bc Replace minus (-) by underscore (_) in all element information 2020-04-12 19:45:19 +02:00
Laurent Trinques
234886419d Merge
Q_OS_MACOS need now Python framework Versions 3.8 for launching
qet_tb_generator plugin
2020-04-12 19:04:08 +02:00
Laurent Trinques
73149973e3 Merge remote-tracking branch 'origin/QetGraphicsTableItem' 2020-04-12 18:51:38 +02:00
Claveau Joshua
41541dde2c Minor fix : dynamic text can't have 'label' info if formula is set
When create a new dynamic element text item, on an element which have a
formula, dynamic text can't have 'label' for source of text.
2020-04-10 15:02:18 +02:00
Claveau Joshua
5c6f556ad3 Minor revamp
Remove unused include.
QETproject : Default titleblock are set in the default constructor
instead of set by qetdiagrameditor.
conductor, border, report and xref propertie are now set in the header
of QETProject instead of set by the qetdiagrameditor just after the
creation of a new project.
2020-04-09 16:58:05 +02:00
Claveau Joshua
87f26ce691 Cross Xref : display power contact by default 2020-04-09 16:17:37 +02:00
Claveau Joshua
017f78fb13 Fix crash when close project
At time of closing project, if a master element(may be every linkable
element) is selected and the editor dock display a lot of available
slave, qet crash.
2020-04-09 16:12:21 +02:00
Claveau Joshua
94aa5c0247 Minor fix : in some condition master cross Xref are not displayed 2020-04-08 19:27:24 +02:00
Laurent Trinques
4774389ee0 Revert :
MACOS remove static path "/Library/Frameworks/Python.framework/Versions/
    *" for launching  qet_tb_generator plugin
2020-04-05 09:45:26 +02:00
Laurent Trinques
f8e0b499f3 MACOS remove static path "/Library/Frameworks/Python.framework/Versions/
*" for launching  qet_tb_generator plugin
2020-04-05 09:32:45 +02:00
Laurent Trinques
ebc55bb440 Q_OS_MACOS need now Python framework Versions 3.8 for launching
qet_tb_generator plugin
2020-04-05 08:58:01 +02:00
Laurent Trinques
5b32ce9e61 Add new Legrand elements, thanks Arnaud 2020-04-05 08:15:12 +02:00
Laurent Trinques
f1999946fa Czech translation update, thanks Pavel 2020-04-03 06:23:45 +02:00
sdeffaux
31af660c73 add symbol 2020-04-02 13:49:00 +02:00
aitolos
2f2d72ed01 Update Greel Language files (spellcheck, typos) 2020-03-30 21:01:48 +03:00
Laurent Trinques
a4dc920b62 Add new symbols, thanks Bisku 2020-03-28 13:50:17 +01:00
aitolos
c22d8d70a0 Update Greek Lang files 2020-03-28 12:45:12 +02:00
Laurent Trinques
99064fe2ab Moving elements by mouse does not respect the grid settings
When moving element by mouse, snapping to grid uses fixed 10 px steps
hardcoded in source instead of using the value from grid settings. When
moved by keyboard, the grid step is respected.
It is due to QPointF Diagram::snapToGrid(const QPointF &p) function not
considering the settings.

Thanks jethro for this patch
2020-03-27 21:21:49 +01:00
Laurent Trinques
abe5fc3b4e Update Greek TS, thanks aitolos 2020-03-27 04:52:20 +01:00
sdeffaux
970e3cd207 update symbols 2020-03-25 20:09:20 +01:00
Claveau Joshua
aaccc33e7b Minor fix: conductor text don't move with element.
When move two elements connected by a conductor, the conductor text
don't follow the movement when he is previously moved by the user.
2020-03-22 20:19:41 +01:00
Laurent Trinques
c0746b3fa4 Delete duplicate folder 2020-03-20 14:55:57 +01:00
sdeffaux
eab9e39290 mise a jour symbol 2020-03-15 21:54:27 +01:00
sdeffaux
d582e1c25b add symbols and update 2020-03-14 14:43:00 +01:00
artgg7300
9e842e5d09 updated hungarian translate 2020-03-14 08:00:46 +01:00
Laurent Trinques
23202c319c Add new Rexroth valves, thanks Fernando 2020-03-10 16:42:36 +01:00
dlee99
d703fb687f modified: lang/qet_nl.qm
modified:   lang/qet_nl.ts
2020-03-09 21:47:14 +01:00
sdeffaux
6479f8e7b8 add symbols and update 2020-03-08 17:22:19 +01:00
Claveau Joshua
a899fa720b Merge branch 'QetGraphicsTableItem' 2020-03-08 10:41:45 +01:00
Claveau Joshua
f7a090c3ca Add widget to edit QetGraphicsTableItem and QetGraphicsHeaderItem 2020-03-08 10:38:49 +01:00
Laurent Trinques
487c293860 Merge branch 'master' of ssh://git.tuxfamily.org/gitroot/qet/qet 2020-03-07 17:43:10 +01:00
Laurent Trinques
62d7d9a784 dd new Wago elements, thanks Pcl-user 2020-03-07 17:41:04 +01:00
nuri
dd5e81da6e Updated german translation 2020-03-06 18:36:49 +01:00
Ole Carlsen
0daa6b436f Danish translation updated 2020-03-06 15:41:05 +01:00
Laurent Trinques
57ded906de Update translation 2020-03-06 13:06:21 +01:00
Laurent Trinques
a9cdec6363 Update *TS file and generate new Slovakia ts file 2020-03-06 12:57:38 +01:00
sdeffaux
4c04a73022 add symbols hager 2020-03-05 16:47:04 +01:00
Laurent Trinques
ad1fddadf2 Add new symbol, thanks Mihicz 2020-03-05 06:24:57 +01:00
Laurent Trinques
7d5eab748a Refresh legrand/61-busbar/ dir, thanks Arnaud 2020-03-05 06:22:25 +01:00
Laurent Trinques
6db1fe7666 Refresh legrand/61-busbar/ dir, thanks Arnaud 2020-03-04 19:48:50 +01:00
Laurent Trinques
b5a15e49f1 Refresh bticino dir 2020-03-04 05:53:46 +01:00
Laurent Trinques
c5eba536fd Add new legrand & bticino symbols, thanks Arnaud 2020-03-03 20:05:12 +01:00
Laurent Trinques
4264384675 Add new icp-das symbols, thanks Arnaud 2020-03-03 18:18:01 +01:00
sdeffaux
fffa84efd6 add symbols 2020-03-02 12:30:18 +01:00
Laurent Trinques
27c3cc0000 Refresh ICP-DAS elements, thanks Arnaud 2020-02-29 15:27:35 +01:00
Laurent Trinques
670cad1092 Add ICP-DAS elements, thanks Arnaud 2020-02-29 13:46:40 +01:00
Laurent Trinques
85a2600e58 Improve files names extension for Gnome DE and Flatpak 2020-02-26 14:50:56 +01:00
sdeffaux
6535a93b66 Traduction and add symbols 2020-02-25 04:56:48 +01:00
Claveau Joshua
2a29b4b240 Add itemTYpe for QetGraphicsTableItem and QetGraphicsHeaderItem 2020-02-21 08:55:35 +01:00
Claveau Joshua
43baed69db Add QetGraphicsHeaderItem 2020-02-20 21:33:26 +01:00
Mathieu Bridon
a16b505aa6 flatpak: Properly rename the appdata file
Adding the full file name was required, just like for renaming the
desktop files, unlike for renaming the icons.
2020-02-17 15:17:42 +01:00
sdeffaux
39d442b53d add symbols 2020-02-16 18:06:47 +01:00
Laurent Trinques
f51fd44b55 Change dmg loaction build path to new build-aux/ 2020-02-14 14:57:38 +01:00
Mathieu Bridon
975f0db7ec build: Add a Flatpak manifest
This allows building the master branch of QElectroTech with a simple
command:

$ flatpak-builder _build build-aux/flatpak/org.qelectrotech.QElectroTech.json
2020-02-14 14:43:49 +01:00
Mathieu Bridon
d26b189d3d build: Rename the packaging directory
The Linux and Windows packaging recipes don't have any restrictions on
where they have to be located. Snapcraft is the strictest on this.

Moving this to build-aux/ means we can have all the packaging recipes in
one place.
2020-02-14 14:43:36 +01:00
Mathieu Bridon
3f38f4b16c build: Move the Snap recipes
Snapcraft can find its build recipes in 2 places:

* a snap/ directory at the top of the sources;
* a build-aux/snap/ directory, since Snapcraft 3.3;

This commit moves from the former to the latter, so that we can group
all the packaging recipes together.
2020-02-14 14:43:36 +01:00
Laurent Trinques
5265db6cf7 Add new Legrand symbols, thanks Arnaud 2020-02-02 18:34:08 +01:00
Claveau Joshua
fd2c210f49 Add QetGraphicsTableItem + entry "add nomenclature" in project menu 2020-02-02 16:33:19 +01:00
Laurent Trinques
336887b394 Fix # bug 182, thanks Wilfried 2020-01-30 16:27:27 +01:00
sdeffaux
aa06d7ffcb add symbols 2020-01-28 14:15:19 +01:00
sdeffaux
e8dcfee552 add symbols 2020-01-28 14:15:19 +01:00
Laurent Trinques
fed5a30e8f Add new symbol, thanks Alexis 2020-01-27 08:25:10 +01:00
Laurent Trinques
6abeb934e1 Merge remote-tracking branch 'origin/test_pugi' 2020-01-26 14:43:48 +01:00
Claveau Joshua
f8dcdec735 Improve loading time 2020-01-23 10:45:14 +01:00
Laurent Trinques
ebf76ef505 Add news symbols, thanks Arnaud 2020-01-22 10:56:36 +01:00
Claveau Joshua
f297e28b64 Loading elements collections doesn't freeze gui anymore. 2020-01-19 11:53:40 +01:00
dlee99
8e4b5a8dca modified: lang/qet_nl.qm
modified:   lang/qet_nl.ts
2020-01-19 00:35:09 +01:00
Claveau Joshua
ed2e72e995 Minor improvement about using pugixml 2020-01-18 20:03:24 +01:00
Claveau Joshua
dc32a4298b Remove old aboutQet class 2020-01-18 16:34:46 +01:00
Claveau Joshua
51d8b2a2bc Revamp the aboutQet dialog with Qt designer and add a new tab "libraries" 2020-01-18 16:25:30 +01:00
Claveau Joshua
dca44566e8 Clean code 2020-01-17 19:33:13 +01:00
dlee99
0e84cef85e modified: lang/qet_nl.qm
modified:   lang/qet_nl.ts
2020-01-13 20:24:57 +01:00
Laurent Trinques
12a0f8d831 Add new symbols, thanks David 2020-01-10 18:16:52 +01:00
joshua
91353b5578 Minor : Fix wrong position with cross ref item displayed as cross 2020-01-09 22:43:16 +01:00
joshua
32c135a7e5 Merge branch 'test_pugi' of ssh://git.tuxfamily.org/gitroot/qet/qet into test_pugi 2020-01-09 10:35:19 +01:00
joshua
3d051419a5 Improve file access on windows and mac OSX 2020-01-09 10:26:10 +01:00
Laurent Trinques
5e63ac316c Update SingleApplication to latest upstream sources 2020-01-08 14:27:52 +01:00
Laurent Trinques
fbec9c9aa5 Add Checkbox to enable or disable the dialog to display the elpsaed time
of collection loading
2020-01-07 13:02:43 +01:00
Laurent Trinques
7ebc395f8b Update Polish translation, thanks Pawel 2020-01-06 12:49:37 +01:00
joshua
3492540d53 Use pugixml for parse local name of directory and element informations 2020-01-04 23:33:35 +01:00
joshua
eb903a12b0 Add option to switch between Qtxml or pugi xml. Add dialog to display the elpsaed time of collection loading. 2020-01-04 15:59:27 +01:00
joshua
6398feba0d Minor pugi improvement 2020-01-04 13:50:58 +01:00
joshua
674e9e31a5 Add pugi_xml test branch 2020-01-04 11:30:43 +01:00
Laurent Trinques
3a2a99c87a Update README.md 2019-12-31 11:43:24 +01:00
Laurent Trinques
4ee05530ae Update README.md 2019-12-27 18:43:18 +01:00
Laurent Trinques
f10df82887 Improve README.md 2019-12-27 11:21:02 +01:00
Laurent Trinques
5e6ba5f157 Restore old READMe file 2019-12-27 03:01:33 +01:00
Laurent Trinques
96fc140918 Rename README file extenstion 2019-12-27 02:55:40 +01:00
Laurent Trinques
95a36d54dc Improve Readme file for Github repository 2019-12-27 02:44:16 +01:00
Laurent Trinques
d7e5a84be1 Merge branch '20191111_fix_permissions' 2019-12-26 03:49:02 +01:00
dlee99
d743f15bb3 modified: lang/qet_nl.qm
modified:   lang/qet_nl.ts
2019-12-22 16:00:34 +01:00
joshua
523e6692ad Remove a diagram doesn't save the project anymore 2019-12-20 18:32:55 +01:00
Laurent Trinques
f7c183c9a9 Revert 2019-12-14 13:38:39 +01:00
Laurent Trinques
fb8f86f7f1 App does not work with Qt::AA_EnableHighDpiScaling flags enabled on
Windows platform since Qt 5.13.X
2019-12-14 12:10:11 +01:00
joshua
e618539ddb Fix crash when quickly move tab of digramview 2019-12-10 20:01:39 +01:00
Laurent Trinques
2435d23334 Add QFutureWatcher 2019-11-27 17:41:51 +01:00
artgg7300
cec62679be fixed syntax error in hungarian translation 2019-11-24 15:59:47 +01:00
dlee99
f806d82b41 modified: lang/qet_nl.qm
modified:   lang/qet_nl.ts
2019-11-23 18:38:55 +01:00
Laurent Trinques
41af7abadb Fix typo 2019-11-18 12:53:05 +01:00
nuri
b39e000fa8 Updated german translation 2019-11-18 08:35:10 +01:00
Ole Carlsen
2e89016098 Updated Danish translation 2019-11-17 14:20:56 +01:00
artgg7300
236b37fa12 Updated hungarian translate 2019-11-17 07:21:21 +01:00
Laurent Trinques
68a685a87e Update *TS files 2019-11-17 02:41:40 +01:00
stromie@web.de
15c58e2362 bugfix, XREF Update when Text Alignment used
Signed-off-by: stromie@web.de <stromie@web.de>
2019-11-16 13:17:08 +01:00
joshua
0b196b6caf Remove QTabBar custom style 2019-11-14 21:24:55 +01:00
Kim Kirwan
fe2071c4b2 Remove Execute Permissions from Non-Executables
No source code changes.
Removed execute permissions from 7 files total:
*.pro and *.pri files (4)
main.cpp (2)
*.txt file (1)

Signed-off-by: Kim Kirwan <Kim@KimKirwan.com>
2019-11-11 04:22:22 -06:00
joshua
740b0942b7 Merge branch 'master' of ssh://git.tuxfamily.org/gitroot/qet/qet 2019-11-11 11:17:32 +01:00
joshua
c68c1a281e CSV export : minor gui change 2019-11-11 11:17:18 +01:00
artgg7300
7a24f2fb36 updated hungarian translation 2019-11-11 06:29:09 +01:00
sdeffaux
72315a2a0f update symbols 2019-11-10 22:32:38 +01:00
sdeffaux
e887845897 add symbol 2019-11-10 22:32:38 +01:00
sdeffaux
cb52625afa Update qet_directory 2019-11-10 22:32:38 +01:00
joshua
6e0eab2608 Merge branch 'master' of ssh://git.tuxfamily.org/gitroot/qet/qet 2019-11-10 19:46:46 +01:00
joshua
f912eea8d4 CSV export : improve save/load export configuration. 2019-11-10 19:46:28 +01:00
Laurent Trinques
a0fbcfe06c Fix symbol state 2019-11-09 18:27:58 +01:00
joshua
35d6fe5935 CSV export : change menu and dialog text 2019-11-09 14:33:33 +01:00
joshua
43361942e3 CSV export : improve selection type. 2019-11-09 14:28:13 +01:00
joshua
c8ab83a3ad CSV export : improve database and query 2019-11-09 11:38:30 +01:00
joshua
143cf088ba Merge branch 'master' of ssh://git.tuxfamily.org/gitroot/qet/qet 2019-11-08 19:06:25 +01:00
joshua
2df9528082 CSV export : fix some missing informations. 2019-11-08 19:06:11 +01:00
nuri
aa487495b5 Updated german translation 2019-11-08 07:58:29 +01:00
dlee99
da6dacca04 modified: lang/qet_nl.qm
modified:   lang/qet_nl.ts
2019-11-07 22:01:48 +01:00
joshua
fc73d53d73 CSV export : correctly export label 2019-11-07 21:21:07 +01:00
Ole Carlsen
32a4d9c3fe Danish translation updated 2019-11-06 17:14:03 +01:00
Laurent Trinques
ff9ccd6f86 Update *TS files 2019-11-06 17:01:47 +01:00
Laurent Trinques
13971c00ee Typo 2019-11-06 16:13:41 +01:00
Laurent Trinques
60d2c403b3 Nomenclature export : Minor change in UI 2019-11-06 16:10:24 +01:00
Laurent Trinques
3fa6025c1d Update *TS files 2019-11-06 14:25:18 +01:00
Laurent Trinques
9c874af52e Nomenclature export : add coil and protection query 2019-11-06 14:16:55 +01:00
Ole Carlsen
ce190dd323 Updated Danish translation 2019-11-05 21:06:13 +01:00
nuri
8f13ef06cb Updated german translation 2019-11-05 13:39:31 +01:00
tititiou36
dc360c57b5 Update qet_fr.ts
Ajout/correction de traduction avec pluriel
2019-11-05 11:07:18 +01:00
Laurent Trinques
a75c0c5c41 Update *TS files 2019-11-05 08:03:24 +01:00
joshua
97a2c8d2c9 Nomenclature export : items double click
User can double click on item to add/remove information to export.
2019-11-04 20:16:48 +01:00
joshua
ff7eb4d11c Revampe nomenclature
Nomenclature is now totally revamped, user can define information to
export and the order of theme.
2019-11-03 13:27:46 +01:00
joshua
7d9b3d8c36 Merge branch 'master' of ssh://git.tuxfamily.org/gitroot/qet/qet 2019-11-03 13:20:16 +01:00
Laurent Trinques
ce335f321f Add element, thanks Alexis 2019-11-01 16:48:21 +01:00
Laurent Trinques
d09b117bef Update EN translation 2019-10-29 18:08:29 +01:00
Laurent Trinques
8da9903877 Minor 2019-10-27 17:57:23 +01:00
Laurent Trinques
b2a77450de Revert previous commit 2019-10-27 17:56:13 +01:00
Laurent Trinques
345a1b4420 Typo 2019-10-20 17:29:19 +02:00
Laurent Trinques
fae2b0dab0 Try to fix Windows sqlite cache PATH 2019-10-20 17:25:54 +02:00
joshua
3c89c6f2ac Merge branch 'master' of ssh://git.tuxfamily.org/gitroot/qet/qet 2019-10-11 20:37:14 +02:00
Laurent Trinques
5fb7414b45 Add contributor 2019-10-09 14:47:47 +02:00
Laurent Trinques
7140cf9ca6 Update turkish translation, add forget qml files thanks Emir 2019-10-09 14:44:37 +02:00
Laurent Trinques
99681d27e4 Update turkish translation, thanks Emir 2019-10-09 14:33:25 +02:00
Laurent Trinques
265de06fe8 Update Hungarian translations, thanks Gabor 2019-10-07 06:58:59 +02:00
nuri
c50caadf78 Updated german translation 2019-10-06 11:28:42 +02:00
Ole Carlsen
e2e18e3736 Dansih translation updated 2019-10-06 09:57:22 +02:00
dlee99
de443e9f7b modified: lang/qet_nl.qm
modified:   lang/qet_nl.ts
2019-10-05 22:55:47 +02:00
Laurent Trinques
87d3322ee9 Update TS files 2019-10-05 14:56:55 +02:00
joshua
5de220c485 Conductors num can be exported to csv file. 2019-10-04 19:37:46 +02:00
joshua
8cc34d5f6a Simplify how a project is save
Probably only on windows, sometime the .qet file is empty after saving.
With this commit we simplify the save function, by avoiding to import an
xml node from another one, so we minimize the risk of failure.
2019-09-30 20:03:24 +02:00
joshua
eba9148924 Fix crash when a .qet file with 0 diagrams. 2019-09-27 19:25:38 +02:00
nuri
2caaa2fae6 Updated german translation 2019-09-23 09:08:40 +02:00
Laurent Trinques
6c21b1fb5f Refresh Wago symbols, thanks Plc-user 2019-09-22 16:23:53 +02:00
Laurent Trinques
b8e33bdf98 Update hungarian translation, thanks Gábor 2019-09-20 14:28:07 +02:00
Laurent Trinques
f86e26314d Add symbol, thanks Christophe 2019-09-20 10:09:50 +02:00
dlee99
79d3c75857 modified: lang/qet_nl.qm
modified:   lang/qet_nl.ts
2019-09-18 23:07:36 +02:00
Ole Carlsen
8c50496bd2 Danish translation updated, latest update apparently went wrong. 2019-09-18 16:37:58 +02:00
joshua
0ceb38eb66 Fix : element prefix don't work with custom path of user elements collection
See post at
https://qelectrotech.org/forum/viewtopic.php?pid=10593#p10593
2019-09-17 20:52:47 +02:00
Laurent Trinques
4327080b3c Add EN and FR translations 2019-09-17 13:07:34 +02:00
Laurent Trinques
33a851a9b4 Update *TS files 2019-09-17 12:58:24 +02:00
Laurent Trinques
5a3b5c9cd7 Update Changelog 2019-09-09 16:44:32 +02:00
Laurent Trinques
c4c829c205 Update Changelog 2019-09-09 10:38:56 +02:00
Laurent Trinques
ccb8b06427 macOs : add command key for fix mouse scroll 2019-09-09 09:02:16 +02:00
Laurent Trinques
a0a7513847 Replance Q_OS_MAC Deprecated by Q_OS_MACOS 2019-09-08 18:29:29 +02:00
Laurent Trinques
83eba80445 aDD scroll page tabs ON MACos, Thanks Giovanni 2019-09-08 18:07:20 +02:00
Laurent Trinques
76ba2aa3eb Add new symbols, thanks Michele 2019-09-08 15:51:38 +02:00
Laurent Trinques
01723497f3 Improve QTabBar::tab:selected style 2019-09-05 16:02:01 +02:00
Laurent Trinques
579e0badb2 Typo 2019-09-04 23:45:02 +02:00
Laurent Trinques
d24df771a3 Add green style color for tab selected 2019-09-04 23:42:24 +02:00
Laurent Trinques
b121dad562 For the Flatpak package : remove the file name extension added
automatically to the saved files even if the user sets an unknown file
extension for the program.
2019-09-03 22:54:09 +02:00
Laurent Trinques
e4741f3604 Improve Wago symbols, thanks Plc-user 2019-09-03 10:35:28 +02:00
joshua
519517a8fd Minor : fix typo 2019-09-02 20:37:33 +02:00
Laurent Trinques
701a34b033 Minor : remove Dolphin .directory view file 2019-09-02 03:48:44 +02:00
joshua
86b610dc84 Element editor : improve polygon edition 2019-09-01 21:05:33 +02:00
Laurent Trinques
3fa071841c Merge and clean Stromie patch : feature set xref slave position 2019-08-31 07:37:34 +02:00
Laurent Trinques
d37d802e6b Update MacQetDeploy.sh script 2019-08-30 14:09:08 +02:00
Laurent Trinques
10f249831d Force Fusion style on macOS 2019-08-29 13:12:00 +02:00
Laurent Trinques
cf8947cbc2 Element editor : add a control key for moving by keyboard thes
primitives selected by mouse area in 0.1 increments instead of 1
2019-08-26 14:08:51 +02:00
nuri
1218636cab Updated german translation 2019-08-26 13:55:09 +02:00
Laurent Trinques
130067ffb2 Element editor : add a control key for moving by keyboard selected
primitives in 0.1 increments instead of 1
2019-08-26 12:38:31 +02:00
nuri
80fd3c75ea Updated german translation 2019-08-26 11:13:40 +02:00
Laurent Trinques
0d464af32b Add new Wago elements, thanks Plc-user 2019-08-25 12:40:42 +02:00
Laurent Trinques
7ffa806b1b Improve folio list position (user don't know index is 0)
1 for first position
2 for second position
0 always in the end
2019-08-20 13:11:46 +02:00
Laurent Trinques
348a8d9975 Move symbols, thanks Galexis 2019-08-19 13:52:48 +02:00
Laurent Trinques
c054079d7b Set defaut position to second page 2019-08-17 12:58:24 +02:00
Laurent Trinques
6c09dd31d2 Add in setting folio list position spinbox
0 for first position
1 for second position
99999 always in the end
2019-08-17 11:43:13 +02:00
Laurent Trinques
603824aabb Snap: Remove tag hack 2019-08-07 16:19:14 +02:00
Laurent Trinques
86e658692f snap : add cups-bsd stage-packages 2019-08-07 13:22:02 +02:00
Maximilian Federle
90f43e686b snap: Add cups-control interface 2019-08-06 11:05:18 +02:00
Laurent Trinques
9fc7554dfd Update Greek TS, thanks aitolos 2019-08-03 16:05:04 +02:00
Laurent
e583919d72 Update_Spanish_Translations, thanks Alfredo 2019-07-31 19:30:49 +02:00
Laurent Trinques
9ea527986a Update translation BE-nl, thanks Ronny 2019-07-28 05:17:15 +02:00
Laurent Trinques
3e7bb303b8 Rename element 2019-07-24 16:22:33 +02:00
Laurent Trinques
88022b7ed2 Delete element 2019-07-24 16:20:20 +02:00
Laurent Trinques
3a50edbfac Rename folder 2019-07-24 16:18:24 +02:00
sdeffaux
02e1ea447c reorganize 2019-07-24 15:04:58 +02:00
sdeffaux
39c8469481 remove doublon 2019-07-24 15:04:58 +02:00
sdeffaux
9e01b54d0f Update 1734_ib8s.elmt 2019-07-24 15:04:58 +02:00
sdeffaux
132aa754b2 add manufacturer 2019-07-24 15:04:58 +02:00
sdeffaux
ba31d05e0d Update qet_directory 2019-07-24 15:04:58 +02:00
sdeffaux
a13ff777de Update qet_directory 2019-07-24 15:04:58 +02:00
sdeffaux
f0fa3f8929 add munufacturer 2019-07-24 15:04:58 +02:00
sdeffaux
171cd0aeab Update qet_directory 2019-07-24 15:04:58 +02:00
sdeffaux
b8d9334626 Update qet_directory 2019-07-24 15:04:58 +02:00
sdeffaux
85b9280cd7 Update qet_directory 2019-07-24 15:04:58 +02:00
sdeffaux
f564135eb3 Update split-pared-d.elmt 2019-07-24 15:04:58 +02:00
sdeffaux
d9cd48e5ab renaming dossier 2019-07-24 15:04:58 +02:00
Laurent Trinques
abdcef1c46 Splash : minor change 2019-07-21 16:24:01 +02:00
Laurent Trinques
528cb870a7 Update splash 2019-07-21 16:17:13 +02:00
Laurent Trinques
6468063c30 Change Version and displayedVersion update Doxyfile 2019-07-21 15:00:07 +02:00
Dik Leenheer
5fd3f7978d Update Dutch Translation 2019-07-21 14:18:49 +02:00
Dik Leenheer
6382f61c8c Merge branch 'master' of ssh://git.tuxfamily.org/gitroot/qet/qet 2019-07-21 14:07:53 +02:00
Ole Carlsen
70dc2bcf8d Danish translation update 2019-07-20 14:47:15 +02:00
Laurent Trinques
c0543bb9b0 Update *TS files 2019-07-20 14:35:55 +02:00
Laurent Trinques
f5a22b61c7 Fix lintian spelling_error 2019-07-20 14:27:52 +02:00
Laurent Trinques
a375424c07 Merge branch 'master' of ssh://git.tuxfamily.org/gitroot/qet/qet 2019-07-17 18:36:27 +02:00
Laurent Trinques
02af727b52 Bump year in Copyrigh notice, thanks Remi 2019-07-17 18:34:55 +02:00
Maximilian Federle
ccc43c8167 Snap: Remove tag hack & remove 'g' from git hash 2019-07-17 17:49:48 +02:00
Ole Carlsen
cb734a0581 Danish translation updated 2019-07-17 15:24:07 +02:00
Laurent Trinques
37fa30a34f Change displayedVersion 2019-07-17 15:00:14 +02:00
Dik Leenheer
5b838c3ca9 Update Dutch Translation 2019-07-16 22:26:27 +02:00
Dik Leenheer
7bea6343b4 Update Dutch Translation 2019-07-16 22:19:25 +02:00
Laurent Trinques
98363379b8 Fix symbol, thanks S.DEFFAUX 2019-07-15 22:00:17 +02:00
Laurent Trinques
be0ec5e12a Remove some duplicate elements and organize elements, thanks S.DEFFAUX 2019-07-15 11:49:02 +02:00
Laurent Trinques
5645188c5c Add new symbols, thanks Richard 2019-07-11 13:53:05 +02:00
Maximilian Federle
474c944692 Add gitignore file 2019-07-08 14:59:24 +02:00
Maximilian Federle
968a68a2a3 Snap: Derive version from git describe 2019-07-08 14:27:44 +02:00
Laurent Trinques
5ef009092a Add new symbols, thanks S.DEFFAUX 2019-07-03 20:04:51 +02:00
Laurent Trinques
5e27d65342 Update Changelog 2019-07-03 15:27:57 +02:00
joshua
863b337972 Minor : don't display gui when qet is launched with specific argument 2019-07-02 21:13:55 +02:00
joshua
e3d386af67 Merge branch 'master' of ssh://git.tuxfamily.org/gitroot/qet/qet 2019-07-02 21:12:01 +02:00
Laurent Trinques
cfdb9858e9 Update changelog 2019-07-02 08:26:19 +02:00
Laurent Trinques
4d79751d37 Update *TS files 2019-07-01 20:40:54 +02:00
joshua
63f039e721 Merge branch 'master' of ssh://git.tuxfamily.org/gitroot/qet/qet 2019-07-01 20:16:24 +02:00
joshua
097645f5ff Use of QSAveFile instead a QFile. 2019-07-01 20:12:12 +02:00
nuri
95d1fca171 Updated german translation 2019-06-28 10:36:45 +02:00
Laurent Trinques
0f93e028ba Merge branch 'master' of ssh://git.tuxfamily.org/gitroot/qet/qet 2019-06-27 16:29:40 +02:00
Laurent Trinques
05e4425913 Remove some duplicate elements and organize elements, thanks S.DEFFAUX 2019-06-27 16:26:37 +02:00
Laurent Trinques
69146a65f7 Sync since SVN
Revision: 5947
Author:   blacksun
Date:     2019-06-26 17:35:49 +0200 (Wed, 26 Jun 2019)
Log Message:
-----------
Fix crash when launch qet with command line argument -v.
2019-06-27 16:21:40 +02:00
ppd
d3ede55f03 Snap: Modify displayedVersion to reflect snap build & set grade: stable
+ add subversion to build-packages


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5945 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-26 07:55:06 +00:00
scorpio810
8fab43c0ec Fix error: cannot validate snap "qelectrotech": cannot validate license "GPL-2.0-or-later": unknown license: GPL-2.0-or-later
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5944 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-25 20:10:23 +00:00
scorpio810
a8789f78ee Change Displayed version
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5942 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-25 16:55:14 +00:00
scorpio810
408c2418c1 AboutQET : Add compilation date and time
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5941 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-25 15:35:01 +00:00
scorpio810
9ad634291e AboutQET : minor changes
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5940 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-25 15:19:52 +00:00
scorpio810
66e0ba9c50 AboutQET : improve QSysInfo informations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5939 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-25 12:58:29 +00:00
scorpio810
1f130846c2 AboutQET : add QSysInfo informations for macOS
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5938 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-25 01:10:49 +00:00
scorpio810
38ca53f5d3 AboutQET : add more QSysInfo informations for debug users
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5937 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-25 01:09:16 +00:00
blacksun
eb6d76f6ba Fix unwanted restore dialog who appear for the current project
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5936 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-24 17:44:37 +00:00
scorpio810
36ca191609 Add license specification
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5935 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-24 17:05:56 +00:00
ppd
73a7da682c Snap: Use Github repos for qet_tb_generator & DXFtoQET
+ small fix for amdgpu.ids warning message



git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5934 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-24 15:06:13 +00:00
ppd
5b34e02ddf Linux: Add support for building snap packages
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5933 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-24 10:22:46 +00:00
scorpio810
985b368b33 Remove old Snap folder
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5932 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-23 14:43:30 +00:00
blacksun
21de961933 Windows fix : When launch QElectrotech with in argument a .qet file, QElectroTech ask to user to open the restore file of the argument file.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5928 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-22 11:24:59 +00:00
scorpio810
b73d339c78 Minor symbols change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5927 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-21 18:56:04 +00:00
scorpio810
8ef3e9c136 Add new symbols, thanks Christophe
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5926 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-21 18:34:10 +00:00
dlee99
507da9c58f Update Dutch translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5925 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-21 18:13:25 +00:00
scorpio810
dbfe824186 Update yaml, thanks Max
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5924 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-18 17:02:12 +00:00
scorpio810
6402b6d63b Add snap packaging, thanks Max
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5923 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-17 18:30:57 +00:00
scorpio810
0bc4a63a93 Remove some duplicate elements and organize elements, thanks S.DEFFAUX
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5922 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-15 21:41:15 +00:00
scorpio810
418b4d57cc Remove some duplicate elements and organize elements, thanks S.DEFFAUX
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5921 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-15 21:18:41 +00:00
ossau2mation
89c6565d04 Update Danish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5920 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-13 14:39:02 +00:00
pawel32640
162668fa27 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5919 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-12 18:29:42 +00:00
scorpio810
421c7821be Basic shapes : set solid line pattern by default
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5918 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-12 13:16:54 +00:00
artgg
ac217ed862 Updated Hungarian translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5917 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-12 04:18:19 +00:00
scorpio810
f67d4703a4 When user cleanning an project, set project to modified
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5916 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-12 01:03:02 +00:00
scorpio810
281a93091d Adding or revoming diagram set project to modified
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5915 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-12 00:48:36 +00:00
scorpio810
4f7ce670b4 Update *TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5914 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-11 23:47:11 +00:00
scorpio810
6af5b7b9f8 Add new symbols, thanks Eric
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5913 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-11 16:05:20 +00:00
scorpio810
60e6999c2e Remove some duplicate elements and organize elements, thanks S.DEFFAUX part 2
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5912 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-10 13:16:41 +00:00
scorpio810
6f8a2e70ef Remove some duplicate elements and organize elements, thanks S.DEFFAUX
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5911 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-10 12:38:38 +00:00
scorpio810
1b771037c2 Bug fix : when user load a project which contains summary pages, project
was marked modified (summary was created on the fly and moved on second
position by default), now the project is no longer marked as amended


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5910 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-10 11:34:57 +00:00
scorpio810
a8978f2f86 Typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5909 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-10 10:12:00 +00:00
scorpio810
d77ae57c64 Add a "configure" shortcut "Ctrl+Shift+p" to quickly open the dialog used
for create the auto numbering rules.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5908 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-10 10:07:13 +00:00
scorpio810
707207044e Add Fernando Contributor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5907 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-09 18:02:30 +00:00
scorpio810
fd7893d7e6 Elements final terminals change link type simlple to terminal, thanks S.DEFFAUX to report it
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5906 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-09 16:57:53 +00:00
scorpio810
6f7bbd2e10 Element translation, thanks S.DEFFAUX
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5905 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-09 15:22:36 +00:00
blacksun
8a4c9a23cf Remove some duplicate elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5904 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-07 19:34:47 +00:00
scorpio810
dc444af4cf Add new symbols, thanks Galexis
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5903 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-06 20:29:20 +00:00
pawel32640
337a589047 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5902 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-04 05:58:58 +00:00
alfredo
3c21e66fbe Spanish translation Qet
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5901 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-06-02 03:33:26 +00:00
scorpio810
4b566b7b08 Element translation, thanks S.DEFFAUX
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5900 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-31 09:21:12 +00:00
scorpio810
73430beb1f Minor : remove unused shortcut "reload collection"
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5899 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-30 23:15:26 +00:00
scorpio810
af04d5e16b Elementspanelwidget: adds keyboard shortcuts to quickly move up, down,
or move the targeted folio to the beginning of the project

F3 MoveUp
F4 MoveDown
F5 MoveUpTop


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5898 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-30 22:17:03 +00:00
scorpio810
76fafc19b2 Fix Static text size of element exported to dxf
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5897 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-30 18:49:43 +00:00
blacksun
4cbf103cbc Static text of element are now exported to dxf
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5896 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-28 19:22:36 +00:00
scorpio810
571d9fdac5 Add symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5895 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-28 15:59:42 +00:00
pawel32640
f1b6abe1f2 polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5894 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-26 21:03:27 +00:00
scorpio810
c869cd46a9 Add new symbol, thanks S.DEFFAUX
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5893 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-26 10:12:22 +00:00
scorpio810
42d065df4e Element translation, thanks S.DEFFAUX
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5892 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-26 09:55:26 +00:00
artgg
0ce48e0681 Updated Hungarian translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5891 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-23 19:58:58 +00:00
silvio
3c1cac43ee Update .ts file translation ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5890 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-23 07:57:52 +00:00
scorpio810
d3a4c833f6 Add symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5889 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-23 00:31:49 +00:00
scorpio810
8d2d187e0f Rfresh symbol, change static texts by dynamic texts
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5888 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-22 23:50:46 +00:00
ossau2mation
ab58375447 Update Danish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5887 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-22 19:16:34 +00:00
scorpio810
7d5708b493 Add symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5886 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-21 23:03:11 +00:00
scorpio810
98a9084859 Update nl translations, thanks Dik
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5885 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-21 20:30:25 +00:00
nuri
1a626fb966 Updated german translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5884 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-21 06:29:23 +00:00
scorpio810
7826512687 Update *TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5883 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-21 00:27:04 +00:00
scorpio810
9cb6d62725 QMessageBox : Add QObject to improve translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5882 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-21 00:06:50 +00:00
scorpio810
1519f21a47 QMessageBox : improve HTML messages
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5881 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-20 18:51:32 +00:00
scorpio810
749519ff45 Diagram editor : when plugin qet-tb-generator
"generate terminal blocks and connectors" isn't installed show an
QMessageBox instruction now depending on the operating system for
install it 
Add in QMessageBox url encoding/decoding for easy download packages


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5880 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-20 14:54:04 +00:00
scorpio810
a9b6b20b92 Update *TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5879 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-19 20:00:54 +00:00
scorpio810
3e6a71d899 Diagram editor : Add StatusTip instruction for install and launching DXF
plugin depending on the operating system


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5878 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-19 19:47:32 +00:00
scorpio810
cc60650b4c Update *TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5877 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-19 18:34:04 +00:00
scorpio810
cc9fbc2967 Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5876 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-19 18:28:39 +00:00
pavelfric
2aaca04ffc Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5875 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-19 18:17:14 +00:00
scorpio810
53c0d95f4e Typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5874 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-19 17:23:20 +00:00
scorpio810
9f53198c2a Diagram editor : Add missing tooltip of some QAction
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5873 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-19 17:18:21 +00:00
pavelfric
aae825b6ac Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5872 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-19 08:02:17 +00:00
scorpio810
e324e9c59d Minor : add clear button on formulaautonumberingw and numparteditorw
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5871 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-19 00:30:14 +00:00
scorpio810
be860044fb Update *TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5870 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-19 00:19:23 +00:00
blacksun
28cceca3c5 Element editor : finish the creation of polyline with the last point at the same position of the first point, close the polyline.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5869 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-18 19:49:27 +00:00
blacksun
3f9685832d Add missing tooltip of some QAction
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5868 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-18 19:35:57 +00:00
scorpio810
ef833732f9 Update *TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5867 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-18 10:58:17 +00:00
scorpio810
b8b39e2f24 Diagram editor : when user add a polygon, improve message in statusBar
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5866 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-18 10:49:01 +00:00
scorpio810
328a33832f Element translation, thanks S.DEFFAUX
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5865 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-17 22:00:07 +00:00
scorpio810
5f44933c21 Diagram editor : when user add a polygon, a message in stausBar show how
to finish this shape


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5864 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-17 21:22:10 +00:00
blacksun
2f9b101c19 Diagram editor : when user add a polygon, if the last point is at the same position of the first, then the polygon is closed.
Undo commit 5862


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5863 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-16 17:38:13 +00:00
scorpio810
4503132140 Add ToolTip for QetShapeItem
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5862 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-16 16:06:42 +00:00
scorpio810
6187e9de44 Refres element directory
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5861 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-12 23:28:02 +00:00
scorpio810
e382b21334 Element translation, thanks S.DEFFAUX
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5860 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-12 21:22:01 +00:00
blacksun
466835d7f0 Minor fix : Advanced replace of independent text doesn't work.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5859 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-09 19:36:51 +00:00
silvio
a1fc3189af Update .ts file translation ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5858 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-09 10:50:09 +00:00
dlee99
fa7d93dcb2 Update Dutch translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5857 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-04 21:11:40 +00:00
scorpio810
963893fd54 Add new symbol, thanks S.DEFFAUX
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5856 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-03 13:40:34 +00:00
nuri
0888c74ac7 Updated german translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5855 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-02 14:25:01 +00:00
artgg
56631637ad Updated Hungarian translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5854 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-05-02 06:02:44 +00:00
ossau2mation
a92c85cf73 Update Danish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5853 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-04-30 17:27:39 +00:00
scorpio810
bd843753a2 Add new symbols, thanks Galexis & S.DEFFAUX
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5852 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-04-30 12:44:36 +00:00
pawel32640
e7d21a0cad updated polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5851 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-04-30 09:55:15 +00:00
pawel32640
0c9cd509e2 updated polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5850 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-04-30 08:42:41 +00:00
scorpio810
94d2462c2f Update *TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5849 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-04-30 04:53:36 +00:00
blacksun
cd9a42184f Add new slave type : delay on/off
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5848 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-04-29 16:41:06 +00:00
scorpio810
c49cf8d136 Add new symbols, thanks S.DEFFAUX
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5847 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-04-28 12:32:20 +00:00
scorpio810
63ba7f3d20 Add new symbols, thanks S.DEFFAUX
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5846 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-04-27 19:45:40 +00:00
blacksun
da99c82670 Minor : The Xref (draw as contact) of temporised switch contact are not represented with the parachute
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5845 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-04-26 18:01:28 +00:00
scorpio810
da19adc565 Add new symbols, thanks Jevgenijs
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5844 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-04-26 09:54:50 +00:00
scorpio810
7274a1ff4d Add symbols, thanks Alexis
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5843 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-04-25 14:46:08 +00:00
scorpio810
b3d06b73f1 Minor move symbol
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5842 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-04-25 14:25:56 +00:00
scorpio810
92e5baf492 Add new symbol, thanks Alexis
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5841 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-04-25 14:22:55 +00:00
scorpio810
b39c263c7c Element fix, thanks Jevgenijs
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5840 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-04-22 04:07:04 +00:00
scorpio810
8c363e4298 Refresh symbol
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5839 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-04-20 11:57:55 +00:00
scorpio810
fc30985d59 Add new symbols, thanks Jevgenijs
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5838 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-04-14 14:07:57 +00:00
scorpio810
3ecc19146a Update Changelog
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5837 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-04-13 13:43:50 +00:00
scorpio810
b26a36d6de Update Changelog
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5836 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-04-13 13:08:34 +00:00
scorpio810
e5fa888a6a Add new symbols, thanks Tourniere & DEFFAUX
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5835 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-04-13 11:11:48 +00:00
scorpio810
cd1cfc0a46 Fix warning, thanks Remi
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5834 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-04-12 05:45:41 +00:00
scorpio810
30a188abf0 Change displayed version
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5832 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-04-12 04:30:26 +00:00
scorpio810
1bc18fcda0 Add new symnols, thanks David
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5831 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-04-11 15:31:48 +00:00
blacksun
944e527dc6 Fix fail to build for mac osx
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5830 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-04-10 18:11:24 +00:00
scorpio810
6160657577 Change style.css
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5829 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-04-08 09:53:38 +00:00
scorpio810
d768e3b141 Add new example , thanks Franck
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5828 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-04-05 16:56:43 +00:00
scorpio810
e669c8ae90 Add new symbols, thanks David, Gabor, David
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5827 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-04-05 14:51:55 +00:00
blacksun
8dd15c65e8 Try to open a .qet file when double click on it or drop it in the qet icons of the dock in mac osx.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5826 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-04-04 19:27:24 +00:00
scorpio810
d1b73ef8c6 Add symbol, thanks Galexis
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5825 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-04-03 18:31:46 +00:00
scorpio810
957c019a8f Minor : update Copyright date
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5824 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-04-03 18:29:13 +00:00
blacksun
4474434fbd Fix : when create multiple conductors with the free hand selection, the checking of existing potentiel don't search trought a folio report.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5823 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-04-03 16:06:21 +00:00
blacksun
106903126d Fix crash
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5822 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-04-02 21:01:52 +00:00
blacksun
846ab7dca1 Add new allen bradley element, thank Benoit Michel
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5821 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-04-02 18:09:26 +00:00
blacksun
ab66c18b21 Minor typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5820 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-04-02 18:02:34 +00:00
blacksun
4bbf086a88 Improvement : minimize the unwanted gap of the top right folio of the view
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5819 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-04-02 17:36:32 +00:00
scorpio810
885e61f438 Add new symbols, thanks Franck and Gabor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5818 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-04-01 13:47:45 +00:00
blacksun
acab6f3dc3 Really fix the removing of carriage return and line feed.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5817 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-31 18:43:45 +00:00
blacksun
a7f4be0c12 Same as previous commit, for the element editor.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5816 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-31 13:49:07 +00:00
blacksun
0528a2526e Minor fix : remove from the element information the html hexadecimal and decimal characters of line feed and carriage return.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5815 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-31 13:33:48 +00:00
blacksun
666f03dc23 Minor : When launch qet with a .qet as argument, the "restor backup" dialog ask user to restor the project freshly opened while this one wasn't crashed.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5814 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-29 21:11:09 +00:00
blacksun
a912bfb380 Fix : unable to save a new project.
The fix is weird, need more information about QFileInfo


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5813 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-29 20:51:24 +00:00
scorpio810
dcfa9dcf01 Add new symbols, thanks Ludovic
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5812 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-28 22:02:24 +00:00
scorpio810
5aed4324aa Add new elements, thanks Gabor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5811 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-24 05:31:49 +00:00
scorpio810
d362fce56a Add new elements, thanks Gabor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5810 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-23 01:22:11 +00:00
scorpio810
a6285fd9d5 Add new elements, thanks Gabor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5809 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-23 01:14:15 +00:00
scorpio810
5d14b87e37 Add new elements, thanks Gabor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5808 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-23 00:59:16 +00:00
alfredo
29d2d64083 Translation es-ES qelectrotech
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5807 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-21 22:44:55 +00:00
blacksun
660c7493c0 Minor : remove unused variable
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5806 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-21 19:42:16 +00:00
blacksun
69dfb598d3 DynamicElementTextModel : change the way how to display the QFontDialog use for change the font of the dynamic text.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5805 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-20 20:38:58 +00:00
silvio
d18751b9a6 Update .ts file translation ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5804 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-19 18:44:30 +00:00
blacksun
7796dbddc2 Minor fix : in the diagram editor, when we select several shapes at the same time, the properties widget only apply the change to one shape.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5803 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-19 17:44:18 +00:00
blacksun
4a4dd25263 Minor gui change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5802 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-19 17:31:46 +00:00
blacksun
32e2fd3c89 Replace deprecated QMatrix by QTransform
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5801 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-18 20:14:36 +00:00
blacksun
1ac950cd81 Replace Q_ENUMS (with S, deprecated since Qt5.5) by Q_ENUM (without S)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5800 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-18 19:49:12 +00:00
blacksun
07da381515 Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5799 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-18 19:27:37 +00:00
scorpio810
17cebf3dee Add new symbols, thanks Gabor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5798 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-17 21:52:52 +00:00
pawel32640
a9aafae8e6 updated polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5797 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-17 20:45:29 +00:00
artgg
32e3bb9ebe Updated Hungarian translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5796 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-17 18:04:21 +00:00
nuri
c0c96d7a84 Updated german translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5795 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-16 20:33:40 +00:00
blacksun
66ef773c53 Fix DXF export
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5794 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-16 19:13:46 +00:00
scorpio810
d8894809ad The DXF export is broken now on 0.7-dev, hide button in export dialog
but keeps the code if anyone wants to work on it


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5793 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-16 17:59:17 +00:00
dlee99
c9eb0c7b7d Update Dutch translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5792 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-16 17:05:05 +00:00
ossau2mation
52dbc431ca Update Danish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5791 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-16 14:35:19 +00:00
scorpio810
c8e5ee49d7 Update *TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5790 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-16 12:56:05 +00:00
blacksun
fae3cf33bd Fix behavior when use arrow key with dynamic element text item and element text item group
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5789 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-16 11:34:52 +00:00
blacksun
154575d38a Use KAutoSaveFile for the backup system, instead of home made function.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5788 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-16 10:50:30 +00:00
blacksun
47b78bfec1 use KColorButton instead of QPushButton when needed
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5787 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-15 18:07:57 +00:00
blacksun
d4b49ed07c Minor : remove unused function
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5786 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-15 16:53:13 +00:00
nuri
f6caa40ac9 Updated german translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5785 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-12 07:57:10 +00:00
artgg
8b1546e661 Updated Hungarian translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5784 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-12 05:17:42 +00:00
silvio
a9ce72e865 Update .ts file translation ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5783 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-11 21:02:28 +00:00
pawel32640
47024a18b2 updated polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5782 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-11 19:47:11 +00:00
ossau2mation
22c9fd1eaf Update Danish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5781 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-11 19:06:10 +00:00
aitolos
43313f5f37 Update Greek TS
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5780 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-11 17:18:57 +00:00
scorpio810
3a6bd1a3a0 Update *TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5779 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-11 16:25:37 +00:00
pawel32640
d47597a7bd updated polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5778 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-10 18:43:48 +00:00
pawel32640
ebc9aed510 updated polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5777 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-10 18:33:52 +00:00
silvio
46c281b7e8 Update .ts file translation ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5776 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-10 18:10:07 +00:00
blacksun
ad76d438ef Element editor :
The font of the dynamic text field can be edited.
The font of the static text field can be edited.
The color of the static text field can be edited. 


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5775 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-10 17:58:33 +00:00
nuri
a56dc46c35 Updated german translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5774 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-10 17:24:54 +00:00
artgg
f8b572564d Update Hungarian translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5773 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-09 20:19:43 +00:00
dlee99
0a50345755 Update Dutch translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5772 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-09 17:57:44 +00:00
pawel32640
dc908e99a4 updated polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5771 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-09 15:31:41 +00:00
ossau2mation
e48ceaec01 Update Danish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5770 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-09 12:36:22 +00:00
scorpio810
917b66bdbb Update *TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5769 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-09 00:04:16 +00:00
scorpio810
ce1c80d047 Fix typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5768 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-09 00:00:33 +00:00
blacksun
32db96c623 Add new entry if the main QElectroTech dialog conf, to set a defaut font and rotation of independent text item.
Revamp some GUI


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5767 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-08 20:07:00 +00:00
blacksun
a58cecc22a Independent text can have custom font.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5766 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-08 13:47:33 +00:00
blacksun
c9ebb78639 Diagram text item : remove the function fontSize, and use instead font
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5765 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-08 11:53:27 +00:00
blacksun
26a071a4d9 Dynamic element text item : The font of the dynamic texts can be individually be setted.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5764 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-08 10:27:33 +00:00
ossau2mation
82342c0463 Update Danish translation - reviewed
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5763 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-07 18:11:51 +00:00
ossau2mation
88578434d7 Update Danish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5762 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-07 17:59:22 +00:00
artgg
e56c4397a0 Update Hungarian translation little modification
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5761 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-06 05:39:13 +00:00
artgg
36ca79ed22 Update Hungarian translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5760 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-06 05:21:29 +00:00
blacksun
62f5c4092d fix typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5759 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-05 13:48:47 +00:00
blacksun
4f2977541f Forhet file from previous commit
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5758 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-04 15:43:56 +00:00
blacksun
504636cb79 Add KColorButton in the shape properties editor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5757 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-04 15:42:53 +00:00
blacksun
aaba90419f Diagram editor : dock used to edit the shape item, can now edit several items in the same time
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5756 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-04 15:34:42 +00:00
scorpio810
30d4ea6477 Minor : Update EN translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5755 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-04 13:15:48 +00:00
blacksun
1c2b3baba7 Minor : update gui layout.
Fix : change grid step doesn't applyed


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5754 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-04 08:55:06 +00:00
dlee99
79905d77f2 Update Dutch translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5753 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-03 20:56:58 +00:00
scorpio810
11320d8bb8 Update *TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5752 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-02 23:27:22 +00:00
blacksun
47295b5ed7 minor : fix naming convention
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5751 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-02 21:45:09 +00:00
blacksun
09e39b97f5 Minor : fix gui layout
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5750 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-03-02 20:33:07 +00:00
scorpio810
ba293a650e Add two speedsize for displacing items when working with a keyboard on
diagram editor :
normal displacement "adjustable from 1 to 30" 
(keys : Left,Right,Up,Down) 
fine displacement "adjustable from 1 to 10"
(ALT + keys : Left,Right,Up,Down ), thanks Erik for his patch


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5749 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-02-24 15:44:47 +00:00
silvio
89d2b4f7b0 Update .ts file translation ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5748 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-02-21 21:57:35 +00:00
dlee99
755b461ae8 Update Dutch translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5747 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-02-21 20:36:35 +00:00
ossau2mation
4de8ac1c84 Update Danish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5746 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-02-21 15:49:17 +00:00
artgg
23177d8c5b Updated Hungarian translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5745 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-02-21 08:52:56 +00:00
scorpio810
47aaa1cdf4 Add Erik path : User can Diagram grid layout and keys
Left,Right,Up,Down stepsize


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5744 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-02-21 00:02:49 +00:00
scorpio810
7f7c289c3f Update *TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5743 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-02-20 23:53:21 +00:00
scorpio810
09d373bc21 Fix typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5742 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-02-20 23:45:17 +00:00
scorpio810
9509da6142 Fix typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5741 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-02-20 23:35:37 +00:00
blacksun
6d84414374 Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5740 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-02-20 21:04:08 +00:00
blacksun
03edae216f fix crash
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5739 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-02-20 20:47:40 +00:00
blacksun
1ec083a313 Independent text editor can now edit several texts.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5738 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-02-20 20:36:56 +00:00
blacksun
33d757e0d8 Diagram editor : add a new widget in the "curent selection dock" for edit the independent text. WIP
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5737 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-02-19 16:42:07 +00:00
scorpio810
2300314bf5 Add new symbols, thanks Christophe
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5736 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-02-13 16:24:17 +00:00
blacksun
d2236e101d fix segfault, see bugtracker N°167
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5735 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-02-10 17:37:25 +00:00
scorpio810
0bd9a68dbe Fix multiple translation in elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5734 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-02-05 22:18:55 +00:00
blacksun
481dda8477 Free selection : minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5733 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-02-04 20:43:58 +00:00
blacksun
ae68f08bb6 Improve free selection behavior
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5732 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-02-04 19:00:46 +00:00
scorpio810
7cd5fc57a9 Free hand selection : Change CTRL key by SHIFT
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5731 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-02-04 17:44:33 +00:00
alfredo
9d51293c52 Translation to Spanish
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5730 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-02-02 21:47:08 +00:00
pawel32640
ac905b1095 updated polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5729 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-02-02 18:29:22 +00:00
pawel32640
079a26ec00 updated polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5728 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-02-02 18:23:18 +00:00
scorpio810
ca39ff3e58 Add new elements, thanks David
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5727 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-02-01 13:42:48 +00:00
silvio
46a1568f98 Update .ts file translation ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5726 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-29 18:53:28 +00:00
dlee99
7ea8b23f4a Update Dutch translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5725 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-28 21:20:25 +00:00
ossau2mation
1e5c23cbe6 Update Danish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5724 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-28 19:24:02 +00:00
artgg
316c4afedf Update Hungarian translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5723 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-28 04:52:01 +00:00
nuri
23bcbb5439 Updated german translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5722 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-28 02:59:44 +00:00
scorpio810
1903c06f3f Update *TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5721 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-27 22:03:26 +00:00
scorpio810
c861498a0a Typo fix
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5720 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-27 21:58:57 +00:00
blacksun
13520e9f70 forget file from previous commit
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5719 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-27 17:06:38 +00:00
blacksun
0db73abd41 Free hand selection : at the end of the selection, popup a context menu for create conductors between selected terminal
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5718 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-27 17:04:13 +00:00
alfredo
a5b0658293 Translation to Spanish
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5717 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-25 22:50:55 +00:00
blacksun
ee44b4e8a2 Add new selection style : free selection.
Use like normal selection + hold the ctrl key.
The code made in this commit are largely inspired by the the rubber band of QGraphicsView.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5716 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-23 17:08:04 +00:00
blacksun
3d17947074 Use QETArguments, instead of arguments list itself
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5715 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-21 17:23:00 +00:00
scorpio810
500b21964a Minor : change url to https
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5714 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-21 13:24:58 +00:00
scorpio810
451c95e2fc NSI Windows packaging : Update manual_online URL to new manual link
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5713 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-21 13:22:17 +00:00
scorpio810
ac33911644 Update manual_online URL to new manual link
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5712 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-21 13:17:50 +00:00
scorpio810
d42f11b83d Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5711 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-21 08:52:58 +00:00
blacksun
9579d3b712 Fix crash with recent change of single application
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5710 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-20 14:32:13 +00:00
blacksun
3d7b39be07 Fix regression : QElectrotech is unable to open several project/elements/titleblock from the outside of the application (for exemple by double clicking on a .qet file).
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5709 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-20 13:01:44 +00:00
scorpio810
c6d537a5d5 Update singleApplication.
See : https://github.com/itay-grudev/SingleApplication


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5708 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-19 15:25:48 +00:00
dlee99
c915cb1ba9 Update Dutch translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5707 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-15 17:56:42 +00:00
blacksun
dba6a58390 Minor refactoring of diagram event interface
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5706 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-14 18:25:43 +00:00
scorpio810
3ed7a4e63b Minor : update Copyright date
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5705 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-13 16:56:12 +00:00
scorpio810
ed42d1f3e8 Update changelog
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5704 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-12 14:23:50 +00:00
blacksun
ba0a85c166 When remove an element with several conductors connected to the same terminal, the electrical potential is partially or totally destroyed.
This commit fix it : When element is removed one or several conductors are created (if needed) to conserve the electrical potential.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5703 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-09 18:08:49 +00:00
artgg
98b4188ded Update Hungarian translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5702 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-09 05:07:08 +00:00
nuri
70d1412a7c Updated german translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5701 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-07 06:36:42 +00:00
artgg
9949449fc4 Update Hungarian translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5700 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-07 05:13:21 +00:00
dlee99
888674c292 Update Dutch translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5699 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-06 15:26:06 +00:00
blacksun
58ef54090e Element panel : elements can be searched by their name but also with by all their informations.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5698 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-04 22:06:34 +00:00
pawel32640
d735983c16 updated polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5697 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-04 15:14:46 +00:00
artgg
fc72f9e53e Update Hugarian translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5696 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-04 05:55:27 +00:00
scorpio810
4a92b7bb15 Add template
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5695 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-03 11:47:04 +00:00
dlee99
94ab7519e8 Update Dutch translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5694 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-02 20:37:19 +00:00
ossau2mation
3aad17717f Updated Danish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5693 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-02 20:18:28 +00:00
scorpio810
f00758eca2 Refresh example
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5692 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-02 20:07:00 +00:00
scorpio810
f70d1d250b Revert r5689
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5691 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-02 20:01:13 +00:00
silvio
831c96c5e5 Update .ts file translation ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5690 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-02 19:17:02 +00:00
scorpio810
a92820c6fc Remove "{ }" in variables pasted
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5689 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-02 17:28:38 +00:00
scorpio810
5f5685658f Update *TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5688 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-02 17:18:15 +00:00
blacksun
04e890ab7d NameList widget : add a combo box for easily paste texts, like the variables for title block.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5687 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-02 16:56:46 +00:00
scorpio810
2d76065b98 Return gce to 20_manufacturers_articles folder
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5686 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-02 00:20:17 +00:00
nuri
077e82cf0f Updated german translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5685 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-01 15:04:37 +00:00
scorpio810
021bd30d00 Update Hungarian translations, thanks Gabor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5684 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-31 12:18:20 +00:00
pawel32640
78354ecda5 updated polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5683 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-31 09:34:59 +00:00
pawel32640
5c4d5c4ac0 updated polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5682 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-31 09:18:55 +00:00
pawel32640
d769e450cb updated polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5681 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-31 09:01:43 +00:00
silvio
562d66bd6e Update .ts file translation ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5680 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-31 00:04:24 +00:00
pawel32640
0f36992604 updated polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5679 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-30 20:37:54 +00:00
scorpio810
a3b3bd360b Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5678 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-30 20:32:15 +00:00
scorpio810
5b71aa2cf3 Fix symbol mistake
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5677 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-30 20:17:43 +00:00
pawel32640
071a690850 updated polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5676 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-30 19:48:35 +00:00
pawel32640
4de7787918 updated polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5675 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-30 19:31:34 +00:00
scorpio810
31440662d4 Move some elements to 01_thumbnails_mounting_plate folder
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5674 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-30 14:31:16 +00:00
scorpio810
0ca29b5f02 Add translator
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5673 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-29 19:45:19 +00:00
scorpio810
c19c5b03a7 Update Hungarian translations, thanks Gabor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5672 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-29 19:37:16 +00:00
scorpio810
8ebe2e4ecd Add new symbols https://github.com/condo4/qelecpanel.git
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5671 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-29 16:46:13 +00:00
aitolos
d984d140ee Update Greek TS
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5670 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-29 16:38:37 +00:00
dlee99
314c210b43 Update Dutch translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5669 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-29 13:24:16 +00:00
scorpio810
80db7aded6 Add Hungarian translations, thanks Gabor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5668 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-29 11:39:16 +00:00
ossau2mation
bd1cb1cf52 Updated Danish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5667 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-29 09:11:12 +00:00
scorpio810
e071717d30 Title block : list of texts variables can be selected with the mouse and
copied to the clipboard using a context menu or standard keyboard
shortcuts.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5666 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-29 08:45:17 +00:00
scorpio810
ec19986f38 Update *TS files, changelog
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5665 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-29 03:48:21 +00:00
blacksun
2274382219 Title block : add two news variables, previous-folio-num and next-folio-num
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5664 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-28 18:39:54 +00:00
blacksun
34f59f4920 Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5663 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-26 20:57:11 +00:00
blacksun
d45c070e16 Search and replace : improve the search for elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5662 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-26 20:32:11 +00:00
dlee99
0e60c95513 Update Dutch translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5661 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-23 19:00:00 +00:00
ossau2mation
461addaac6 Updated Danish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5660 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-23 08:47:03 +00:00
scorpio810
7b395f478f Update *TS files and changelog
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5659 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-23 05:17:09 +00:00
blacksun
64e900206d Search and replace : We can now replace a properties text (diagram, element, conductor, diagram text) with regular expression
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5658 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-21 18:08:58 +00:00
scorpio810
7f68d4e400 Fix typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5657 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-20 23:17:17 +00:00
alfredo
bf3cda8ed0 elements translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5656 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-20 22:38:55 +00:00
silvio
07930b3402 .ts file translation ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5655 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-20 20:20:46 +00:00
alfredo
aaab4337c4 Spanish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5654 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-18 18:36:52 +00:00
ossau2mation
1f7e6c233b Updated Danish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5653 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-16 08:55:24 +00:00
dlee99
b5d00807aa Update Dutch translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5652 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-15 22:08:55 +00:00
scorpio810
9bce342950 Update *TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5651 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-15 18:57:37 +00:00
blacksun
28fd6e13e4 Minor fix typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5650 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-15 18:03:03 +00:00
blacksun
e1cb7e6d6c Search and replace widget, improve layout
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5649 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-15 17:54:20 +00:00
blacksun
c64b74d328 Fix : On windows when user drag and drop an element from the common elements collection to the custom elements collection,
the element file stay in read only mode, and so user can't save the element



git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5648 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-13 21:39:44 +00:00
blacksun
7a17200cf6 Search and replace : improve the search for conductor.
Minor gui change of conductor properties widget


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5647 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-13 17:34:41 +00:00
alfredo
87774c7296 Spanish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5646 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-10 03:42:30 +00:00
alfredo
6f2c8b3278 Spanish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5645 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-09 22:35:56 +00:00
alfredo
670a7fd6c3 Spanish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5644 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-09 22:34:53 +00:00
blacksun
835ff082bf Improve some code and gui
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5643 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-09 18:37:09 +00:00
blacksun
d0f3825bfc Revamp some code
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5642 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-09 14:48:56 +00:00
blacksun
e595e16d47 Search and replace : conductors properties can now be replaced
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5641 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-09 11:50:07 +00:00
dlee99
9661be88fb Update Dutch translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5640 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-08 19:36:58 +00:00
dlee99
59a2db4dd4 Update Dutch translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5639 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-08 00:12:41 +00:00
silvio
259b009b28 .ts file translation ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5638 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-07 23:17:00 +00:00
ossau2mation
3e53d24e4f Updated Danish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5637 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-07 15:35:59 +00:00
scorpio810
75447a8adb Dynamic text item : load the requested font style name, like: italic,
bold, regular, etc


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5636 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-06 15:48:45 +00:00
ossau2mation
80df7b3bd6 Updated Danish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5635 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-06 15:14:58 +00:00
alfredo
77c0d5fe2e Translation Español
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5634 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-06 03:50:39 +00:00
scorpio810
abaeade6af Update en fr translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5633 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-04 23:58:37 +00:00
scorpio810
ab6d3e374f Update *TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5632 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-04 22:41:15 +00:00
scorpio810
a8b18f6322 Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5631 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-04 22:38:51 +00:00
scorpio810
2fe25e74fa Minor : indentation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5630 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-04 22:33:11 +00:00
nuri
f27954e507 Correction of some french and english notions and correction of typos. Variable %machine changed in %plant.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5629 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-04 19:07:14 +00:00
nuri
cdfdd6f22a Correction of some french notions and correction of typos
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5628 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-03 22:13:16 +00:00
scorpio810
4ba3f477f8 Add new field "Group function" on properties of the selection widget and
for csv export


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5627 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-03 13:13:27 +00:00
scorpio810
e0c6cc6768 Add new fields "Quantity, Unity" onproperties of the selection widget
and for csv export


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5626 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-02 15:54:08 +00:00
blacksun
e8c03da193 Element editor bug fix : Unable to clear an information of the edited element (label, manufacturer etc...).
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5625 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-01 20:12:24 +00:00
scorpio810
58fb59491b Revert last commits
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5624 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-12-01 12:55:05 +00:00
scorpio810
10e889bae5 Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5623 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-30 23:59:12 +00:00
scorpio810
ee91337d75 Add new fild and titleblock "Function group"
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5622 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-30 23:53:13 +00:00
alfredo
01414974a0 update language spanich
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5621 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-30 04:29:15 +00:00
blacksun
dab22aeed1 Search and replace : Add two search options, contain text/entire word and case sensitive/insensitive
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5620 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-29 17:34:03 +00:00
silvio
d2bcfb8887 .ts file translation ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5619 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-29 09:50:09 +00:00
scorpio810
a4508008d4 Force set dynamic text length to default -1
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5618 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-29 09:48:51 +00:00
scorpio810
0931e9c0a9 Big increase the value of QPainterPathStroker for very long text, thanks
re-searcher


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5617 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-29 09:42:23 +00:00
scorpio810
3674812e83 Update pt_Br translation, thanks Thiago
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5616 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-26 22:52:17 +00:00
dlee99
95390d0046 Update Dutch translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5615 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-26 18:47:32 +00:00
ossau2mation
ca52c2e5fe Updated Danish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5614 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-26 15:31:34 +00:00
nuri
a76052c795 Updated german translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5613 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-26 05:30:08 +00:00
pawel32640
b53d42ce12 updated polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5611 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-25 18:18:36 +00:00
scorpio810
266a747b2b Update changelog
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5610 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-25 17:33:55 +00:00
scorpio810
a78212e8dd Minor fix previous commits
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5609 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-25 10:47:36 +00:00
scorpio810
f038b4b545 Minor add m_user_custom_tbt_dir.clear() on resetUserElementsDir function
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5608 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-25 10:33:30 +00:00
scorpio810
a199c1e201 Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5607 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-25 10:16:46 +00:00
scorpio810
e0b0da534d Update *TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5606 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-25 10:02:38 +00:00
scorpio810
a76feeef07 Enable the possibility to define the path of user tbt template
collection.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5605 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-25 09:55:11 +00:00
blacksun
d8ed6a5130 Change xml tag name : dynamicitemfont
by : font_family


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5604 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-24 21:26:24 +00:00
blacksun
2f585840c6 Dynamic text item : load the good font from xml.
Laurent, you can now sleep well :) 


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5603 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-24 21:12:27 +00:00
scorpio810
bc3f02a6e9 Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5602 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-24 12:56:15 +00:00
alfredo
6918debc49 translation spanish elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5601 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-23 00:54:06 +00:00
nuri
3d96809df5 Updated german translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5600 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-19 09:50:49 +00:00
silvio
48139ec312 .ts file translation ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5599 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-19 08:13:35 +00:00
alfredo
3b97d57340 Update Spanish translations minor correction
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5598 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-18 03:41:10 +00:00
alfredo
b14e58ee18 “Update_Spanish_translations”
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5597 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-18 03:08:28 +00:00
scorpio810
b15f6aeef7 Minor : set dynamic text length to default -1
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5596 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-16 16:33:41 +00:00
dlee99
6da0cf16c6 Update Dutch translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5595 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-15 17:05:58 +00:00
ossau2mation
ea0ce74c61 Updated Danish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5594 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-15 16:20:34 +00:00
pawel32640
c0b586701c updated Polish translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5593 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-15 15:07:43 +00:00
scorpio810
bd8d379355 Update *TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5592 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-15 14:40:37 +00:00
scorpio810
09d368db11 Update changelog
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5591 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-15 11:44:42 +00:00
scorpio810
10bef5d203 Add label formula of element in export partlist to csv
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5590 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-14 13:19:01 +00:00
scorpio810
40a851215b Change in aboutqet widget fixed size, thanks Re-searcher
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5589 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-12 16:07:52 +00:00
silvio
aae8bfcfba .ts file translation ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5588 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-12 16:00:34 +00:00
pawel32640
6f03c6023c updated Polish translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5587 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-12 15:52:41 +00:00
dlee99
0b0231e385 Update Dutch translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5586 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-11 19:11:20 +00:00
ossau2mation
8619391af9 Updated Danish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5585 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-11 17:57:54 +00:00
scorpio810
5506b68ae0 Update *TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5584 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-11 16:39:58 +00:00
pawel32640
64183b1ba8 updated Polish translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5583 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-11 16:14:57 +00:00
blacksun
b74c511bad Search and replace : Independent text item can be changed (and mass changed) through the search and replace widget.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5582 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-10 13:32:27 +00:00
blacksun
c385418432 Improve gui layout
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5581 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-10 12:46:46 +00:00
blacksun
56798b3f05 Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5580 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-10 12:29:41 +00:00
blacksun
a620b4067d Bug fix
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5579 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-10 12:19:30 +00:00
scorpio810
a76da57544 Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5578 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-10 10:51:36 +00:00
pavelfric
7b37bf2102 Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5577 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-10 07:13:18 +00:00
blacksun
1ead2aa0bb Search and replace : Element properties can be changed (and mass changed) through the search and replace widget.
Also improve the search for element


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5576 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-09 18:50:37 +00:00
scorpio810
b276d6517a Fix about Qt SLOT, thanks letartare
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5575 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-11-06 13:45:47 +00:00
scorpio810
ae026f8a4f Add Hungarian switch language
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5574 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-10-29 15:14:38 +00:00
ossau2mation
80426630b9 Updated Danish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5573 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-10-28 07:39:09 +00:00
dlee99
513ef9b9ad Update Dutch translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5572 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-10-27 17:25:13 +00:00
blacksun
8e250bd569 Minor : search and replace widget, clear the tree widget when the current searched project is closed.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5571 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-10-27 13:31:52 +00:00
silvio
b83aa74485 .ts file translation ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5570 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-10-27 07:22:22 +00:00
scorpio810
8e0260a5a8 Update *TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5569 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-10-26 23:56:12 +00:00
scorpio810
9e7899fd40 Add a new tab in settings, user can select a font size, a rotation angle
and a text width by default for new dynamic text, it work also in
element editor command.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5568 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-10-26 23:42:49 +00:00
scorpio810
5f85edcc8c Add new symbol, thanks Alexis
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5567 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-10-26 08:45:38 +00:00
silvio
071def5632 .ts file translation ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5566 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-10-24 22:23:02 +00:00
blacksun
e224a7cee6 Search and replace : improve the search for diagram
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5565 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-10-24 14:04:04 +00:00
blacksun
94dc195028 Search and replace : Diagram properties can be changed (and mass changed) through the search and replace widget.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5564 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-10-21 09:54:59 +00:00
scorpio810
0bc34cfb6d Add new symbol, thanks Cyrille
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5563 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-10-18 00:05:40 +00:00
scorpio810
74b159dc35 Update pt-br translation, thanks Arthur
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5562 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-10-17 20:26:29 +00:00
blacksun
ba8133a9d1 DiagramContextWidget : The widget is now made with th ui file instead of C++
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5561 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-10-16 15:49:18 +00:00
dlee99
84ba21823b Update Dutch translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5560 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-10-13 18:02:18 +00:00
aitolos
1fd2899d07 Update Greek TS
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5559 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-10-13 15:43:51 +00:00
ossau2mation
a9d46e7d14 Danish translation minor update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5558 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-10-13 06:22:06 +00:00
ossau2mation
afaf541ba5 Danish translation updated
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5557 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-10-12 14:36:51 +00:00
nuri
561e625113 Updated german translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5556 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-10-12 01:34:28 +00:00
scorpio810
1d94bd73a6 Update *TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5555 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-10-12 00:25:10 +00:00
scorpio810
eb1028ec9a Add other country names
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5554 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-10-12 00:21:04 +00:00
scorpio810
6842abcf9a Add Translator, contributor
Add Turkish Unicode binary character name


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5553 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-10-11 23:37:56 +00:00
scorpio810
a236e9ac6b Add Turkish langage
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5552 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-10-11 22:30:02 +00:00
scorpio810
0ca5c63d4e Update Turkish translation, thanks Aziz
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5551 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-10-11 09:39:17 +00:00
blacksun
4adf94dabf Fix crash when load an old project, wich contain element without her definition embedded, aka "ghost element".
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5550 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-10-10 16:48:44 +00:00
blacksun
0b1382490f Search and replace widget : folio are now displayed in the search field
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5548 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-10-05 07:49:07 +00:00
scorpio810
912901ff6d Add new symbols, thanks David
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5547 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-10-04 14:34:43 +00:00
ossau2mation
15f8dcaee4 Danish translation updated
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5546 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-10-01 14:06:47 +00:00
silvio
7d2d9afaf7 .ts file translation ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5545 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-30 20:30:54 +00:00
nuri
52914bd04e Updated german translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5544 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-30 20:01:22 +00:00
dlee99
401cc08957 Update Dutch translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5543 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-30 19:48:31 +00:00
scorpio810
e9eeeb7b4b Update *TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5542 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-30 19:41:32 +00:00
blacksun
63fd76231a Element text pattern dialog : add a check box 'erase existing texts'
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5541 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-30 17:19:50 +00:00
blacksun
aaab9b0f15 Missing file from previous comit
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5540 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-29 16:01:48 +00:00
blacksun
1cd8912d64 Add new icons, thank Nuri.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5539 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-29 15:58:29 +00:00
dlee99
61167f062a Update Dutch translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5538 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-29 09:27:56 +00:00
scorpio810
cd9102efac Add new symbols, thanks David
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5537 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-28 15:26:38 +00:00
blacksun
81f6bb4a5a Minor : fix missing icons
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5536 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-27 17:40:05 +00:00
dlee99
0c28b2f164 Update Dutch translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5535 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-27 15:25:51 +00:00
scorpio810
bd7140509d Update English translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5534 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-26 23:33:43 +00:00
silvio
ead3d12f8a .ts file translation ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5533 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-26 21:43:54 +00:00
dlee99
d4a4fe1af6 Update Dutch translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5532 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-26 20:25:39 +00:00
aitolos
132458f7e9 Update Greek TS
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5531 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-26 15:41:00 +00:00
ossau2mation
43e213f2f4 Danish translation updated
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5530 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-26 14:10:53 +00:00
nuri
ccb1cc6247 Updated german translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5529 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-26 12:46:54 +00:00
scorpio810
bbec5c8ea3 Update *TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5528 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-26 10:14:04 +00:00
silvio
17a23a8e43 .ts file translation ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5527 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-25 19:07:57 +00:00
blacksun
6a12a008e9 Start the work on a new feature : search and replace.
This commit let user find for : texts, conductors and elements.
WIP.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5526 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-25 16:05:24 +00:00
scorpio810
76e72b0353 generalconfigurationpage.ui fix for 1366X768 laptops screens
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5525 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-25 13:12:01 +00:00
scorpio810
e138f2f392 Minor : improve UI
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5524 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-25 05:12:39 +00:00
dlee99
0e99ba680f Update Dutch translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5523 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-24 17:52:41 +00:00
pawel32640
d66e756cc1 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5522 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-24 17:14:23 +00:00
ossau2mation
ec6e963278 Danish translation updated
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5521 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-24 13:11:20 +00:00
nuri
b8b0e7d93d Updated german translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5520 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-24 12:02:26 +00:00
scorpio810
3c54e56370 Update *TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5519 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-24 09:30:57 +00:00
scorpio810
f19c9718ae Typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5518 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-24 09:27:16 +00:00
scorpio810
7685fcec78 Improve general config page UI
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5517 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-23 18:32:17 +00:00
ossau2mation
532bf3a272 Danish translation updated
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5516 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-22 20:26:44 +00:00
nuri
9f48b574fd Updated german translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5515 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-22 16:26:11 +00:00
scorpio810
48e730286d Improve last commit
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5514 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-22 15:59:05 +00:00
dlee99
e007c379a9 Update Dutch translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5513 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-22 14:27:45 +00:00
dlee99
a5fe207e9b Update Dutch translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5512 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-22 13:48:40 +00:00
scorpio810
5afcbb7c74 Update *TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5511 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-22 10:53:26 +00:00
scorpio810
112df84964 Add in config the possibility to start the numbering of the columns of
titleblocks at 0.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5510 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-22 10:39:36 +00:00
pawel32640
ac5b212dfa update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5506 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-16 18:52:26 +00:00
ossau2mation
acebf291f7 Danish translation updated
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5505 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-16 12:43:33 +00:00
scorpio810
8a36ac1d24 Add new example, thanks Irvi
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5504 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-14 15:49:08 +00:00
scorpio810
b7e48c8e09 Change saveddate (title block variable) static date format "yyyy-MM-dd"
to System Locale Short Date


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5503 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-14 04:08:04 +00:00
aitolos
5f017e8493 Update Greek TS
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5502 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-08 15:18:51 +00:00
ossau2mation
c176e744e3 Danish translation reviewed & updated
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5501 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-08 06:53:14 +00:00
scorpio810
b59ea165fc Increase imported images by up to 400%
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5500 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-06 21:29:25 +00:00
scorpio810
f1c3f0344e refresh example : 
fix crash due to the deletion of the GHOST element last, this example contains ghost elements and causes a crash at launch



git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5499 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-05 13:58:37 +00:00
scorpio810
8151563fec Add Turkish language for translations, minor update TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5498 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-09-01 17:15:09 +00:00
blacksun
632cd0a75a fix warning
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5497 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-29 16:14:30 +00:00
nuri
f41205c734 Update german translation (minor)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5496 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-28 05:08:18 +00:00
scorpio810
008355ffeb Minor fix
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5495 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-26 01:08:33 +00:00
scorpio810
eb36891b84 Decrease QDataStream::Version enum for support Qt version 5.5.x (Ubuntu
Xenial)


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5494 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-24 20:09:23 +00:00
blacksun
e4f3f284ea fix bug : if a xml definition of an element haven't got a uuid, the generated pixmap is false.
this commit it.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5493 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-23 20:58:41 +00:00
blacksun
e6d73977c1 1-Use the "implicite shared" of Qt for the QPicture and QPixmap of element (https://doc.qt.io/qt-5/implicit-sharing.html).
This avoid to parse the same element definition each time user drop the same element in the diagram.
Only the first element build the picture, all other get the created picture which is shared.

2- For use the "implicite shared" QPicture and QPixmap of element, now this isn't the element who build her picture, but a dedicated class who made only this job : build the QPicture and QPixmap of elements.

3- With the two previous novelty, the class CustomElement and GhostElement are became useless, and so was removed.
Some few member function of CustomElement was moved to Element.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5492 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-23 19:41:58 +00:00
alfredo
1d871e0625 Spanish Translation corrección menor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5489 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-22 22:21:18 +00:00
scorpio810
458ac072cd Fix bug 165
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5488 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-22 13:34:12 +00:00
alfredo
928b5d0775 Update_Spanish_translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5487 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-22 02:01:15 +00:00
scorpio810
e2b2dfa87a Add new symbols, thanks Alexis
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5486 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-20 22:09:01 +00:00
scorpio810
02863ee0d7 Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5485 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-16 22:49:08 +00:00
scorpio810
a2d402b50a Improve previous commit
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5484 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-16 06:48:03 +00:00
scorpio810
85b0efbc68 Try to fix macOS FTBFS
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5483 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-16 01:59:51 +00:00
scorpio810
4e9fb1b664 Fix FTBFS on cross-compiler for Windows
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5482 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-16 00:21:07 +00:00
blacksun
2ba5be7ecd Replace qetsingleapplication by singleApplication.
See : https://github.com/itay-grudev/SingleApplication


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5481 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-15 12:45:55 +00:00
ossau2mation
d2a6c23360 Danish translation reviewed
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5480 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-13 17:57:33 +00:00
nuri
79076dae5d Updated german translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5479 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-13 05:38:52 +00:00
scorpio810
a9da802aa1 Update changelog
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5478 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-11 13:41:05 +00:00
scorpio810
77984bb10f Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5477 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-11 11:40:49 +00:00
ossau2mation
1c3685f588 Danish translation updated
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5476 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-11 08:28:23 +00:00
silvio
03ba86ef39 update .ts file ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5475 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-08 21:25:55 +00:00
scorpio810
43149b6c8b Arrangement elements of Schneider maufacturer folder
Add new elements, thanks Alexis


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5474 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-08 03:27:37 +00:00
scorpio810
118fa10810 Add tension-protocol key on elementInfoKeys
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5473 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-07 09:14:00 +00:00
scorpio810
69f769d5b3 Update *TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5472 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-06 17:38:30 +00:00
scorpio810
92a4d0f88e Add '%savedfilename' and '%savedfilepath' title block variables
They should be updated after file save or save as dialog is confirmed,
before file is saved.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5471 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-06 17:20:50 +00:00
dlee99
66a036ad2c Update Dutch translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5470 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-06 17:06:45 +00:00
scorpio810
6c6d78b84c Update *TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5469 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-06 16:20:15 +00:00
scorpio810
4d720d04a6 '%saveddate' and '%savedtime' title block variables should be updated
after file save or save as dialog is confirmed, before file is saved.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5468 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-06 16:12:00 +00:00
scorpio810
54981b425e title block editor : add '%saveddate' and '%savedtime' as available
values, for moment only when user "save as" project


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5467 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-06 15:32:19 +00:00
scorpio810
233dd05227 Delete UTExportedTypeDeclarations in plist file : not useful for bundle
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5466 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-06 00:19:56 +00:00
scorpio810
7361823322 Update *TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5465 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-05 16:46:51 +00:00
scorpio810
ff7b2226e1 title block editor : show 'projectfilename' as available value
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5464 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-05 16:27:14 +00:00
scorpio810
bf974f1956 Fix bug 164 :
title block editor : show 'projectpath' as available value


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5463 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-05 15:04:15 +00:00
blacksun
e6c977e7d8 re-enable the possibility to define the path of elements collections.
Add variables for common and custom elements collections, to avoid multiple access to QSettings and so reduce the loading of collections.  


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5462 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-08-03 16:35:40 +00:00
scorpio810
30bee81432 Revert r5449 and disable r5452 momentary : Load time from elements is
very slow


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5461 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-30 15:24:29 +00:00
scorpio810
52e941f0fc Minor : disable dialog buttons for define the file system path of the
common and custom elements on macOS


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5460 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-28 12:09:00 +00:00
silvio
bf5fd86fa0 update .ts file ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5459 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-27 19:30:46 +00:00
scorpio810
1d5940a6a1 Disabling momentary for macOS bundle :
let user define the file system path of the common and custom elements
collections


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5458 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-27 14:41:23 +00:00
ossau2mation
3347983788 Danish translation reviewed
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5457 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-27 07:37:49 +00:00
nuri
20769eda14 Updated german translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5456 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-27 05:13:38 +00:00
ossau2mation
b3c501b2ed Danish translation updated
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5455 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-26 13:51:32 +00:00
dlee99
4082dae763 Update Dutch translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5454 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-25 18:49:23 +00:00
scorpio810
37c583de35 Update *TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5453 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-25 18:03:15 +00:00
blacksun
1ec4334308 let user define the file system path of the common and custom elements collections
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5452 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-25 17:34:50 +00:00
scorpio810
b97b01d63c Apply clang-tidy's modernize-use-auto
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5449 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-19 16:27:20 +00:00
scorpio810
e4b1ba9797 Apply clang-tidy's performance-unnecessary-value-param, performance-for-
range-copy


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5448 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-19 14:14:31 +00:00
nuri
05fea9b94a Updated german translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5447 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-18 11:50:14 +00:00
scorpio810
75803ae26a Update changelog
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5446 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-17 15:07:35 +00:00
ossau2mation
cc8535cfee Danish translation updated
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5445 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-17 14:40:20 +00:00
blacksun
18a295fa4a Element editor : add rounded rect
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5444 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-17 12:19:56 +00:00
alfredo
7befb793a2 Spanish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5443 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-17 02:16:56 +00:00
silvio
312947c862 update .ts file ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5442 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-16 22:04:48 +00:00
dlee99
16d0f03a13 Update Dutch translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5441 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-16 17:26:22 +00:00
scorpio810
918e859ec4 Update *TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5440 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-16 14:32:05 +00:00
scorpio810
3f1a33a179 Fix bug #162
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5439 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-16 14:23:54 +00:00
nuri
b259dacc58 Updated german translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5438 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-16 07:17:49 +00:00
blacksun
eeb49d5a18 QetShapeItem : rounded rect is saved in the .qet file
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5437 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-14 11:10:23 +00:00
blacksun
0306bace46 QETshapeItem rectangle can have rounded corner.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5436 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-12 10:01:34 +00:00
blacksun
9db5c4fe9f Fix bug when resize the angle of a part arc with the handles.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5435 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-11 09:28:38 +00:00
dlee99
437b3c0ca1 Update Dutch translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5434 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-09 19:22:50 +00:00
ossau2mation
780aa5d833 Danish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5433 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-09 13:33:55 +00:00
scorpio810
27ee2c6d50 Update *TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5432 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-08 23:36:23 +00:00
scorpio810
9bce5ec428 Fix bug #162
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5431 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-08 23:31:34 +00:00
silvio
ef5e40d048 update .ts file ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5430 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-08 20:29:52 +00:00
ossau2mation
901729865e Danish translation minor updates
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5429 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-07 20:07:17 +00:00
dlee99
d77914a63e Update Dutch translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5428 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-03 16:50:55 +00:00
blacksun
57e5ccd943 Mutualize code
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5427 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-03 14:25:46 +00:00
nuri
ed7090f6fb Updated german translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5426 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-03 07:30:09 +00:00
ossau2mation
ffe0f1d4c7 Danish translation updated
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5425 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-02 19:12:01 +00:00
blacksun
e60b65546f fix "fail to build from source" with Qt < 5.7, and in the same occasion fix a memory leak
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5424 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-02 13:48:47 +00:00
msouabni
1cc79f59b1 Update Arabic Version
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5423 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-02 09:26:16 +00:00
scorpio810
cd51146414 Update *TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5422 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-01 19:40:13 +00:00
blacksun
f118a1b513 Forget ChangeLog and description of the prvious comit :
Rev 5420 :
Diagram editor : add two new actions in context menu for insert or remove point of a selected polygon.



git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5421 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-01 18:38:38 +00:00
blacksun
0f4a058e63 git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5420 bfdf4180-ca20-0410-9c96-a3a8aa849046 2018-07-01 18:35:03 +00:00
blacksun
28faaf12c5 Element editor : add two new actions in context menu for insert or remove point of a selected polygon.
All parts items : remove the 'open hand cursor' when hover a selected part.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5419 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-30 21:41:27 +00:00
blacksun
114c3cdcc3 title block editor : show 'projecttitle' as available value
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5418 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-29 20:36:21 +00:00
blacksun
3ff5b00953 Minor code refactoring
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5417 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-29 07:55:48 +00:00
nuri
a6e7004a0e Updated german translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5416 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-25 05:06:46 +00:00
dlee99
c685adc832 Update Dutch translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5415 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-24 19:08:34 +00:00
ossau2mation
691ae0fc57 Danish translation updated
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5414 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-24 17:12:19 +00:00
aitolos
aab318ba59 Update Greek TS
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5413 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-24 16:14:25 +00:00
scorpio810
d5c23e4163 Update changelog
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5412 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-24 12:36:28 +00:00
scorpio810
a84f84ad02 Update *TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5411 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-24 12:31:33 +00:00
blacksun
ea3b25fa75 Element text item group can now be framed.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5410 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-24 11:16:37 +00:00
pawel32640
deabf5f2ad update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5409 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-23 13:29:45 +00:00
blacksun
de9096d8a2 Widget used to edit text item group can edit the pos of the group.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5408 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-21 18:44:13 +00:00
blacksun
4cdd17e21f forget files from previous comit
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5407 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-21 18:02:58 +00:00
blacksun
749e0e5e78 Fix : in some condition, dynamic text are not at the same position when open a project.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5406 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-21 17:57:33 +00:00
blacksun
2be0af2f43 minor fix : slave link dialog doesn't display the good label, when the label of master element is build from formula.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5405 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-21 15:36:03 +00:00
nuri
627f62f59e Updated german translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5404 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-21 11:24:56 +00:00
silvio
cfcb97d0ab update .ts file ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5403 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-21 10:42:55 +00:00
blacksun
24812944eb Forget qet.cpp and qet.h from previous comit.
Add new function for create QAction used for edit the depth of items.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5402 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-20 18:35:06 +00:00
blacksun
8386002ef3 Clean (and reduce the size) the class QETDiagramEditor, mostly by replacing the connection syntax "signal -> slot" by "signal -> lambda".
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5401 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-20 18:03:39 +00:00
msouabni
98531b0f3f Update Arabic version
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5400 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-20 07:23:59 +00:00
alfredo
40311d401b Translation to Spanish
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5399 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-19 02:26:24 +00:00
dlee99
a531773f56 Update Dutch translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5398 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-18 19:28:06 +00:00
ossau2mation
f3ef89a59d Danish translation updated
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5397 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-18 19:00:55 +00:00
scorpio810
ed27dce81d Update changelog
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5396 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-17 23:52:13 +00:00
scorpio810
d1517bb5d7 Update *TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5395 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-17 23:49:51 +00:00
blacksun
52eb4b5f71 Diagram editor : add 4 tools for edit the depth (Z value) of items.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5394 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-17 18:21:56 +00:00
scorpio810
74ac93e171 Element translation, thanks Edgar
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5393 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-10 15:17:11 +00:00
scorpio810
a0aadd8201 Fix FTBFS on Qt 5.11
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5392 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-10 15:08:26 +00:00
ossau2mation
ee898f0be4 Danish translation updated
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5391 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-08 14:54:06 +00:00
scorpio810
f6a2ea3971 Update changelog
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5390 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-08 13:28:33 +00:00
blacksun
3225bdb371 minor fix : elements can't be moved up and left, when there rotation are different than 0.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5389 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-07 16:29:41 +00:00
scorpio810
6a8523961f Improve qet_tb_generator : add the full path of the current project as
an argument when calling the plug-in from QET if a project is open. 
If not a file dialog is showed to select the QET project.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5388 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-07 13:48:12 +00:00
scorpio810
c89d6b6ff7 Add the full path of the current project as an argument when calling the
plug-in "qet_tb_generator" from QET
qet_tb_generator menu entry was enabled only when a project is open


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5387 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-07 12:22:09 +00:00
alfredo
63a9defd52 Spanish translator
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5386 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-06 02:07:39 +00:00
blacksun
43f7bad2d0 Fix : clear the element texts when paste an element with the option "Do not store the labels of items in the copy paste" enabled
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5385 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-03 18:13:25 +00:00
scorpio810
14a0ad8f43 Update Brazilian Portuguese translation, thanks Gleisson
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5384 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-02 21:15:51 +00:00
blacksun
c19ec8c65a Bugfix :
1- When open a .qet by double click on it, QET ask user for open the backup file, of this .qet.
2- On windows, if user open a project from the recent files menu, when close QET the file is deleted :(  user lose her work


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5383 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-01 18:33:08 +00:00
silvio
2e32c75523 update .ts file ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5382 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-26 21:54:03 +00:00
dlee99
5e3fd2b53c Update Dutch translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5381 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-25 23:38:01 +00:00
dlee99
bf6e16ed1b Update Dutch translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5380 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-25 21:05:16 +00:00
scorpio810
f2f0803b00 Update changelog
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5379 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-25 14:10:44 +00:00
ossau2mation
f4699722f5 Danish translation updated
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5378 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-25 10:46:31 +00:00
scorpio810
cb899e35d3 Update *TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5377 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-25 09:18:23 +00:00
scorpio810
5a52e8658f Typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5376 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-25 08:59:42 +00:00
scorpio810
c035f5f04d Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5375 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-25 08:39:45 +00:00
blacksun
f19a794d4b Diagram editor, add two news feature:
1- QET create a backup file, use to restor the project when a crash occur
2- User can enable and edit autosave.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5374 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-24 18:08:06 +00:00
pawel32640
77662fb51b update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5373 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-24 13:40:54 +00:00
blacksun
89506df464 Diagram editor : add new context menu action "group the selected texts"
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5372 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-18 21:46:36 +00:00
blacksun
bca58fa555 Conductor is an herited class of QGraphicsObject, instead of QObject and QGraphicsPathItem
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5371 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-18 19:36:27 +00:00
blacksun
cc9184c0b6 Fix : element text alignment work also when font size change.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5370 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-18 18:28:04 +00:00
scorpio810
eea142750f Add new symbols, thanks Mitzot
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5369 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-16 16:36:09 +00:00
ossau2mation
70b0bf3020 Danish translation updated
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5368 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-15 20:10:32 +00:00
dlee99
b8122df4f4 Update Dutch translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5367 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-15 20:03:11 +00:00
nuri
d427f0d3f1 Updated german translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5366 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-14 19:51:33 +00:00
dlee99
34a8c5094f Update Dutch translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5365 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-14 19:25:15 +00:00
silvio
045b1bac7a update .ts file ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5364 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-14 17:21:42 +00:00
scorpio810
81811fb763 Upgrade *TS files
Upgrade changelog


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5363 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-14 14:54:30 +00:00
blacksun
31e6db8757 Element editor : alignment of text field can be edited
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5362 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-13 19:03:38 +00:00
alfredo
a0b26b847b spanish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5361 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-13 05:37:20 +00:00
alfredo
a1ba2b6d6b spanish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5360 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-13 05:34:41 +00:00
dlee99
84e6781ab3 Update Dutch translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5359 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-12 22:42:59 +00:00
pawel32640
df597fe4d7 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5358 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-12 16:42:46 +00:00
blacksun
f975cb4d3b Fix : element text item alignment work well when text rotation != 0.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5357 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-12 12:59:49 +00:00
blacksun
748986ceec fix crash when the properties of a element text item group
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5356 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-12 11:17:40 +00:00
ossau2mation
0a488f30d9 Danish translation updated
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5355 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-12 08:27:48 +00:00
scorpio810
cdbdff4c91 Update *TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5354 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-12 03:56:33 +00:00
blacksun
609fcc351f Dynamic element text item : add new feature -> alignment
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5353 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-11 18:14:41 +00:00
dlee99
bf12d337c9 Update Dutch Translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5352 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-06 19:44:29 +00:00
nuri
e03aa0698b Element collection: changed code letter of signaling devices from H to P
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5351 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-05 05:35:44 +00:00
blacksun
bce0ee0fc7 Composite text dialog : The combobox propose every informations, not only these currently filled.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5350 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-03 09:33:30 +00:00
silvio
6553af3aee update .ts file ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5349 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-02 21:32:06 +00:00
nuri
1be5a5a50c Updated german translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5348 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-05-01 04:55:18 +00:00
msouabni
c6f68cf5ef Update of the Arabic version
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5347 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-30 18:32:22 +00:00
ossau2mation
02fc2d71c5 Danish translation updated
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5346 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-29 17:31:31 +00:00
dlee99
011d03acf4 Update Dutch Translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5345 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-29 11:57:03 +00:00
scorpio810
48678c794b Update *TS files
Update changelog


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5344 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-28 15:25:33 +00:00
blacksun
aaea6968d0 fix bug
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5343 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-28 13:56:04 +00:00
blacksun
d53f830ad9 Text of conductor can be placed at top/bottom/left/right of conductor, and text never overlaps the conductor.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5342 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-28 13:35:23 +00:00
blacksun
a975915428 forget file from previous commit
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5341 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-24 17:25:42 +00:00
blacksun
c96593e373 Multipaste : improve the conductor autonum, conductors are numerated from top to bottom, and left to right
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5340 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-24 17:23:27 +00:00
blacksun
9d2124f593 Multipaste dialog : add 'autonum pasted conductors' check box
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5339 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-23 13:50:36 +00:00
scorpio810
5fe1389f8b Update changelog
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5338 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-22 12:23:53 +00:00
blacksun
5e15c597c1 Multipaste : auto-num of element work, even if the option "erase label on copy /paste" is enable.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5337 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-21 17:48:22 +00:00
blacksun
f4a7de8f37 Add element
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5336 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-19 09:51:25 +00:00
blacksun
4986ec616e Bug fix : element editor, part text can't be edited directly.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5335 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-19 09:22:08 +00:00
blacksun
2cf181bf84 Element info widget : remove the check box 'visible'
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5334 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-14 12:21:07 +00:00
blacksun
e3930df5b5 multi past dialog : add check box for autonum the pasted element
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5333 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-12 17:59:05 +00:00
dlee99
845fa934b7 Update Dutch Translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5332 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-12 17:58:23 +00:00
blacksun
3228f3e5db Multi paste dialog : add a check box for allows auto connection of the pasted elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5331 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-12 16:24:44 +00:00
blacksun
ad7f52997d Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5330 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-12 16:01:00 +00:00
blacksun
7b9fbb3382 dynamic element text item : "label" is not updated when report are unlinked, or when a folio is removed.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5329 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-11 17:47:45 +00:00
ossau2mation
60341b2207 Update Danish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5328 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-10 19:27:25 +00:00
silvio
ab9f23713d update .ts file ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5327 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-09 21:52:14 +00:00
msouabni
e0aa2e4b9a Update Arabic Translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5326 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-09 21:41:35 +00:00
pawel32640
4216273423 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5325 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-09 18:28:36 +00:00
dlee99
77ae8bdf90 Update Dutch Translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5324 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-09 18:19:36 +00:00
nuri
63fb8ce669 Updated german translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5323 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-09 03:07:40 +00:00
scorpio810
5a41a10bee Update *TS file
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5322 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-09 00:15:30 +00:00
scorpio810
d841346cad Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5321 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-08 21:35:46 +00:00
scorpio810
6ea2e2dcdf Add new symbols, thanks Friskolon
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5320 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-08 21:29:19 +00:00
blacksun
12e7a7002e Diagram editor : add new action in the context menu : multiple paste.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5319 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-08 16:50:52 +00:00
dlee99
b9e24cd08f Update Dutch Translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5318 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-08 13:11:17 +00:00
dlee99
ccf7bf8adc Update Dutch Translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5317 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-08 13:06:43 +00:00
dlee99
ef2a572568 Update Element Directory Translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5316 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-08 12:50:57 +00:00
scorpio810
e672075f96 Add new symbol, thanks Friskolon
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5315 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-08 11:29:07 +00:00
scorpio810
d93cf60872 Update changelog
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5313 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-08 03:38:53 +00:00
scorpio810
02d1ac67ac Minor : forgot jump element in previous commit
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5312 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-07 19:09:34 +00:00
scorpio810
6209a36b8a Change propertie to terminal, fixed by commit svn 5307
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5311 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-07 19:06:27 +00:00
pawel32640
33b0508fa7 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5310 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-07 18:47:14 +00:00
msouabni
bd389104e2 Update Arabic Translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5309 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-07 18:23:05 +00:00
scorpio810
2870ea3543 Update nl translations, thanks Dik
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5308 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-07 17:16:07 +00:00
blacksun
8d56e7809c Function for search conductor at the same potential.
When the search function is searching in a terminal element, they search only for the first terminal found, no matter if the terminal element have more than two terminals.
So the list of conductors at the same potential is missing some conductors.
This commit fix it, now the search function search for every terminals of a terminal element 


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5307 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-07 13:25:05 +00:00
silvio
27952d3a33 update .ts file ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5306 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-06 20:27:39 +00:00
ossau2mation
1cd6fea982 Update Danish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5305 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-06 13:05:33 +00:00
aitolos
344fcd955a Update Greek TS
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5304 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-06 10:07:13 +00:00
nuri
0b7bf89aff Updated german translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5303 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-06 09:37:01 +00:00
scorpio810
ab455652cc Update *TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5302 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-06 03:55:38 +00:00
blacksun
fa547a34c8 Fix compilation warning (clang and gcc)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5301 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-05 18:49:28 +00:00
blacksun
5bfa58ad55 Fix missing "return"
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5300 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-05 09:52:35 +00:00
blacksun
22f95c22f0 simplify some code
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5299 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-05 09:37:35 +00:00
nuri
9c96f2b6d7 Updated german translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5298 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-05 08:10:06 +00:00
silvio
3afa35bad7 update .ts file ITA
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5297 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-04 18:45:50 +00:00
blacksun
1450771081 diagram editor : undo/redo of a rotation is now animated
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5296 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-04 16:55:59 +00:00
blacksun
f0c0e7c5d5 improve waiting dialog when open a project
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5295 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-04 15:07:52 +00:00
blacksun
fb47a18b69 Remove, move and clean some functions of diagram view, among other things because it is not the role of the diagram view to provide these functions.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5294 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-04 11:02:40 +00:00
scorpio810
91bfa40401 Update nl translations, thanks Dik
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5293 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-02 18:31:01 +00:00
ossau2mation
fc7b9f7fd5 Update Danish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5291 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-01 17:09:11 +00:00
scorpio810
95c1226215 Minor : update changelog
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5290 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-01 15:13:46 +00:00
scorpio810
fcdc16245d Add translators in about qet
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5289 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-01 15:13:10 +00:00
scorpio810
d8bd2b352b Update nl translation, thanks Dik
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5288 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-01 14:52:43 +00:00
scorpio810
de00369769 Update nl translations, thanks Dik
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5287 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-01 01:55:17 +00:00
scorpio810
e5b5a9d271 Update en, fr translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5286 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-04-01 01:50:01 +00:00
scorpio810
cc79b7edbc Update *.TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5285 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-31 21:20:42 +00:00
blacksun
1ec15c8426 Fix bug N° 157
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5284 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-31 11:40:55 +00:00
blacksun
250b2d42fe Element editor and diagram editor : context menu display only enabled actions
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5283 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-31 11:21:55 +00:00
blacksun
819c6c6f86 QetGraphicsItem, remove the function applyRotation and rotateBy, and use instead the native function of QGraphicsItem : setRotation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5281 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-27 19:04:43 +00:00
blacksun
da186f2efb Remove the class fixed element
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5280 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-25 18:56:16 +00:00
blacksun
37ef43b97b clean some code
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5279 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-25 18:42:18 +00:00
blacksun
d44ead205b Fix : rotation of independent text item is not saved
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5278 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-25 18:20:54 +00:00
blacksun
6a958c668a remove the class comment item
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5277 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-25 14:58:33 +00:00
blacksun
a7917bb5bb Remove the class element text item.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5276 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-25 14:33:49 +00:00
blacksun
8193687894 Remove some commented code
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5275 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-24 14:35:32 +00:00
blacksun
0a4bca6acc Minor diagram editor : fix minor wrong behavior when naviagte with the arrow key
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5274 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-24 14:29:43 +00:00
blacksun
a58274c219 Minor : dynamic element text item, the undo is now animated when user edit the text from the dock widget
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5273 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-24 13:45:48 +00:00
blacksun
ae8f23f659 Element editor : improve the behavior with the arrow keys (depending to the current selection : nothing / one / several)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5272 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-20 10:59:39 +00:00
scorpio810
71faf02bb3 Add new symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5271 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-18 15:46:10 +00:00
msouabni
c45cff8000 Update Arabic translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5270 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-13 20:49:34 +00:00
blacksun
22f657e65f Fix : change made to a text group was not applyed when edited from the element properties dialog
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5269 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-13 16:29:18 +00:00
blacksun
f2fd446bb5 Fix : Composite text dialog widget can't be selected when he is open by the element properties dialog widget
Fix : The ui freeze when use the drag and drop in the tab widget "texts" of element properties, when he is displayed by the element properties dialog widget.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5268 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-13 16:20:59 +00:00
blacksun
1077c91b6f Element editor : keep up to date the displayed text of dynamic text item when change the source of text.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5267 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-11 16:26:02 +00:00
blacksun
d6f418fa83 fix indentation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5266 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-11 16:04:44 +00:00
blacksun
7f8c5ef2b5 Element editor : text field can now have a composite text as source of text
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5265 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-11 16:00:58 +00:00
blacksun
9b3c496fc5 Element editor : remove all sources code related to the old text field
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5264 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-11 15:11:08 +00:00
blacksun
a6a875c7ce Element editor : Now every "old text" are converted to the new dynamic text, when open an element in the element editor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5263 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-11 14:44:21 +00:00
scorpio810
bfa706ca29 Fix some Debian lintian spelling errors
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5262 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-11 13:38:41 +00:00
blacksun
cbfd8fbc59 Fix compil fail, forget an include
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5261 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-11 13:10:49 +00:00
blacksun
275f20fa61 Element editor : dynamic text field can be set with element info as source of text.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5260 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-11 12:59:53 +00:00
scorpio810
7384f22017 Update changelog
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5259 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-10 14:27:30 +00:00
scorpio810
4982aa8f40 Add new symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5258 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-09 00:20:05 +00:00
scorpio810
9af3b48f70 Add Gabberworld patch for fix bug N°153, thanks
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5257 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-08 23:45:08 +00:00
scorpio810
33e460aa78 Element es translation, thanks Edgar
Add new symbol, thank Guillaume


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5253 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-03 03:34:10 +00:00
scorpio810
59730cb1ea Add new symbols, thanks Didierm
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5251 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-02 13:51:56 +00:00
blacksun
eb8294cdbd Fix bug N°153
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5250 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-01 18:45:40 +00:00
blacksun
0fe955ec86 Bug fix
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5249 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-01 18:38:37 +00:00
scorpio810
b94ed5674c Fix element mixed with link report properties on new dynamic text
grouping conversion.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5248 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-03-01 13:36:18 +00:00
blacksun
85a8a32106 Element editor : it is no longer required to have a text field, for save the edited element
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5247 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-02-26 15:35:10 +00:00
blacksun
7a64f88341 Fix : Element text item doesn't display label, when autonum is used.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5246 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-02-26 15:27:42 +00:00
scorpio810
0559c01fa1 Update element translation en es, thanks Edgar
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5245 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-02-26 10:58:29 +00:00
alfredo
91768e985d Elements_translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5244 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-02-19 23:36:32 +00:00
scorpio810
bdefc88ccd Fix typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5243 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-02-19 17:22:00 +00:00
scorpio810
1df3e12349 Enable Qt::AA_EnableHighDpiScaling and fix print bug, thanks Gabberworld for this patch.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5242 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-02-19 16:28:54 +00:00
scorpio810
0cb5de3ea3 Update element translation en es, thanks Edgar
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5241 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-02-18 17:18:52 +00:00
scorpio810
634d8b3709 Minor : update binary qet_cs.qm
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5240 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-02-18 12:39:47 +00:00
scorpio810
33dc476e69 Update element translation en, es, thanks Edgar
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5239 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-02-14 09:44:49 +00:00
scorpio810
fc05a2f2ec Add some colors for basic shapes inside dxf, thanks Gabberworld for this
patch


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5238 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-02-11 16:14:53 +00:00
pavelfric
5b584f3e58 Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5237 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-02-10 21:12:49 +00:00
pavelfric
53745dc679 Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5236 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-02-10 20:57:18 +00:00
scorpio810
45cbe170c9 Fix scroll mouse to lower it can flips the diagram, thanks Gabberworld for this patch
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5235 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-02-10 16:32:57 +00:00
blacksun
5445ae6b00 minor : update the alignment of group when he is created from an element text pattern
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5233 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-02-07 21:34:45 +00:00
scorpio810
8b4c3b68e3 Update en, fr translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5232 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-02-07 14:23:29 +00:00
scorpio810
ea8ee983df Fix crash if location text is so long (typo in code), thanks David666 to
report it


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5231 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-02-07 00:20:50 +00:00
scorpio810
b4c2fd2372 DXF export : fix some double items in dxf file, thanks to Gabberworld for this patch
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5230 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-02-06 16:12:33 +00:00
scorpio810
bd112eb92c Fix icon path
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5229 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-02-05 04:53:54 +00:00
scorpio810
855440118a Update rc file
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5228 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-02-05 04:40:27 +00:00
scorpio810
b308f00b27 Try to fix HIDPI on Windows platform, thanks Gabberworld
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5227 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-02-04 18:32:42 +00:00
alfredo
f1d6d8ca38 “Update_Spanish_translations_elements_signaletiques”
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5226 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-02-03 03:06:58 +00:00
blacksun
a49769970e forget file from previous commit
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5225 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-02-01 18:42:26 +00:00
blacksun
70fbce280f Element text item group : add new property -> hold to bottom of the page
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5224 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-02-01 18:40:12 +00:00
blacksun
8e74d88e65 Fix wrong behavior when move a text item group, with rotation different than 0
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5223 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-01-28 11:16:09 +00:00
scorpio810
b626a1344e Add new symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5222 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-01-27 23:55:25 +00:00
scorpio810
5034046c49 Update NL translations, thank Dik
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5221 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-01-27 10:56:06 +00:00
blacksun
31fcec10ff Dynamic element text item : Add a new option "width" for define the width of the text.
If the text is wider than the defined width, the text is broken into multiple line.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5220 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-01-26 18:49:38 +00:00
msouabni
3e48da73b0 Update of the Arabic translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5219 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-01-26 17:50:09 +00:00
alfredo
804409451e Spanish translator elemnts
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5218 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-01-26 05:56:25 +00:00
scorpio810
1874151c52 Fix bug #151
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5217 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-01-25 10:45:28 +00:00
blacksun
d85e395b46 Element text item with are now converted to dynamic element text item.
From now, the class ElementTextItem is not anymore use in qet. Every texts in a diagram are DynamicElementTextItem.
the Xref item was adapted to dynamic text.
Previously, the comment and location, displayed as a "static text" below the "old text" tagged "label" are now automaticaly converted to DynamicElementTextItem, so visually, these texts stay unchanged 


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5216 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-01-19 12:17:20 +00:00
blacksun
649f8519c6 Fix crash : Sometime when finish the action of adding an element in a diagram, qet crash.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5212 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-01-08 23:50:45 +00:00
scorpio810
df079362d7 QFontDialog set default font to "Sans Serif", 9
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5211 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-01-08 19:28:01 +00:00
nuri
aa28b79c8e Updated german translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5210 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-01-05 05:31:27 +00:00
alfredo
0845510c78 qet_spanish_translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5209 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-01-04 18:44:30 +00:00
silvio
c0b805c391 IT translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5208 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-01-01 18:14:23 +00:00
scorpio810
5b31a014a6 Minor refresh
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5207 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-31 17:19:43 +00:00
pawel32640
dd810a1190 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5206 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-31 17:10:13 +00:00
scorpio810
0d02662038 Add a "What's This?" for "launching DXFtoQET plugin" in menu
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5205 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-31 10:25:24 +00:00
scorpio810
34f07e69d3 Revert r5201
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5204 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-31 09:25:32 +00:00
ossau2mation
d4aee315cc Danish translation updated
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5203 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-31 09:03:28 +00:00
scorpio810
ff8054dcc7 Update *TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5202 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-31 08:15:13 +00:00
scorpio810
c5793680d3 Add message box for launching DXFtoQET plugin
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5201 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-31 08:05:48 +00:00
scorpio810
d4edfb6414 Update *TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5200 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-31 00:57:12 +00:00
scorpio810
3d26842504 Typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5199 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-31 00:53:55 +00:00
scorpio810
041b1c6f1e refresh binary Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5198 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-31 00:50:02 +00:00
scorpio810
1e9274e6ba Update *TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5197 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-31 00:45:45 +00:00
scorpio810
ac1afe60b9 Add translation for message box "Error launching plugin"
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5196 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-31 00:31:14 +00:00
blacksun
1b18b980a9 User can export / import the configuration of the texts and texts group of an element.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5195 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-30 14:41:25 +00:00
scorpio810
1137318384 Basic shape add new CustomDashLine style with
Dash Pattern (<< 10 << 10 );


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5194 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-29 23:13:35 +00:00
pavelfric
46bdb3f849 Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5193 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-28 13:29:20 +00:00
scorpio810
fdaff6ccc5 Update macOS Info.plist
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5192 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-23 12:59:44 +00:00
blacksun
94d52880a7 Element texts group can be renamed
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5191 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-18 20:05:00 +00:00
scorpio810
fd2a53bdd2 Typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5190 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-17 18:53:55 +00:00
scorpio810
e9e83e81ce Add a button in config page for open a new Qfontdialog widget and choose
font for summarry pages (foliolist)


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5189 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-17 14:43:39 +00:00
alfredo
9d555c0da2 Spanish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5188 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-15 01:53:47 +00:00
scorpio810
76c1be8c86 Element translation en es, thanks Edgar
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5186 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-14 21:24:16 +00:00
scorpio810
745c64d283 Add new symbols found on https://forum.gce-electronics.com
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5184 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-14 10:22:17 +00:00
silvio
f0232be3fe updating translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5183 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-14 07:25:40 +00:00
blacksun
3340489145 Dynamic element text item : remove the "tagg" property:
Tree Widget for edit the element text item :
-Change a value of a spinbox with the mouse wheel, apply the change in live (no need to press enter or leave focus).
-Remove the sub-level of source of text.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5182 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-13 21:15:05 +00:00
nuri
35d8ec562c Updated german translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5181 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-13 04:14:16 +00:00
ossau2mation
c8c9b56fe7 Updated Danish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5180 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-12 19:44:57 +00:00
pawel32640
304263c4c6 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5179 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-12 19:10:30 +00:00
scorpio810
f873ab73c5 Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5178 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-12 18:05:22 +00:00
scorpio810
e6838ddd13 Minor Update *TS
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5177 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-12 15:46:11 +00:00
alfredo
0e6c93c2f8 Spanish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5176 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-12 15:00:27 +00:00
nuri
333e3345bc Improve the button to choose the standard font used for text fields (those which are added on folio)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5175 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-12 06:52:44 +00:00
nuri
60617b28cd Minor GUI improvement in configdialog.cpp (better icons rendering)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5174 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-12 05:11:07 +00:00
nuri
4c8e45b57b Updated german translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5173 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-12 03:26:27 +00:00
pawel32640
fee0f4d4c5 update Polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5172 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-11 19:49:50 +00:00
scorpio810
3f5acb74e6 Minor : fix Multiple translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5171 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-11 16:24:29 +00:00
scorpio810
d79815ee4e Update *TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5170 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-11 14:37:35 +00:00
nuri
fe9f871661 Updated german translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5169 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-11 01:40:07 +00:00
scorpio810
925b54920e Add a button in config page for open Qfontdialog widget
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5168 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-11 00:52:33 +00:00
alfredo
2d20fb3081 Update_Spanish_Translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5167 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-10 22:05:57 +00:00
scorpio810
740b649976 Add a Qfontdialog for choose policy for independent text item, not
finished yet !


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5166 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-10 16:10:19 +00:00
blacksun
292c45166a Element text item group : Add new property for edit the adjustment of the space between texts
Dynamic element text item editor : Add new entry for edit the alignment, rotation and vertical adjustment of a group
Element Mover : Minor, remove the group texts from the moved content


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5165 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-10 14:31:27 +00:00
aitolos
c8efc1102f Update Greek TS
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5164 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-10 11:39:53 +00:00
scorpio810
7c8ea795e4 Dissociate fonts policy and size for independent text item
Possiblility to overide defaut settings by adding in QElectroTech.conf
diagramitemsize, diagramitemfont variable, for example: 
[General]
diagramitemsize=12
diagramitemfont=droid


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5163 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-10 01:03:36 +00:00
ossau2mation
4f366490b9 Update Danish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5162 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-09 20:53:55 +00:00
pawel32640
ef88f41072 update polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5161 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-09 19:59:10 +00:00
scorpio810
e29b51fca7 Update *TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5160 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-09 16:23:17 +00:00
scorpio810
4d86670354 Improve dialogwaiting progressBar
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5159 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-09 15:36:20 +00:00
scorpio810
8e2a0d4bb8 Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5158 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-09 14:22:34 +00:00
scorpio810
8d23356796 MacOS minor add Thread Count in aboutqet
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5157 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-09 14:05:42 +00:00
scorpio810
063ea4c531 MacOS fix can't close widget about QET : restore button close
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5156 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-09 13:19:15 +00:00
scorpio810
12edbf93be Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5155 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-09 12:38:08 +00:00
scorpio810
8ef41fdadd Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5154 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-09 01:38:19 +00:00
scorpio810
6a4520a4a1 Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5153 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-09 01:17:17 +00:00
scorpio810
bcb84831a5 Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5152 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-09 00:33:25 +00:00
scorpio810
308430351d Improve latest commit
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5151 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-08 23:43:37 +00:00
scorpio810
f63bfd6185 Add Thread Count in progress bar
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5150 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-08 23:01:48 +00:00
scorpio810
f478f20b1d Improve aboutqet widget and layout
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5149 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-07 14:41:07 +00:00
scorpio810
b40fdcf573 projectconfigpages setMinimumWidth(680)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5147 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-05 22:27:46 +00:00
scorpio810
3e8065d373 Update element en, es translation, thanks Edgar
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5144 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-05 21:49:13 +00:00
blacksun
e8905793cc Texts group can be removed with the delete key of keybord
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5142 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-05 21:41:29 +00:00
blacksun
89c019a10e Texts group item can be rotate.
The keybord shortcut for texts group alignment change. Now it's ctrl + arrow-left/up/right


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5141 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-05 20:51:54 +00:00
blacksun
0f2f8f0f2f Bug fix
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5139 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-05 12:29:44 +00:00
pawel32640
24d474b424 update polish translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5138 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-04 09:57:21 +00:00
alfredo
3e9a9e9bf1 “Update_Spanish_translations”
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5137 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-04 00:39:21 +00:00
alfredo
7b4bde7c88 Update Spanish translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5136 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-04 00:05:50 +00:00
scorpio810
ce9766f411 Minor fix typo in element description name
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5134 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-03 17:36:41 +00:00
scorpio810
f4a233345a Minor icon for macOS
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5133 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-02 20:34:16 +00:00
scorpio810
4502eee1ce Minor icon change
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5132 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-02 19:37:37 +00:00
blacksun
9828f2be76 Dynamic element text editor : improve the gui
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5129 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-12-01 18:36:57 +00:00
blacksun
ea5cb340d5 Dynamic element text item editor : add entry for edit the rotation of the edited text.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5125 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-29 19:17:02 +00:00
blacksun
4e440456fc Element texts group is fully managed by the undo stack
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5124 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-29 14:49:12 +00:00
scorpio810
12b30e7f30 Element translation en es, thanks Edgar
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5121 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-28 16:08:51 +00:00
nuri
553eadb332 icon theme: add new icons
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5120 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-27 23:41:24 +00:00
nuri
dbd867d604 icon theme: add new icons in element editor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5119 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-27 20:27:49 +00:00
blacksun
1bf8ace205 Forget file from previous commit
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5118 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-27 19:43:02 +00:00
blacksun
2bf4e330f4 Add initial support of texts group
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5117 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-27 19:37:39 +00:00
nuri
d31d360340 icon theme: add missing icons in size 16x16px
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5116 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-26 22:20:35 +00:00
nuri
fc4ecb5587 icon theme: add missing icons in size 16x16px
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5115 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-26 21:13:56 +00:00
nuri
79b578dcf7 icon theme: add new icons for titleblock placement (bottom or right)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5114 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-26 08:03:26 +00:00
nuri
b0e185c506 icon theme: add missing icons in size 16x16px
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5113 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-26 07:13:14 +00:00
nuri
22756eff42 icon theme: add missing icons in size 16x16px
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5112 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-26 06:36:06 +00:00
nuri
e5ea6746cf icon theme: minor correction in .png filne name
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5111 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-26 05:36:31 +00:00
nuri
dd2c45ab64 icon theme: add dedicated icons for actions "show only this folder" and "show all folders" in the collection panel
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5110 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-26 04:54:31 +00:00
nuri
947b933941 new icon theme: update subversion repository to the new folders and files used by the new theme
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5109 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-26 03:46:48 +00:00
nuri
9f3024545f Set the KDE "Breeze" icon theme as new icon theme for QElectroTech
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5108 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-25 07:44:38 +00:00
alfredo
5e44e6e8ad Update Spanish translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5106 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-18 19:23:04 +00:00
alfredo
d06410e696 Update Spanish translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5105 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-18 05:21:36 +00:00
scorpio810
8d82fab36a Update elememts translations, thanks Edgar
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5103 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-17 17:47:18 +00:00
nuri
9d9e14b8e4 Revert previous commit and add an extra line in the csv exportation.
The new line is a new header containing ID numbers in order to universally identify columns.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5102 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-16 21:13:32 +00:00
scorpio810
0fb622fae5 Add UUID field in nomenclature export
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5101 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-16 18:57:16 +00:00
scorpio810
e16a287399 Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5099 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-16 08:19:48 +00:00
scorpio810
324b488f09 Element spanish translation, thanks Edgar
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5098 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-13 20:46:50 +00:00
scorpio810
3a2bcd9490 Update changelog
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5097 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-11 14:30:53 +00:00
blacksun
3e934b994b Part dynamic text field, set default color to black
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5095 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-10 17:48:46 +00:00
scorpio810
9045088d2c Minor : add a vertical spacer in dynamictextfieldeditor widget
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5094 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-09 16:29:27 +00:00
blacksun
6693bb6cad Dynamic element text can have a frame
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5093 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-07 18:35:26 +00:00
blacksun
d2d1b74fad Minor GUI improvement
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5092 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-06 16:17:48 +00:00
scorpio810
33bc4e1072 Refresh symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5090 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-05 23:14:25 +00:00
blacksun
7fa942e3c1 Dynamic element text editor :
When add a new text, the item text in the tree view is selected and expanded.
When edit the pos of a text in the tree view, the new position is set directly, no need to lose focus or press enter key anymore for update the pos of the text.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5089 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-11-05 14:33:03 +00:00
blacksun
50fc46e162 Diagram editor : add in the tree widget use to edit the property of dynamic text item, two news items for edit the X and Y pos of the text.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5088 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-10-29 10:43:34 +00:00
blacksun
5bb0a3f0a3 minor fix
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5087 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-10-27 18:44:37 +00:00
blacksun
e2a49e4872 Dynamic element text item : when the source of text is label or composite text with variable %{label}, and the label of the element is created from a formula,
the displayed text of the dynamic text item is up to date according to the formula 


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5086 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-10-26 17:12:49 +00:00
blacksun
7e2134e0db When parse the defintion of an element in the diagram editor, befor parse anything, we get every DomElement with tagg "input".
If no one of these "input" have the attribute "tagg" set to "label", we set it to the first "input"  


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5084 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-10-21 12:05:57 +00:00
blacksun
02fb84caec Diagram editor :
1° When user drag and drop an element with text item (tagg input in the xml), the text item are converted to a dynamic text item.
2° When open an existing project, every texts item of elements in the project are converted to dynamic text field.

Note that the changes described upper don't work for the texts which have a tagg (for the moment)


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5083 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-10-19 09:10:23 +00:00
nuri
055dbf84e6 Updated german translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5082 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-10-14 06:27:03 +00:00
ossau2mation
8fc9d0a115 Danish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5081 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-10-13 19:11:30 +00:00
pawel32640
499a840f1d polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5080 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-10-12 16:25:26 +00:00
scorpio810
989d2877ee Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5079 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-10-12 12:52:26 +00:00
scorpio810
8cc143bb73 Minor : Update *.TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5078 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-10-11 19:40:47 +00:00
blacksun
9e9739bb4d Improve the previous comit
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5077 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-10-11 18:44:45 +00:00
scorpio810
2066092b47 Fix nomenclature export
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5076 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-10-11 18:24:39 +00:00
scorpio810
8dbd96d334 QetGraphicsHandlerItem reduce hoover size
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5075 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-10-11 15:37:40 +00:00
scorpio810
ad82ce07b7 Add new symbols en_60617, thanks Baboune41
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5074 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-10-11 13:39:59 +00:00
blacksun
8d333cbf1b Set the ItemIndexMethod of scene to NoIndex, according to some forum (Adress of forum are in the cpp file of this comit) they can be the sources of the crash occured by the conductor and shape "guost".
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5073 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-10-09 16:05:19 +00:00
nuri
374edc43be Change order of tabulations in folio properties widget
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5072 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-10-08 21:49:13 +00:00
aitolos
2383e3d609 Update Greek lang
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5071 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-10-08 16:32:10 +00:00
silvio
3fec215195 update IT translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5070 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-10-05 23:28:13 +00:00
nuri
2204c87242 Updated german translation
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5069 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-10-05 19:05:32 +00:00
rdsivd
5f5834a2c2 Update translation BE-nl
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5068 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-10-05 18:52:51 +00:00
ossau2mation
c1c1d52772 Danish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5067 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-10-05 15:45:28 +00:00
pawel32640
667823eb1a polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5066 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-10-05 09:30:52 +00:00
scorpio810
5c0edbd647 Update *TS files
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5065 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-10-04 23:15:17 +00:00
scorpio810
c9dd9ee8a2 Fix typo
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5064 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-10-04 23:07:35 +00:00
pawel32640
1a2ec0aabe polish translation update
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5063 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-10-04 08:09:08 +00:00
scorpio810
96fd766596 Update fr, en translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5062 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-10-03 12:46:33 +00:00
scorpio810
9351ba63b7 Add new field Name of provider,
rename fields,
update *TS files


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5061 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-10-03 12:11:28 +00:00
blacksun
7f92c1af7d Fix crash when user try to move a non movable item.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5060 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-10-03 08:54:58 +00:00
scorpio810
9c24163556 Add new description field
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5059 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-10-02 16:59:53 +00:00
scorpio810
ecd33d36c7 Add new symbols, thanks Wiktor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5058 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-10-02 14:46:26 +00:00
blacksun
bb39413992 Element editor : element informations (manufacturer, reference etc...) can be created directly from the element editor. For that go to the widget "Element Property"
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5057 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-10-01 15:25:34 +00:00
rdsivd
d5699f6b67 minor modifications on translation be-nl
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5056 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-10-01 08:00:34 +00:00
scorpio810
5cd1fe2fc8 Add new symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5054 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-10-01 07:05:02 +00:00
scorpio810
2a8d4920a1 Change the minimum conductor text size to 3
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5053 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-09-28 07:51:58 +00:00
blacksun
2934f769c6 Fix fail to build for ubuntu trusty
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5052 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-09-27 18:59:17 +00:00
blacksun
ec1e778bff Forget file from previous comit
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5051 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-09-27 15:31:57 +00:00
blacksun
8761d4768b Element editor : When open a .elmt file in the element editor, the texts field are converted to dynamic text field, except for text field with tagg : label, function and tension/protocol.
In other words every text without tagg are converted.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5050 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-09-27 15:26:47 +00:00
scorpio810
1933022b43 Update NL translations, thank Dik
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5049 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-09-26 20:40:10 +00:00
blacksun
61c4b5d8ef Forget file from previous comit
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5047 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-09-25 17:53:58 +00:00
blacksun
aa5241896c Element editor : dynamic text item can be added directly from the element editor (WIP)
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5046 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-09-25 17:44:02 +00:00
scorpio810
0c01bc4406 Update NL translations, thank Dik
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5044 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-09-24 17:04:22 +00:00
scorpio810
eb926c2a37 Update README.elements, thanks Nuri
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5043 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-09-22 09:46:38 +00:00
blacksun
2e389fb80f Dynamic element text item :
when text is owned by a folio report, the only information available to the text is :
the label (formula used for the Xref between linked report), the function of the potential and tension/protocol of the potential.
Unlike other elements there is no more information, because a report is not a real element.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5039 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-09-13 16:38:16 +00:00
scorpio810
e8b602915e Update NL translation, thank Dik
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5038 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-09-05 09:31:38 +00:00
rdsivd
0424a73999 Adpater BE-NL
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5037 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-09-03 19:22:01 +00:00
pavelfric
211d6c45c2 Updated Czech translations
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5036 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-09-01 19:34:18 +00:00
blacksun
5248c891f4 Dynamic element text item :
First : If the parent element of the text item is a slave,
the info use to create the text (both if option are 'element info' or 'composite text') are taken to the linked master element, and not the slave.
If the salve element is not linked, no information is taken.
Second : if the text is composed with the variable 'label' of the master (both if text from are 'element info' or 'composite text') double click on the text, act like a link and go to the master.



git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5035 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-29 14:54:27 +00:00
blacksun
31775871a4 When we link two reports together, if the text is the same for every conductors, we don't ask to user what to do, even if the function or the tension/protocol are not identical.
Now we check : text, function and tension/protocol, if one of these three values is not identical, we ask to user what to do.


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5032 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-27 11:27:41 +00:00
scorpio810
48778d901c Update splash version
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5031 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-25 07:28:30 +00:00
blacksun
6419f84d9c Keep up to date the model when a dynamic text item change, for exemple after an undo command
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5030 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-24 17:35:40 +00:00
blacksun
99eac96475 Conductor : double click on an handler open the property editor of the conductor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5029 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-24 14:55:13 +00:00
blacksun
57f34b4ee2 Minor : remove the QetGraphicsItemHandler returned by the function zValue
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5028 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-24 14:48:58 +00:00
blacksun
78a2b8a301 Enclose a class function into a macro because available since Qt 5.3
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5027 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-24 12:38:35 +00:00
scorpio810
f202493e11 Update Dutch translation, thank Dik
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5025 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-23 11:03:57 +00:00
blacksun
53ae49b3c7 When we select an element dynamic text, the element properties widget switch to the tab of dynamics text and expand and select the item in the tree that represent the dynamic text.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5024 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-22 18:27:23 +00:00
blacksun
fe46dc29a6 Fix ftbfs for ubuntu 14.04
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5023 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-22 17:24:51 +00:00
blacksun
fbb07bf2b8 Commit 5005 break the change made in commit 5003 : fix it
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5022 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-16 14:32:34 +00:00
blacksun
29748874fd Dynamic element text item, can have for source of text a composite text, a text composed both by user typed text and element info.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5021 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-16 13:52:15 +00:00
scorpio810
f94b7a04dd Fix typo on qet_tb_generator warning msgbox
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5019 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-15 01:38:31 +00:00
scorpio810
0011213314 Add new symbols thanks
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5016 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-10 12:30:38 +00:00
scorpio810
afb96798b9 Add new symbols
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5015 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-10 12:25:37 +00:00
scorpio810
a891b993d3 Add new symbols, thanks shateks
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5014 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-10 12:24:31 +00:00
scorpio810
2d57cde7e1 Add new symbols, thanks Szateks
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5013 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-10 12:22:04 +00:00
blacksun
3c535b2904 Minor : fix warning
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5012 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-09 09:03:04 +00:00
blacksun
e71fc99464 Fix crash
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5011 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-06 11:35:01 +00:00
blacksun
6e2ed873bb Dynamic element text item can display information of parent element
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5010 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-06 10:18:33 +00:00
scorpio810
31f36b8625 Modernize-use-override refactors code
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5009 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-05 02:10:01 +00:00
scorpio810
9f9b127c04 Modernize-use-nullptr refactors code
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5008 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-05 02:06:59 +00:00
scorpio810
876d05a338 Update Dutch translation, thank Dik
Minor reorganize some elements


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5007 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-04 13:36:57 +00:00
scorpio810
861cb1e83a Update Version
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5006 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-04 13:26:08 +00:00
blacksun
3ef55906a4 First step for the dynamic element text : Now user can add directly from the diagram editor an editable text of an element.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5005 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-03 17:36:08 +00:00
blacksun
0df5391491 Fix the left margin of the diagram : In some condition, (most of time when use copy and paste) a margin appear in the left of the folio.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5004 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-03 17:04:08 +00:00
blacksun
fec5c95682 Improve the behavior of the feature "zoom out beyond of folio" : drag the scene is now more user-friendly
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5003 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-03 16:53:43 +00:00
blacksun
f4f14ff4db Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5002 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-03 16:47:40 +00:00
blacksun
618683d962 Toatly revamp of the handlers use to modify primitves, shapes and conductors.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5001 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-02 15:26:14 +00:00
blacksun
86cb13f74d Element editor : Element primitive decorator doesn't manage anymore the text field when a single text is selected
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5000 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-01 19:37:04 +00:00
blacksun
b9013a8914 Add bicolor conductor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4999 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-01 19:09:31 +00:00
blacksun
5d4fcfa932 Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4997 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-07-31 17:54:22 +00:00
blacksun
fbae3da33f Element editor : clear the event interface befor save, to avoid the save of the primitive owned by the interface.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4996 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-07-31 17:41:48 +00:00
scorpio810
ecfb49c227 Fix libpng warning: iCCP: known incorrect sRGB profile, thanks LETARTARE
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4995 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-07-27 21:46:34 +00:00
blacksun
b800d466f5 Fix windows vista warning.
Thanks LETARTARE


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4994 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-07-27 20:26:13 +00:00
blacksun
a69e39cd2f Fix crash: In Xref link widget, If there is an element being added (element pose mode), and this one is compatible with the type of Xref sought by the widget, then the widget show this element.
When user finish the element pose mode, the element under the cursor is deleted, but continue to be show by the widget.
So, click on this element in the widget cause a crash.
This case come when user add element and go to another diagram without finish the pose mode, and open Xref link widget from an element in this other diagram. 


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4993 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-07-26 08:55:32 +00:00
blacksun
4c56ebf353 Fix crash. Close a project with a selected linkable element (master, slave, report) cause a crash
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4992 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-07-20 12:40:30 +00:00
scorpio810
9fdcf1a4ad Add new symbol, thanks Shateks
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4991 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-07-20 12:35:02 +00:00
scorpio810
f4025e1ef0 Add new symbols, thanks Galexis
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4990 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-07-16 17:54:47 +00:00
scorpio810
64f49be4e9 Update Polish translations, thanks Pawel
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4987 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-07-12 18:10:04 +00:00
scorpio810
0505dd18b2 Add new symbols, thanks Marcin
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4984 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-07-08 20:19:19 +00:00
scorpio810
7d25cda29c Remove unused macOS compiler flags
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4983 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-06-30 14:15:32 +00:00
scorpio810
af7179091e Add clang version in compilation informations for macOS
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4982 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-06-27 15:48:26 +00:00
scorpio810
06eefc793a Move to Clang compiler, replace gcp command
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4981 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-06-27 14:49:46 +00:00
blacksun
f390c750d5 Fix behavior :
In some condition, label of report element are not up to date.
In some condition, the title of tabs widget of folios are not up to date


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4980 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-06-20 19:15:39 +00:00
scorpio810
9fdb5ff4fe Refresh icons
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4979 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-06-14 13:32:52 +00:00
scorpio810
e37a7450b4 Convert svg icons to png
Workaround to fix segfault on Fedora, thanks Remi for reporting this issue
see : https://bugzilla.redhat.com/show_bug.cgi?id=1461390



git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4978 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-06-14 11:56:32 +00:00
scorpio810
d3f5352a03 Minor
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4977 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-06-13 14:38:50 +00:00
9933 changed files with 718124 additions and 168316 deletions

67
.clang-format Normal file
View File

@@ -0,0 +1,67 @@
---
BasedOnStyle: LLVM
AlignAfterOpenBracket: AlwaysBreak
AlignConsecutiveMacros: 'true'
AlignConsecutiveAssignments: 'true'
AlignConsecutiveDeclarations: 'true'
AlignEscapedNewlines: Right
AlignOperands: 'true'
AlignTrailingComments: 'true'
AllowAllArgumentsOnNextLine: 'false'
AllowAllConstructorInitializersOnNextLine: 'true'
AllowAllParametersOfDeclarationOnNextLine: 'true'
AllowShortBlocksOnASingleLine: 'true'
AllowShortCaseLabelsOnASingleLine: 'true'
AllowShortFunctionsOnASingleLine: All
AllowShortIfStatementsOnASingleLine: Always
AllowShortLambdasOnASingleLine: All
AllowShortLoopsOnASingleLine: 'true'
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: 'true'
AlwaysBreakTemplateDeclarations: 'Yes'
BinPackArguments: 'false'
BinPackParameters: 'false'
BreakAfterJavaFieldAnnotations: 'true'
BreakBeforeBinaryOperators: NonAssignment
BreakBeforeBraces: Allman
BreakBeforeTernaryOperators: 'false'
BreakConstructorInitializers: AfterColon
BreakInheritanceList: AfterColon
BreakStringLiterals: 'true'
ColumnLimit: '80'
CompactNamespaces: 'false'
ConstructorInitializerAllOnOneLineOrOnePerLine: 'true'
Cpp11BracedListStyle: 'true'
FixNamespaceComments: 'true'
IncludeBlocks: Regroup
IndentCaseLabels: 'false'
IndentPPDirectives: AfterHash
IndentWidth: '4'
JavaScriptWrapImports: 'true'
Language: Cpp
MaxEmptyLinesToKeep: '1'
NamespaceIndentation: All
PointerAlignment: Left
ReflowComments: 'true'
SortIncludes: 'true'
SortUsingDeclarations: 'true'
SpaceAfterCStyleCast: 'true'
SpaceAfterLogicalNot: 'true'
SpaceAfterTemplateKeyword: 'true'
SpaceBeforeAssignmentOperators: 'true'
SpaceBeforeCpp11BracedList: 'true'
SpaceBeforeCtorInitializerColon: 'true'
SpaceBeforeInheritanceColon: 'true'
SpaceBeforeParens: ControlStatements
SpaceBeforeRangeBasedForLoopColon: 'true'
SpaceInEmptyParentheses: 'false'
SpacesInAngles: 'false'
SpacesInCStyleCastParentheses: 'false'
SpacesInContainerLiterals: 'false'
SpacesInParentheses: 'false'
SpacesInSquareBrackets: 'false'
Standard: Cpp11
TabWidth: '4'
UseTab: Always
...

7
.gitignore vendored Normal file
View File

@@ -0,0 +1,7 @@
*.snap
.flatpak-builder
# Qt build output
*.user
# doxygen Doxyfile output
doc/
QElectroTech.tag

162
CMakeLists.txt Normal file
View File

@@ -0,0 +1,162 @@
# Copyright 2006 The QElectroTech Team
# This file is part of QElectroTech.
#
# QElectroTech is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# QElectroTech is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
include(cmake/hoto_update_cmake_message.cmake)
cmake_minimum_required(VERSION 3.14...3.19 FATAL_ERROR)
project(qelectrotech
VERSION 0.9.0
DESCRIPTION "QET is a CAD/CAE editor focusing on schematics drawing features."
HOMEPAGE_URL "https://qelectrotech.org/"
LANGUAGES CXX)
include(cmake/copyright_message.cmake)
set(QET_DIR ${PROJECT_SOURCE_DIR})
# Add sub directories
option(PACKAGE_TESTS "Build the tests" ON)
if(PACKAGE_TESTS)
message("Add sub directorie tests")
add_subdirectory(tests)
endif()
include(cmake/paths_compilation_installation.cmake)
include(cmake/start_options.cmake)
include(cmake/developer_options.cmake)
include(cmake/git_update_submodules.cmake)
include(cmake/git_last_commit_sha.cmake)
include(cmake/fetch_kdeaddons.cmake)
include(cmake/fetch_singleapplication.cmake)
include(cmake/fetch_pugixml.cmake)
include(cmake/qet_compilation_vars.cmake)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)
SET(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
find_package(
QT
NAMES
Qt6
Qt5
COMPONENTS
${QET_COMPONENTS}
REQUIRED
)
find_package(
Qt${QT_VERSION_MAJOR}
COMPONENTS
${QET_COMPONENTS}
REQUIRED)
set(CMAKE_AUTOUIC_SEARCH_PATHS ${QET_DIR}/sources/ui)
qt5_create_translation(QM_FILES ${CMAKE_SOURCE_DIR} ${TS_FILES})
set_source_files_properties(${TS_FILES} PROPERTIES OUTPUT_LOCATION "${QET_DIR}/lang")
qt5_add_translation(QM_FILES ${TS_FILES})
# als laatse
include(cmake/define_definitions.cmake)
add_executable(
${PROJECT_NAME}
${QET_RES_FILES}
${QET_SRC_FILES}
${QM_FILES}
${QET_DIR}/qelectrotech.qrc
)
target_link_libraries(
${PROJECT_NAME}
PUBLIC
PRIVATE
pugixml::pugixml
SingleApplication::SingleApplication
${KF5_PRIVATE_LIBRARIES}
${QET_PRIVATE_LIBRARIES}
)
target_include_directories(
${PROJECT_NAME}
PRIVATE
${QET_DIR}/sources/titleblock
${QET_DIR}/sources/ui
${QET_DIR}/sources/qetgraphicsitem
${QET_DIR}/sources/qetgraphicsitem/ViewItem
${QET_DIR}/sources/qetgraphicsitem/ViewItem/ui
${QET_DIR}/sources/richtext
${QET_DIR}/sources/factory
${QET_DIR}/sources/properties
${QET_DIR}/sources/dvevent
${QET_DIR}/sources/editor
${QET_DIR}/sources/editor/esevent
${QET_DIR}/sources/editor/graphicspart
${QET_DIR}/sources/editor/ui
${QET_DIR}/sources/editor/UndoCommand
${QET_DIR}/sources/undocommand
${QET_DIR}/sources/diagramevent
${QET_DIR}/sources/ElementsCollection
${QET_DIR}/sources/ElementsCollection/ui
${QET_DIR}/sources/autoNum
${QET_DIR}/sources/autoNum/ui
${QET_DIR}/sources/ui/configpage
${QET_DIR}/sources/SearchAndReplace
${QET_DIR}/sources/SearchAndReplace/ui
${QET_DIR}/sources/NameList
${QET_DIR}/sources/NameList/ui
${QET_DIR}/sources/utils
${QET_DIR}/sources/pugixml
${QET_DIR}/sources/dataBase
${QET_DIR}/sources/dataBase/ui
${QET_DIR}/sources/factory/ui
${QET_DIR}/sources/print
)
install(TARGETS ${PROJECT_NAME})
if (NOT MINGW)
install(DIRECTORY ico/breeze-icons/16x16 DESTINATION ${QET_ICONS_PATH})
install(DIRECTORY ico/breeze-icons/22x22 DESTINATION ${QET_ICONS_PATH})
install(DIRECTORY ico/breeze-icons/32x32 DESTINATION ${QET_ICONS_PATH})
install(DIRECTORY ico/breeze-icons/48x48 DESTINATION ${QET_ICONS_PATH})
install(DIRECTORY ico/breeze-icons/64x64 DESTINATION ${QET_ICONS_PATH})
install(DIRECTORY ico/breeze-icons/128x128 DESTINATION ${QET_ICONS_PATH})
install(DIRECTORY ico/breeze-icons/256x256 DESTINATION ${QET_ICONS_PATH})
install(DIRECTORY elements DESTINATION share/qelectrotech)
install(DIRECTORY examples DESTINATION share/qelectrotech)
install(DIRECTORY titleblocks DESTINATION share/qelectrotech)
install(FILES LICENSE ELEMENTS.LICENSE CREDIT README ChangeLog DESTINATION share/doc/qelectrotech)
install(FILES misc/qelectrotech.desktop DESTINATION share/applications)
install(FILES misc/x-qet-element.xml
misc/x-qet-project.xml
misc/x-qet-titleblock.xml
DESTINATION share/mime/application)
install(FILES misc/x-qet-element.desktop
misc/x-qet-project.desktop
misc/x-qet-titleblock.desktop
DESTINATION share/mimelnk/application)
install(FILES misc/qelectrotech.xml DESTINATION share/mime/packages)
install(FILES misc/qelectrotech.appdata.xml DESTINATION ${QET_APPDATA_PATH})
install(FILES ${QM_FILES} DESTINATION ${QET_LANG_PATH})
endif()

121
CONTRIBUTING.md Normal file
View File

@@ -0,0 +1,121 @@
# How to contribute
I'm really glad you're reading this,
because we need volunteer developers to help
this project come to fruition.
Here are some important resources:
* [Qet code style](https://qelectrotech.org/wiki_new/doc/qt_creator#on_ajoute_le_style_de_code_qet)
* [git Documentation](https://git-scm.com/doc)
## Testing
## Submitting changes
Always write a clear log message for your commits.
One-line messages are fine for small changes,
but bigger changes should look like this:
$ git commit -m "A brief summary of the commit
>
> A paragraph describing what changed and its impact."
* It is always appropriate to keep the commits small.
* For major changes it is recommended to use branches.
### Interactive Staging
https://git-scm.com/book/en/v2/Git-Tools-Interactive-Staging
issue: you have modified a class but you want to write it in 2 commits
´git add -p´ or ´git add -i´
/qet> git add -i
staged unstaged path
1: unchanged +1/-1 sources/diagram.cpp
*** Commands ***
1: status 2: update 3: revert 4: add untracked
5: patch 6: diff 7: quit 8: help
What now> 5
staged unstaged path
1: unchanged +1/-1 sources/diagram.cpp
Patch update>> 1
staged unstaged path
* 1: unchanged +1/-1 sources/diagram.cpp
Patch update>>
diff --git a/sources/diagram.cpp b/sources/diagram.cpp
index bffca653f..9bd2280f7 100644
--- a/sources/diagram.cpp
+++ b/sources/diagram.cpp
@@ -103,9 +103,9 @@ Diagram::Diagram(QETProject *project) :
connect(&border_and_titleblock,
&BorderTitleBlock::titleBlockFolioChanged,
this, &Diagram::updateLabels);
- connect(this, &Diagram::diagramActivated,
+ foo(do_a);
- adjust(diagramActivated);
+ bar(do_c);
adjustSceneRect();
}
(1/1) Stage this hunk [y,n,q,a,d,s,e,?]? s
Split into 2 hunks.
@@ -103,5 +103,5 @@
connect(&border_and_titleblock,
&BorderTitleBlock::titleBlockFolioChanged,
this, &Diagram::updateLabels);
- connect(this, &Diagram::diagramActivated,
+ foo(do_a);
(1/2) Stage this hunk [y,n,q,a,d,j,J,g,/,e,?]? y
@@ -107,5 +107,5 @@
this, &Diagram::loadElmtFolioSeq);
- adjust(diagramActivated);
+ bar(do_c);
adjustSceneRect();
}
(2/2) Stage this hunk [y,n,q,a,d,K,g,/,e,?]? n
*** Commands ***
1: status 2: update 3: revert 4: add untracked
5: patch 6: diff 7: quit 8: help
What now>What now>7
Bye.
git commit -m "Mod Signal Slot to funsion"
## Coding conventions
Start reading our code and you'll get the hang of it.
We optimize for readability:
* We use tabs to indent, and interpret tabs as taking up to 8 spaces.
see https://qelectrotech.org/wiki_new/doc/qt_creator#on_ajoute_le_style_de_code_qet
* We try to keep to at most 80 characters per line.
* Try to make your code understandable.
You may put comments in, but comments invariably tend to stale out when
the code they were describing changes.
Often splitting a function into two
makes the intention of the code much clearer.
Thanks,
QElectroTech

22
CREDIT
View File

@@ -1,7 +1,5 @@
[en] [en]
Thanks to Qt Software for their Qt library ( http://www.qtsoftware.com/ ), licensed under GNU/GPL. Thanks to Qt Software for their Qt library ( http://www.qtsoftware.com/ ), licensed under GNU/GPL.
Thanks to Everaldo Coelho for the Crystal SVG icons theme ( http://www.iconfinder.com/iconsets/crystalproject) licensed under LGPL.
Thanks to Nuno Pinheiro for the Oxygen icons theme ( http://www.oxygen-icons.org/ ) licensed under LGPL but also for the QElectroTech-dedicated icons.
Thanks to the KDE project ( http://www.kde.org/ ). Thanks to the KDE project ( http://www.kde.org/ ).
Thanks to Loic for his mathematics-related explanations. Thanks to Loic for his mathematics-related explanations.
Thanks to Remi Collet for the Fedora packaging. Thanks to Remi Collet for the Fedora packaging.
@@ -32,8 +30,6 @@ Thanks to Mrbit for ebuild Gentoo packaging.
[fr] [fr]
Merci à Qt Software pour la bibliothèque Qt ( http://www.qtsoftware.com/ ), sous licence GNU/GPL. Merci à Qt Software pour la bibliothèque Qt ( http://www.qtsoftware.com/ ), sous licence GNU/GPL.
Merci à Everaldo Coelho pour le thème d'icônes Crystal SVG ( http://www.iconfinder.com/iconsets/crystalproject ) sous licence LGPL.
Merci à Nuno Pinheiro pour le thème d'icônes Oxygen ( http://www.oxygen-icons.org/ ) sous licence LGPL mais aussi pour les icônes dédiées à QElectroTech
Merci au projet KDE ( http://www.kde.org/ ). Merci au projet KDE ( http://www.kde.org/ ).
Merci à Loic pour ses explications d'ordre mathématique. Merci à Loic pour ses explications d'ordre mathématique.
Merci à Remi Collet pour les paquets Fedora. Merci à Remi Collet pour les paquets Fedora.
@@ -64,8 +60,6 @@ Merci à Mrbit for ebuild les paquets Gentoo
[ru] [ru]
Спасибо Qt Software за их библиотеку Qt ( http://www.qtsoftware.com/ ), лицензированную на условиях GNU/GPL. Спасибо Qt Software за их библиотеку Qt ( http://www.qtsoftware.com/ ), лицензированную на условиях GNU/GPL.
Спасибо Everaldo Coelho за тему значков Crystal SVG ( http://www.iconfinder.com/iconsets/crystalproject ) лицензированную на условиях LGPL.
Спасибо Nuno Pinheiro за тему значков Oxygen ( http://www.oxygen-icons.org/ ) лицензированную на условиях LGPL, а также за значки связанные с QElectroTech.
Спасибо проекту KDE ( http://www.kde.org/ ). Спасибо проекту KDE ( http://www.kde.org/ ).
Спасибо Loic за объяснения связанные с математикой. Спасибо Loic за объяснения связанные с математикой.
Спасибо Remi Collet за пакет для Fedora. Спасибо Remi Collet за пакет для Fedora.
@@ -79,8 +73,6 @@ Merci à Mrbit for ebuild les paquets Gentoo
[pt] [pt]
Agradecimentos a Qt Software pela sua biblioteca Qt ( http://www.qtsoftware.com/ ), licenciada de acordo com a GNU/GPL. Agradecimentos a Qt Software pela sua biblioteca Qt ( http://www.qtsoftware.com/ ), licenciada de acordo com a GNU/GPL.
Agradecimentos a Everaldo Coelho pelo tema de ícones Crystal SVG ( http://www.iconfinder.com/iconsets/crystalproject ), licenciado de acordo com a LGPL.
Agradecimentos a Nuno Pinheiro pelo tema de ícones Oxygen e em especial pelos ícones dedicados ao programa QElectroTech ( http://www.oxygen-icons.org/ ), lincenciado de acordo com a LGPL.
Agradecimentos ao projecto KDE ( http://www.kde.org/ ). Agradecimentos ao projecto KDE ( http://www.kde.org/ ).
Agradecimentos a Loic pelas suas explicações relacionadas com problemas matemáticos. Agradecimentos a Loic pelas suas explicações relacionadas com problemas matemáticos.
Agradecimentos a Remi Collet pela criação dos pacotes para Fedora. Agradecimentos a Remi Collet pela criação dos pacotes para Fedora.
@@ -94,8 +86,6 @@ Agradecimentos a 'Dr.Slump'pela tradução para italiano
[es] [es]
Agradecimientos a Qt Software por su biblioteca Qt ( http://www.qtsoftware.com/ ), licenciada bajo GNU/GPL. Agradecimientos a Qt Software por su biblioteca Qt ( http://www.qtsoftware.com/ ), licenciada bajo GNU/GPL.
Agradecimientos a Everaldo Coelho por el tema de icónos Crystal SVG ( http://www.iconfinder.com/iconsets/crystalproject ), licenciado bajo LGPL.
Agradecimientos a Nuno Pinheiro por el tema de icónos Oxygen y especialmente por los icónos dedicados al programa QElectroTech ( http://www.oxygen-icons.org/ ), licenciado bajo LGPL.
Agradecimientos al proyecto KDE ( http://www.kde.org/ ). Agradecimientos al proyecto KDE ( http://www.kde.org/ ).
Agradecimientos a Loic por sus explicaciones relacionadas con problemas matemáticos. Agradecimientos a Loic por sus explicaciones relacionadas con problemas matemáticos.
Agradecimientos a Remi Collet por criación de paquetes para Fedora. Agradecimientos a Remi Collet por criación de paquetes para Fedora.
@@ -109,8 +99,6 @@ Agradecimientos a 'Dr.Slump' por sus traducciones en italiano
[cs] [cs]
Díky Qt Software za jejich knihovnu Qt ( http://www.qtsoftware.com/ ), pod licencí GNU/GPL. Díky Qt Software za jejich knihovnu Qt ( http://www.qtsoftware.com/ ), pod licencí GNU/GPL.
Díky Everaldovi Coelho za téma Crystal SVG icons theme ( http://www.iconfinder.com/iconsets/crystalproject ) pod licencí LGPL.
Díky Nunovi Pinheirovi za téma ikon Oxygen ( http://www.oxygen-icons.org/ ) pod licencí LGPL ale také za ikony věnované QElectroTech.
Díky projektu KDE ( http://www.kde.org/ ). Díky projektu KDE ( http://www.kde.org/ ).
Díky Loicovi za jeho vysvětlení vztahující se k matematice. Díky Loicovi za jeho vysvětlení vztahující se k matematice.
Díky Remi Colletovi za balíček pro Fedoru. Díky Remi Colletovi za balíček pro Fedoru.
@@ -124,8 +112,6 @@ Dìky 'Dr.Slump' za jeho italianský překlad
[pl] [pl]
Podziękowania dla Qt Software, za biblioteki Qt (http://www.qtsoftware.com/) na licencji GNU / GPL. Podziękowania dla Qt Software, za biblioteki Qt (http://www.qtsoftware.com/) na licencji GNU / GPL.
Podziękowania dla Everaldo Coelho, za ikony Crystal SVG ( http://www.iconfinder.com/iconsets/crystalproject) na licencji LGPL.
Podziękowania dla Nun Pinheiro, za ikony Oxygen (http://www.oxygen-icons.org/) na licencji LGPL, a także za ikony przeznaczone do projektu QElectroTech.
Podziękowania dla projektu KDE (http://www.kde.org/). Podziękowania dla projektu KDE (http://www.kde.org/).
Podziękowania dla Loic, za pomoc w rozwiązaniu problemów matematycznych. Podziękowania dla Loic, za pomoc w rozwiązaniu problemów matematycznych.
Podziękowania dla Remi Collet, za pakiety dla Fedory. Podziękowania dla Remi Collet, za pakiety dla Fedory.
@@ -138,8 +124,6 @@ Podziękowania dla Alfredo Carreto, za jego tłumaczenie na język hiszpański i
[it] [it]
Grazie a Qt Software per le loro librerie Qt (http://www.qtsoftware.com/), licenzate sotto GNU/GPL. Grazie a Qt Software per le loro librerie Qt (http://www.qtsoftware.com/), licenzate sotto GNU/GPL.
Grazie a Everaldo Coelho per il tema icone Crystal SVG ( http://www.iconfinder.com/iconsets/crystalproject) licenzato sotto LGPL.
Grazie a Nuno Pinheiro per il tema icone Oxygen (http://www.oxygen-icons.org/) licenzato sotto LGPL ma anche per le icone dedicate a QElectroTech.
Grazie al progetto KDE (http://www.kde.org/). Grazie al progetto KDE (http://www.kde.org/).
Grazie a Loic per le sue spiegazioni matematiche. Grazie a Loic per le sue spiegazioni matematiche.
Grazie a Remi Collet per i pacchetti per Fedora. Grazie a Remi Collet per i pacchetti per Fedora.
@@ -165,8 +149,6 @@ Grazie a Markos Chandras per i pacchetti per Gentoo.
[el] [el]
Ευχαριστίες στην Qt Software για την βιβλιοθήκη Qt ( http://www.qtsoftware.com/ ), αδειοδοτημένο ως GNU/GPL. Ευχαριστίες στην Qt Software για την βιβλιοθήκη Qt ( http://www.qtsoftware.com/ ), αδειοδοτημένο ως GNU/GPL.
Ευχαριστίες στον Everaldo Coelho για τα εικονίδια του θέματος Crystal SVG ( http://www.iconfinder.com/iconsets/crystalproject) αδειοδοτημένο ως LGPL.
Ευχαριστίες to Nuno Pinheiro για τα εικονίδια του θέματος Oxygen ( http://www.oxygen-icons.org/ ) αδειοδοτημένο ως LGPL και επίσης για τα εικονίδια ειδικά για το QElectroTech.
Ευχαριστίες στο έργο KDE ( http://www.kde.org/ ). Ευχαριστίες στο έργο KDE ( http://www.kde.org/ ).
Ευχαριστίες στον Loic για τις εξηγήσεις σχετικές με μαθηματικά. Ευχαριστίες στον Loic για τις εξηγήσεις σχετικές με μαθηματικά.
Ευχαριστίες στον Remi Collet για τα πακέτα Fedora. Ευχαριστίες στον Remi Collet για τα πακέτα Fedora.
@@ -197,8 +179,6 @@ Grazie a Markos Chandras per i pacchetti per Gentoo.
[nl] [nl]
Dank aan Qt Software voor hun Qt library ( http://www.qtsoftware.com/ ) , onder de GNU / GPL licentie . Dank aan Qt Software voor hun Qt library ( http://www.qtsoftware.com/ ) , onder de GNU / GPL licentie .
Dank aan Everaldo Coelho voor de Crystal SVG iconen thema ( http://www.iconfinder.com/iconsets/crystalproject ) gelicenseerd onder LGPL .
Dank aan Nuno Pinheiro voor de Oxygen iconen thema ( http://www.oxygen-icons.org/ ) gelicenseerd onder LGPL maar ook voor de QElectroTech -dedicated iconen.
Dank aan het KDE-project ( http://www.kde.org/ ) . Dank aan het KDE-project ( http://www.kde.org/ ) .
Dank aan Loic voor zijn wiskunde - gerelateerde verklaringen . Dank aan Loic voor zijn wiskunde - gerelateerde verklaringen .
Met dank aan Remi Collet voor de Fedora pakket. Met dank aan Remi Collet voor de Fedora pakket.
@@ -229,8 +209,6 @@ Dank aan Mrbit voor ebuild Gentoo pakket.
[be] [be]
Dank aan Qt Software bibliotheek voor Qt ( http://www.qtsoftware.com/ ), onder licentie van GNU/GPL. Dank aan Qt Software bibliotheek voor Qt ( http://www.qtsoftware.com/ ), onder licentie van GNU/GPL.
Dank aan Everaldo Coelho voor het pictogram thema Crystal SVG ( http://www.iconfinder.com/iconsets/crystalproject )onder licentie van licence LGPL.
Dank aan Nuno Pinheiro voor het pictogram thema Oxygen ( http://www.oxygen-icons.org/ ) onder licentie van LGPL maar ook voor de iconen opgedragen aan QElectroTech
Dank aan project KDE ( http://www.kde.org/ ). Dank aan project KDE ( http://www.kde.org/ ).
Dank aan Loic voor zijn uitleg van de mathematische orde. Dank aan Loic voor zijn uitleg van de mathematische orde.
Dank aan Remi Collet voor de pakketten Fedora. Dank aan Remi Collet voor de pakketten Fedora.

316
ChangeLog
View File

@@ -1,3 +1,300 @@
====== ChangeLog from 0.7 to 0.8 ======
* Moving the main QET repository SVN trunk to GIT.
* Add a mirror of the main QET repository, which is synced to hosted at tuxfamily.org to Github.
* Doxyfile update add QCH file for doxygen-generated docs using qhelpgenerator and then import them into Qt Creator.
* Improve portability of Doxyfile (Simon).
* Fix deprecated warnings (Simon).
* Wrap code for better readability (Simon, Damian).
* Elements collection :
Improve collection 7378 elements in 1092 categories
Thanks Sebastien, Dinozzo, Simon, Rafał, Arnaud, Bisku, Fernando, Riesermauf, Alexis, david, Plc-user, Christophe, Michele, Galexis, Jevgenijs, Gabor,
Benoit Michel, Franck, Ludovic, Cyrille, ossau2mation, Mitzot, Edgar, Nuri, Friskolon, Baboune41, Wiktor, shateks, Dik, Shateks, Marcin
* Diagram editor :
* The export of the nomenclature to csv file has been completely rewritten :
It is now possible to choose which information to export as well as the order in which it should be displayed.
An option allows filtering by type of element: all, terminal block, button / switch.
Another option allows to display or not the column headers in the csv file.
With these options, it is possible to create a nomenclature, an order list, but also for printing labels: list of terminals and list of buttons / switches.
It is possible to save / load a configuration easily.
Finally, the work being done by an SQLite database, a text field allows the user to create his own SQL query.
* Add Conductors numbering to csv file.
* Add new summary table.
* add BOM creation dialog :
nomenclature is now integrated into the project (accompanied by several parameters in order to be customizable).
Tables can have a name.
Tables an be added to any folio.
Font margin and alignment (right center left) separately adjustable for headers and table cells.
Position size and number of lines is adjustable.
Possibility of linking several tables together, especially when the entire nomenclature cannot be contained in a folio.
Automatic adjustment of the size of the table in relation to the folio.
Option to apply the geometry of an array to all the array linked to it, so that everything is homogeneous.
Save / load table configuration and content to make creation faster.
Option to automatically adjust the table to the folio.
Option to automatically add new tables in new folios if the nomenclature cannot be contained in 1 to N folios / tables.
* Table content:
Fully customizable, you display what you want or want (info to display in the desired order, filter on type of element, filter on content of the info "contains, not contains, not empty etc ..." ).
The content being generated from a sqlite database, you can write your own request.
* Loading of element collections is now faster (thanks to the pugixml parser)
* The loading of collections of elements no longer freezes QElectroTech.
* The appearance and disappearance of the search / replace menu is animated.
* Fix wrong position of slave xref after open a saved project
* Add font color of the conductors (Simon).
* Add section and color properties for wires.
* config dialog :
* Add QScrollArea to configdialog and resize to max_screen (Simon).
* Add gui resize depending on screen size (Simon).
* Add Screen info user (Simon).
* Mod ScrollArea on demand (Simon).
* Element editor:
* Polygon editing widget, when you click on a point in the list, the corresponding point changes color in order to better visualize what you are doing.
On this same list, a right click opens a contextual menu allowing to delete the selected point or inserted a point after the selected one.
When holding the ctrl + directional arrow key, the selected parts move by 0.1 instead of 1 point.
* with Ctrl key you can moving by keyboard primitives selected by 0.1 point instead by 1 points, added the same feature for moving the selected aera.
* Added 140 web standard colors In Element editor (Arnaud).
* Add multiedit feature (martin).
* Add terminals uuid for next features (martin).
* Windows :
* Fix bad fonts rendering if Qt version >= 5.13.1.
See : https://bugreports.qt.io/browse/QTBUG-83161
* Fix backup file on windows
For unknown reason KautoSaveFile don't write the file on Windows if file
is open in another part of the code.
No error is returned and use the method :
qint64 QIODevice::write(const QByteArray &byteArray) return the good
number of bytes written but the real file stay empty.
Probably the problem don't come from KautoSaveFile but QFileDevice or
QIODevice on windows.
The fix consist to open the file just before write on it and close it
just after.
* writeToFile on a other Thread to improve this for windows performance (Simon).
* macOS :
* Add Fusion style and fix tilesets tab bar size
* Enable mouse wheel on tilesets tab bar with command keyboard, thanks Giovanni.
(removed by Qt upstream) https://codereview.qt-project.org/gitweb?p=qt/qtbase.git;a=commitdiff;h=ea47d152b35158ba07a55d009f57df0e4c2a048f;hp=08cc9b9991ae9ab51bed5b857b6257401401ff6f
* Add Snap packages :
* thanks Max for help.
https://snapcraft.io/qelectrotech
See: https://qelectrotech.org/forum/viewtopic.php?id=1426
* Use kde-neon extension
The kde-neon extension reduces our boilerplate in snapcraft.yaml
and reduces the snap size considerably, as we do not need to ship
any library that is already included in the kde-frameworks-5-core18
snap itself.
This limits qelectrotech builds to the architectures supported
by kde-frameworks-5-core18, i.e. only amd64.
https://git.tuxfamily.org/qet/qet.git/log/?qt=grep&q=snap
* Add Flatpak packages :
* thanks Mathieu for help.
See: https://github.com/qelectrotech/qelectrotech-source-mirror/pull/18
* remove the file name extension added
automatically to the saved files even if the user sets an unknown file
extension for the program.
https://git.tuxfamily.org/qet/qet.git/log/?qt=grep&q=flatpak
====== ChangeLog from 0.6 to 0.7 ======
* Element editor :
* Element informations (manufacturer, reference etc...) can be created directly from the element editor. For that go to the widget "Element Property"
* It is no longer required to have a text field, for save the edited element.
* Improve the behavior with the arrow keys (depending to the current selection (nothing / one / several).
* Context menu display only enabled actions.
* Added new feature -> alignment.
* Alignment of text field can be edited.
* Added two new actions in context menu for insert or remove point of a selected polygon.
* Rectangle can have rounded corner.
* Polyline: finish the creation of polyline with the last point at the same position of the first point, close the polyline.
* Diagram editor :
* Conductors can now be drawn with two colors.
* Improve High-DPI support on Windows and Linux plateform.
* The code for the resize handles has been almost completely redesigned.
* Dissociate fonts policy and size for independent text item and for summarry pages (foliolist), added a 2 button in config page for open Qfontdialog widget and choose policy for independent text item.
* Add in config page a Qfontdialog widget for change dynamic text size, font family, orientation angle and text length, by default.
* Basic shape add new CustomDashLine style with Dash Pattern (<< 10 << 10 );
* It is now possible to add a text field to an element directly from the diagram.
* Element text item with are now converted to dynamic element text item.
* Element editor, part text can't be edited directly.
* User can export / import the configuration of the texts and texts group of an element.
* Context menu display only enabled actions.
* Added new action in the context menu, multiple paste, check box for autonum the pasted element.
* Multipaste -> improve the conductor autonum, conductors are numerated from top to bottom, and left to right.
* Text of conductor can be placed at top/bottom/left/right of conductor, and text never overlaps the conductor.
* Function for search conductor at the same potential.
When the search function is searching in a terminal element, they search only for the first terminal found, no matter if the terminal element have more than two terminals.
So the list of conductors at the same potential is missing some conductors.
This commit fix it, now the search function search for every terminals of a terminal element.
* When remove an element with several conductors connected to the same terminal, the electrical potential is partially or totally destroyed.
This commit fix it : When element is removed one or several conductors are created (if needed) to conserve the electrical potential.
* Added new feature -> alignment.
* Alignment of text field can be edited.
* Added new context menu action "group the selected texts".
* Widget used to edit text item group can edit the pos of the group.
* Element text item group can now be framed.
* Added two new actions in context menu for insert or remove point of a selected polygon.
* QETshapeItem rectangle can have rounded corner.
* Add in config the possibility to start the numbering of the columns of titleblocks at 0.
* Add new function Search and replace widget Crtl +F
* Diagram properties, Element properties, Independent text item can be changed (and mass changed) through the search and replace widget.
* Added 4 tools for edit the depth (Z value) of items.
* Element panel : elements can be searched by their name but also with by all their informations.
* New free selection style.
* Diagram editor : dock used to edit the shape item, can now edit several items in the same time.
* Dynamic element text item : The font of the dynamic texts can be individually be setted.
* Adding or revoming diagram set project to modified
* When user cleanning an project, set project to modified
* Add a shortcut "Ctrl+Shift+P" to quickly open the dialog used for create the auto numbering rules.
* Add missing StatusTip of some QAction
* When user add a polygon, a message in statusBar show how to finish this shape
* Polyline: finish the creation of polyline with the last point at the same position of the first point, close the polyline.
* Plug-in : Add StatusTip instruction for install and launching DXF plugin depending on the operating system
* when plugin qet-tb-generator"generate terminal blocks and connectors" isn't installed show an QMessageBox instruction now depending on the operating system for install it
Add in QMessageBox url encoding/decoding for easy download packages
* Elementspanelwidget: adds keyboard shortcuts to quickly move up, down,or move the targeted folio to the beginning of the project
F3 MoveUp
F4 MoveDown
F5 MoveUpTop
* Title block editor :
Added new title block variables %projectpath, %projectfilename, %projecttitle, previous-folio-num and next-folio-num
"%saveddate, %savedtime, %savedfilename and %savedfilepath" they variables should be updated after file save or save as dialog is confirmed,
before file is saved.
* NameList widget : add a combo box for easily paste texts, like the variables for title block.
* The font of the dynamic text field can be edited.
* The font of the static text field can be edited.
* The color of the static text field can be edited.
* Improve for new qet_tb_generator plug-in : added the full path of the current project as
an argument when calling the plug-in from QET if a project is open.
If not a file dialog is showed to select the QET project.
* QET create a backup file, use to restore the project when a crash occur.
* Use KAutoSaveFile for the backup system, instead of home made function.
* Use of QSAveFile instead a QFile.
* User can enable and edit autosave timer.
* let user define the file system path of the common,custom elements collections, and custom title blocks template.
* QetGraphicsItem, remove the function applyRotation and rotateBy, and use instead the native function of QGraphicsItem : setRotation
* Conductor is an herited class of QGraphicsObject, instead of QObject and QGraphicsPathItem
* Clean (and reduce the size) the class QETDiagramEditor, mostly by replacing the connection syntax "signal -> slot" by "signal -> lambda".
* Replace deprecated QMatrix by QTransform.
* DXF export : fix some double items in dxf file.
* DXF export : add some colors for basic shapes inside dxf.
* Bug fix :
* Fix compilation warning (clang and gcc).
* Fix element text item alignment work well when text rotation != 0.
* Fix crash when the properties of a element text item group
* Fix crash occurred by the conductor and shape "ghost".
* Fix element text alignment work also when font size change.
* fix :
1- When open a .qet by double click on it, QET ask user for open the backup file, of this .qet.
2- On windows, if user open a project from the recent files menu, when close QET the file is deleted user lose her work.
clear the element texts when paste an element with the option "Do not store the labels of items in the copy paste" enabled.
* elements can't be moved up and left, when there rotation are different than 0.
* minor fix : slave link dialog doesn't display the good label, when the label of master element is build from formula.
* Fix : in some condition, dynamic text are not at the same position when open a project.
* On windows when user drag and drop an element from the common elements collection to the custom elements collection,
the element file stay in read only mode, and so user can't save the element
* Improvement : minimize the unwanted gap of the top right folio of the view (see https://qelectrotech.org/forum/viewtopic.php?pid=9379#p9379)
* Fix: bug 168
* Fix : when create multiple conductors with the free hand selection, the checking of existing potentiel don't search trought a folio report.
* Fix: DXF export.
* Minor fix : remove from the element information the html hexadecimal and decimal characters of line feed and carriage return.
* fix : in the diagram editor, when we select several shapes at the same time, the properties widget only apply the change to one shape.
* Bug fix : when user load a project which contains summary pages, project was marked modified (summary was created on the fly and moved from the end on second
position), now the project is no longer marked as amended when user have one or multiples summary pages when loading this project.
* Static text of element are now exported to dxf
* Fix Static text size of element exported to dxf
* Improvement : minimize the unwanted gap of the top right folio of the view
* Fix : when create multiple conductors with the free hand selection, the checking of existing potentiel don't search trought a folio report.
* Don't display gui when qet is launched with specific argument
====== ChangeLog from 0.5 to 0.6 ======
In the official collection, there are now 4106 elements, and 539 categoris for a total of 4645 files
* Improved performance, added multithreading to speed up the loading of items when launching QET.
* RAM consumption has been considerably reduced.
* New "collections" panel.
* Automatic numberings (autonum), Variables and prefix.
* Folio generator
* Management Policy
* New thickness properties for conductors.
* The thickness of the lines of all basic shapes (lines, rectangles, ellipses, polygons) can be changed from 0,2px to 50,0px.
* The color of lines and fillings of basic shapes can be choosed from a color palette or set with a html color code.
* Added Copy/paste from another project.
* Online documentation and links to download the latest packages of the version under development for Windows and MacOS are available directly from the software.
* Resetting the layout of the summary pages.
* In the panel left split the view into a several docks.
* High-DPI support (Qt 5.6.0)
* new python plugin to generate terminal block.
* Windows packages are now created on a Debian operating system using cross-compilation and targeted to make executable binary files for these operating systems.
This technical evolution allows a significant time saving during the creation of the packages. And we can provide also in the same time Windows XP and Vista packages by cross-compil with Qt 5.7.1 environment
* The Mac OS X executable binary files are created on a virtual environment, moved compiler to latest LLVM clan version, improved dmg packages with added Info.plist.
* An annoying memory leak has been found and solved. Afters hours of use, some users noticed that the RAM consumption growed steadily, up to 10GB or more. This problem is now solved.
====== ChangeLog from 0.4 to 0.5 ====== ====== ChangeLog from 0.4 to 0.5 ======
In the official collection, there are now 2625 elements, and 418 catégoris for a total of 3043 files. In the official collection, there are now 2625 elements, and 418 catégoris for a total of 3043 files.
@@ -47,29 +344,29 @@ Qet detects the Windows version and applies the appropriate graphic style, depen
====== ChangeLog from 0.3 rc to 0.3 ====== ====== ChangeLog from 0.3 rc to 0.3 ======
First, the collection of symbols has made a big step forward, with about 1560 new elements. First, the collection of symbols has made a big step forward, with about 1560 new elements.
There are now symbols for pneumatics, hydraulics, process, solar, cold, etc. Considerable effort has been done to organize the collection in a better way. There are now symbols for pneumatics, hydraulics, process, solar, cold, etc. Considerable effort has been done to organize the collection in a better way.
We hope that the new organisation is clearer for all. We would like to thank all the contributors who send us symbols. We hope that the new organisation is clearer for all. We would like to thank all the contributors who send us symbols.
=====-Element Editor: ===== =====-Element Editor: =====
Considerable work has be done to replace the manual defining zone of the symbol, aka hotspot.And fix bugs, It is now automatic. You do not have to care about it anymore. Considerable work has be done to replace the manual defining zone of the symbol, aka hotspot.And fix bugs, It is now automatic. You do not have to care about it anymore.
Primary colors have been added for the drawing shapes. Primary colors have been added for the drawing shapes.
A contextual menu (right click) has been added. So, you can now work more quickly with symbols. It is also more user-friendly. A contextual menu (right click) has been added. So, you can now work more quickly with symbols. It is also more user-friendly.
====== ChangeLog from v0.3 rc ====== ====== ChangeLog from v0.3 rc ======
=====-Element Editor: ===== =====-Element Editor: =====
* Replacing checkboxes with lists of colors. * Replacing checkboxes with lists of colors.
* Removed the manual hotspot, it is now automatic and you do not have to worry. * Removed the manual hotspot, it is now automatic and you do not have to worry.
Officially Collection: a large classification work on the structure was realized. It should be clear to everyone. Officially Collection: a large classification work on the structure was realized. It should be clear to everyone.
The collection is enriched with 1711 items in 286 categories (ie 1997 files) The collection is enriched with 1711 items in 286 categories (ie 1997 files)
=====-Schema Editor:===== =====-Schema Editor:=====
* Added import image, image rotation, image resizing and saving the file in the project. * Added import image, image rotation, image resizing and saving the file in the project.
(Double click on the image called a widget and cursor that reduce or enlarge the selected image.) (Double click on the image called a widget and cursor that reduce or enlarge the selected image.)
NB: Following the "edit image" entry will also be added in the right click menu. NB: Following the "edit image" entry will also be added in the right click menu.
* F5 keyboard shortcut can recharge symbol collections. * F5 keyboard shortcut can recharge symbol collections.
Some bugs have been resolved, and the translation status continues to grow. Some bugs have been resolved, and the translation status continues to grow.
======ChangeLog from v0.3 beta ====== ======ChangeLog from v0.3 beta ======
@@ -246,4 +543,5 @@ Le dialogue "Exporter" (pour générer un fichier image d'un schéma) a égaleme
* Affinage du constructeur de la classe QETApp * Affinage du constructeur de la classe QETApp
* Moins d'avertissements à la compilation (testé avec gcc 4.3) * Moins d'avertissements à la compilation (testé avec gcc 4.3)
* Moins d'inclusions non pertinentes * Moins d'inclusions non pertinentes
* Nettoyage du trunk : déplacement des sources dans un sous-répertoire

2860
Doxyfile

File diff suppressed because it is too large Load Diff

View File

@@ -175,3 +175,15 @@ Dette værk er licenseret under Creative Commons Attribution 3.0 License.
For at se en kopi af denne licens, besøg For at se en kopi af denne licens, besøg
http://creativecommons.org/licenses/by/3.0/ or send a letter to Creative http://creativecommons.org/licenses/by/3.0/ or send a letter to Creative
Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA. Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.
[ja]
QElectroTech と一緒に提供される要素コレクションは現状のまま提供され、
あなたの目的や作業に適合することを保証するものではありません。
回路図での要素の利用、変更、統合は、回路図の最終的なライセンスに関わらず
無条件で許可されます。
回路図とは別に QElectroTech コレクションの全部または一部を
変更の有無に関わらず再配布する場合は CC-BY ライセンスを尊重しなければなりません:
この作品は Creative Commons Attribution 3.0 の下でライセンスされます。
ライセンスのコピーを見るには http://creativecommons.org/licenses/by/3.0/ にアクセスするか、
「Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.」に
手紙を送ってください。

12
INSTALL
View File

@@ -8,6 +8,7 @@ $ qmake (qmake-qt5 for Debian-based systems)
$ make $ make
# umask 0022 # umask 0022
# make install # make install
[fr] [fr]
Pré-requis : Pré-requis :
libQt5 (paquets libqt5*) libQt5 (paquets libqt5*)
@@ -139,3 +140,14 @@ $ qmake (qmake-qt5 for Debian baserede systemer)
$ make $ make
# umask 0022 # umask 0022
# make install # make install
[ja]
必要条件 :
libQt5 (パッケージ libqt5* を参照)
cupsys-bsd 印刷用
コンパイルの方法 :
$ qmake (Debian ベースのシステムでは qmake-qt5)
$ make
# umask 0022
# make install

9
README
View File

@@ -6,6 +6,11 @@ It uses XML files for elements and diagrams, and includes both a diagram editor,
QElectroTech est une application Qt5 pour réaliser des schémas électriques. QElectroTech est une application Qt5 pour réaliser des schémas électriques.
QET utilise le format XML pour ses éléments et ses schémas et inclut un éditeur de schémas, un éditeur d'élément, ainsi qu'un editeur de cartouche. QET utilise le format XML pour ses éléments et ses schémas et inclut un éditeur de schémas, un éditeur d'élément, ainsi qu'un editeur de cartouche.
[de]
QElectroTech ist eine Qt5 Software, um Schaltpläne zu erstellen.
QET benutzt das XML Format für seine Bauteile und seine Projekte, und beinhaltet einen Schaltplaneditor, einen Bauteileditor sowie einen Zeichnungskopfeditor.
[ru] [ru]
QElectroTech - приложение написанное на Qt5 и предназначенное для разработки электрических схем. QElectroTech - приложение написанное на Qt5 и предназначенное для разработки электрических схем.
Оно использует XML-файлы для элементов и схем, и включает, как редактор схем, так и редактор элементов. Оно использует XML-файлы для элементов и схем, и включает, как редактор схем, так и редактор элементов.
@@ -45,3 +50,7 @@ QET gebruikt XML voor de elementen en schema's en omvat een schematische editor,
[da] [da]
QElectroTech er et Qt5 program til at redigere elektriske diagrammer. QElectroTech er et Qt5 program til at redigere elektriske diagrammer.
Det bruger XML filer for symboler og diagrammer og inkluderer diagram, symbol og titelblok redigering. Det bruger XML filer for symboler og diagrammer og inkluderer diagram, symbol og titelblok redigering.
[ja]
QElectroTech は電気回路図を作成する Qt5 アプリケーションです。
QET は要素と回路図に XML 形式を利用し、回路図エディタ、要素エディタ、表題欄エディタを含みます。

179
README.md Normal file
View File

@@ -0,0 +1,179 @@
![](logo.png)
# QElectroTech
### What it is
QElectroTech, or QET in short, is a libre and open source desktop application to create diagrams and schematics.
The software is primarily intended to create electrical documentation but it can also be used to draw any kinds of diagrams, such as those made in pneumatics, hydraulics, process industries, electronics...
Generally speaking, QET is a **CAD/CAE editor focusing on schematics drawing features**.
This means that there are no embedded simulating or calculating functionalities and it is not planned to implement them.
The main goal of the developers is to provide a libre, easy to use and effective software for **schematics drawing purposes**.
### Version
The current stable version is 0.80 and was released on 2021.02.21.
Once it has been officialy released, the stable version is always frozen and is no longer developed.
New functionalities, bug and issue fixings are further made in the development version (currently 0.9), which can also be [downloaded](https://qelectrotech.org/download.html).
Users who want to test and take benefits from the last software implementations should use the development version. But... use it at your own risk, since things are sometimes broken or only partialy implemented until they are done!
### License
The software is licensed under [GNU/GPL](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html).
You are free to use, copy, modify and redistribute it under the terms of the license.
Like many other open source softwares, QElectroTech is provided as it is, without any warranty.
### Development / technical choices
The development follows the classical way of free and open source software: the source code, written by a community of users, is freely accessible.
If you are reading this on Github, be aware that this is an hourly synced mirror. Our real code repository [is located here](https://git.tuxfamily.org/qet/qet.git/).
Here are the technical choices made for the software development:
* Integrated development environment: [Qt Framework](https://www.qt.io/ide/)
* Libraries: Qt 5.x
* [KF5 Framework](https://github.com/KDE)
[Cmake](https://cmake.org/install/)
[kcoreaddons](https://github.com/KDE/kcoreaddons)
[kwidgetsaddons](https://github.com/KDE/kwidgetsaddons).
* Coding language: [C++](https://en.wikipedia.org/wiki/C%2B%2B)
* GUI translations: [Qt Linguist](http://doc.qt.io/qt-5/qtlinguist-index.html)
* Version control: [GIT](https://git.tuxfamily.org/qet/qet.git/)
* File format for projects, elements and titleblocks: [XML](http://www.w3schools.com/xml/xml_whatis.asp)
* Main development platform: [GNU/Linux](http://getgnulinux.org/en/linux/)
* Targeted platforms: Windows, GNU/Linux, Mac OS X, BSDs
* [Forum](https://qelectrotech.org/forum/index.php)
* [Wiki](https://qelectrotech.org/wiki_new/)
* [Mantis_bugtracker](https://qelectrotech.org/bugtracker/my_view_page.php)
If you wish to be informed of the latest developments, browse the [archive](https://listengine.tuxfamily.org/lists.tuxfamily.org/qet/) of the project mailing list where all commits (changes) are registered. This archive is publicly available, you don't need any account to access it.
# Features
QElectroTech is a free and open source software.
No need to worry about restrictive licensing, privacy violation or dependency on a company.
Zero cost and no licensing fees!
But you are welcome to make a donation to support the development
QElectroTech runs on the 3 most widespread operating systems for desktop computers in the world.
Files that were created on an OS can be edited on another OS without any conversion or restriction.
MS Windows users can even run the "ready-to-use" version of QElectroTech from an external medium with no need to install it on an access restricted computer.
Take advantage of the modern GUI
Toolbars and panels can be enabled/disabled, moved and displayed the way you want to work.
Panels can be stacked on each other (as tabs) or docked on the sides (as docks) or completely separated from the main window (as windows).
The GUI can fit to small or big screens, and even to multi-display configurations.
![](https://download.tuxfamily.org/qet/images-features/0030.png "GUI overview")
The GUI of QElectroTech is translated in 19 languages.
You only need to restart the application for the new selected language to take effect.
![](https://download.tuxfamily.org/qet/images-features/0040.png "Lang menu")
Create technical documentation in professional quality
Size, look and informations of the folios (sheets) are fully configurable.
You can set vertical and horizontal headers (printed rulers) individually on and off, set number of columns and rows, and set width/height of each column/row.
Titlebocks can be created and edited with the embedded titleblock editor to perfectly suit your needs.
Custom variables can be defined to display the informations you wish in the titleblock.
![](https://download.tuxfamily.org/qet/images-features/0055.png "Titleblock editor")
With only 2 mouse clicks you can add a full automatic generated table of content.
Changes in the documentation are updated on the fly.
![](https://download.tuxfamily.org/qet/images-features/0060.png "Table of content")
Choose from more than 7.000 symbols...
The embedded QET collection contains a rich library of electric, logic, pneumatic, hydraulic and fluid symbols.
The library grows at every new release thanks to an active user community.
![](https://download.tuxfamily.org/qet/images-features/0070.png "Collections")
...or create your own collection
The embedded element editor is a nice tool to create your own elements (symbols or anything else).
Your own elements are stored in the user collection.
![](https://download.tuxfamily.org/qet/images-features/0080.png "Element editor")
Quickly find what you need
All collections can quickly be searched with the integrated search engine.
Furthermore, the search request can be restricted to the folder of your choice.
![](https://download.tuxfamily.org/qet/images-features/0090.png "Search engine")
Easily draw complex schematics
To add an element on the drawing area, it only needs a drag & drop from the collection panel.
![](https://download.tuxfamily.org/qet/images-features/0102.png "Drag and drop")
Elements are automatically connected if they are aligned, or connected from point to point by pulling a conductor with the mouse.
![](https://download.tuxfamily.org/qet/images-features/0105.png "Conductor connections")
The path of every conductor can be modified by moving its handles with the mouse.
![](https://download.tuxfamily.org/qet/images-features/0107.png "Conductor handles")
And of course, you can accurately zoom with the mouse wheel over the drawing area to catch the smallest details.
Link elements together to create cross references
Several types of element can be linked together to display a cross reference text.
All types of cross references are automatically updated on the fly, you don't need to think about them if you make changes.
![](https://download.tuxfamily.org/qet/images-features/0112.png "Cross ref elements")
To speed up your work, linkable elements are easily searched and shown.
![](https://download.tuxfamily.org/qet/images-features/0115.png "Cross ref search")
Export informations to a parts list
Informations of all elements in the project can be exported to a .csv file that can be read and edited by any spreadsheet application.
![](https://download.tuxfamily.org/qet/images-features/0122.png "Element informations")
This way, you can make your own parts list or bill of material using the full power of a spreadsheet program.
![](https://download.tuxfamily.org/qet/images-features/0125.png "Spreadsheet")
Print to pdf and/or export your work to images
Your whole documentation or only selected parts of it can be printed to a real printer or to a pdf file.
Alternatively, you can export to vector (svg) or pixel (png, jpg, bmp) format images.
### And much more:
* open and edit several projects at the same time
* import images (.bmp, .jpg, .png, .svg) in your diagrams
* add basic shapes (lines, rectangles, ellipses, polygons) to your drawings
* edit the thickness, the line style and the color of conductors
* define some autonum patterns for conductors, symbols and folios
* take advantage of the open xml standard of elements and projects to create custom tools
* search and replace Widget (Ctrl + F) in entire project
* conductors num can be exported to csv file.
* ***
### Story
The QElectroTech project was founded in 2007 by two french students, Xavier and Benoit.
Xavier developed the base application itself and made all technical choices about the development.
The first version of QET (0.1) was released on 09.03.2008.
However, both Xavier and Benoit do not participate anymore in the project since 2013.
Following this period, new developers and contributors took over the project and kept it alive.
The development and the many translations are actively maintained.
New functionalities and evolutions are planned to make QET ever better.
Nowadays, QET is not only used by many individuals, teachers and students but also by professional electricians and companies all over the world.
### Donate Money
If you love QElectroTech, you can help developers to buy new hardware to test
and implement new features. Thanks in advance for your generous donations.
For more information, look at [Paypal](https://www.paypal.com/donate/?token=rqf80cP0Ck1F2jn4Y46G7tIPv9bq7x0crXkwt3GZ6OZYG6ihJYi8lZxmmQ8itsFwMUdd1G&country.x=GB&locale.x=GB)

View File

@@ -0,0 +1,295 @@
Changelog
=========
If by accident I have forgotten to credit someone in the CHANGELOG, email me and I will fix it.
__3.2.0__
---------
* Added support for Qt 6 - _Jonas Kvinge_
* Fixed warning in `Qt 5.9` with `min`/`max` functions on Windows - _Nick Korotysh_
* Fix return value of connectToPrimary() when connect is successful - _Jonas Kvinge_
* Fix build issue with MinGW GCC pedantic mode - _Iakov Kirilenko_
* Fixed conversion from `int` to `quint32` and Clang Tidy warnings - _Hennadii Chernyshchyk_
__3.1.5__
---------
* Improved library stability in edge cases and very rapid process initialisation
* Fixed Bug where the shared memory block may have been modified without a lock
* Fixed Bug causing `instanceStarted()` to not get emitted when a second instance
has been started before the primary has initiated it's `QLocalServer`.
__3.1.4__
---------
* Officially supporting and build-testing against Qt 5.15
* Fixed an MSVC C4996 warning that suggests using `strncpy_s`.
_Hennadii Chernyshchyk_
__3.1.3.1__
---------
* CMake build system improvements
* Fixed Clang Tidy warnings
_Hennadii Chernyshchyk_
__3.1.3__
---------
* Improved `CMakeLists.txt`
_Hennadii Chernyshchyk_
__3.1.2__
---------
* Fix a crash when exiting an application on Android and iOS
_Emeric Grange_
__3.1.1a__
----------
* Added currentUser() method that returns the user the current instance is running as.
_Leander Schulten_
__3.1.0a__
----------
* Added primaryUser() method that returns the user the primary instance is running as.
__3.0.19__
----------
* Fixed code warning for depricated functions in Qt 5.10 related to `QTime` and `qrand()`.
_Hennadii Chernyshchyk_
_Anton Filimonov_
_Jonas Kvinge_
__3.0.18__
----------
* Fallback to standard QApplication class on iOS and Android systems where
the library is not supported.
* Added Build CI tests to verify the library builds successfully on Linux, Windows and MacOS across multiple Qt versions.
_Anton Filimonov_
__3.0.17__
----------
* Fixed compilation warning/error caused by `geteuid()` on unix based systems.
_Iakov Kirilenko_
* Added CMake support
_Hennadii Chernyshchyk_
__3.0.16__
----------
* Use geteuid and getpwuid to get username on Unix, fallback to environment variable.
_Jonas Kvinge_
__3.0.15__
----------
* Bug Fix: sendMessage() might return false even though data was actually written.
_Jonas Kvinge_
__3.0.14__
----------
* Fixed uninitialised variables in the `SingleApplicationPrivate` constructor.
__3.0.13a__
----------
* Process socket events asynchronously
* Fix undefined variable error on Windows
_Francis Giraldeau_
__3.0.12a__
----------
* Removed signal handling.
__3.0.11a__
----------
* Fixed bug where the message sent by the second process was not received
correctly when the message is sent immediately following a connection.
_Francis Giraldeau_
* Refactored code and implemented shared memory block consistency checks
via `qChecksum()` (CRC-16).
* Explicit `qWarning` and `qCritical` when the library is unable to initialise
correctly.
__3.0.10__
----------
* Removed C style casts and eliminated all clang warnings. Fixed `instanceId`
reading from only one byte in the message deserialization. Cleaned up
serialization code using `QDataStream`. Changed connection type to use
`quint8 enum` rather than `char`.
* Renamed `SingleAppConnectionType` to `ConnectionType`. Added initialization
values to all `ConnectionType` enum cases.
_Jedidiah Buck McCready_
__3.0.9__
---------
* Added SingleApplicationPrivate::primaryPid() as a solution to allow
bringing the primary window of an application to the foreground on
Windows.
_Eelco van Dam from Peacs BV_
__3.0.8__
---------
* Bug fix - changed QApplication::instance() to QCoreApplication::instance()
_Evgeniy Bazhenov_
__3.0.7a__
----------
* Fixed compilation error with Mingw32 in MXE thanks to Vitaly Tonkacheyev.
* Removed QMutex used for thread safe behaviour. The implementation now uses
QCoreApplication::instance() to get an instance to SingleApplication for
memory deallocation.
__3.0.6a__
----------
* Reverted GetUserName API usage on Windows. Fixed bug with missing library.
* Fixed bug in the Calculator example, preventing it's window to be raised
on Windows.
Special thanks to Charles Gunawan.
__3.0.5a__
----------
* Fixed a memory leak in the SingleApplicationPrivate destructor.
_Sergei Moiseev_
__3.0.4a__
----------
* Fixed shadow and uninitialised variable warnings.
_Paul Walmsley_
__3.0.3a__
----------
* Removed Microsoft Windows specific code for getting username due to
multiple problems and compiler differences on Windows platforms. On
Windows the shared memory block in User mode now includes the user's
home path (which contains the user's username).
* Explicitly getting absolute path of the user's home directory as on Unix
a relative path (`~`) may be returned.
__3.0.2a__
----------
* Fixed bug on Windows when username containing wide characters causes the
library to crash.
_Le Liu_
__3.0.1a__
----------
* Allows the application path and version to be excluded from the server name
hash. The following flags were added for this purpose:
* `SingleApplication::Mode::ExcludeAppVersion`
* `SingleApplication::Mode::ExcludeAppPath`
* Allow a non elevated process to connect to a local server created by an
elevated process run by the same user on Windows
* Fixes a problem with upper case letters in paths on Windows
_Le Liu_
__v3.0a__
---------
* Deprecated secondary instances count.
* Added a sendMessage() method to send a message to the primary instance.
* Added a receivedMessage() signal, emitted when a message is received from a
secondary instance.
* The SingleApplication constructor's third parameter is now a bool
specifying if the current instance should be allowed to run as a secondary
instance if there is already a primary instance.
* The SingleApplication constructor accept a fourth parameter specifying if
the SingleApplication block should be User-wide or System-wide.
* SingleApplication no longer relies on `applicationName` and
`organizationName` to be set. It instead concatenates all of the following
data and computes a `SHA256` hash which is used as the key of the
`QSharedMemory` block and the `QLocalServer`. Since at least
`applicationFilePath` is always present there is no need to explicitly set
any of the following prior to initialising `SingleApplication`.
* `QCoreApplication::applicationName`
* `QCoreApplication::applicationVersion`
* `QCoreApplication::applicationFilePath`
* `QCoreApplication::organizationName`
* `QCoreApplication::organizationDomain`
* User name or home directory path if in User mode
* The primary instance is no longer notified when a secondary instance had
been started by default. A `Mode` flag for this feature exists.
* Added `instanceNumber()` which represents a unique identifier for each
secondary instance started. When called from the primary instance will
return `0`.
__v2.4__
--------
* Stability improvements
* Support for secondary instances.
* The library now recovers safely after the primary process has crashed
and the shared memory had not been deleted.
__v2.3__
--------
* Improved pimpl design and inheritance safety.
_Vladislav Pyatnichenko_
__v2.2__
--------
* The `QAPPLICATION_CLASS` macro can now be defined in the file including the
Single Application header or with a `DEFINES+=` statement in the project file.
__v2.1__
--------
* A race condition can no longer occur when starting two processes nearly
simultaneously.
Fix issue [#3](https://github.com/itay-grudev/SingleApplication/issues/3)
__v2.0__
--------
* SingleApplication is now being passed a reference to `argc` instead of a
copy.
Fix issue [#1](https://github.com/itay-grudev/SingleApplication/issues/1)
* Improved documentation.

View File

@@ -0,0 +1,40 @@
cmake_minimum_required(VERSION 3.7.0)
project(SingleApplication LANGUAGES CXX)
set(CMAKE_AUTOMOC ON)
add_library(${PROJECT_NAME} STATIC
singleapplication.cpp
singleapplication_p.cpp
)
add_library(${PROJECT_NAME}::${PROJECT_NAME} ALIAS ${PROJECT_NAME})
if(NOT QT_DEFAULT_MAJOR_VERSION)
set(QT_DEFAULT_MAJOR_VERSION 5 CACHE STRING "Qt version to use (5 or 6), defaults to 5")
endif()
# Find dependencies
set(QT_COMPONENTS Core Network)
set(QT_LIBRARIES Qt${QT_DEFAULT_MAJOR_VERSION}::Core Qt${QT_DEFAULT_MAJOR_VERSION}::Network)
if(QAPPLICATION_CLASS STREQUAL QApplication)
list(APPEND QT_COMPONENTS Widgets)
list(APPEND QT_LIBRARIES Qt${QT_DEFAULT_MAJOR_VERSION}::Widgets)
elseif(QAPPLICATION_CLASS STREQUAL QGuiApplication)
list(APPEND QT_COMPONENTS Gui)
list(APPEND QT_LIBRARIES Qt${QT_DEFAULT_MAJOR_VERSION}::Gui)
else()
set(QAPPLICATION_CLASS QCoreApplication)
endif()
find_package(Qt${QT_DEFAULT_MAJOR_VERSION} COMPONENTS ${QT_COMPONENTS} REQUIRED)
target_link_libraries(${PROJECT_NAME} PUBLIC ${QT_LIBRARIES})
if(WIN32)
target_link_libraries(${PROJECT_NAME} PRIVATE advapi32)
endif()
target_compile_definitions(${PROJECT_NAME} PUBLIC QAPPLICATION_CLASS=${QAPPLICATION_CLASS})
target_include_directories(${PROJECT_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})

24
SingleApplication/LICENSE Normal file
View File

@@ -0,0 +1,24 @@
The MIT License (MIT)
Copyright (c) Itay Grudev 2015 - 2020
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Note: Some of the examples include code not distributed under the terms of the
MIT License.

304
SingleApplication/README.md Normal file
View File

@@ -0,0 +1,304 @@
SingleApplication
=================
[![CI](https://github.com/itay-grudev/SingleApplication/workflows/CI:%20Build%20Test/badge.svg)](https://github.com/itay-grudev/SingleApplication/actions)
This is a replacement of the QtSingleApplication for `Qt5` and `Qt6`.
Keeps the Primary Instance of your Application and kills each subsequent
instances. It can (if enabled) spawn secondary (non-related to the primary)
instances and can send data to the primary instance from secondary instances.
Usage
-----
The `SingleApplication` class inherits from whatever `Q[Core|Gui]Application`
class you specify via the `QAPPLICATION_CLASS` macro (`QCoreApplication` is the
default). Further usage is similar to the use of the `Q[Core|Gui]Application`
classes.
You can use the library as if you use any other `QCoreApplication` derived
class:
```cpp
#include <QApplication>
#include <SingleApplication.h>
int main( int argc, char* argv[] )
{
SingleApplication app( argc, argv );
return app.exec();
}
```
To include the library files I would recommend that you add it as a git
submodule to your project. Here is how:
```bash
git submodule add git@github.com:itay-grudev/SingleApplication.git singleapplication
```
**Qmake:**
Then include the `singleapplication.pri` file in your `.pro` project file.
```qmake
include(singleapplication/singleapplication.pri)
DEFINES += QAPPLICATION_CLASS=QApplication
```
**CMake:**
Then include the subdirectory in your `CMakeLists.txt` project file.
```cmake
set(QAPPLICATION_CLASS QApplication CACHE STRING "Inheritance class for SingleApplication")
add_subdirectory(src/third-party/singleapplication)
target_link_libraries(${PROJECT_NAME} SingleApplication::SingleApplication)
```
The library sets up a `QLocalServer` and a `QSharedMemory` block. The first
instance of your Application is your Primary Instance. It would check if the
shared memory block exists and if not it will start a `QLocalServer` and listen
for connections. Each subsequent instance of your application would check if the
shared memory block exists and if it does, it will connect to the QLocalServer
to notify the primary instance that a new instance had been started, after which
it would terminate with status code `0`. In the Primary Instance
`SingleApplication` would emit the `instanceStarted()` signal upon detecting
that a new instance had been started.
The library uses `stdlib` to terminate the program with the `exit()` function.
Also don't forget to specify which `QCoreApplication` class your app is using if it
is not `QCoreApplication` as in examples above.
The `Instance Started` signal
-----------------------------
The SingleApplication class implements a `instanceStarted()` signal. You can
bind to that signal to raise your application's window when a new instance had
been started, for example.
```cpp
// window is a QWindow instance
QObject::connect(
&app,
&SingleApplication::instanceStarted,
&window,
&QWindow::raise
);
```
Using `SingleApplication::instance()` is a neat way to get the
`SingleApplication` instance for binding to it's signals anywhere in your
program.
__Note:__ On Windows the ability to bring the application windows to the
foreground is restricted. See [Windows specific implementations](Windows.md)
for a workaround and an example implementation.
Secondary Instances
-------------------
If you want to be able to launch additional Secondary Instances (not related to
your Primary Instance) you have to enable that with the third parameter of the
`SingleApplication` constructor. The default is `false` meaning no Secondary
Instances. Here is an example of how you would start a Secondary Instance send
a message with the command line arguments to the primary instance and then shut
down.
```cpp
int main(int argc, char *argv[])
{
SingleApplication app( argc, argv, true );
if( app.isSecondary() ) {
app.sendMessage( app.arguments().join(' ')).toUtf8() );
app.exit( 0 );
}
return app.exec();
}
```
*__Note:__ A secondary instance won't cause the emission of the
`instanceStarted()` signal by default. See `SingleApplication::Mode` for more
details.*
You can check whether your instance is a primary or secondary with the following
methods:
```cpp
app.isPrimary();
// or
app.isSecondary();
```
*__Note:__ If your Primary Instance is terminated a newly launched instance
will replace the Primary one even if the Secondary flag has been set.*
Examples
--------
There are three examples provided in this repository:
* Basic example that prevents a secondary instance from starting [`examples/basic`](https://github.com/itay-grudev/SingleApplication/tree/master/examples/basic)
* An example of a graphical application raising it's parent window [`examples/calculator`](https://github.com/itay-grudev/SingleApplication/tree/master/examples/calculator)
* A console application sending the primary instance it's command line parameters [`examples/sending_arguments`](https://github.com/itay-grudev/SingleApplication/tree/master/examples/sending_arguments)
API
---
### Members
```cpp
SingleApplication::SingleApplication( int &argc, char *argv[], bool allowSecondary = false, Options options = Mode::User, int timeout = 100, QString userData = QString() )
```
Depending on whether `allowSecondary` is set, this constructor may terminate
your app if there is already a primary instance running. Additional `Options`
can be specified to set whether the SingleApplication block should work
user-wide or system-wide. Additionally the `Mode::SecondaryNotification` may be
used to notify the primary instance whenever a secondary instance had been
started (disabled by default). `timeout` specifies the maximum time in
milliseconds to wait for blocking operations. Setting `userData` provides additional data that will isolate this instance from other instances that do not have the same (or any) user data set.
*__Note:__ `argc` and `argv` may be changed as Qt removes arguments that it
recognizes.*
*__Note:__ `Mode::SecondaryNotification` only works if set on both the primary
and the secondary instance.*
*__Note:__ Operating system can restrict the shared memory blocks to the same
user, in which case the User/System modes will have no effect and the block will
be user wide.*
---
```cpp
bool SingleApplication::sendMessage( QByteArray message, int timeout = 100 )
```
Sends `message` to the Primary Instance. Uses `timeout` as a the maximum timeout
in milliseconds for blocking functions
---
```cpp
bool SingleApplication::isPrimary()
```
Returns if the instance is the primary instance.
---
```cpp
bool SingleApplication::isSecondary()
```
Returns if the instance is a secondary instance.
---
```cpp
quint32 SingleApplication::instanceId()
```
Returns a unique identifier for the current instance.
---
```cpp
qint64 SingleApplication::primaryPid()
```
Returns the process ID (PID) of the primary instance.
---
```cpp
QString SingleApplication::primaryUser()
```
Returns the username the primary instance is running as.
---
```cpp
QString SingleApplication::currentUser()
```
Returns the username the current instance is running as.
### Signals
```cpp
void SingleApplication::instanceStarted()
```
Triggered whenever a new instance had been started, except for secondary
instances if the `Mode::SecondaryNotification` flag is not specified.
---
```cpp
void SingleApplication::receivedMessage( quint32 instanceId, QByteArray message )
```
Triggered whenever there is a message received from a secondary instance.
---
### Flags
```cpp
enum SingleApplication::Mode
```
* `Mode::User` - The SingleApplication block should apply user wide. This adds
user specific data to the key used for the shared memory and server name.
This is the default functionality.
* `Mode::System` The SingleApplication block applies system-wide.
* `Mode::SecondaryNotification` Whether to trigger `instanceStarted()` even
whenever secondary instances are started.
* `Mode::ExcludeAppPath` Excludes the application path from the server name
(and memory block) hash.
* `Mode::ExcludeAppVersion` Excludes the application version from the server
name (and memory block) hash.
*__Note:__ `Mode::SecondaryNotification` only works if set on both the primary
and the secondary instance.*
*__Note:__ Operating system can restrict the shared memory blocks to the same
user, in which case the User/System modes will have no effect and the block will
be user wide.*
---
Versioning
----------
Each major version introduces either very significant changes or is not
backwards compatible with the previous version. Minor versions only add
additional features, bug fixes or performance improvements and are backwards
compatible with the previous release. See [`CHANGELOG.md`](CHANGELOG.md) for
more details.
Implementation
--------------
The library is implemented with a QSharedMemory block which is thread safe and
guarantees a race condition will not occur. It also uses a QLocalSocket to
notify the main process that a new instance had been spawned and thus invoke the
`instanceStarted()` signal and for messaging the primary instance.
Additionally the library can recover from being forcefully killed on *nix
systems and will reset the memory block given that there are no other
instances running.
License
-------
This library and it's supporting documentation are released under
`The MIT License (MIT)` with the exception of the Qt calculator examples which
is distributed under the BSD license.

View File

@@ -0,0 +1 @@
#include "singleapplication.h"

View File

@@ -0,0 +1,46 @@
Windows Specific Implementations
================================
Setting the foreground window
-----------------------------
In the `instanceStarted()` example in the `README` we demonstrated how an
application can bring it's primary instance window whenever a second copy
of the application is started.
On Windows the ability to bring the application windows to the foreground is
restricted, see [`AllowSetForegroundWindow()`][AllowSetForegroundWindow] for more
details.
The background process (the primary instance) can bring its windows to the
foreground if it is allowed by the current foreground process (the secondary
instance). To bypass this `SingleApplication` must be initialized with the
`allowSecondary` parameter set to `true` and the `options` parameter must
include `Mode::SecondaryNotification`, See `SingleApplication::Mode` for more
details.
Here is an example:
```cpp
if( app.isSecondary() ) {
// This API requires LIBS += User32.lib to be added to the project
AllowSetForegroundWindow( DWORD( app.primaryPid() ) );
}
if( app.isPrimary() ) {
QObject::connect(
&app,
&SingleApplication::instanceStarted,
this,
&App::instanceStarted
);
}
```
```cpp
void App::instanceStarted() {
QApplication::setActiveWindow( [window/widget to set to the foreground] );
}
```
[AllowSetForegroundWindow]: https://msdn.microsoft.com/en-us/library/windows/desktop/ms632668.aspx

View File

@@ -0,0 +1,12 @@
cmake_minimum_required(VERSION 3.7.0)
project(basic LANGUAGES CXX)
# SingleApplication base class
set(QAPPLICATION_CLASS QCoreApplication)
add_subdirectory(../.. SingleApplication)
add_executable(basic main.cpp)
target_link_libraries(${PROJECT_NAME} SingleApplication::SingleApplication)

View File

@@ -0,0 +1,5 @@
# Single Application implementation
include(../../singleapplication.pri)
DEFINES += QAPPLICATION_CLASS=QCoreApplication
SOURCES += main.cpp

View File

@@ -0,0 +1,11 @@
#include <singleapplication.h>
int main(int argc, char *argv[])
{
// Allow secondary instances
SingleApplication app( argc, argv );
qWarning() << "Started a new instance";
return app.exec();
}

View File

@@ -0,0 +1,21 @@
cmake_minimum_required(VERSION 3.7.0)
project(calculator LANGUAGES CXX)
set(CMAKE_AUTOMOC ON)
# SingleApplication base class
set(QAPPLICATION_CLASS QApplication)
add_subdirectory(../.. SingleApplication)
find_package(Qt${QT_DEFAULT_MAJOR_VERSION} COMPONENTS Core REQUIRED)
add_executable(${PROJECT_NAME}
button.h
calculator.h
button.cpp
calculator.cpp
main.cpp
)
target_link_libraries(${PROJECT_NAME} SingleApplication::SingleApplication)

View File

@@ -0,0 +1,73 @@
/****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the commercial license agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and The Qt Company. For licensing terms
** and conditions see https://www.qt.io/terms-conditions. For further
** information use the contact form at https://www.qt.io/contact-us.
**
** BSD License Usage
** Alternatively, you may use this file under the terms of the BSD license
** as follows:
**
** "Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the following conditions are
** met:
** * Redistributions of source code must retain the above copyright
** notice, this list of conditions and the following disclaimer.
** * Redistributions in binary form must reproduce the above copyright
** notice, this list of conditions and the following disclaimer in
** the documentation and/or other materials provided with the
** distribution.
** * Neither the name of The Qt Company Ltd nor the names of its
** contributors may be used to endorse or promote products derived
** from this software without specific prior written permission.
**
**
** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
**
** $QT_END_LICENSE$
**
****************************************************************************/
#include <QtWidgets>
#include "button.h"
//! [0]
Button::Button(const QString &text, QWidget *parent)
: QToolButton(parent)
{
setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
setText(text);
}
//! [0]
//! [1]
QSize Button::sizeHint() const
//! [1] //! [2]
{
QSize size = QToolButton::sizeHint();
size.rheight() += 20;
size.rwidth() = qMax(size.width(), size.height());
return size;
}
//! [2]

View File

@@ -0,0 +1,68 @@
/****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the commercial license agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and The Qt Company. For licensing terms
** and conditions see https://www.qt.io/terms-conditions. For further
** information use the contact form at https://www.qt.io/contact-us.
**
** BSD License Usage
** Alternatively, you may use this file under the terms of the BSD license
** as follows:
**
** "Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the following conditions are
** met:
** * Redistributions of source code must retain the above copyright
** notice, this list of conditions and the following disclaimer.
** * Redistributions in binary form must reproduce the above copyright
** notice, this list of conditions and the following disclaimer in
** the documentation and/or other materials provided with the
** distribution.
** * Neither the name of The Qt Company Ltd nor the names of its
** contributors may be used to endorse or promote products derived
** from this software without specific prior written permission.
**
**
** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
**
** $QT_END_LICENSE$
**
****************************************************************************/
#ifndef BUTTON_H
#define BUTTON_H
#include <QToolButton>
//! [0]
class Button : public QToolButton
{
Q_OBJECT
public:
explicit Button(const QString &text, QWidget *parent = 0);
QSize sizeHint() const Q_DECL_OVERRIDE;
};
//! [0]
#endif

View File

@@ -0,0 +1,406 @@
/****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the commercial license agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and The Qt Company. For licensing terms
** and conditions see https://www.qt.io/terms-conditions. For further
** information use the contact form at https://www.qt.io/contact-us.
**
** BSD License Usage
** Alternatively, you may use this file under the terms of the BSD license
** as follows:
**
** "Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the following conditions are
** met:
** * Redistributions of source code must retain the above copyright
** notice, this list of conditions and the following disclaimer.
** * Redistributions in binary form must reproduce the above copyright
** notice, this list of conditions and the following disclaimer in
** the documentation and/or other materials provided with the
** distribution.
** * Neither the name of The Qt Company Ltd nor the names of its
** contributors may be used to endorse or promote products derived
** from this software without specific prior written permission.
**
**
** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
**
** $QT_END_LICENSE$
**
****************************************************************************/
#include <QtWidgets>
#include <cmath>
#include "button.h"
#include "calculator.h"
//! [0]
Calculator::Calculator(QWidget *parent)
: QWidget(parent)
{
sumInMemory = 0.0;
sumSoFar = 0.0;
factorSoFar = 0.0;
waitingForOperand = true;
//! [0]
//! [1]
display = new QLineEdit("0");
//! [1] //! [2]
display->setReadOnly(true);
display->setAlignment(Qt::AlignRight);
display->setMaxLength(15);
QFont font = display->font();
font.setPointSize(font.pointSize() + 8);
display->setFont(font);
//! [2]
//! [4]
for (int i = 0; i < NumDigitButtons; ++i) {
digitButtons[i] = createButton(QString::number(i), SLOT(digitClicked()));
}
Button *pointButton = createButton(".", SLOT(pointClicked()));
Button *changeSignButton = createButton("\302\261", SLOT(changeSignClicked()));
Button *backspaceButton = createButton("Backspace", SLOT(backspaceClicked()));
Button *clearButton = createButton("Clear", SLOT(clear()));
Button *clearAllButton = createButton("Clear All", SLOT(clearAll()));
Button *clearMemoryButton = createButton("MC", SLOT(clearMemory()));
Button *readMemoryButton = createButton("MR", SLOT(readMemory()));
Button *setMemoryButton = createButton("MS", SLOT(setMemory()));
Button *addToMemoryButton = createButton("M+", SLOT(addToMemory()));
Button *divisionButton = createButton("\303\267", SLOT(multiplicativeOperatorClicked()));
Button *timesButton = createButton("\303\227", SLOT(multiplicativeOperatorClicked()));
Button *minusButton = createButton("-", SLOT(additiveOperatorClicked()));
Button *plusButton = createButton("+", SLOT(additiveOperatorClicked()));
Button *squareRootButton = createButton("Sqrt", SLOT(unaryOperatorClicked()));
Button *powerButton = createButton("x\302\262", SLOT(unaryOperatorClicked()));
Button *reciprocalButton = createButton("1/x", SLOT(unaryOperatorClicked()));
Button *equalButton = createButton("=", SLOT(equalClicked()));
//! [4]
//! [5]
QGridLayout *mainLayout = new QGridLayout;
//! [5] //! [6]
mainLayout->setSizeConstraint(QLayout::SetFixedSize);
mainLayout->addWidget(display, 0, 0, 1, 6);
mainLayout->addWidget(backspaceButton, 1, 0, 1, 2);
mainLayout->addWidget(clearButton, 1, 2, 1, 2);
mainLayout->addWidget(clearAllButton, 1, 4, 1, 2);
mainLayout->addWidget(clearMemoryButton, 2, 0);
mainLayout->addWidget(readMemoryButton, 3, 0);
mainLayout->addWidget(setMemoryButton, 4, 0);
mainLayout->addWidget(addToMemoryButton, 5, 0);
for (int i = 1; i < NumDigitButtons; ++i) {
int row = ((9 - i) / 3) + 2;
int column = ((i - 1) % 3) + 1;
mainLayout->addWidget(digitButtons[i], row, column);
}
mainLayout->addWidget(digitButtons[0], 5, 1);
mainLayout->addWidget(pointButton, 5, 2);
mainLayout->addWidget(changeSignButton, 5, 3);
mainLayout->addWidget(divisionButton, 2, 4);
mainLayout->addWidget(timesButton, 3, 4);
mainLayout->addWidget(minusButton, 4, 4);
mainLayout->addWidget(plusButton, 5, 4);
mainLayout->addWidget(squareRootButton, 2, 5);
mainLayout->addWidget(powerButton, 3, 5);
mainLayout->addWidget(reciprocalButton, 4, 5);
mainLayout->addWidget(equalButton, 5, 5);
setLayout(mainLayout);
setWindowTitle("Calculator");
}
//! [6]
//! [7]
void Calculator::digitClicked()
{
Button *clickedButton = qobject_cast<Button *>(sender());
int digitValue = clickedButton->text().toInt();
if (display->text() == "0" && digitValue == 0.0)
return;
if (waitingForOperand) {
display->clear();
waitingForOperand = false;
}
display->setText(display->text() + QString::number(digitValue));
}
//! [7]
//! [8]
void Calculator::unaryOperatorClicked()
//! [8] //! [9]
{
Button *clickedButton = qobject_cast<Button *>(sender());
QString clickedOperator = clickedButton->text();
double operand = display->text().toDouble();
double result = 0.0;
if (clickedOperator == "Sqrt") {
if (operand < 0.0) {
abortOperation();
return;
}
result = std::sqrt(operand);
} else if (clickedOperator == "x\302\262") {
result = std::pow(operand, 2.0);
} else if (clickedOperator == "1/x") {
if (operand == 0.0) {
abortOperation();
return;
}
result = 1.0 / operand;
}
display->setText(QString::number(result));
waitingForOperand = true;
}
//! [9]
//! [10]
void Calculator::additiveOperatorClicked()
//! [10] //! [11]
{
Button *clickedButton = qobject_cast<Button *>(sender());
QString clickedOperator = clickedButton->text();
double operand = display->text().toDouble();
//! [11] //! [12]
if (!pendingMultiplicativeOperator.isEmpty()) {
//! [12] //! [13]
if (!calculate(operand, pendingMultiplicativeOperator)) {
abortOperation();
return;
}
display->setText(QString::number(factorSoFar));
operand = factorSoFar;
factorSoFar = 0.0;
pendingMultiplicativeOperator.clear();
}
//! [13] //! [14]
if (!pendingAdditiveOperator.isEmpty()) {
//! [14] //! [15]
if (!calculate(operand, pendingAdditiveOperator)) {
abortOperation();
return;
}
display->setText(QString::number(sumSoFar));
} else {
sumSoFar = operand;
}
//! [15] //! [16]
pendingAdditiveOperator = clickedOperator;
//! [16] //! [17]
waitingForOperand = true;
}
//! [17]
//! [18]
void Calculator::multiplicativeOperatorClicked()
{
Button *clickedButton = qobject_cast<Button *>(sender());
QString clickedOperator = clickedButton->text();
double operand = display->text().toDouble();
if (!pendingMultiplicativeOperator.isEmpty()) {
if (!calculate(operand, pendingMultiplicativeOperator)) {
abortOperation();
return;
}
display->setText(QString::number(factorSoFar));
} else {
factorSoFar = operand;
}
pendingMultiplicativeOperator = clickedOperator;
waitingForOperand = true;
}
//! [18]
//! [20]
void Calculator::equalClicked()
{
double operand = display->text().toDouble();
if (!pendingMultiplicativeOperator.isEmpty()) {
if (!calculate(operand, pendingMultiplicativeOperator)) {
abortOperation();
return;
}
operand = factorSoFar;
factorSoFar = 0.0;
pendingMultiplicativeOperator.clear();
}
if (!pendingAdditiveOperator.isEmpty()) {
if (!calculate(operand, pendingAdditiveOperator)) {
abortOperation();
return;
}
pendingAdditiveOperator.clear();
} else {
sumSoFar = operand;
}
display->setText(QString::number(sumSoFar));
sumSoFar = 0.0;
waitingForOperand = true;
}
//! [20]
//! [22]
void Calculator::pointClicked()
{
if (waitingForOperand)
display->setText("0");
if (!display->text().contains('.'))
display->setText(display->text() + ".");
waitingForOperand = false;
}
//! [22]
//! [24]
void Calculator::changeSignClicked()
{
QString text = display->text();
double value = text.toDouble();
if (value > 0.0) {
text.prepend("-");
} else if (value < 0.0) {
text.remove(0, 1);
}
display->setText(text);
}
//! [24]
//! [26]
void Calculator::backspaceClicked()
{
if (waitingForOperand)
return;
QString text = display->text();
text.chop(1);
if (text.isEmpty()) {
text = "0";
waitingForOperand = true;
}
display->setText(text);
}
//! [26]
//! [28]
void Calculator::clear()
{
if (waitingForOperand)
return;
display->setText("0");
waitingForOperand = true;
}
//! [28]
//! [30]
void Calculator::clearAll()
{
sumSoFar = 0.0;
factorSoFar = 0.0;
pendingAdditiveOperator.clear();
pendingMultiplicativeOperator.clear();
display->setText("0");
waitingForOperand = true;
}
//! [30]
//! [32]
void Calculator::clearMemory()
{
sumInMemory = 0.0;
}
void Calculator::readMemory()
{
display->setText(QString::number(sumInMemory));
waitingForOperand = true;
}
void Calculator::setMemory()
{
equalClicked();
sumInMemory = display->text().toDouble();
}
void Calculator::addToMemory()
{
equalClicked();
sumInMemory += display->text().toDouble();
}
//! [32]
//! [34]
Button *Calculator::createButton(const QString &text, const char *member)
{
Button *button = new Button(text);
connect(button, SIGNAL(clicked()), this, member);
return button;
}
//! [34]
//! [36]
void Calculator::abortOperation()
{
clearAll();
display->setText("####");
}
//! [36]
//! [38]
bool Calculator::calculate(double rightOperand, const QString &pendingOperator)
{
if (pendingOperator == "+") {
sumSoFar += rightOperand;
} else if (pendingOperator == "-") {
sumSoFar -= rightOperand;
} else if (pendingOperator == "\303\227") {
factorSoFar *= rightOperand;
} else if (pendingOperator == "\303\267") {
if (rightOperand == 0.0)
return false;
factorSoFar /= rightOperand;
}
return true;
}
//! [38]

View File

@@ -0,0 +1,117 @@
/****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the commercial license agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and The Qt Company. For licensing terms
** and conditions see https://www.qt.io/terms-conditions. For further
** information use the contact form at https://www.qt.io/contact-us.
**
** BSD License Usage
** Alternatively, you may use this file under the terms of the BSD license
** as follows:
**
** "Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the following conditions are
** met:
** * Redistributions of source code must retain the above copyright
** notice, this list of conditions and the following disclaimer.
** * Redistributions in binary form must reproduce the above copyright
** notice, this list of conditions and the following disclaimer in
** the documentation and/or other materials provided with the
** distribution.
** * Neither the name of The Qt Company Ltd nor the names of its
** contributors may be used to endorse or promote products derived
** from this software without specific prior written permission.
**
**
** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
**
** $QT_END_LICENSE$
**
****************************************************************************/
#ifndef CALCULATOR_H
#define CALCULATOR_H
#include <QWidget>
QT_BEGIN_NAMESPACE
class QLineEdit;
QT_END_NAMESPACE
class Button;
//! [0]
class Calculator : public QWidget
{
Q_OBJECT
public:
Calculator(QWidget *parent = 0);
private slots:
void digitClicked();
void unaryOperatorClicked();
void additiveOperatorClicked();
void multiplicativeOperatorClicked();
void equalClicked();
void pointClicked();
void changeSignClicked();
void backspaceClicked();
void clear();
void clearAll();
void clearMemory();
void readMemory();
void setMemory();
void addToMemory();
//! [0]
//! [1]
private:
//! [1] //! [2]
Button *createButton(const QString &text, const char *member);
void abortOperation();
bool calculate(double rightOperand, const QString &pendingOperator);
//! [2]
//! [3]
double sumInMemory;
//! [3] //! [4]
double sumSoFar;
//! [4] //! [5]
double factorSoFar;
//! [5] //! [6]
QString pendingAdditiveOperator;
//! [6] //! [7]
QString pendingMultiplicativeOperator;
//! [7] //! [8]
bool waitingForOperand;
//! [8]
//! [9]
QLineEdit *display;
//! [9] //! [10]
enum { NumDigitButtons = 10 };
Button *digitButtons[NumDigitButtons];
};
//! [10]
#endif

View File

@@ -0,0 +1,11 @@
QT += widgets
HEADERS = button.h \
calculator.h
SOURCES = button.cpp \
calculator.cpp \
main.cpp
# Single Application implementation
include(../../singleapplication.pri)
DEFINES += QAPPLICATION_CLASS=QApplication

View File

@@ -0,0 +1,71 @@
/****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the commercial license agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and The Qt Company. For licensing terms
** and conditions see https://www.qt.io/terms-conditions. For further
** information use the contact form at https://www.qt.io/contact-us.
**
** BSD License Usage
** Alternatively, you may use this file under the terms of the BSD license
** as follows:
**
** "Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the following conditions are
** met:
** * Redistributions of source code must retain the above copyright
** notice, this list of conditions and the following disclaimer.
** * Redistributions in binary form must reproduce the above copyright
** notice, this list of conditions and the following disclaimer in
** the documentation and/or other materials provided with the
** distribution.
** * Neither the name of The Qt Company Ltd nor the names of its
** contributors may be used to endorse or promote products derived
** from this software without specific prior written permission.
**
**
** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
**
** $QT_END_LICENSE$
**
****************************************************************************/
#include <QApplication>
#include <singleapplication.h>
#include "calculator.h"
int main(int argc, char *argv[])
{
SingleApplication app(argc, argv);
Calculator calc;
QObject::connect( &app, &SingleApplication::instanceStarted, [ &calc ]() {
calc.raise();
calc.activateWindow();
});
calc.show();
return app.exec();
}

View File

@@ -0,0 +1,20 @@
cmake_minimum_required(VERSION 3.7.0)
project(sending_arguments LANGUAGES CXX)
set(CMAKE_AUTOMOC ON)
# SingleApplication base class
set(QAPPLICATION_CLASS QCoreApplication)
add_subdirectory(../.. SingleApplication)
find_package(Qt${QT_DEFAULT_MAJOR_VERSION} COMPONENTS Core REQUIRED)
add_executable(${PROJECT_NAME}
main.cpp
messagereceiver.cpp
messagereceiver.h
main.cpp
)
target_link_libraries(${PROJECT_NAME} SingleApplication::SingleApplication)

View File

@@ -0,0 +1,28 @@
#include <singleapplication.h>
#include "messagereceiver.h"
int main(int argc, char *argv[])
{
// Allow secondary instances
SingleApplication app( argc, argv, true );
MessageReceiver msgReceiver;
// If this is a secondary instance
if( app.isSecondary() ) {
app.sendMessage( app.arguments().join(' ').toUtf8() );
qDebug() << "App already running.";
qDebug() << "Primary instance PID: " << app.primaryPid();
qDebug() << "Primary instance user: " << app.primaryUser();
return 0;
} else {
QObject::connect(
&app,
&SingleApplication::receivedMessage,
&msgReceiver,
&MessageReceiver::receivedMessage
);
}
return app.exec();
}

View File

@@ -0,0 +1,12 @@
#include <QDebug>
#include "messagereceiver.h"
MessageReceiver::MessageReceiver(QObject *parent) : QObject(parent)
{
}
void MessageReceiver::receivedMessage(int instanceId, QByteArray message)
{
qDebug() << "Received message from instance: " << instanceId;
qDebug() << "Message Text: " << message;
}

View File

@@ -0,0 +1,15 @@
#ifndef MESSAGERECEIVER_H
#define MESSAGERECEIVER_H
#include <QObject>
class MessageReceiver : public QObject
{
Q_OBJECT
public:
explicit MessageReceiver(QObject *parent = 0);
public slots:
void receivedMessage( int instanceId, QByteArray message );
};
#endif // MESSAGERECEIVER_H

View File

@@ -0,0 +1,9 @@
# Single Application implementation
include(../../singleapplication.pri)
DEFINES += QAPPLICATION_CLASS=QCoreApplication
SOURCES += main.cpp \
messagereceiver.cpp
HEADERS += \
messagereceiver.h

View File

@@ -0,0 +1,274 @@
// The MIT License (MIT)
//
// Copyright (c) Itay Grudev 2015 - 2020
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
#include <QtCore/QElapsedTimer>
#include <QtCore/QByteArray>
#include <QtCore/QSharedMemory>
#include "singleapplication.h"
#include "singleapplication_p.h"
/**
* @brief Constructor. Checks and fires up LocalServer or closes the program
* if another instance already exists
* @param argc
* @param argv
* @param allowSecondary Whether to enable secondary instance support
* @param options Optional flags to toggle specific behaviour
* @param timeout Maximum time blocking functions are allowed during app load
*/
SingleApplication::SingleApplication( int &argc, char *argv[], bool allowSecondary, Options options, int timeout, const QString &userData )
: app_t( argc, argv ), d_ptr( new SingleApplicationPrivate( this ) )
{
Q_D( SingleApplication );
#if defined(Q_OS_ANDROID) || defined(Q_OS_IOS)
// On Android and iOS since the library is not supported fallback to
// standard QApplication behaviour by simply returning at this point.
qWarning() << "SingleApplication is not supported on Android and iOS systems.";
return;
#endif
// Store the current mode of the program
d->options = options;
// Add any unique user data
if ( ! userData.isEmpty() )
d->addAppData( userData );
// Generating an application ID used for identifying the shared memory
// block and QLocalServer
d->genBlockServerName();
// To mitigate QSharedMemory issues with large amount of processes
// attempting to attach at the same time
SingleApplicationPrivate::randomSleep();
#ifdef Q_OS_UNIX
// By explicitly attaching it and then deleting it we make sure that the
// memory is deleted even after the process has crashed on Unix.
d->memory = new QSharedMemory( d->blockServerName );
d->memory->attach();
delete d->memory;
#endif
// Guarantee thread safe behaviour with a shared memory block.
d->memory = new QSharedMemory( d->blockServerName );
// Create a shared memory block
if( d->memory->create( sizeof( InstancesInfo ) )){
// Initialize the shared memory block
if( ! d->memory->lock() ){
qCritical() << "SingleApplication: Unable to lock memory block after create.";
abortSafely();
}
d->initializeMemoryBlock();
} else {
if( d->memory->error() == QSharedMemory::AlreadyExists ){
// Attempt to attach to the memory segment
if( ! d->memory->attach() ){
qCritical() << "SingleApplication: Unable to attach to shared memory block.";
abortSafely();
}
if( ! d->memory->lock() ){
qCritical() << "SingleApplication: Unable to lock memory block after attach.";
abortSafely();
}
} else {
qCritical() << "SingleApplication: Unable to create block.";
abortSafely();
}
}
auto *inst = static_cast<InstancesInfo*>( d->memory->data() );
QElapsedTimer time;
time.start();
// Make sure the shared memory block is initialised and in consistent state
while( true ){
// If the shared memory block's checksum is valid continue
if( d->blockChecksum() == inst->checksum ) break;
// If more than 5s have elapsed, assume the primary instance crashed and
// assume it's position
if( time.elapsed() > 5000 ){
qWarning() << "SingleApplication: Shared memory block has been in an inconsistent state from more than 5s. Assuming primary instance failure.";
d->initializeMemoryBlock();
}
// Otherwise wait for a random period and try again. The random sleep here
// limits the probability of a collision between two racing apps and
// allows the app to initialise faster
if( ! d->memory->unlock() ){
qDebug() << "SingleApplication: Unable to unlock memory for random wait.";
qDebug() << d->memory->errorString();
}
SingleApplicationPrivate::randomSleep();
if( ! d->memory->lock() ){
qCritical() << "SingleApplication: Unable to lock memory after random wait.";
abortSafely();
}
}
if( inst->primary == false ){
d->startPrimary();
if( ! d->memory->unlock() ){
qDebug() << "SingleApplication: Unable to unlock memory after primary start.";
qDebug() << d->memory->errorString();
}
return;
}
// Check if another instance can be started
if( allowSecondary ){
d->startSecondary();
if( d->options & Mode::SecondaryNotification ){
d->connectToPrimary( timeout, SingleApplicationPrivate::SecondaryInstance );
}
if( ! d->memory->unlock() ){
qDebug() << "SingleApplication: Unable to unlock memory after secondary start.";
qDebug() << d->memory->errorString();
}
return;
}
if( ! d->memory->unlock() ){
qDebug() << "SingleApplication: Unable to unlock memory at end of execution.";
qDebug() << d->memory->errorString();
}
d->connectToPrimary( timeout, SingleApplicationPrivate::NewInstance );
delete d;
::exit( EXIT_SUCCESS );
}
SingleApplication::~SingleApplication()
{
Q_D( SingleApplication );
delete d;
}
/**
* Checks if the current application instance is primary.
* @return Returns true if the instance is primary, false otherwise.
*/
bool SingleApplication::isPrimary() const
{
Q_D( const SingleApplication );
return d->server != nullptr;
}
/**
* Checks if the current application instance is secondary.
* @return Returns true if the instance is secondary, false otherwise.
*/
bool SingleApplication::isSecondary() const
{
Q_D( const SingleApplication );
return d->server == nullptr;
}
/**
* Allows you to identify an instance by returning unique consecutive instance
* ids. It is reset when the first (primary) instance of your app starts and
* only incremented afterwards.
* @return Returns a unique instance id.
*/
quint32 SingleApplication::instanceId() const
{
Q_D( const SingleApplication );
return d->instanceNumber;
}
/**
* Returns the OS PID (Process Identifier) of the process running the primary
* instance. Especially useful when SingleApplication is coupled with OS.
* specific APIs.
* @return Returns the primary instance PID.
*/
qint64 SingleApplication::primaryPid() const
{
Q_D( const SingleApplication );
return d->primaryPid();
}
/**
* Returns the username the primary instance is running as.
* @return Returns the username the primary instance is running as.
*/
QString SingleApplication::primaryUser() const
{
Q_D( const SingleApplication );
return d->primaryUser();
}
/**
* Returns the username the current instance is running as.
* @return Returns the username the current instance is running as.
*/
QString SingleApplication::currentUser() const
{
return SingleApplicationPrivate::getUsername();
}
/**
* Sends message to the Primary Instance.
* @param message The message to send.
* @param timeout the maximum timeout in milliseconds for blocking functions.
* @return true if the message was sent successfuly, false otherwise.
*/
bool SingleApplication::sendMessage( const QByteArray &message, int timeout )
{
Q_D( SingleApplication );
// Nobody to connect to
if( isPrimary() ) return false;
// Make sure the socket is connected
if( ! d->connectToPrimary( timeout, SingleApplicationPrivate::Reconnect ) )
return false;
d->socket->write( message );
bool dataWritten = d->socket->waitForBytesWritten( timeout );
d->socket->flush();
return dataWritten;
}
/**
* Cleans up the shared memory block and exits with a failure.
* This function halts program execution.
*/
void SingleApplication::abortSafely()
{
Q_D( SingleApplication );
qCritical() << "SingleApplication: " << d->memory->error() << d->memory->errorString();
delete d;
::exit( EXIT_FAILURE );
}
QStringList SingleApplication::userData() const
{
Q_D( const SingleApplication );
return d->appData();
}

View File

@@ -0,0 +1,154 @@
// The MIT License (MIT)
//
// Copyright (c) Itay Grudev 2015 - 2018
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
#ifndef SINGLE_APPLICATION_H
#define SINGLE_APPLICATION_H
#include <QtCore/QtGlobal>
#include <QtNetwork/QLocalSocket>
#ifndef QAPPLICATION_CLASS
#define QAPPLICATION_CLASS QCoreApplication
#endif
#include QT_STRINGIFY(QAPPLICATION_CLASS)
class SingleApplicationPrivate;
/**
* @brief The SingleApplication class handles multiple instances of the same
* Application
* @see QCoreApplication
*/
class SingleApplication : public QAPPLICATION_CLASS
{
Q_OBJECT
using app_t = QAPPLICATION_CLASS;
public:
/**
* @brief Mode of operation of SingleApplication.
* Whether the block should be user-wide or system-wide and whether the
* primary instance should be notified when a secondary instance had been
* started.
* @note Operating system can restrict the shared memory blocks to the same
* user, in which case the User/System modes will have no effect and the
* block will be user wide.
* @enum
*/
enum Mode {
User = 1 << 0,
System = 1 << 1,
SecondaryNotification = 1 << 2,
ExcludeAppVersion = 1 << 3,
ExcludeAppPath = 1 << 4
};
Q_DECLARE_FLAGS(Options, Mode)
/**
* @brief Intitializes a SingleApplication instance with argc command line
* arguments in argv
* @arg {int &} argc - Number of arguments in argv
* @arg {const char *[]} argv - Supplied command line arguments
* @arg {bool} allowSecondary - Whether to start the instance as secondary
* if there is already a primary instance.
* @arg {Mode} mode - Whether for the SingleApplication block to be applied
* User wide or System wide.
* @arg {int} timeout - Timeout to wait in milliseconds.
* @note argc and argv may be changed as Qt removes arguments that it
* recognizes
* @note Mode::SecondaryNotification only works if set on both the primary
* instance and the secondary instance.
* @note The timeout is just a hint for the maximum time of blocking
* operations. It does not guarantee that the SingleApplication
* initialisation will be completed in given time, though is a good hint.
* Usually 4*timeout would be the worst case (fail) scenario.
* @see See the corresponding QAPPLICATION_CLASS constructor for reference
*/
explicit SingleApplication( int &argc, char *argv[], bool allowSecondary = false, Options options = Mode::User, int timeout = 1000, const QString &userData = {} );
~SingleApplication() override;
/**
* @brief Returns if the instance is the primary instance
* @returns {bool}
*/
bool isPrimary() const;
/**
* @brief Returns if the instance is a secondary instance
* @returns {bool}
*/
bool isSecondary() const;
/**
* @brief Returns a unique identifier for the current instance
* @returns {qint32}
*/
quint32 instanceId() const;
/**
* @brief Returns the process ID (PID) of the primary instance
* @returns {qint64}
*/
qint64 primaryPid() const;
/**
* @brief Returns the username of the user running the primary instance
* @returns {QString}
*/
QString primaryUser() const;
/**
* @brief Returns the username of the current user
* @returns {QString}
*/
QString currentUser() const;
/**
* @brief Sends a message to the primary instance. Returns true on success.
* @param {int} timeout - Timeout for connecting
* @returns {bool}
* @note sendMessage() will return false if invoked from the primary
* instance.
*/
bool sendMessage( const QByteArray &message, int timeout = 100 );
/**
* @brief Get the set user data.
* @returns {QStringList}
*/
QStringList userData() const;
Q_SIGNALS:
void instanceStarted();
void receivedMessage( quint32 instanceId, QByteArray message );
private:
SingleApplicationPrivate *d_ptr;
Q_DECLARE_PRIVATE(SingleApplication)
void abortSafely();
};
Q_DECLARE_OPERATORS_FOR_FLAGS(SingleApplication::Options)
#endif // SINGLE_APPLICATION_H

View File

@@ -0,0 +1,20 @@
QT += core network
CONFIG += c++11
HEADERS += $$PWD/SingleApplication \
$$PWD/singleapplication.h \
$$PWD/singleapplication_p.h
SOURCES += $$PWD/singleapplication.cpp \
$$PWD/singleapplication_p.cpp
INCLUDEPATH += $$PWD
win32 {
msvc:LIBS += Advapi32.lib
gcc:LIBS += -ladvapi32
}
DISTFILES += \
$$PWD/README.md \
$$PWD/CHANGELOG.md \
$$PWD/Windows.md

View File

@@ -0,0 +1,486 @@
// The MIT License (MIT)
//
// Copyright (c) Itay Grudev 2015 - 2020
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
//
// W A R N I N G !!!
// -----------------
//
// This file is not part of the SingleApplication API. It is used purely as an
// implementation detail. This header file may change from version to
// version without notice, or may even be removed.
//
#include <cstdlib>
#include <cstddef>
#include <QtCore/QDir>
#include <QtCore/QThread>
#include <QtCore/QByteArray>
#include <QtCore/QDataStream>
#include <QtCore/QElapsedTimer>
#include <QtCore/QCryptographicHash>
#include <QtNetwork/QLocalServer>
#include <QtNetwork/QLocalSocket>
#if QT_VERSION >= QT_VERSION_CHECK(5, 10, 0)
#include <QtCore/QRandomGenerator>
#else
#include <QtCore/QDateTime>
#endif
#include "singleapplication.h"
#include "singleapplication_p.h"
#ifdef Q_OS_UNIX
#include <unistd.h>
#include <sys/types.h>
#include <pwd.h>
#endif
#ifdef Q_OS_WIN
#ifndef NOMINMAX
#define NOMINMAX 1
#endif
#include <windows.h>
#include <lmcons.h>
#endif
SingleApplicationPrivate::SingleApplicationPrivate( SingleApplication *q_ptr )
: q_ptr( q_ptr )
{
server = nullptr;
socket = nullptr;
memory = nullptr;
instanceNumber = 0;
}
SingleApplicationPrivate::~SingleApplicationPrivate()
{
if( socket != nullptr ){
socket->close();
delete socket;
}
if( memory != nullptr ){
memory->lock();
auto *inst = static_cast<InstancesInfo*>(memory->data());
if( server != nullptr ){
server->close();
delete server;
inst->primary = false;
inst->primaryPid = -1;
inst->primaryUser[0] = '\0';
inst->checksum = blockChecksum();
}
memory->unlock();
delete memory;
}
}
QString SingleApplicationPrivate::getUsername()
{
#ifdef Q_OS_WIN
wchar_t username[UNLEN + 1];
// Specifies size of the buffer on input
DWORD usernameLength = UNLEN + 1;
if( GetUserNameW( username, &usernameLength ) )
return QString::fromWCharArray( username );
#if QT_VERSION < QT_VERSION_CHECK(5, 10, 0)
return QString::fromLocal8Bit( qgetenv( "USERNAME" ) );
#else
return qEnvironmentVariable( "USERNAME" );
#endif
#endif
#ifdef Q_OS_UNIX
QString username;
uid_t uid = geteuid();
struct passwd *pw = getpwuid( uid );
if( pw )
username = QString::fromLocal8Bit( pw->pw_name );
if ( username.isEmpty() ){
#if QT_VERSION < QT_VERSION_CHECK(5, 10, 0)
username = QString::fromLocal8Bit( qgetenv( "USER" ) );
#else
username = qEnvironmentVariable( "USER" );
#endif
}
return username;
#endif
}
void SingleApplicationPrivate::genBlockServerName()
{
QCryptographicHash appData( QCryptographicHash::Sha256 );
appData.addData( "SingleApplication", 17 );
appData.addData( SingleApplication::app_t::applicationName().toUtf8() );
appData.addData( SingleApplication::app_t::organizationName().toUtf8() );
appData.addData( SingleApplication::app_t::organizationDomain().toUtf8() );
if ( ! appDataList.isEmpty() )
appData.addData( appDataList.join( "" ).toUtf8() );
if( ! (options & SingleApplication::Mode::ExcludeAppVersion) ){
appData.addData( SingleApplication::app_t::applicationVersion().toUtf8() );
}
if( ! (options & SingleApplication::Mode::ExcludeAppPath) ){
#ifdef Q_OS_WIN
appData.addData( SingleApplication::app_t::applicationFilePath().toLower().toUtf8() );
#else
appData.addData( SingleApplication::app_t::applicationFilePath().toUtf8() );
#endif
}
// User level block requires a user specific data in the hash
if( options & SingleApplication::Mode::User ){
appData.addData( getUsername().toUtf8() );
}
// Replace the backslash in RFC 2045 Base64 [a-zA-Z0-9+/=] to comply with
// server naming requirements.
blockServerName = appData.result().toBase64().replace("/", "_");
}
void SingleApplicationPrivate::initializeMemoryBlock() const
{
auto *inst = static_cast<InstancesInfo*>( memory->data() );
inst->primary = false;
inst->secondary = 0;
inst->primaryPid = -1;
inst->primaryUser[0] = '\0';
inst->checksum = blockChecksum();
}
void SingleApplicationPrivate::startPrimary()
{
// Reset the number of connections
auto *inst = static_cast <InstancesInfo*>( memory->data() );
inst->primary = true;
inst->primaryPid = QCoreApplication::applicationPid();
qstrncpy( inst->primaryUser, getUsername().toUtf8().data(), sizeof(inst->primaryUser) );
inst->checksum = blockChecksum();
instanceNumber = 0;
// Successful creation means that no main process exists
// So we start a QLocalServer to listen for connections
QLocalServer::removeServer( blockServerName );
server = new QLocalServer();
// Restrict access to the socket according to the
// SingleApplication::Mode::User flag on User level or no restrictions
if( options & SingleApplication::Mode::User ){
server->setSocketOptions( QLocalServer::UserAccessOption );
} else {
server->setSocketOptions( QLocalServer::WorldAccessOption );
}
server->listen( blockServerName );
QObject::connect(
server,
&QLocalServer::newConnection,
this,
&SingleApplicationPrivate::slotConnectionEstablished
);
}
void SingleApplicationPrivate::startSecondary()
{
auto *inst = static_cast <InstancesInfo*>( memory->data() );
inst->secondary += 1;
inst->checksum = blockChecksum();
instanceNumber = inst->secondary;
}
bool SingleApplicationPrivate::connectToPrimary( int msecs, ConnectionType connectionType )
{
QElapsedTimer time;
time.start();
// Connect to the Local Server of the Primary Instance if not already
// connected.
if( socket == nullptr ){
socket = new QLocalSocket();
}
if( socket->state() == QLocalSocket::ConnectedState ) return true;
if( socket->state() != QLocalSocket::ConnectedState ){
while( true ){
randomSleep();
if( socket->state() != QLocalSocket::ConnectingState )
socket->connectToServer( blockServerName );
if( socket->state() == QLocalSocket::ConnectingState ){
socket->waitForConnected( static_cast<int>(msecs - time.elapsed()) );
}
// If connected break out of the loop
if( socket->state() == QLocalSocket::ConnectedState ) break;
// If elapsed time since start is longer than the method timeout return
if( time.elapsed() >= msecs ) return false;
}
}
// Initialisation message according to the SingleApplication protocol
QByteArray initMsg;
QDataStream writeStream(&initMsg, QIODevice::WriteOnly);
#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0))
writeStream.setVersion(QDataStream::Qt_5_6);
#endif
writeStream << blockServerName.toLatin1();
writeStream << static_cast<quint8>(connectionType);
writeStream << instanceNumber;
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
quint16 checksum = qChecksum(QByteArray(initMsg, static_cast<quint32>(initMsg.length())));
#else
quint16 checksum = qChecksum(initMsg.constData(), static_cast<quint32>(initMsg.length()));
#endif
writeStream << checksum;
// The header indicates the message length that follows
QByteArray header;
QDataStream headerStream(&header, QIODevice::WriteOnly);
#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0))
headerStream.setVersion(QDataStream::Qt_5_6);
#endif
headerStream << static_cast <quint64>( initMsg.length() );
socket->write( header );
socket->write( initMsg );
bool result = socket->waitForBytesWritten( static_cast<int>(msecs - time.elapsed()) );
socket->flush();
return result;
}
quint16 SingleApplicationPrivate::blockChecksum() const
{
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
quint16 checksum = qChecksum(QByteArray(static_cast<const char*>(memory->constData()), offsetof(InstancesInfo, checksum)));
#else
quint16 checksum = qChecksum(static_cast<const char*>(memory->constData()), offsetof(InstancesInfo, checksum));
#endif
return checksum;
}
qint64 SingleApplicationPrivate::primaryPid() const
{
qint64 pid;
memory->lock();
auto *inst = static_cast<InstancesInfo*>( memory->data() );
pid = inst->primaryPid;
memory->unlock();
return pid;
}
QString SingleApplicationPrivate::primaryUser() const
{
QByteArray username;
memory->lock();
auto *inst = static_cast<InstancesInfo*>( memory->data() );
username = inst->primaryUser;
memory->unlock();
return QString::fromUtf8( username );
}
/**
* @brief Executed when a connection has been made to the LocalServer
*/
void SingleApplicationPrivate::slotConnectionEstablished()
{
QLocalSocket *nextConnSocket = server->nextPendingConnection();
connectionMap.insert(nextConnSocket, ConnectionInfo());
QObject::connect(nextConnSocket, &QLocalSocket::aboutToClose,
[nextConnSocket, this](){
auto &info = connectionMap[nextConnSocket];
Q_EMIT this->slotClientConnectionClosed( nextConnSocket, info.instanceId );
}
);
QObject::connect(nextConnSocket, &QLocalSocket::disconnected, nextConnSocket, &QLocalSocket::deleteLater);
QObject::connect(nextConnSocket, &QLocalSocket::destroyed,
[nextConnSocket, this](){
connectionMap.remove(nextConnSocket);
}
);
QObject::connect(nextConnSocket, &QLocalSocket::readyRead,
[nextConnSocket, this](){
auto &info = connectionMap[nextConnSocket];
switch(info.stage){
case StageHeader:
readInitMessageHeader(nextConnSocket);
break;
case StageBody:
readInitMessageBody(nextConnSocket);
break;
case StageConnected:
Q_EMIT this->slotDataAvailable( nextConnSocket, info.instanceId );
break;
default:
break;
};
}
);
}
void SingleApplicationPrivate::readInitMessageHeader( QLocalSocket *sock )
{
if (!connectionMap.contains( sock )){
return;
}
if( sock->bytesAvailable() < ( qint64 )sizeof( quint64 ) ){
return;
}
QDataStream headerStream( sock );
#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0))
headerStream.setVersion( QDataStream::Qt_5_6 );
#endif
// Read the header to know the message length
quint64 msgLen = 0;
headerStream >> msgLen;
ConnectionInfo &info = connectionMap[sock];
info.stage = StageBody;
info.msgLen = msgLen;
if ( sock->bytesAvailable() >= (qint64) msgLen ){
readInitMessageBody( sock );
}
}
void SingleApplicationPrivate::readInitMessageBody( QLocalSocket *sock )
{
Q_Q(SingleApplication);
if (!connectionMap.contains( sock )){
return;
}
ConnectionInfo &info = connectionMap[sock];
if( sock->bytesAvailable() < ( qint64 )info.msgLen ){
return;
}
// Read the message body
QByteArray msgBytes = sock->read(info.msgLen);
QDataStream readStream(msgBytes);
#if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0))
readStream.setVersion( QDataStream::Qt_5_6 );
#endif
// server name
QByteArray latin1Name;
readStream >> latin1Name;
// connection type
ConnectionType connectionType = InvalidConnection;
quint8 connTypeVal = InvalidConnection;
readStream >> connTypeVal;
connectionType = static_cast <ConnectionType>( connTypeVal );
// instance id
quint32 instanceId = 0;
readStream >> instanceId;
// checksum
quint16 msgChecksum = 0;
readStream >> msgChecksum;
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
const quint16 actualChecksum = qChecksum(QByteArray(msgBytes, static_cast<quint32>(msgBytes.length() - sizeof(quint16))));
#else
const quint16 actualChecksum = qChecksum(msgBytes.constData(), static_cast<quint32>(msgBytes.length() - sizeof(quint16)));
#endif
bool isValid = readStream.status() == QDataStream::Ok &&
QLatin1String(latin1Name) == blockServerName &&
msgChecksum == actualChecksum;
if( !isValid ){
sock->close();
return;
}
info.instanceId = instanceId;
info.stage = StageConnected;
if( connectionType == NewInstance ||
( connectionType == SecondaryInstance &&
options & SingleApplication::Mode::SecondaryNotification ) )
{
Q_EMIT q->instanceStarted();
}
if (sock->bytesAvailable() > 0){
Q_EMIT this->slotDataAvailable( sock, instanceId );
}
}
void SingleApplicationPrivate::slotDataAvailable( QLocalSocket *dataSocket, quint32 instanceId )
{
Q_Q(SingleApplication);
Q_EMIT q->receivedMessage( instanceId, dataSocket->readAll() );
}
void SingleApplicationPrivate::slotClientConnectionClosed( QLocalSocket *closedSocket, quint32 instanceId )
{
if( closedSocket->bytesAvailable() > 0 )
Q_EMIT slotDataAvailable( closedSocket, instanceId );
}
void SingleApplicationPrivate::randomSleep()
{
#if QT_VERSION >= QT_VERSION_CHECK( 5, 10, 0 )
QThread::msleep( QRandomGenerator::global()->bounded( 8u, 18u ));
#else
qsrand( QDateTime::currentMSecsSinceEpoch() % std::numeric_limits<uint>::max() );
QThread::msleep( 8 + static_cast <unsigned long>( static_cast <float>( qrand() ) / RAND_MAX * 10 ));
#endif
}
void SingleApplicationPrivate::addAppData(const QString &data)
{
appDataList.push_back(data);
}
QStringList SingleApplicationPrivate::appData() const
{
return appDataList;
}

View File

@@ -0,0 +1,104 @@
// The MIT License (MIT)
//
// Copyright (c) Itay Grudev 2015 - 2020
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
//
// W A R N I N G !!!
// -----------------
//
// This file is not part of the SingleApplication API. It is used purely as an
// implementation detail. This header file may change from version to
// version without notice, or may even be removed.
//
#ifndef SINGLEAPPLICATION_P_H
#define SINGLEAPPLICATION_P_H
#include <QtCore/QSharedMemory>
#include <QtNetwork/QLocalServer>
#include <QtNetwork/QLocalSocket>
#include "singleapplication.h"
struct InstancesInfo {
bool primary;
quint32 secondary;
qint64 primaryPid;
char primaryUser[128];
quint16 checksum; // Must be the last field
};
struct ConnectionInfo {
qint64 msgLen = 0;
quint32 instanceId = 0;
quint8 stage = 0;
};
class SingleApplicationPrivate : public QObject {
Q_OBJECT
public:
enum ConnectionType : quint8 {
InvalidConnection = 0,
NewInstance = 1,
SecondaryInstance = 2,
Reconnect = 3
};
enum ConnectionStage : quint8 {
StageHeader = 0,
StageBody = 1,
StageConnected = 2,
};
Q_DECLARE_PUBLIC(SingleApplication)
SingleApplicationPrivate( SingleApplication *q_ptr );
~SingleApplicationPrivate() override;
static QString getUsername();
void genBlockServerName();
void initializeMemoryBlock() const;
void startPrimary();
void startSecondary();
bool connectToPrimary( int msecs, ConnectionType connectionType );
quint16 blockChecksum() const;
qint64 primaryPid() const;
QString primaryUser() const;
void readInitMessageHeader(QLocalSocket *socket);
void readInitMessageBody(QLocalSocket *socket);
static void randomSleep();
void addAppData(const QString &data);
QStringList appData() const;
SingleApplication *q_ptr;
QSharedMemory *memory;
QLocalSocket *socket;
QLocalServer *server;
quint32 instanceNumber;
QString blockServerName;
SingleApplication::Options options;
QMap<QLocalSocket*, ConnectionInfo> connectionMap;
QStringList appDataList;
public Q_SLOTS:
void slotConnectionEstablished();
void slotDataAvailable( QLocalSocket*, quint32 );
void slotClientConnectionClosed( QLocalSocket*, quint32 );
};
#endif // SINGLEAPPLICATION_P_H

View File

@@ -0,0 +1,125 @@
{
"id": "org.qelectrotech.QElectroTech",
"runtime": "org.kde.Platform",
"runtime-version": "5.15",
"sdk": "org.kde.Sdk",
"command": "qelectrotech",
"rename-desktop-file": "qelectrotech.desktop",
"rename-appdata-file": "qelectrotech.appdata.xml",
"rename-icon": "qelectrotech",
"copy-icon": true,
"finish-args": [
"--socket=wayland",
"--socket=fallback-x11",
"--device=dri",
"--share=ipc",
"--filesystem=host"
],
"modules": [
{
"name": "tkinter",
"buildsystem": "simple",
"build-commands": [
"pip3 install --prefix=${FLATPAK_DEST} ."
],
"sources": [
{
"type": "git",
"url": "https://github.com/iwalton3/tkinter-standalone",
"commit": "2301112d142ebaf7532b25600c77d1a2edc9ef04"
}
],
"modules": [
{
"name": "tcl",
"sources": [
{
"type": "archive",
"url": "https://sourceforge.net/projects/tcl/files/Tcl/8.6.11/tcl8.6.11-src.tar.gz",
"sha256": "8c0486668586672c5693d7d95817cb05a18c5ecca2f40e2836b9578064088258"
}
],
"subdir": "unix",
"post-install": [
"chmod +w ${FLATPAK_DEST}/lib/libtcl8.6.so"
]
},
{
"name": "tk",
"sources": [
{
"type": "archive",
"url": "https://sourceforge.net/projects/tcl/files/Tcl/8.6.11/tk8.6.11-src.tar.gz",
"sha256": "5228a8187a7f70fa0791ef0f975270f068ba9557f57456f51eb02d9d4ea31282"
}
],
"subdir": "unix",
"post-install": [
"chmod +w ${FLATPAK_DEST}/lib/libtk8.6.so"
]
}
]
},
{
"name": "qelectrotech",
"buildsystem": "qmake",
"post-install": [
"mv ${FLATPAK_DEST}/share/mime/packages/qelectrotech.xml ${FLATPAK_DEST}/share/mime/packages/org.qelectrotech.QElectroTech.xml"
],
"sources": [
{
"type": "dir",
"path": "../.."
},
{
"type": "patch",
"path": "patches/0001-build-Fix-the-installation-paths.patch"
}
]
},
{
"name": "python3.6.0",
"sources": [
{
"type": "archive",
"url": "https://www.python.org/ftp/python/3.6.0/Python-3.6.0.tar.xz",
"sha256": "b0c5f904f685e32d9232f7bdcbece9819a892929063b6e385414ad2dd6a23622"
}
],
"config-opts": ["--enable-shared"],
"post-install": [
"chmod +w ${FLATPAK_DEST}/lib/libpython3.6m.so.1.0",
"chmod +w ${FLATPAK_DEST}/lib/libpython3.so"
]
},
{
"name": "python3-qet-tb-generator",
"buildsystem": "simple",
"build-commands": [
"pip3 install --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} qet-tb-generator"
],
"sources": [
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/9e/c3/aaad3309a5f2ca08e2fa0ab01123bb6fafb15a92854bff88042039192a67/qet_tb_generator-1.1.7.tar.gz",
"sha256": "f626ab7bf4d9091fc85f63d33136585e611272b347499b448ece4e33cc04eeed"
}
]
},
{
"name": "DXFtoQET-2020-1",
"buildsystem": "qmake",
"sources": [
{
"type": "git",
"url": "https://github.com/qelectrotech/DXFtoQET-2020.git",
"commit": "01fbb2afe0fe66782cb1d1f901c73616c7d5299d"
}
],
"post-install": [
"mkdir -p ${FLATPAK_DEST}/bin",
"cp DXFtoQET ${FLATPAK_DEST}/bin/"
]
}
]
}

View File

@@ -0,0 +1,44 @@
From 2a390b5188fe070295090b1bd37273d12963b371 Mon Sep 17 00:00:00 2001
From: Laurent Trinques <scorpio@qelectrotech.org>
Date: Sat, 26 Sep 2020 22:52:52 +0200
Subject: [PATCH] build: Fix the installation paths
---
qelectrotech.pro | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/qelectrotech.pro b/qelectrotech.pro
index 2901a30d5..1019a9870 100644
--- a/qelectrotech.pro
+++ b/qelectrotech.pro
@@ -5,20 +5,20 @@
# Chemins utilises pour la compilation et l'installation de QET
unix {
# Chemins UNIX
- COMPIL_PREFIX = '/usr/local/'
- INSTALL_PREFIX = '/usr/local/'
+ COMPIL_PREFIX = '/app/'
+ INSTALL_PREFIX = '/app/'
QET_BINARY_PATH = 'bin/'
QET_COMMON_COLLECTION_PATH = 'share/qelectrotech/elements/'
QET_COMMON_TBT_PATH = 'share/qelectrotech/titleblocks/'
QET_LANG_PATH = 'share/qelectrotech/lang/'
QET_EXAMPLES_PATH = 'share/qelectrotech/examples/'
- QET_LICENSE_PATH = 'doc/qelectrotech/'
- QET_MIME_XML_PATH = '../share/mime/application/'
- QET_MIME_DESKTOP_PATH = '../share/mimelnk/application/'
- QET_MIME_PACKAGE_PATH = '../share/mime/packages/'
+ QET_LICENSE_PATH = 'share/doc/qelectrotech/'
+ QET_MIME_XML_PATH = 'share/mime/application/'
+ QET_MIME_DESKTOP_PATH = 'share/mimelnk/application/'
+ QET_MIME_PACKAGE_PATH = 'share/mime/packages/'
QET_DESKTOP_PATH = 'share/applications/'
QET_ICONS_PATH = 'share/icons/hicolor/'
- QET_MAN_PATH = 'man/'
+ QET_MAN_PATH = 'share/man/'
QET_APPDATA_PATH = 'share/appdata'
}
win32 {
--
2.28.0

View File

@@ -4,6 +4,9 @@ Collection d'éléments pour QElectroTech.
[en] [en]
Elements collection for QElectroTech. Elements collection for QElectroTech.
[de]
Bauteilsammlung für QElectroTech.
[es] [es]
Collección de elementos para QElectroTech. Collección de elementos para QElectroTech.
@@ -33,3 +36,6 @@ Elementen collectie voor QElectroTech.
[da] [da]
Symbol samling for QElectroTech. Symbol samling for QElectroTech.
[ja]
QElectroTech の要素コレクション。

View File

@@ -0,0 +1,34 @@
#!/bin/sh
# a KDE session forces the KDE Plasma platformtheme which is incompatible with QET
# unset the ENV vars in that case to prevent loading of the theme
if [ ! -z "$KDE_FULL_SESSION" ]; then
unset KDE_FULL_SESSION
fi
if echo "$XDG_CURRENT_DESKTOP" | grep -q KDE; then
unset XDG_CURRENT_DESKTOP
fi
# migrate .qet directory from SNAP_USER_DATA to SNAP_USER_COMMON
from="$SNAP_USER_DATA/.qet"
to="$SNAP_USER_COMMON/.qet"
if [ ! -d "$to" ] && [ -d "$from" ]; then
echo "Migrating user data from $from to $to"
mkdir "$to"
cp -av "$from/." "$to"
fi
# link DXFtoQET so that QET finds it
mkdir -p "$HOME/.qet"
ln -snf "$SNAP/bin/DXFtoQET" "$HOME/.qet/DXFtoQET"
# start desktop portal. Open & save dialogs might fail if it is not running
dbus-send --print-reply \
--dest=org.freedesktop.DBus \
/org/freedesktop/DBus \
org.freedesktop.DBus.StartServiceByName \
string:org.freedesktop.portal.Desktop \
uint32:0
exec "${@}"

View File

@@ -0,0 +1,124 @@
name: qelectrotech
title: QElectroTech
base: core18
adopt-info: qelectrotech
license: GPL-2.0
summary: Electrical diagram editor
description: |
QElectroTech, or QET in short, is a libre and open source desktop application
to create diagrams and schematics.
grade: stable
confinement: strict
architectures:
- build-on: amd64
run-on: amd64
layout:
/usr/local/share/qelectrotech:
symlink: $SNAP/usr/local/share/qelectrotech
/usr/share/libdrm/amdgpu.ids:
symlink: $SNAP/kf5/usr/share/libdrm/amdgpu.ids
apps:
qelectrotech:
command: usr/local/bin/qelectrotech
command-chain:
- bin/qelectrotech-launch
desktop: usr/local/share/applications/qelectrotech.desktop
extensions: [kde-neon]
plugs: &plugs [opengl, unity7, home, removable-media, gsettings, network, cups-control]
environment: &env
__EGL_VENDOR_LIBRARY_DIRS: $SNAP/kf5/usr/share/glvnd/egl_vendor.d:$SNAP/usr/share/glvnd/egl_vendor.d
TCL_LIBRARY: $SNAP/usr/share/tcltk/tcl8.6
QT_QPA_PLATFORMTHEME: gtk3
QT_AUTO_SCREEN_SCALE_FACTOR: 1
HOME: $SNAP_USER_COMMON
PYTHONPATH: $SNAP:$SNAP/lib/python3.6/site-packages:$SNAP/usr/lib/python3.6:$SNAP/usr/lib/python3.6/lib-dynload
qet-tb-generator:
command: bin/qelectrotech-launch $SNAP/bin/qet_tb_generator
extensions: [kde-neon]
plugs: *plugs
environment: *env
dxf-to-qet:
command: bin/DXFtoQET
extensions: [kde-neon]
plugs: *plugs
environment: *env
parts:
launchers:
plugin: dump
source: build-aux/snap/local/launchers
organize:
'*': bin/
qet-tb-generator:
plugin: python
python-version: python3
source: https://github.com/qelectrotech/qet_tb_generator.git
stage-packages:
- python3-lxml
- python3-tk
- libtk8.6
kde-sdk-setup:
plugin: nil
build-snaps:
- kde-frameworks-5-core18-sdk
build-packages:
- g++
- mesa-common-dev
- libglvnd-dev
- rsync
override-build: |
rsync -a --ignore-existing /snap/kde-frameworks-5-core18-sdk/current/ /
dxf-to-qet:
after: [kde-sdk-setup]
plugin: nil
source: https://github.com/qelectrotech/DXFtoQET-2020.git
override-build: |
qmake "$SNAPCRAFT_PART_SRC/DXFtoQET.pro"
make -j$(nproc)
mkdir -p "$SNAPCRAFT_PART_INSTALL/bin"
cp DXFtoQET "$SNAPCRAFT_PART_INSTALL/bin/"
qelectrotech:
after: [kde-sdk-setup]
plugin: nil
source: .
stage-packages: [ git, sqlite3 ]
build-packages:
- git
- libsqlite3-dev
override-pull: |
snapcraftctl pull
snap_version=$(git describe --dirty)
modified_displayed_version=$snap_version".snap"
sed -i -E "s|const QString displayedVersion =.*|const QString displayedVersion =\"$modified_displayed_version\";|" sources/qet.h
snapcraftctl set-version "$snap_version"
override-build: |
qmake "$SNAPCRAFT_PART_SRC/qelectrotech.pro"
make -j$(nproc)
make install INSTALL_ROOT="$SNAPCRAFT_PART_INSTALL"
override-stage: |
snapcraftctl stage
# patch desktop file with correct icon path
SED_CMD="sed -i -E s|^Icon=(.*)|Icon=\${SNAP}/usr/local/share/icons/hicolor/128x128/apps/\1.png|g"
$SED_CMD usr/local/share/applications/qelectrotech.desktop
cleanup:
after: [qelectrotech, dxf-to-qet, qet-tb-generator]
plugin: nil
build-snaps: [core18, kde-frameworks-5-core18]
override-prime: |
# Remove all files from snap that are already included in the base snap or in
# any connected content snaps
set -eux
for snap in "core18" "kde-frameworks-5-core18"; do # List all content-snaps and base snaps you're using here
cd "/snap/$snap/current" && find . -type f,l -exec rm -f "$SNAPCRAFT_PRIME/{}" \;
done

View File

@@ -289,9 +289,9 @@ Section ""
; shortcut on the desktop ; shortcut on the desktop
CreateShortCut "$DESKTOP\QElectroTech.lnk" "$INSTDIR\Lancer QET.bat" 0 "$INSTDIR\ico\qelectrotech.ico" CreateShortCut "$DESKTOP\QElectroTech.lnk" "$INSTDIR\Lancer QET.bat" 0 "$INSTDIR\ico\qelectrotech.ico"
WriteINIStr "$SMPROGRAMS\${SOFT_NAME}\Manual\Manual_English.url" "InternetShortcut" "URL" "http://download.tuxfamily.org/qet/joshua/html/QET.html" WriteINIStr "$SMPROGRAMS\${SOFT_NAME}\Manual\Manual_English.url" "InternetShortcut" "URL" "https://download.tuxfamily.org/qet/manual_0.7/build/index.html"
WriteINIStr "$SMPROGRAMS\${SOFT_NAME}\Manual\Manual_Russian.url" "InternetShortcut" "URL" "http://download.tuxfamily.org/qet/joshua/html/QET_ru.html" WriteINIStr "$SMPROGRAMS\${SOFT_NAME}\Manual\Manual_Russian.url" "InternetShortcut" "URL" "https://download.tuxfamily.org/qet/joshua/html/QET_ru.html"
WriteINIStr "$SMPROGRAMS\${SOFT_NAME}\Upgrade\Download.url" "InternetShortcut" "URL" "http://download.tuxfamily.org/qet/builds/nightly/" WriteINIStr "$SMPROGRAMS\${SOFT_NAME}\Upgrade\Download.url" "InternetShortcut" "URL" "https://download.tuxfamily.org/qet/builds/nightly/"
WriteINIStr "$SMPROGRAMS\${SOFT_NAME}\Donate.url" "InternetShortcut" "URL" "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ZZHC9D7C3MDPC" WriteINIStr "$SMPROGRAMS\${SOFT_NAME}\Donate.url" "InternetShortcut" "URL" "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ZZHC9D7C3MDPC"
;changing $INSTDIR\elements\ *.elmt to read-only attribute ;changing $INSTDIR\elements\ *.elmt to read-only attribute

View File

@@ -295,9 +295,9 @@ Section ""
; shortcut on the desktop ; shortcut on the desktop
CreateShortCut "$DESKTOP\QElectroTech.lnk" "$INSTDIR\Lancer QET.bat" 0 "$INSTDIR\ico\qelectrotech.ico" CreateShortCut "$DESKTOP\QElectroTech.lnk" "$INSTDIR\Lancer QET.bat" 0 "$INSTDIR\ico\qelectrotech.ico"
WriteINIStr "$SMPROGRAMS\${SOFT_NAME}\Manual\Manual_English.url" "InternetShortcut" "URL" "http://download.tuxfamily.org/qet/joshua/html/QET.html" WriteINIStr "$SMPROGRAMS\${SOFT_NAME}\Manual\Manual_English.url" "InternetShortcut" "URL" "https://download.tuxfamily.org/qet/manual_0.7/build/index.html"
WriteINIStr "$SMPROGRAMS\${SOFT_NAME}\Manual\Manual_Russian.url" "InternetShortcut" "URL" "http://download.tuxfamily.org/qet/joshua/html/QET_ru.html" WriteINIStr "$SMPROGRAMS\${SOFT_NAME}\Manual\Manual_Russian.url" "InternetShortcut" "URL" "https://download.tuxfamily.org/qet/joshua/html/QET_ru.html"
WriteINIStr "$SMPROGRAMS\${SOFT_NAME}\Upgrade\Download.url" "InternetShortcut" "URL" "http://download.tuxfamily.org/qet/builds/nightly/" WriteINIStr "$SMPROGRAMS\${SOFT_NAME}\Upgrade\Download.url" "InternetShortcut" "URL" "https://download.tuxfamily.org/qet/builds/nightly/"
WriteINIStr "$SMPROGRAMS\${SOFT_NAME}\Donate.url" "InternetShortcut" "URL" "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ZZHC9D7C3MDPC" WriteINIStr "$SMPROGRAMS\${SOFT_NAME}\Donate.url" "InternetShortcut" "URL" "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ZZHC9D7C3MDPC"
;changing $INSTDIR\elements\ *.elmt to read-only attribute ;changing $INSTDIR\elements\ *.elmt to read-only attribute

View File

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 25 KiB

View File

Before

Width:  |  Height:  |  Size: 151 KiB

After

Width:  |  Height:  |  Size: 151 KiB

View File

Before

Width:  |  Height:  |  Size: 151 KiB

After

Width:  |  Height:  |  Size: 151 KiB

View File

@@ -0,0 +1,34 @@
# Copyright 2006 The QElectroTech Team
# This file is part of QElectroTech.
#
# QElectroTech is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# QElectroTech is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
message(
"_____________________________________________________________________"
"\nCopyright 2006 The QElectroTech Team"
"\nThis file is part of QElectroTech."
"\n\nQElectroTech is free software: you can redistribute it and/or modify"
"\nit under the terms of the GNU General Public License as published by"
"\nthe Free Software Foundation, either version 2 of the License, or"
"\n(at your option) any later version."
"\nQElectroTech is distributed in the hope that it will be useful,"
"\nbut WITHOUT ANY WARRANTY; without even the implied warranty of"
"\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the"
"\nGNU General Public License for more details."
"\n\nYou should have received a copy of the GNU General Public License"
"\nalong with QElectroTech. If not, see <http://www.gnu.org/licenses/>.\n"
"_____________________________________________________________________")

View File

@@ -0,0 +1,73 @@
# Copyright 2006 The QElectroTech Team
# This file is part of QElectroTech.
#
# QElectroTech is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# QElectroTech is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
# Paths used for compilation and installation of QET
message(" - define_definitions")
message("Paths used for compilation and installation of QET")
message("--------------------------------------------------")
message("COMPIL_PREFIX " ${COMPIL_PREFIX})
message("INSTALL_PREFIX " ${INSTALL_PREFIX})
message("QET_BINARY_PATH " ${QET_BINARY_PATH})
if(${QET_COMMON_COLLECTION_PATH} STRGREATER "")
message("QET_COMMON_COLLECTION_PATH " ${INSTALL_PREFIX}${QET_COMMON_COLLECTION_PATH})
add_definitions(-DQET_COMMON_COLLECTION_PATH=${INSTALL_PREFIX}${QET_COMMON_COLLECTION_PATH})
endif()
if(${QET_COMMON_TBT_PATH} STRGREATER "")
message("QET_COMMON_TBT_PATH " ${INSTALL_PREFIX}${QET_COMMON_TBT_PATH})
add_definitions(-DQET_COMMON_TBT_PATH=${INSTALL_PREFIX}${QET_COMMON_TBT_PATH})
endif()
if(${QET_LANG_PATH_RELATIVE_TO_BINARY_PATH})
add_definitions(-DQET_LANG_PATH_RELATIVE_TO_BINARY_PATH)
endif()
if(${QET_LANG_PATH} STRGREATER "")
message("QET_LANG_PATH " ${INSTALL_PREFIX}${QET_LANG_PATH})
add_definitions(-DQET_LANG_PATH=${INSTALL_PREFIX}${QET_LANG_PATH})
endif()
if (NOT MINGW)
if(${QET_EXAMPLES_PATH} STRGREATER "")
message("QET_EXAMPLES_PATH " ${INSTALL_PREFIX}${QET_EXAMPLES_PATH})
add_definitions(-DQET_EXAMPLES_PATH=${INSTALL_PREFIX}${QET_EXAMPLES_PATH})
endif()
endif()
message("QET_LICENSE_PATH " ${QET_LICENSE_PATH})
message("QET_MIME_XML_PATH " ${QET_MIME_XML_PATH})
message("QET_MIME_DESKTOP_PATH " ${QET_MIME_DESKTOP_PATH})
message("QET_MIME_PACKAGE_PATH " ${QET_MIME_PACKAGE_PATH})
message("QET_DESKTOP_PATH " ${QET_DESKTOP_PATH})
message("QET_ICONS_PATH " ${QET_ICONS_PATH})
message("QET_MAN_PATH " ${QET_MAN_PATH})
message("QET_APPDATA_PATH " ${QET_APPDATA_PATH})
message("ICON " ${ICON})
message("--------------------------------------------------")
message("PROJECT_NAME :" ${PROJECT_NAME})
message("PROJECT_VERSION :" ${PROJECT_VERSION})
message("PROJECT_DESCRIPTION :" ${PROJECT_DESCRIPTION})
message("PROJECT_HOMEPAGE_URL :" ${PROJECT_HOMEPAGE_URL})
message("PROJECT_SOURCE_DIR :" ${PROJECT_SOURCE_DIR})
message("QET_DIR :" ${QET_DIR})
message("GIT_COMMIT_SHA :" ${GIT_COMMIT_SHA})
if(BUILD_WITH_KF5)
message("KF5_GIT_TAG :" ${KF5_GIT_TAG})
else()
add_definitions(-DBUILD_WITHOUT_KF5)
endif()
message("QET_COMPONENTS :" ${QET_COMPONENTS})
message("QT_VERSION_MAJOR :" ${QT_VERSION_MAJOR})

View File

@@ -0,0 +1,35 @@
# Copyright 2006 The QElectroTech Team
# This file is part of QElectroTech.
#
# QElectroTech is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# QElectroTech is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
message(" - developer_options")
# warn on *any* usage of deprecated APIs
add_definitions(-DQT_DEPRECATED_WARNINGS)
# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
# disables all the APIs deprecated before Qt 6.0.0
#add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x060000)
# to enable function names and line numbers even for release builds
add_definitions(-DQT_MESSAGELOGCONTEXT)
# You can make your code warn on compile time for the TODO's
# In order to do so, uncomment the following line.
#add_definitions(-DTODO_LIST)
# Build with KF5
option(BUILD_WITH_KF5 "Build with KF5" ON)

View File

@@ -0,0 +1,67 @@
# Copyright 2006 The QElectroTech Team
# This file is part of QElectroTech.
#
# QElectroTech is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# QElectroTech is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
message(" - fetch_kdeaddons")
if(DEFINED BUILD_WITH_KF5)
Include(FetchContent)
option(BUILD_KF5 "Build KF5 libraries, use system ones otherwise" YES)
if(BUILD_KF5)
if(NOT DEFINED KF5_GIT_TAG)
#https://qelectrotech.org/forum/viewtopic.php?pid=13924#p13924
set(KF5_GIT_TAG v5.77.0)
endif()
# 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
set(KDE_SKIP_TEST_SETTINGS "TRUE")
set(BUILD_TESTING "0")
FetchContent_Declare(
ecm
GIT_REPOSITORY https://invent.kde.org/frameworks/extra-cmake-modules.git
GIT_TAG ${KF5_GIT_TAG})
FetchContent_MakeAvailable(ecm)
FetchContent_Declare(
kcoreaddons
GIT_REPOSITORY https://invent.kde.org/frameworks/kcoreaddons.git
GIT_TAG ${KF5_GIT_TAG})
FetchContent_MakeAvailable(kcoreaddons)
FetchContent_Declare(
kwidgetsaddons
GIT_REPOSITORY https://invent.kde.org/frameworks/kwidgetsaddons.git
GIT_TAG ${KF5_GIT_TAG})
FetchContent_MakeAvailable(kwidgetsaddons)
else()
find_package(KF5CoreAddons REQUIRED)
find_package(KF5WidgetsAddons REQUIRED)
endif()
set(KF5_PRIVATE_LIBRARIES
KF5::WidgetsAddons
KF5::CoreAddons
)
endif()

33
cmake/fetch_pugixml.cmake Normal file
View File

@@ -0,0 +1,33 @@
# Copyright 2006 The QElectroTech Team
# This file is part of QElectroTech.
#
# QElectroTech is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# QElectroTech is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
message(" - fetch_pugixml")
Include(FetchContent)
option(BUILD_PUGIXML "Build pugixml library, use system one otherwise" YES)
if(BUILD_PUGIXML)
FetchContent_Declare(
pugixml
GIT_REPOSITORY https://github.com/zeux/pugixml.git
GIT_TAG v1.11.4)
FetchContent_MakeAvailable(pugixml)
else()
find_package(pugixml REQUIRED)
endif()

View File

@@ -0,0 +1,31 @@
# Copyright 2006 The QElectroTech Team
# This file is part of QElectroTech.
#
# QElectroTech is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# QElectroTech is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
message(" - fetch_singleapplication")
# https://github.com/itay-grudev/SingleApplication/issues/18
#qmake
#DEFINES += QAPPLICATION_CLASS=QGuiApplication
set(QAPPLICATION_CLASS QApplication)
Include(FetchContent)
FetchContent_Declare(
SingleApplication
GIT_REPOSITORY https://github.com/itay-grudev/SingleApplication.git
GIT_TAG v3.2.0)
FetchContent_MakeAvailable(SingleApplication)

View File

@@ -0,0 +1,41 @@
# Copyright 2006 The QElectroTech Team
# This file is part of QElectroTech.
#
# QElectroTech is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# QElectroTech is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
message(" - git_last_commit_sha")
find_package(Git QUIET)
if(GIT_FOUND AND EXISTS "${PROJECT_SOURCE_DIR}/.git")
#get GIT COMMIT SHA
execute_process(
COMMAND ${GIT_EXECUTABLE} -C ${QET_DIR} rev-parse --verify HEAD
OUTPUT_VARIABLE GIT_COMMIT_SHA
RESULT_VARIABLE GIT_COMMIT_RESULT)
# This strips terminating newline in the variable
string(REGEX REPLACE "\n$" "" GIT_COMMIT_SHA "${GIT_COMMIT_SHA}")
if(NOT GIT_COMMIT_RESULT EQUAL "0")
message(
FATAL_ERROR
"git rev-parse --verify HEAD failed with "
${GIT_COMMIT_RESULT}
", please check")
endif()
endif()
# This adds to definitions => .cpp
add_definitions(-DGIT_COMMIT_SHA="${GIT_COMMIT_SHA}")

View File

@@ -0,0 +1,35 @@
# Copyright 2006 The QElectroTech Team
# This file is part of QElectroTech.
#
# QElectroTech is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# QElectroTech is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
message(" - git_update_submodules")
find_package(Git QUIET)
if(GIT_FOUND AND EXISTS "${PROJECT_SOURCE_DIR}/.git")
# updates all git submodules
execute_process(
COMMAND ${GIT_EXECUTABLE} submodule update --init --recursive
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
RESULT_VARIABLE GIT_SUBMOD_RESULT)
if(NOT GIT_SUBMOD_RESULT EQUAL "0")
message(
FATAL_ERROR
"git submodule update --init failed with "
${GIT_SUBMOD_RESULT}
", please checkout submodules")
endif()
endif()

View File

@@ -0,0 +1,25 @@
# Copyright 2006 The QElectroTech Team
# This file is part of QElectroTech.
#
# QElectroTech is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# QElectroTech is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
if(${CMAKE_VERSION} VERSION_LESS 3.14)
message(
"_____________________________________________________________________")
message("to update Cmake on linux:")
message("https://github.com/Kitware/CMake/")
message("linux => cmake-3.19.1-Linux-x86_64.sh")
message(" sudo ./cmake.sh --prefix=/usr/local/ --exclude-subdir")
message("windows good luck :)")
endif()

View File

@@ -0,0 +1,69 @@
# Copyright 2006 The QElectroTech Team
# This file is part of QElectroTech.
#
# QElectroTech is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# QElectroTech is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
# Paths used for compilation and installation of QET
message(" - paths_compilation_installation")
if(UNIX AND NOT APPLE)
# for Linux, BSD, Solaris, Minix
set(COMPIL_PREFIX "/usr/local/")
set(INSTALL_PREFIX "/usr/local/")
set(QET_BINARY_PATH "bin/")
set(QET_COMMON_COLLECTION_PATH "share/qelectrotech/elements/")
set(QET_COMMON_TBT_PATH "share/qelectrotech/titleblocks/")
set(QET_LANG_PATH "share/qelectrotech/lang/")
set(QET_EXAMPLES_PATH "share/qelectrotech/examples/")
set(QET_LICENSE_PATH "doc/qelectrotech/")
set(QET_MIME_XML_PATH "../share/mime/application/")
set(QET_MIME_DESKTOP_PATH "../share/mimelnk/application/")
set(QET_MIME_PACKAGE_PATH "../share/mime/packages/")
set(QET_DESKTOP_PATH "share/applications/")
set(QET_ICONS_PATH "share/icons/hicolor/")
set(QET_MAN_PATH "man/")
set(QET_APPDATA_PATH "share/appdata")
endif()
if(APPLE)
# for MacOS X or iOS, watchOS, tvOS (since 3.10.3)
set(COMPIL_PREFIX "./")
set(INSTALL_PREFIX "/usr/local/")
set(QET_BINARY_PATH "bin/")
set(QET_COMMON_COLLECTION_PATH "../Resources/elements/")
set(QET_COMMON_TBT_PATH "../Resources/titleblocks/")
set(QET_LANG_PATH "../Resources/lang/")
set(QET_EXAMPLES_PATH "share/qelectrotech/examples/")
set(QET_LICENSE_PATH "doc/qelectrotech/")
set(QET_MIME_XML_PATH "../share/mime/application/")
set(QET_MIME_DESKTOP_PATH "../share/mimelnk/application/")
set(QET_DESKTOP_PATH "share/applications/")
set(QET_ICONS_PATH "share/icons/hicolor/")
set(QET_MAN_PATH "man/")
set(ICON "ico/mac_icon/qelectrotech.icns")
endif()
if(WIN32)
# for Windows operating system in general
set(COMPIL_PREFIX "./")
set(INSTALL_PREFIX "./")
set(QET_BINARY_PATH "./")
set(QET_COMMON_COLLECTION_PATH "elements/")
set(QET_COMMON_TBT_PATH "titleblocks/")
set(QET_LANG_PATH "l10n/")
set(QET_LICENSE_PATH "./")
# Liste des ressources Windows
#RC_FILE = qelectrotech.rc
endif()

View File

@@ -0,0 +1,645 @@
# Copyright 2006 The QElectroTech Team
# This file is part of QElectroTech.
#
# QElectroTech is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# QElectroTech is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
message(" - qet_compilation_vars")
set(QET_COMPONENTS
LinguistTools
PrintSupport
Xml
Svg
Sql
Network
Widgets
Concurrent)
set(QET_PRIVATE_LIBRARIES
Qt::PrintSupport
Qt::Gui
Qt::Xml
Qt::Svg
Qt::Sql
Qt::Network
Qt::Widgets
Qt::Concurrent
)
set(QET_RES_FILES
${QET_DIR}/sources/autoNum/ui/autonumberingdockwidget.ui
${QET_DIR}/sources/autoNum/ui/autonumberingmanagementw.ui
${QET_DIR}/sources/autoNum/ui/folioautonumbering.ui
${QET_DIR}/sources/autoNum/ui/formulaautonumberingw.ui
${QET_DIR}/sources/autoNum/ui/numparteditorw.ui
${QET_DIR}/sources/autoNum/ui/selectautonumw.ui
${QET_DIR}/sources/dataBase/ui/elementquerywidget.ui
${QET_DIR}/sources/dataBase/ui/summaryquerywidget.ui
${QET_DIR}/sources/editor/ui/dynamictextfieldeditor.ui
${QET_DIR}/sources/editor/ui/elementpropertieseditorwidget.ui
${QET_DIR}/sources/editor/ui/ellipseeditor.ui
${QET_DIR}/sources/editor/ui/lineeditor.ui
${QET_DIR}/sources/editor/ui/polygoneditor.ui
${QET_DIR}/sources/editor/ui/rectangleeditor.ui
${QET_DIR}/sources/editor/ui/qetelementeditor.ui
${QET_DIR}/sources/editor/ui/terminaleditor.ui
${QET_DIR}/sources/ElementsCollection/ui/renamedialog.ui
${QET_DIR}/sources/factory/ui/addtabledialog.ui
${QET_DIR}/sources/NameList/ui/namelistdialog.ui
${QET_DIR}/sources/NameList/ui/namelistwidget.ui
${QET_DIR}/sources/print/projectprintwindow.ui
${QET_DIR}/sources/PropertiesEditor/propertieseditordockwidget.ui
${QET_DIR}/sources/richtext/addlinkdialog.ui
${QET_DIR}/sources/SearchAndReplace/ui/replaceadvanceddialog.ui
${QET_DIR}/sources/SearchAndReplace/ui/replaceconductordialog.ui
${QET_DIR}/sources/SearchAndReplace/ui/replaceelementdialog.ui
${QET_DIR}/sources/SearchAndReplace/ui/replacefoliowidget.ui
${QET_DIR}/sources/SearchAndReplace/ui/searchandreplacewidget.ui
${QET_DIR}/sources/ui/aboutqetdialog.ui
${QET_DIR}/sources/ui/alignmenttextdialog.ui
${QET_DIR}/sources/ui/bomexportdialog.ui
${QET_DIR}/sources/ui/borderpropertieswidget.ui
${QET_DIR}/sources/ui/compositetexteditdialog.ui
${QET_DIR}/sources/ui/conductorpropertiesdialog.ui
${QET_DIR}/sources/ui/conductorpropertieswidget.ui
${QET_DIR}/sources/ui/configsaveloaderwidget.ui
${QET_DIR}/sources/ui/diagramcontextwidget.ui
${QET_DIR}/sources/ui/diagramselection.ui
${QET_DIR}/sources/ui/dialogwaiting.ui
${QET_DIR}/sources/ui/dynamicelementtextitemeditor.ui
${QET_DIR}/sources/ui/elementinfopartwidget.ui
${QET_DIR}/sources/ui/elementinfowidget.ui
${QET_DIR}/sources/ui/formulaassistantdialog.ui
${QET_DIR}/sources/ui/imagepropertieswidget.ui
${QET_DIR}/sources/ui/importelementdialog.ui
${QET_DIR}/sources/ui/importelementtextpatterndialog.ui
${QET_DIR}/sources/ui/linksingleelementwidget.ui
${QET_DIR}/sources/ui/marginseditdialog.ui
${QET_DIR}/sources/ui/masterpropertieswidget.ui
${QET_DIR}/sources/ui/multipastedialog.ui
${QET_DIR}/sources/ui/potentialselectordialog.ui
${QET_DIR}/sources/ui/reportpropertiewidget.ui
${QET_DIR}/sources/ui/shapegraphicsitempropertieswidget.ui
${QET_DIR}/sources/ui/titleblockpropertieswidget.ui
${QET_DIR}/sources/ui/xrefpropertieswidget.ui
${QET_DIR}/sources/ui/configpage/generalconfigurationpage.ui
)
set(QET_SRC_FILES
${QET_DIR}/sources/borderproperties.cpp
${QET_DIR}/sources/borderproperties.h
${QET_DIR}/sources/bordertitleblock.cpp
${QET_DIR}/sources/bordertitleblock.h
${QET_DIR}/sources/conductorautonumerotation.cpp
${QET_DIR}/sources/conductorautonumerotation.h
${QET_DIR}/sources/conductornumexport.cpp
${QET_DIR}/sources/conductornumexport.h
${QET_DIR}/sources/conductorprofile.cpp
${QET_DIR}/sources/conductorprofile.h
${QET_DIR}/sources/conductorproperties.cpp
${QET_DIR}/sources/conductorproperties.h
${QET_DIR}/sources/conductorsegment.cpp
${QET_DIR}/sources/conductorsegment.h
${QET_DIR}/sources/conductorsegmentprofile.h
${QET_DIR}/sources/configdialog.cpp
${QET_DIR}/sources/configdialog.h
${QET_DIR}/sources/configpage.h
${QET_DIR}/sources/configpages.cpp
${QET_DIR}/sources/configpages.h
${QET_DIR}/sources/createdxf.cpp
${QET_DIR}/sources/createdxf.h
${QET_DIR}/sources/diagramcommands.cpp
${QET_DIR}/sources/diagramcommands.h
${QET_DIR}/sources/diagramcontent.cpp
${QET_DIR}/sources/diagramcontent.h
${QET_DIR}/sources/diagramcontext.cpp
${QET_DIR}/sources/diagramcontext.h
${QET_DIR}/sources/diagram.cpp
${QET_DIR}/sources/diagram.h
${QET_DIR}/sources/diagramposition.cpp
${QET_DIR}/sources/diagramposition.h
${QET_DIR}/sources/diagramview.cpp
${QET_DIR}/sources/diagramview.h
${QET_DIR}/sources/elementdialog.cpp
${QET_DIR}/sources/elementdialog.h
${QET_DIR}/sources/elementprovider.cpp
${QET_DIR}/sources/elementprovider.h
${QET_DIR}/sources/elementscategoryeditor.cpp
${QET_DIR}/sources/elementscategoryeditor.h
${QET_DIR}/sources/elementscollectioncache.cpp
${QET_DIR}/sources/elementscollectioncache.h
${QET_DIR}/sources/elementsmover.cpp
${QET_DIR}/sources/elementsmover.h
${QET_DIR}/sources/elementspanel.cpp
${QET_DIR}/sources/elementspanel.h
${QET_DIR}/sources/elementspanelwidget.cpp
${QET_DIR}/sources/elementspanelwidget.h
${QET_DIR}/sources/elementtextpattern.cpp
${QET_DIR}/sources/elementtextpattern.h
${QET_DIR}/sources/elementtextsmover.cpp
${QET_DIR}/sources/elementtextsmover.h
${QET_DIR}/sources/exportdialog.cpp
${QET_DIR}/sources/exportdialog.h
${QET_DIR}/sources/exportproperties.cpp
${QET_DIR}/sources/exportproperties.h
${QET_DIR}/sources/exportpropertieswidget.cpp
${QET_DIR}/sources/exportpropertieswidget.h
${QET_DIR}/sources/genericpanel.cpp
${QET_DIR}/sources/genericpanel.h
${QET_DIR}/sources/machine_info.cpp
${QET_DIR}/sources/machine_info.h
${QET_DIR}/sources/main.cpp
${QET_DIR}/sources/newelementwizard.cpp
${QET_DIR}/sources/newelementwizard.h
${QET_DIR}/sources/projectconfigpages.cpp
${QET_DIR}/sources/projectconfigpages.h
${QET_DIR}/sources/projectview.cpp
${QET_DIR}/sources/projectview.h
${QET_DIR}/sources/qetapp.cpp
${QET_DIR}/sources/qetapp.h
${QET_DIR}/sources/qetarguments.cpp
${QET_DIR}/sources/qetarguments.h
${QET_DIR}/sources/qet.cpp
${QET_DIR}/sources/qetdiagrameditor.cpp
${QET_DIR}/sources/qetdiagrameditor.h
${QET_DIR}/sources/qet.h
${QET_DIR}/sources/qeticons.cpp
${QET_DIR}/sources/qeticons.h
${QET_DIR}/sources/qetinformation.cpp
${QET_DIR}/sources/qetinformation.h
${QET_DIR}/sources/qetmainwindow.cpp
${QET_DIR}/sources/qetmainwindow.h
${QET_DIR}/sources/qetmessagebox.cpp
${QET_DIR}/sources/qetmessagebox.h
${QET_DIR}/sources/qetproject.cpp
${QET_DIR}/sources/qetproject.h
${QET_DIR}/sources/qetregexpvalidator.cpp
${QET_DIR}/sources/qetregexpvalidator.h
${QET_DIR}/sources/qetresult.cpp
${QET_DIR}/sources/qetresult.h
${QET_DIR}/sources/qetxml.cpp
${QET_DIR}/sources/qetxml.h
${QET_DIR}/sources/qfilenameedit.cpp
${QET_DIR}/sources/qfilenameedit.h
${QET_DIR}/sources/qgimanager.cpp
${QET_DIR}/sources/qgimanager.h
${QET_DIR}/sources/qtextorientationspinboxwidget.cpp
${QET_DIR}/sources/qtextorientationspinboxwidget.h
${QET_DIR}/sources/qtextorientationwidget.cpp
${QET_DIR}/sources/qtextorientationwidget.h
${QET_DIR}/sources/recentfiles.cpp
${QET_DIR}/sources/recentfiles.h
${QET_DIR}/sources/titleblockcell.cpp
${QET_DIR}/sources/titleblockcell.h
${QET_DIR}/sources/titleblockproperties.cpp
${QET_DIR}/sources/titleblockproperties.h
${QET_DIR}/sources/titleblocktemplate.cpp
${QET_DIR}/sources/titleblocktemplate.h
${QET_DIR}/sources/titleblocktemplaterenderer.cpp
${QET_DIR}/sources/titleblocktemplaterenderer.h
${QET_DIR}/sources/autoNum/assignvariables.cpp
${QET_DIR}/sources/autoNum/assignvariables.h
${QET_DIR}/sources/autoNum/numerotationcontextcommands.cpp
${QET_DIR}/sources/autoNum/numerotationcontextcommands.h
${QET_DIR}/sources/autoNum/numerotationcontext.cpp
${QET_DIR}/sources/autoNum/numerotationcontext.h
${QET_DIR}/sources/autoNum/ui/autonumberingdockwidget.cpp
${QET_DIR}/sources/autoNum/ui/autonumberingdockwidget.h
${QET_DIR}/sources/autoNum/ui/autonumberingmanagementw.cpp
${QET_DIR}/sources/autoNum/ui/autonumberingmanagementw.h
${QET_DIR}/sources/autoNum/ui/folioautonumbering.cpp
${QET_DIR}/sources/autoNum/ui/folioautonumbering.h
${QET_DIR}/sources/autoNum/ui/formulaautonumberingw.cpp
${QET_DIR}/sources/autoNum/ui/formulaautonumberingw.h
${QET_DIR}/sources/autoNum/ui/numparteditorw.cpp
${QET_DIR}/sources/autoNum/ui/numparteditorw.h
${QET_DIR}/sources/autoNum/ui/selectautonumw.cpp
${QET_DIR}/sources/autoNum/ui/selectautonumw.h
${QET_DIR}/sources/dataBase/projectdatabase.cpp
${QET_DIR}/sources/dataBase/projectdatabase.h
${QET_DIR}/sources/dataBase/ui/elementquerywidget.cpp
${QET_DIR}/sources/dataBase/ui/elementquerywidget.h
${QET_DIR}/sources/dataBase/ui/summaryquerywidget.cpp
${QET_DIR}/sources/dataBase/ui/summaryquerywidget.h
${QET_DIR}/sources/diagramevent/diagrameventaddelement.cpp
${QET_DIR}/sources/diagramevent/diagrameventaddelement.h
${QET_DIR}/sources/diagramevent/diagrameventaddimage.cpp
${QET_DIR}/sources/diagramevent/diagrameventaddimage.h
${QET_DIR}/sources/diagramevent/diagrameventaddshape.cpp
${QET_DIR}/sources/diagramevent/diagrameventaddshape.h
${QET_DIR}/sources/diagramevent/diagrameventaddtext.cpp
${QET_DIR}/sources/diagramevent/diagrameventaddtext.h
${QET_DIR}/sources/diagramevent/diagrameventinterface.cpp
${QET_DIR}/sources/diagramevent/diagrameventinterface.h
${QET_DIR}/sources/dvevent/dveventinterface.cpp
${QET_DIR}/sources/dvevent/dveventinterface.h
${QET_DIR}/sources/editor/arceditor.cpp
${QET_DIR}/sources/editor/arceditor.h
${QET_DIR}/sources/editor/editorcommands.cpp
${QET_DIR}/sources/editor/editorcommands.h
${QET_DIR}/sources/editor/elementcontent.h
${QET_DIR}/sources/editor/elementitemeditor.cpp
${QET_DIR}/sources/editor/elementitemeditor.h
${QET_DIR}/sources/editor/elementprimitivedecorator.cpp
${QET_DIR}/sources/editor/elementprimitivedecorator.h
${QET_DIR}/sources/editor/elementscene.cpp
${QET_DIR}/sources/editor/elementscene.h
${QET_DIR}/sources/editor/elementview.cpp
${QET_DIR}/sources/editor/elementview.h
${QET_DIR}/sources/editor/styleeditor.cpp
${QET_DIR}/sources/editor/styleeditor.h
${QET_DIR}/sources/editor/esevent/eseventaddarc.cpp
${QET_DIR}/sources/editor/esevent/eseventaddarc.h
${QET_DIR}/sources/editor/esevent/eseventadddynamictextfield.cpp
${QET_DIR}/sources/editor/esevent/eseventadddynamictextfield.h
${QET_DIR}/sources/editor/esevent/eseventaddellipse.cpp
${QET_DIR}/sources/editor/esevent/eseventaddellipse.h
${QET_DIR}/sources/editor/esevent/eseventaddline.cpp
${QET_DIR}/sources/editor/esevent/eseventaddline.h
${QET_DIR}/sources/editor/esevent/eseventaddpolygon.cpp
${QET_DIR}/sources/editor/esevent/eseventaddpolygon.h
${QET_DIR}/sources/editor/esevent/eseventaddrect.cpp
${QET_DIR}/sources/editor/esevent/eseventaddrect.h
${QET_DIR}/sources/editor/esevent/eseventaddterminal.cpp
${QET_DIR}/sources/editor/esevent/eseventaddterminal.h
${QET_DIR}/sources/editor/esevent/eseventaddtext.cpp
${QET_DIR}/sources/editor/esevent/eseventaddtext.h
${QET_DIR}/sources/editor/esevent/eseventinterface.cpp
${QET_DIR}/sources/editor/esevent/eseventinterface.h
${QET_DIR}/sources/editor/graphicspart/abstractpartellipse.cpp
${QET_DIR}/sources/editor/graphicspart/abstractpartellipse.h
${QET_DIR}/sources/editor/graphicspart/customelementgraphicpart.cpp
${QET_DIR}/sources/editor/graphicspart/customelementgraphicpart.h
${QET_DIR}/sources/editor/graphicspart/customelementpart.cpp
${QET_DIR}/sources/editor/graphicspart/customelementpart.h
${QET_DIR}/sources/editor/graphicspart/partarc.cpp
${QET_DIR}/sources/editor/graphicspart/partarc.h
${QET_DIR}/sources/editor/graphicspart/partdynamictextfield.cpp
${QET_DIR}/sources/editor/graphicspart/partdynamictextfield.h
${QET_DIR}/sources/editor/graphicspart/partellipse.cpp
${QET_DIR}/sources/editor/graphicspart/partellipse.h
${QET_DIR}/sources/editor/graphicspart/partline.cpp
${QET_DIR}/sources/editor/graphicspart/partline.h
${QET_DIR}/sources/editor/graphicspart/partpolygon.cpp
${QET_DIR}/sources/editor/graphicspart/partpolygon.h
${QET_DIR}/sources/editor/graphicspart/partrectangle.cpp
${QET_DIR}/sources/editor/graphicspart/partrectangle.h
${QET_DIR}/sources/editor/graphicspart/partterminal.cpp
${QET_DIR}/sources/editor/graphicspart/partterminal.h
${QET_DIR}/sources/editor/graphicspart/parttext.cpp
${QET_DIR}/sources/editor/graphicspart/parttext.h
${QET_DIR}/sources/editor/ui/dynamictextfieldeditor.cpp
${QET_DIR}/sources/editor/ui/dynamictextfieldeditor.h
${QET_DIR}/sources/editor/ui/elementpropertieseditorwidget.cpp
${QET_DIR}/sources/editor/ui/elementpropertieseditorwidget.h
${QET_DIR}/sources/editor/ui/ellipseeditor.cpp
${QET_DIR}/sources/editor/ui/ellipseeditor.h
${QET_DIR}/sources/editor/ui/lineeditor.cpp
${QET_DIR}/sources/editor/ui/lineeditor.h
${QET_DIR}/sources/editor/ui/polygoneditor.cpp
${QET_DIR}/sources/editor/ui/polygoneditor.h
${QET_DIR}/sources/editor/ui/rectangleeditor.cpp
${QET_DIR}/sources/editor/ui/rectangleeditor.h
${QET_DIR}/sources/editor/ui/terminaleditor.cpp
${QET_DIR}/sources/editor/ui/terminaleditor.h
${QET_DIR}/sources/editor/ui/texteditor.cpp
${QET_DIR}/sources/editor/ui/texteditor.h
${QET_DIR}/sources/editor/ui/qetelementeditor.h
${QET_DIR}/sources/editor/ui/qetelementeditor.cpp
${QET_DIR}/sources/editor/UndoCommand/pastepartscommand.cpp
${QET_DIR}/sources/editor/UndoCommand/pastepartscommand.h
${QET_DIR}/sources/ElementsCollection/elementcollectionhandler.cpp
${QET_DIR}/sources/ElementsCollection/elementcollectionhandler.h
${QET_DIR}/sources/ElementsCollection/elementcollectionitem.cpp
${QET_DIR}/sources/ElementsCollection/elementcollectionitem.h
${QET_DIR}/sources/ElementsCollection/elementscollectionmodel.cpp
${QET_DIR}/sources/ElementsCollection/elementscollectionmodel.h
${QET_DIR}/sources/ElementsCollection/elementscollectionwidget.cpp
${QET_DIR}/sources/ElementsCollection/elementscollectionwidget.h
${QET_DIR}/sources/ElementsCollection/elementslocation.cpp
${QET_DIR}/sources/ElementsCollection/elementslocation.h
${QET_DIR}/sources/ElementsCollection/elementstreeview.cpp
${QET_DIR}/sources/ElementsCollection/elementstreeview.h
${QET_DIR}/sources/ElementsCollection/fileelementcollectionitem.cpp
${QET_DIR}/sources/ElementsCollection/fileelementcollectionitem.h
${QET_DIR}/sources/ElementsCollection/xmlelementcollection.cpp
${QET_DIR}/sources/ElementsCollection/xmlelementcollection.h
${QET_DIR}/sources/ElementsCollection/xmlprojectelementcollectionitem.cpp
${QET_DIR}/sources/ElementsCollection/xmlprojectelementcollectionitem.h
${QET_DIR}/sources/ElementsCollection/ui/renamedialog.cpp
${QET_DIR}/sources/ElementsCollection/ui/renamedialog.h
${QET_DIR}/sources/factory/elementfactory.cpp
${QET_DIR}/sources/factory/elementfactory.h
${QET_DIR}/sources/factory/elementpicturefactory.cpp
${QET_DIR}/sources/factory/elementpicturefactory.h
${QET_DIR}/sources/factory/propertieseditorfactory.cpp
${QET_DIR}/sources/factory/propertieseditorfactory.h
${QET_DIR}/sources/factory/qetgraphicstablefactory.cpp
${QET_DIR}/sources/factory/qetgraphicstablefactory.h
${QET_DIR}/sources/factory/ui/addtabledialog.cpp
${QET_DIR}/sources/factory/ui/addtabledialog.h
${QET_DIR}/sources/NameList/nameslist.cpp
${QET_DIR}/sources/NameList/nameslist.h
${QET_DIR}/sources/NameList/ui/namelistdialog.cpp
${QET_DIR}/sources/NameList/ui/namelistdialog.h
${QET_DIR}/sources/NameList/ui/namelistwidget.cpp
${QET_DIR}/sources/NameList/ui/namelistwidget.h
${QET_DIR}/sources/print/projectprintwindow.cpp
${QET_DIR}/sources/print/projectprintwindow.h
${QET_DIR}/sources/properties/elementdata.cpp
${QET_DIR}/sources/properties/elementdata.h
${QET_DIR}/sources/properties/propertiesinterface.cpp
${QET_DIR}/sources/properties/propertiesinterface.h
${QET_DIR}/sources/properties/reportproperties.cpp
${QET_DIR}/sources/properties/reportproperties.h
${QET_DIR}/sources/properties/terminaldata.cpp
${QET_DIR}/sources/properties/terminaldata.h
${QET_DIR}/sources/properties/xrefproperties.cpp
${QET_DIR}/sources/properties/xrefproperties.h
${QET_DIR}/sources/properties/userproperties.cpp
${QET_DIR}/sources/properties/userproperties.h
${QET_DIR}/sources/PropertiesEditor/propertieseditordialog.h
${QET_DIR}/sources/PropertiesEditor/propertieseditordockwidget.cpp
${QET_DIR}/sources/PropertiesEditor/propertieseditordockwidget.h
${QET_DIR}/sources/PropertiesEditor/propertieseditorwidget.cpp
${QET_DIR}/sources/PropertiesEditor/propertieseditorwidget.h
${QET_DIR}/sources/pugixml/pugiconfig.hpp
${QET_DIR}/sources/pugixml/pugixml.cpp
${QET_DIR}/sources/pugixml/pugixml.hpp
${QET_DIR}/sources/qetgraphicsitem/conductor.cpp
${QET_DIR}/sources/qetgraphicsitem/conductor.h
${QET_DIR}/sources/qetgraphicsitem/conductortextitem.cpp
${QET_DIR}/sources/qetgraphicsitem/conductortextitem.h
${QET_DIR}/sources/qetgraphicsitem/crossrefitem.cpp
${QET_DIR}/sources/qetgraphicsitem/crossrefitem.h
${QET_DIR}/sources/qetgraphicsitem/diagramimageitem.cpp
${QET_DIR}/sources/qetgraphicsitem/diagramimageitem.h
${QET_DIR}/sources/qetgraphicsitem/diagramtextitem.cpp
${QET_DIR}/sources/qetgraphicsitem/diagramtextitem.h
${QET_DIR}/sources/qetgraphicsitem/dynamicelementtextitem.cpp
${QET_DIR}/sources/qetgraphicsitem/dynamicelementtextitem.h
${QET_DIR}/sources/qetgraphicsitem/element.cpp
${QET_DIR}/sources/qetgraphicsitem/element.h
${QET_DIR}/sources/qetgraphicsitem/elementtextitemgroup.cpp
${QET_DIR}/sources/qetgraphicsitem/elementtextitemgroup.h
${QET_DIR}/sources/qetgraphicsitem/independenttextitem.cpp
${QET_DIR}/sources/qetgraphicsitem/independenttextitem.h
${QET_DIR}/sources/qetgraphicsitem/masterelement.cpp
${QET_DIR}/sources/qetgraphicsitem/masterelement.h
${QET_DIR}/sources/qetgraphicsitem/qetgraphicsitem.cpp
${QET_DIR}/sources/qetgraphicsitem/qetgraphicsitem.h
${QET_DIR}/sources/qetgraphicsitem/qetshapeitem.cpp
${QET_DIR}/sources/qetgraphicsitem/qetshapeitem.h
${QET_DIR}/sources/qetgraphicsitem/qgraphicsitemutility.cpp
${QET_DIR}/sources/qetgraphicsitem/qgraphicsitemutility.h
${QET_DIR}/sources/qetgraphicsitem/reportelement.cpp
${QET_DIR}/sources/qetgraphicsitem/reportelement.h
${QET_DIR}/sources/qetgraphicsitem/simpleelement.cpp
${QET_DIR}/sources/qetgraphicsitem/simpleelement.h
${QET_DIR}/sources/qetgraphicsitem/slaveelement.cpp
${QET_DIR}/sources/qetgraphicsitem/slaveelement.h
${QET_DIR}/sources/qetgraphicsitem/terminal.cpp
${QET_DIR}/sources/qetgraphicsitem/terminalelement.cpp
${QET_DIR}/sources/qetgraphicsitem/terminalelement.h
${QET_DIR}/sources/qetgraphicsitem/terminal.h
${QET_DIR}/sources/qetgraphicsitem/ViewItem/projectdbmodel.cpp
${QET_DIR}/sources/qetgraphicsitem/ViewItem/projectdbmodel.h
${QET_DIR}/sources/qetgraphicsitem/ViewItem/qetgraphicsheaderitem.cpp
${QET_DIR}/sources/qetgraphicsitem/ViewItem/qetgraphicsheaderitem.h
${QET_DIR}/sources/qetgraphicsitem/ViewItem/qetgraphicstableitem.cpp
${QET_DIR}/sources/qetgraphicsitem/ViewItem/qetgraphicstableitem.h
${QET_DIR}/sources/qetgraphicsitem/ViewItem/ui/graphicstablepropertieseditor.cpp
${QET_DIR}/sources/qetgraphicsitem/ViewItem/ui/graphicstablepropertieseditor.h
${QET_DIR}/sources/qetgraphicsitem/ViewItem/ui/projectdbmodelpropertieswidget.cpp
${QET_DIR}/sources/qetgraphicsitem/ViewItem/ui/projectdbmodelpropertieswidget.h
${QET_DIR}/sources/QetGraphicsItemModeler/qetgraphicshandleritem.cpp
${QET_DIR}/sources/QetGraphicsItemModeler/qetgraphicshandleritem.h
${QET_DIR}/sources/QetGraphicsItemModeler/qetgraphicshandlerutility.cpp
${QET_DIR}/sources/QetGraphicsItemModeler/qetgraphicshandlerutility.h
${QET_DIR}/sources/QPropertyUndoCommand/qpropertyundocommand.cpp
${QET_DIR}/sources/QPropertyUndoCommand/qpropertyundocommand.h
${QET_DIR}/sources/QWidgetAnimation/qwidgetanimation.cpp
${QET_DIR}/sources/QWidgetAnimation/qwidgetanimation.h
${QET_DIR}/sources/richtext/richtexteditor.cpp
${QET_DIR}/sources/richtext/richtexteditor_p.h
${QET_DIR}/sources/richtext/ui_addlinkdialog.h
${QET_DIR}/sources/SearchAndReplace/searchandreplaceworker.cpp
${QET_DIR}/sources/SearchAndReplace/searchandreplaceworker.h
${QET_DIR}/sources/SearchAndReplace/ui/replaceadvanceddialog.cpp
${QET_DIR}/sources/SearchAndReplace/ui/replaceadvanceddialog.h
${QET_DIR}/sources/SearchAndReplace/ui/replaceconductordialog.cpp
${QET_DIR}/sources/SearchAndReplace/ui/replaceconductordialog.h
${QET_DIR}/sources/SearchAndReplace/ui/replaceelementdialog.cpp
${QET_DIR}/sources/SearchAndReplace/ui/replaceelementdialog.h
${QET_DIR}/sources/SearchAndReplace/ui/replacefoliowidget.cpp
${QET_DIR}/sources/SearchAndReplace/ui/replacefoliowidget.h
${QET_DIR}/sources/SearchAndReplace/ui/searchandreplacewidget.cpp
${QET_DIR}/sources/SearchAndReplace/ui/searchandreplacewidget.h
${QET_DIR}/sources/titleblock/dimension.cpp
${QET_DIR}/sources/titleblock/dimension.h
${QET_DIR}/sources/titleblock/dimensionwidget.cpp
${QET_DIR}/sources/titleblock/dimensionwidget.h
${QET_DIR}/sources/titleblock/gridlayoutanimation.cpp
${QET_DIR}/sources/titleblock/gridlayoutanimation.h
${QET_DIR}/sources/titleblock/helpercell.cpp
${QET_DIR}/sources/titleblock/helpercell.h
${QET_DIR}/sources/titleblock/integrationmovetemplateshandler.cpp
${QET_DIR}/sources/titleblock/integrationmovetemplateshandler.h
${QET_DIR}/sources/titleblock/movetemplateshandler.h
${QET_DIR}/sources/titleblock/qettemplateeditor.cpp
${QET_DIR}/sources/titleblock/qettemplateeditor.h
${QET_DIR}/sources/titleblock/splittedhelpercell.cpp
${QET_DIR}/sources/titleblock/splittedhelpercell.h
${QET_DIR}/sources/titleblock/templatecellsset.cpp
${QET_DIR}/sources/titleblock/templatecellsset.h
${QET_DIR}/sources/titleblock/templatecellwidget.cpp
${QET_DIR}/sources/titleblock/templatecellwidget.h
${QET_DIR}/sources/titleblock/templatecommands.cpp
${QET_DIR}/sources/titleblock/templatecommands.h
${QET_DIR}/sources/titleblock/templatedeleter.cpp
${QET_DIR}/sources/titleblock/templatedeleter.h
${QET_DIR}/sources/titleblock/templatelocationchooser.cpp
${QET_DIR}/sources/titleblock/templatelocationchooser.h
${QET_DIR}/sources/titleblock/templatelocation.cpp
${QET_DIR}/sources/titleblock/templatelocation.h
${QET_DIR}/sources/titleblock/templatelocationsaver.cpp
${QET_DIR}/sources/titleblock/templatelocationsaver.h
${QET_DIR}/sources/titleblock/templatelogomanager.cpp
${QET_DIR}/sources/titleblock/templatelogomanager.h
${QET_DIR}/sources/titleblock/templatescollection.cpp
${QET_DIR}/sources/titleblock/templatescollection.h
${QET_DIR}/sources/titleblock/templateview.cpp
${QET_DIR}/sources/titleblock/templateview.h
${QET_DIR}/sources/titleblock/templatevisualcell.cpp
${QET_DIR}/sources/titleblock/templatevisualcell.h
${QET_DIR}/sources/ui/aboutqetdialog.cpp
${QET_DIR}/sources/ui/aboutqetdialog.h
${QET_DIR}/sources/ui/abstractelementpropertieseditorwidget.cpp
${QET_DIR}/sources/ui/abstractelementpropertieseditorwidget.h
${QET_DIR}/sources/ui/alignmenttextdialog.cpp
${QET_DIR}/sources/ui/alignmenttextdialog.h
${QET_DIR}/sources/ui/bomexportdialog.cpp
${QET_DIR}/sources/ui/bomexportdialog.h
${QET_DIR}/sources/ui/borderpropertieswidget.cpp
${QET_DIR}/sources/ui/borderpropertieswidget.h
${QET_DIR}/sources/ui/compositetexteditdialog.cpp
${QET_DIR}/sources/ui/compositetexteditdialog.h
${QET_DIR}/sources/ui/conductorpropertiesdialog.cpp
${QET_DIR}/sources/ui/conductorpropertiesdialog.h
${QET_DIR}/sources/ui/conductorpropertieswidget.cpp
${QET_DIR}/sources/ui/conductorpropertieswidget.h
${QET_DIR}/sources/ui/configsaveloaderwidget.cpp
${QET_DIR}/sources/ui/configsaveloaderwidget.h
${QET_DIR}/sources/ui/diagramcontextwidget.cpp
${QET_DIR}/sources/ui/diagramcontextwidget.h
${QET_DIR}/sources/ui/diagrampropertiesdialog.cpp
${QET_DIR}/sources/ui/diagrampropertiesdialog.h
${QET_DIR}/sources/ui/diagrampropertieseditordockwidget.cpp
${QET_DIR}/sources/ui/diagrampropertieseditordockwidget.h
${QET_DIR}/sources/ui/diagramselection.cpp
${QET_DIR}/sources/ui/diagramselection.h
${QET_DIR}/sources/ui/dialogwaiting.cpp
${QET_DIR}/sources/ui/dialogwaiting.h
${QET_DIR}/sources/ui/dynamicelementtextitemeditor.cpp
${QET_DIR}/sources/ui/dynamicelementtextitemeditor.h
${QET_DIR}/sources/ui/dynamicelementtextmodel.cpp
${QET_DIR}/sources/ui/dynamicelementtextmodel.h
${QET_DIR}/sources/ui/elementinfopartwidget.cpp
${QET_DIR}/sources/ui/elementinfopartwidget.h
${QET_DIR}/sources/ui/elementinfowidget.cpp
${QET_DIR}/sources/ui/elementinfowidget.h
${QET_DIR}/sources/ui/elementpropertieswidget.cpp
${QET_DIR}/sources/ui/elementpropertieswidget.h
${QET_DIR}/sources/ui/formulaassistantdialog.cpp
${QET_DIR}/sources/ui/formulaassistantdialog.h
${QET_DIR}/sources/ui/imagepropertieswidget.cpp
${QET_DIR}/sources/ui/imagepropertieswidget.h
${QET_DIR}/sources/ui/importelementdialog.cpp
${QET_DIR}/sources/ui/importelementdialog.h
${QET_DIR}/sources/ui/importelementtextpatterndialog.cpp
${QET_DIR}/sources/ui/importelementtextpatterndialog.h
${QET_DIR}/sources/ui/inditextpropertieswidget.cpp
${QET_DIR}/sources/ui/inditextpropertieswidget.h
${QET_DIR}/sources/ui/linksingleelementwidget.cpp
${QET_DIR}/sources/ui/linksingleelementwidget.h
${QET_DIR}/sources/ui/marginseditdialog.cpp
${QET_DIR}/sources/ui/marginseditdialog.h
${QET_DIR}/sources/ui/masterpropertieswidget.cpp
${QET_DIR}/sources/ui/masterpropertieswidget.h
${QET_DIR}/sources/ui/multipastedialog.cpp
${QET_DIR}/sources/ui/multipastedialog.h
${QET_DIR}/sources/ui/potentialselectordialog.cpp
${QET_DIR}/sources/ui/potentialselectordialog.h
${QET_DIR}/sources/ui/projectpropertiesdialog.cpp
${QET_DIR}/sources/ui/projectpropertiesdialog.h
${QET_DIR}/sources/ui/reportpropertiewidget.cpp
${QET_DIR}/sources/ui/reportpropertiewidget.h
${QET_DIR}/sources/ui/shapegraphicsitempropertieswidget.cpp
${QET_DIR}/sources/ui/shapegraphicsitempropertieswidget.h
${QET_DIR}/sources/ui/titleblockpropertieswidget.cpp
${QET_DIR}/sources/ui/titleblockpropertieswidget.h
${QET_DIR}/sources/ui/xrefpropertieswidget.cpp
${QET_DIR}/sources/ui/xrefpropertieswidget.h
${QET_DIR}/sources/ui/configpage/generalconfigurationpage.cpp
${QET_DIR}/sources/ui/configpage/generalconfigurationpage.h
${QET_DIR}/sources/undocommand/addelementtextcommand.cpp
${QET_DIR}/sources/undocommand/addelementtextcommand.h
${QET_DIR}/sources/undocommand/addgraphicsobjectcommand.cpp
${QET_DIR}/sources/undocommand/addgraphicsobjectcommand.h
${QET_DIR}/sources/undocommand/changeelementinformationcommand.cpp
${QET_DIR}/sources/undocommand/changeelementinformationcommand.h
${QET_DIR}/sources/undocommand/changetitleblockcommand.cpp
${QET_DIR}/sources/undocommand/changetitleblockcommand.h
${QET_DIR}/sources/undocommand/deleteqgraphicsitemcommand.cpp
${QET_DIR}/sources/undocommand/deleteqgraphicsitemcommand.h
${QET_DIR}/sources/undocommand/itemmodelcommand.cpp
${QET_DIR}/sources/undocommand/itemmodelcommand.h
${QET_DIR}/sources/undocommand/linkelementcommand.cpp
${QET_DIR}/sources/undocommand/linkelementcommand.h
${QET_DIR}/sources/undocommand/rotateselectioncommand.cpp
${QET_DIR}/sources/undocommand/rotateselectioncommand.h
${QET_DIR}/sources/undocommand/rotatetextscommand.cpp
${QET_DIR}/sources/undocommand/rotatetextscommand.h
${QET_DIR}/sources/utils/conductorcreator.cpp
${QET_DIR}/sources/utils/conductorcreator.h
${QET_DIR}/sources/utils/macosxopenevent.cpp
${QET_DIR}/sources/utils/macosxopenevent.h
${QET_DIR}/sources/utils/qetutils.cpp
${QET_DIR}/sources/utils/qetutils.h
)
set(TS_FILES
${QET_DIR}/lang/qet_ca.ts
${QET_DIR}/lang/qet_de.ts
${QET_DIR}/lang/qet_es.ts
${QET_DIR}/lang/qet_fr.ts
${QET_DIR}/lang/qet_it.ts
${QET_DIR}/lang/qet_mn.ts
${QET_DIR}/lang/qet_pt_br.ts
${QET_DIR}/lang/qet_ru.ts
${QET_DIR}/lang/qet_sr.ts
${QET_DIR}/lang/qet_zh.ts
${QET_DIR}/lang/qet_be.ts
${QET_DIR}/lang/qet_da.ts
${QET_DIR}/lang/qet_en.ts
${QET_DIR}/lang/qet_fi.ts
${QET_DIR}/lang/qet_hu.ts
${QET_DIR}/lang/qet_nl.ts
${QET_DIR}/lang/qet_pl.ts
${QET_DIR}/lang/qet_ro.ts
${QET_DIR}/lang/qet_sk.ts
${QET_DIR}/lang/qet_ar.ts
${QET_DIR}/lang/qet_cs.ts
${QET_DIR}/lang/qet_el.ts
${QET_DIR}/lang/qet_hr.ts
${QET_DIR}/lang/qet_ja.ts
${QET_DIR}/lang/qet_nb.ts
${QET_DIR}/lang/qet_no.ts
${QET_DIR}/lang/qet_pt.ts
${QET_DIR}/lang/qet_sl.ts
${QET_DIR}/lang/qet_tr.ts
)

29
cmake/start_options.cmake Normal file
View File

@@ -0,0 +1,29 @@
# Copyright 2006 The QElectroTech Team
# This file is part of QElectroTech.
#
# QElectroTech is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# QElectroTech is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with QElectroTech. If not, see <http://www.gnu.org/licenses/>.
message(" - start_options")
# Comment the line below to deactivate the --common-elements-dir option
add_definitions(-DQET_ALLOW_OVERRIDE_CED_OPTION)
# Comment the line below to disable the --common-tbt-dir option
add_definitions(-DQET_ALLOW_OVERRIDE_CTBTD_OPTION)
# Comment the line below to deactivate the --config-dir option
add_definitions(-DQET_ALLOW_OVERRIDE_CD_OPTION)
#comment the line below to disable the project database export
#add_definitions(-DQET_EXPORT_PROJECT_DB) #error Todo

1
dev_doc/ID_of_QUndoCommand.txt Executable file → Normal file
View File

@@ -3,4 +3,5 @@ LinkElementCommand = 2
ItemResizerCommand = 3 ItemResizerCommand = 3
ChangeShapeStyleCommand = 4 ChangeShapeStyleCommand = 4
QetShapeGeometryCommand = 5 QetShapeGeometryCommand = 5
AlignmentTextsGroupCommand = 6
QPropertyUndoCommand = 10 000 QPropertyUndoCommand = 10 000

View File

@@ -1,15 +1,16 @@
Type = UserType + ??? Type = UserType + ???
###DIAGRAM EDITOR### ###DIAGRAM EDITOR###
Element + 1000 Element + 1000
Conductor + 1001 Conductor + 1001
Terminal + 1002 Terminal + 1002
ElementTextItem + 1003 ElementTextItem + 1003
DiagramTextItem + 1004 DiagramTextItem + 1004
IndependentTextItem + 1005 IndependentTextItem + 1005
ConductorTextItem + 1006 ConductorTextItem + 1006
DiagramImageItem + 1007 DiagramImageItem + 1007
QetShapItem + 1008 QetShapItem + 1008
crossRefItem + 1009 crossRefItem + 1009
DynamiqueElementTextItem + 1010
ElementPrimitiveDecorator + 2200 ElementPrimitiveDecorator + 2200
###ELEMENT EDITOR### ###ELEMENT EDITOR###
@@ -21,3 +22,11 @@ part terminal + 1106
part text + 1107 part text + 1107
part text field + 1108 part text field + 1108
part rectangle + 1109 part rectangle + 1109
part dynamic text field + 1110
###QetGraphicsHandlerItem###
QetGraphicsHandlerItem + 1200
###VIEW ITEMS###
QetGraphicsTableItem + 1300
QetGraphicsHeaderItem + 1301

View File

@@ -1,24 +1,28 @@
<definition width="70" version="0.3" hotspot_x="49" hotspot_y="15" height="30" type="element" ic="true" orientation="dyyy" <definition height="20" version="0.80" width="30" hotspot_x="8" link_type="previous_report" hotspot_y="10" type="element">
link_type="previous_report"> <uuid uuid="{994d5b97-25b5-49aa-93ae-c1857ab866ea}"/>
<uuid uuid="{F549BEFB-F0CF-44ED-A948-F6F796BFB421}"/><names> <names>
<name lang="ru">Предыдущая страница</name>
<name lang="ar">الصفحة السابقة</name> <name lang="ar">الصفحة السابقة</name>
<name lang="ru">Предыдущая страница</name>
<name lang="es">folio anterior</name>
<name lang="it">Foglio precedente</name>
<name lang="de">Vorherige Folie</name> <name lang="de">Vorherige Folie</name>
<name lang="el">Προηγούμενη σελίδα</name> <name lang="el">Προηγούμενη σελίδα</name>
<name lang="en">Coming arrow</name> <name lang="en">Coming arrow</name>
<name lang="it">Foglio precedente</name> <name lang="cs">Předchozí list</name>
<name lang="fr">Folio précédent</name> <name lang="fr">Folio précédent</name>
<name lang="pl">Wejście adresowe</name> <name lang="pl">Wejście adresowe</name>
<name lang="es">folio anterior</name> <name lang="hu">Beérkező hivatkozás</name>
<name lang="cs">Předchozí list</name>
<name lang="nl">Referentie Vorig</name> <name lang="nl">Referentie Vorig</name>
</names> </names>
<informations>Author: The QElectroTech team <informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations> License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description> <description>
<polygon x4="-1" antialias="true" style="line-style:normal;line-weight:normal;filling:black;color:black" closed="false" y1="-4" x1="-1" y2="4" x2="-1" y3="0" x3="9" y4="-4"/> <polygon x2="-1" y2="4" y4="-4" x1="-1" x3="9" y3="0" closed="false" style="line-style:normal;line-weight:normal;filling:black;color:black" y1="-4" x4="-1" antialias="true"/>
<line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="0" x1="9" y2="0" x2="12"/> <line length2="1.5" x2="12" end2="none" y2="0" length1="1.5" x1="9" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="0" end1="none" antialias="false"/>
<input x="-44" y="0" size="9" rotate="true" text="/"/> <dynamic_text x="-44" rotation="0" uuid="{8ec41ce2-36d6-4fe3-b299-c8a48cb2182c}" Halignment="AlignLeft" font="Sans Serif,9,-1,5,50,0,0,0,0,0" text_from="ElementInfo" y="-11.5" Valignment="AlignTop" z="3" frame="false" text_width="-1">
<terminal x="13" y="0" nameHidden="0" number="" name="" orientation="e"/> <text></text>
<info_name>label</info_name>
</dynamic_text>
<terminal x="13" uuid="{d7fd0bec-9f05-4651-a50b-29d7ffabeb41}" name="" y="0" orientation="e"/>
</description> </description>
</definition> </definition>

View File

@@ -1,24 +1,28 @@
<definition width="40" version="0.3" hotspot_x="18" hotspot_y="15" height="30" type="element" ic="true" orientation="dyyy" <definition hotspot_x="21" hotspot_y="10" version="0.80" type="element" height="20" link_type="next_report" width="30">
link_type="next_report"> <uuid uuid="{2e596a05-ef45-4895-b826-942d28c2d038}"/>
<uuid uuid="{717352A1-F3C7-49C7-9A06-51620AB5CA00}"/><names> <names>
<name lang="ru">Следующая страница</name>
<name lang="ar">الصفحة التالية</name>
<name lang="de">Nächste Folie</name> <name lang="de">Nächste Folie</name>
<name lang="ar">الصفحة التالية</name>
<name lang="fr">Folio suivant</name>
<name lang="hu">Elmenő hivatkozás</name>
<name lang="it">Foglio successivo</name>
<name lang="el">Επόμενη σελίδα</name> <name lang="el">Επόμενη σελίδα</name>
<name lang="en">Going arrow</name> <name lang="en">Going arrow</name>
<name lang="it">Foglio successivo</name>
<name lang="fr">Folio suivant</name>
<name lang="pl">Wyjście adresowe</name>
<name lang="es">Folio siguiente</name> <name lang="es">Folio siguiente</name>
<name lang="cs">Další list</name>
<name lang="nl">Referentie volgend</name> <name lang="nl">Referentie volgend</name>
<name lang="pl">Wyjście adresowe</name>
<name lang="ru">Следующая страница</name>
<name lang="cs">Další list</name>
</names> </names>
<informations>Author: The QElectroTech team <informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations> License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description> <description>
<polygon x4="-9" antialias="true" style="line-style:normal;line-weight:normal;filling:black;color:black" closed="false" y1="-4" x1="-9" y2="4" x2="-9" y3="0" x3="2" y4="-4"/> <polygon y3="0" y2="4" x4="-9" x3="2" x1="-9" x2="-9" y4="-4" style="line-style:normal;line-weight:normal;filling:black;color:black" y1="-4" closed="false" antialias="true"/>
<line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="0" x1="-9" y2="0" x2="-12"/> <line y2="0" x1="-9" x2="-12" length1="1.5" end2="none" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="0" end1="none" length2="1.5" antialias="false"/>
<input x="6" y="0" size="9" rotate="true" text="/"/> <dynamic_text Valignment="AlignTop" Halignment="AlignLeft" rotation="0" font="Sans Serif,9,-1,5,50,0,0,0,0,0" uuid="{93888a84-3ffd-438d-acef-5396acba0750}" text_width="-1" x="6" frame="false" z="3" y="-11.5" text_from="ElementInfo">
<terminal x="-13" y="0" nameHidden="0" number="" name="" orientation="w"/> <text></text>
<info_name>label</info_name>
</dynamic_text>
<terminal uuid="{975add6f-4ba5-44af-a4c0-e1f1c2024601}" name="" x="-13" orientation="w" y="0"/>
</description> </description>
</definition> </definition>

View File

@@ -2,14 +2,18 @@
<names> <names>
<name lang="ru">Точки разрыва</name> <name lang="ru">Точки разрыва</name>
<name lang="ar">إحالات</name> <name lang="ar">إحالات</name>
<name lang="cs">Výstupy</name> <name lang="cs">Odkazování listů</name>
<name lang="de">Folienverweise</name> <name lang="de">Folienverweise</name>
<name lang="el">Αναφορές σελίδας</name> <name lang="el">Αναφορές σελίδας</name>
<name lang="en">Folio referencing</name> <name lang="en">Folio referencing</name>
<name lang="fr">Reports de folio</name> <name lang="fr">Reports de folio</name>
<name lang="it">Riferimenti</name> <name lang="it">Riferimenti</name>
<name lang="pl">Odsyłacze</name> <name lang="pl">Odsyłacze</name>
<name lang="pt_br">Referências</name>
<name lang="es">Referencias</name> <name lang="es">Referencias</name>
<name lang="nl">Referenties</name> <name lang="nl">Referenties</name>
<name lang="da">Ark henvisninger</name>
<name lang="ja">フォリオ参照</name>
<name lang="hu">Tervlap hivatkozások</name>
</names> </names>
</qet-directory> </qet-directory>

View File

@@ -0,0 +1,38 @@
<definition type="element" height="80" hotspot_y="40" version="0.70" width="50" hotspot_x="23" link_type="simple">
<uuid uuid="{65b9e889-c2eb-4d85-aa9e-c1dff55678f5}"/>
<names>
<name lang="en">Three-pole source + PEN</name>
<name lang="el">Τριφασικό + PEN</name>
<name lang="es">Fuente tripolar + PEN</name>
<name lang="nl">driefasen + aardenul</name>
<name lang="pl">Linia trójfazowa (PEN)</name>
<name lang="it">Sorgente tripolare + PEN</name>
<name lang="de">Drehstrom + PEN</name>
<name lang="ru">Трёхполюсный + PEN</name>
<name lang="fr">Source tripolaire + PEN</name>
<name lang="ar">مصدر ثلاثي القطبيّة + PEN</name>
<name lang="cs">Přípojnice 3f+PEN pravá</name>
<name lang="hu">3F + PEN</name>
</names>
<elementInformations/>
<informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description>
<dynamic_text z="1" Valignment="AlignTop" x="-7" text_from="ElementInfo" font="Sans Serif,9,-1,5,50,0,0,0,0,0" rotation="0" uuid="{7c68cf51-b979-4e89-97b2-a93b5ad61f95}" y="-60.45" Halignment="AlignLeft" frame="false" text_width="-1">
<text></text>
<info_name>label</info_name>
</dynamic_text>
<text x="7" font="Sans Serif,5,-1,5,50,0,0,0,0,0" rotation="0" y="33" text="PEN" color="#000000"/>
<text x="7" font="Sans Serif,5,-1,5,50,0,0,0,0,0" rotation="0" y="13" text="L3" color="#000000"/>
<text x="7" font="Sans Serif,5,-1,5,50,0,0,0,0,0" rotation="0" y="-7" text="L2" color="#000000"/>
<text x="7" font="Sans Serif,5,-1,5,50,0,0,0,0,0" rotation="0" y="-27" text="L1" color="#000000"/>
<line style="line-style:normal;line-weight:normal;filling:none;color:black" end2="none" x1="-15" y2="-30" end1="none" y1="-30" length1="1.5" length2="1.5" antialias="false" x2="-5"/>
<line style="line-style:normal;line-weight:normal;filling:none;color:black" end2="none" x1="-15" y2="-10" end1="none" y1="-10" length1="1.5" length2="1.5" antialias="false" x2="-5"/>
<line style="line-style:normal;line-weight:normal;filling:none;color:black" end2="none" x1="-15" y2="10" end1="none" y1="10" length1="1.5" length2="1.5" antialias="false" x2="-5"/>
<line style="line-style:normal;line-weight:normal;filling:none;color:black" end2="none" x1="-14" y2="30" end1="none" y1="30" length1="1.5" length2="1.5" antialias="false" x2="-5"/>
<terminal orientation="w" x="-15" y="-30"/>
<terminal orientation="w" x="-15" y="-10"/>
<terminal orientation="w" x="-15" y="30"/>
<terminal orientation="w" x="-15" y="10"/>
</description>
</definition>

View File

@@ -0,0 +1,41 @@
<definition type="element" height="100" hotspot_y="40" version="0.70" width="40" hotspot_x="20" link_type="simple">
<uuid uuid="{b4b70d3d-8784-4323-b17b-d8ff3677cdc1}"/>
<names>
<name lang="en">Three-pole source + N + PE</name>
<name lang="el">Τριφασικό + PEN</name>
<name lang="es">Fuente tripolar + PEN</name>
<name lang="nl">driefasen + aardenul</name>
<name lang="pl">Linia trójfazowa (PEN)</name>
<name lang="it">Sorgente tripolare + PEN</name>
<name lang="de">Drehstrom + PEN</name>
<name lang="ru">Трёхполюсный + PEN</name>
<name lang="fr">Source tripolaire + PEN</name>
<name lang="ar">مصدر ثلاثي القطبيّة + PEN</name>
<name lang="cs">Přípojnice 3f+N+PE pravá</name>
<name lang="hu">3F + N + PE</name>
</names>
<elementInformations/>
<informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description>
<dynamic_text z="1" Valignment="AlignTop" x="-7" text_from="ElementInfo" font="Sans Serif,9,-1,5,50,0,0,0,0,0" rotation="0" uuid="{1955f25e-b33b-4106-8b36-46862006122c}" y="-60.45" Halignment="AlignLeft" frame="false" text_width="-1">
<text></text>
<info_name>label</info_name>
</dynamic_text>
<text x="7" font="Sans Serif,5,-1,5,50,0,0,0,0,0" rotation="0" y="53" text="PE" color="#000000"/>
<text x="7" font="Sans Serif,5,-1,5,50,0,0,0,0,0" rotation="0" y="33" text="N" color="#000000"/>
<line style="line-style:normal;line-weight:normal;filling:none;color:black" end2="none" x1="-15" y2="50" end1="none" y1="50" length1="1.5" length2="1.5" antialias="false" x2="-5"/>
<text x="7" font="Sans Serif,5,-1,5,50,0,0,0,0,0" rotation="0" y="13" text="L3" color="#000000"/>
<text x="7" font="Sans Serif,5,-1,5,50,0,0,0,0,0" rotation="0" y="-7" text="L2" color="#000000"/>
<text x="7" font="Sans Serif,5,-1,5,50,0,0,0,0,0" rotation="0" y="-27" text="L1" color="#000000"/>
<line style="line-style:normal;line-weight:normal;filling:none;color:black" end2="none" x1="-15" y2="-30" end1="none" y1="-30" length1="1.5" length2="1.5" antialias="false" x2="-5"/>
<line style="line-style:normal;line-weight:normal;filling:none;color:black" end2="none" x1="-15" y2="-10" end1="none" y1="-10" length1="1.5" length2="1.5" antialias="false" x2="-5"/>
<line style="line-style:normal;line-weight:normal;filling:none;color:black" end2="none" x1="-15" y2="10" end1="none" y1="10" length1="1.5" length2="1.5" antialias="false" x2="-5"/>
<line style="line-style:normal;line-weight:normal;filling:none;color:black" end2="none" x1="-15" y2="30" end1="none" y1="30" length1="1.5" length2="1.5" antialias="false" x2="-5"/>
<terminal orientation="w" x="-15" y="50"/>
<terminal orientation="w" x="-15" y="-30"/>
<terminal orientation="w" x="-15" y="-10"/>
<terminal orientation="w" x="-15" y="30"/>
<terminal orientation="w" x="-15" y="10"/>
</description>
</definition>

View File

@@ -1,26 +1,43 @@
<definition width="30" link_type="simple" version="0.5" hotspot_x="16" orientation="dyyy" height="50" hotspot_y="29" type="element"> <definition height="50" width="30" link_type="terminal" hotspot_x="16" version="0.80" type="element" hotspot_y="29">
<uuid uuid="{75d4e5ef-6080-4118-9eab-afb53220b9ef}"/> <uuid uuid="{a98ac40d-9055-4b9b-88ab-cffe6b08ed37}"/>
<names> <names>
<name lang="ro">Masă</name>
<name lang="pt">Massa</name> <name lang="pt">Massa</name>
<name lang="es">Masa</name> <name lang="cs">Kostra</name>
<name lang="it">Massa</name>
<name lang="nl">Massa</name> <name lang="nl">Massa</name>
<name lang="el">Γείωση</name> <name lang="el">Γείωση</name>
<name lang="ru">Шасси</name>
<name lang="de">Masse</name> <name lang="de">Masse</name>
<name lang="cs">Kostra</name>
<name lang="pl">Masa</name>
<name lang="ro">Masă</name>
<name lang="it">Massa</name>
<name lang="en">Ground</name> <name lang="en">Ground</name>
<name lang="pl">Masa</name>
<name lang="es">Masa</name>
<name lang="ar">هيكل معدني</name> <name lang="ar">هيكل معدني</name>
<name lang="fr">Masse</name> <name lang="fr">Masse</name>
<name lang="ru">Шасси</name> <name lang="hu">Test</name>
</names> </names>
<elementInformations>
<elementInformation name="comment" show="1"></elementInformation>
<elementInformation name="machine_manufacturer_reference" show="1"></elementInformation>
<elementInformation name="manufacturer_reference" show="1"></elementInformation>
<elementInformation name="description" show="1"></elementInformation>
<elementInformation name="manufacturer" show="1"></elementInformation>
<elementInformation name="designation" show="1"></elementInformation>
<elementInformation name="quantity" show="1"></elementInformation>
<elementInformation name="unity" show="1"></elementInformation>
<elementInformation name="supplier" show="1"></elementInformation>
<elementInformation name="plant" show="1"></elementInformation>
<elementInformation name="label" show="1"></elementInformation>
</elementInformations>
<informations>titus <informations>titus
titus0818@yahoo.com</informations> titus0818@yahoo.com</informations>
<description> <description>
<line antialias="false" length1="1.5" x2="0" end2="none" x1="0" end1="none" y2="13" length2="1.5" style="line-style:normal;line-weight:hight;filling:none;color:black" y1="-16"/> <line y1="-16" x1="0" style="line-style:normal;line-weight:hight;filling:none;color:black" end2="none" y2="13" length2="1.5" length1="1.5" x2="0" end1="none" antialias="false"/>
<line antialias="false" length1="1.5" x2="12.62" end2="none" x1="-13.6493" end1="none" y2="14" length2="1.5" style="line-style:normal;line-weight:hight;filling:none;color:black" y1="14"/> <line y1="14" x1="-13.6493" style="line-style:normal;line-weight:hight;filling:none;color:black" end2="none" y2="14" length2="1.5" length1="1.5" x2="12.62" end1="none" antialias="false"/>
<input x="8" y="2" tagg="label" size="9" rotate="true" text="_"/> <dynamic_text uuid="{7f02ce13-533d-4501-980d-6cb67bd1110d}" Halignment="AlignLeft" frame="false" x="8" Valignment="AlignTop" text_from="ElementInfo" y="-9" font="Sans Serif,9,-1,5,50,0,0,0,0,0" z="3" rotation="0" text_width="-1">
<text></text>
<info_name>label</info_name>
</dynamic_text>
<terminal x="0" y="-20" orientation="n"/> <terminal x="0" y="-20" orientation="n"/>
</description> </description>
</definition> </definition>

View File

@@ -1,4 +1,4 @@
<definition width="20" link_type="simple" version="0.5" hotspot_x="9" orientation="dyyy" height="30" hotspot_y="20" type="element"> <definition width="20" link_type="simple" version="0.5" hotspot_x="9" height="30" hotspot_y="20" type="element">
<uuid uuid="{5983fe6f-de69-4368-a387-a6ce3b9c2951}"/> <uuid uuid="{5983fe6f-de69-4368-a387-a6ce3b9c2951}"/>
<names> <names>
<name lang="pt">Massa</name> <name lang="pt">Massa</name>
@@ -13,6 +13,7 @@
<name lang="en">Chassis</name> <name lang="en">Chassis</name>
<name lang="fr">Masse</name> <name lang="fr">Masse</name>
<name lang="ru">Шасси</name> <name lang="ru">Шасси</name>
<name lang="hu">Vázszerkezet</name>
</names> </names>
<informations>Author: The QElectroTech team <informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations> License: see http://qelectrotech.org/wiki/doc/elements_license</informations>

View File

@@ -1,14 +1,18 @@
<qet-directory> <qet-directory>
<names> <names>
<name lang="ru">Подвод питания, сеть</name> <name lang="ru">Подвод питания, сеть</name>
<name lang="en">Network supplies</name> <name lang="en">Network sources</name>
<name lang="fr">Sources réseau</name> <name lang="fr">Sources réseau</name>
<name lang="it">Alimentazione da rete</name> <name lang="it">Alimentazione da rete</name>
<name lang="pl">Sieć elektroenergetyczna</name> <name lang="pl">Sieć elektroenergetyczna</name>
<name lang="pt_br">Alimentação</name>
<name lang="de">Netzquellen</name> <name lang="de">Netzquellen</name>
<name lang="el">Παροχές δικτύου</name> <name lang="el">Παροχές δικτύου</name>
<name lang="nl">Netwerk voedingen</name> <name lang="nl">Netvoedingen</name>
<name lang="cs">Síťové zdroje</name> <name lang="cs">Napájení</name>
<name lang="es">Fuentes de red</name> <name lang="es">Fuentes de red</name>
<name lang="da">Netværkskilder</name>
<name lang="ja">電源網</name>
<name lang="hu">Hálózati források</name>
</names> </names>
</qet-directory> </qet-directory>

View File

@@ -1,17 +1,18 @@
<definition width="30" link_type="simple" version="0.5" hotspot_x="15" orientation="dyyy" height="60" hotspot_y="30" type="element"> <definition width="30" link_type="simple" version="0.5" hotspot_x="15" height="60" hotspot_y="30" type="element">
<uuid uuid="{35f2834a-308b-4e79-bc2a-1c00486b24e7}"/> <uuid uuid="{35f2834a-308b-4e79-bc2a-1c00486b24e7}"/>
<names> <names>
<name lang="es">Fuente unipolo + PE +N</name> <name lang="es">Fuente unipolo + PE +N</name>
<name lang="nl">1 fase + aarde + nul</name> <name lang="nl">1 fase + aarde + nul</name>
<name lang="el">Μονοφασικό +N +PE</name> <name lang="el">Μονοφασικό +N +PE</name>
<name lang="de">Wechselstrom + PE +N</name> <name lang="de">Wechselstrom + PE +N</name>
<name lang="cs">1 fáze + PE +N</name> <name lang="cs">Přípojnice 1f+N+PE</name>
<name lang="pl">Linia jednofazowa (trójprzewodowa)</name> <name lang="pl">Linia jednofazowa (trójprzewodowa)</name>
<name lang="it">Sorgente unipolare + PE +N</name> <name lang="it">Sorgente unipolare + PE +N</name>
<name lang="ar">مصدر وحيد القطبية + أرضي PE + محايد N</name> <name lang="ar">مصدر وحيد القطبية + أرضي PE + محايد N</name>
<name lang="en">Single-pole source + PE +N</name> <name lang="en">Single-pole source + PE +N</name>
<name lang="fr">Source unipolaire + PE +N</name> <name lang="fr">Source unipolaire + PE +N</name>
<name lang="ru">Однополюсный + PE +N</name> <name lang="ru">Однополюсный + PE +N</name>
<name lang="hu">F + N + PE</name>
</names> </names>
<informations>Author: The QElectroTech team <informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations> License: see http://qelectrotech.org/wiki/doc/elements_license</informations>

View File

@@ -1,17 +1,18 @@
<definition width="40" link_type="simple" version="0.5" hotspot_x="22" orientation="dyyy" height="40" hotspot_y="20" type="element"> <definition width="40" link_type="simple" version="0.5" hotspot_x="22" height="40" hotspot_y="20" type="element">
<uuid uuid="{fd042050-e73b-4f95-b4c1-834aa403b07a}"/> <uuid uuid="{fd042050-e73b-4f95-b4c1-834aa403b07a}"/>
<names> <names>
<name lang="es">Fuente unipolo + PEN</name> <name lang="es">Fuente unipolo + PEN</name>
<name lang="nl">1 fase + aardenul</name> <name lang="nl">1 fase + aardenul</name>
<name lang="el">Μονοφασικό +PEN</name> <name lang="el">Μονοφασικό +PEN</name>
<name lang="de">Wechselstrom + PEN</name> <name lang="de">Wechselstrom + PEN</name>
<name lang="cs">1 fáze + PEN</name> <name lang="cs">Přípojnice 1f+PEN</name>
<name lang="pl">Linia jednofazowa (TN-C)</name> <name lang="pl">Linia jednofazowa (TN-C)</name>
<name lang="it">Sorgente unipolare + PEN</name> <name lang="it">Sorgente unipolare + PEN</name>
<name lang="ar">مصدر وحيد القطبية +PEN</name> <name lang="ar">مصدر وحيد القطبية +PEN</name>
<name lang="en">Single-pole source +PEN</name> <name lang="en">Single-pole source +PEN</name>
<name lang="fr">Source unipolaire + PEN</name> <name lang="fr">Source unipolaire + PEN</name>
<name lang="ru">Однополюсный + PEN</name> <name lang="ru">Однополюсный + PEN</name>
<name lang="hu">F + PEN</name>
</names> </names>
<informations>Author: The QElectroTech team <informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations> License: see http://qelectrotech.org/wiki/doc/elements_license</informations>

View File

@@ -1,4 +1,4 @@
<definition width="30" link_type="simple" version="0.5" hotspot_x="15" orientation="dyyy" height="40" hotspot_y="20" type="element"> <definition width="30" link_type="simple" version="0.5" hotspot_x="15" height="40" hotspot_y="20" type="element">
<uuid uuid="{457a0c01-871c-40fd-83d7-14033333fb95}"/> <uuid uuid="{457a0c01-871c-40fd-83d7-14033333fb95}"/>
<names> <names>
<name lang="pt">Fonte unipolar + neutro</name> <name lang="pt">Fonte unipolar + neutro</name>
@@ -6,15 +6,16 @@
<name lang="nl">Wisselspanning L + nul N</name> <name lang="nl">Wisselspanning L + nul N</name>
<name lang="el">Μονοφασικό + Ουδέτερος</name> <name lang="el">Μονοφασικό + Ουδέτερος</name>
<name lang="de">Wechselstrom L + N</name> <name lang="de">Wechselstrom L + N</name>
<name lang="cs">Jednopólový zdroj + nulový</name> <name lang="cs">Přípojnice 1f+N</name>
<name lang="pl">Linia jednofazowa (dwuprzewodowa)</name> <name lang="pl">Linia jednofazowa (dwuprzewodowa)</name>
<name lang="it">Sorgente unipolare + neutro</name> <name lang="it">Sorgente unipolare + neutro</name>
<name lang="ar">مصدر وحيد القطبية + محايد N</name> <name lang="ar">مصدر وحيد القطبية + محايد N</name>
<name lang="en">Single-pole source + neutral</name> <name lang="en">Single-pole source + neutral</name>
<name lang="fr">Source unipolaire + neutre</name> <name lang="fr">Source unipolaire + neutre</name>
<name lang="ru">Однополюсный + нейтраль</name> <name lang="ru">Однополюсный + нейтраль</name>
<name lang="hu">F + N</name>
</names> </names>
<informations>Author: The QElectroTech team&#xd; <informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations> License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description> <description>
<input x="-5" y="-25.45" tagg="label" size="9" rotate="true" text="_"/> <input x="-5" y="-25.45" tagg="label" size="9" rotate="true" text="_"/>

View File

@@ -1,4 +1,4 @@
<definition width="30" link_type="simple" version="0.5" hotspot_x="15" orientation="dyyy" height="60" hotspot_y="30" type="element"> <definition width="30" link_type="simple" version="0.5" hotspot_x="15" height="60" hotspot_y="30" type="element">
<uuid uuid="{03b9e482-cb45-4bee-8030-96b93624fc60}"/> <uuid uuid="{03b9e482-cb45-4bee-8030-96b93624fc60}"/>
<names> <names>
<name lang="pt">Fonte tripolar</name> <name lang="pt">Fonte tripolar</name>
@@ -6,15 +6,16 @@
<name lang="nl">3fasen</name> <name lang="nl">3fasen</name>
<name lang="el">Τριφασικό</name> <name lang="el">Τριφασικό</name>
<name lang="de">Drehstrom</name> <name lang="de">Drehstrom</name>
<name lang="cs">Třípólový zdroj</name> <name lang="cs">Přípojnice 3f</name>
<name lang="pl">Linia trójfazowa (trójprzewodowa)</name> <name lang="pl">Linia trójfazowa (trójprzewodowa)</name>
<name lang="it">Sorgente tripolare</name> <name lang="it">Sorgente tripolare</name>
<name lang="ar">مصدر ثلاثي القطبيّة</name> <name lang="ar">مصدر ثلاثي القطبيّة</name>
<name lang="en">Three-pole source</name> <name lang="en">Three-pole source</name>
<name lang="fr">Source tripolaire</name> <name lang="fr">Source tripolaire</name>
<name lang="ru">Трёхполюсный</name> <name lang="ru">Трёхполюсный</name>
<name lang="hu">3F</name>
</names> </names>
<informations>Author: The QElectroTech team&#xd; <informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations> License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description> <description>
<input x="-2" y="-34.45" tagg="label" size="9" rotate="true" text="_"/> <input x="-2" y="-34.45" tagg="label" size="9" rotate="true" text="_"/>

View File

@@ -1,17 +1,18 @@
<definition width="30" link_type="simple" version="0.5" hotspot_x="15" orientation="dyyy" height="100" hotspot_y="50" type="element"> <definition width="30" link_type="simple" version="0.5" hotspot_x="15" height="100" hotspot_y="50" type="element">
<uuid uuid="{0e017749-6c0f-44c0-8726-6804be8bbee7}"/> <uuid uuid="{0e017749-6c0f-44c0-8726-6804be8bbee7}"/>
<names> <names>
<name lang="es">Fuente tripolar + PE +N</name> <name lang="es">Fuente tripolar + PE +N</name>
<name lang="nl">driefase + aarde + nul</name> <name lang="nl">driefase + aarde + nul</name>
<name lang="el">Τριφασικό +N +PE</name> <name lang="el">Τριφασικό +N +PE</name>
<name lang="de">Drehstrom + PE +N</name> <name lang="de">Drehstrom + PE +N</name>
<name lang="cs">3 fáze + PE +N</name> <name lang="cs">Přípojnice 3f+N+PE</name>
<name lang="pl">Linia trójfazowa (pięcioprzewodowa)</name> <name lang="pl">Linia trójfazowa (pięcioprzewodowa)</name>
<name lang="it">Sorgente tripolare +PE + N</name> <name lang="it">Sorgente tripolare +PE + N</name>
<name lang="ar">مصدر ثلاثي القطبية + PE + N</name> <name lang="ar">مصدر ثلاثي القطبية + PE + N</name>
<name lang="en">Three-pole source + PE +N</name> <name lang="en">Three-pole source + PE +N</name>
<name lang="fr">Source tripolaire + PE +N</name> <name lang="fr">Source tripolaire + PE +N</name>
<name lang="ru">Трёхполюсный + PE +N</name> <name lang="ru">Трёхполюсный + PE +N</name>
<name lang="hu">3F + N + PE</name>
</names> </names>
<informations>Author: The QElectroTech team <informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations> License: see http://qelectrotech.org/wiki/doc/elements_license</informations>

View File

@@ -1,17 +1,18 @@
<definition width="40" link_type="simple" version="0.5" hotspot_x="23" orientation="dyyy" height="80" hotspot_y="41" type="element"> <definition width="40" link_type="simple" version="0.5" hotspot_x="23" height="80" hotspot_y="41" type="element">
<uuid uuid="{c0913e95-3b3c-4dc2-a74d-bc73ded78c32}"/> <uuid uuid="{c0913e95-3b3c-4dc2-a74d-bc73ded78c32}"/>
<names> <names>
<name lang="es">Fuente tripolar + PEN</name> <name lang="es">Fuente tripolar + PEN</name>
<name lang="nl">driefasen + aardenul</name> <name lang="nl">driefasen + aardenul</name>
<name lang="el">Τριφασικό + PEN</name> <name lang="el">Τριφασικό + PEN</name>
<name lang="de">Drehstrom + PEN</name> <name lang="de">Drehstrom + PEN</name>
<name lang="cs">3 fáze + PEN</name> <name lang="cs">Přípojnice 3f+PEN</name>
<name lang="pl">Linia trójfazowa (PEN)</name> <name lang="pl">Linia trójfazowa (PEN)</name>
<name lang="it">Sorgente tripolare + PEN</name> <name lang="it">Sorgente tripolare + PEN</name>
<name lang="ar">مصدر ثلاثي القطبيّة + PEN</name> <name lang="ar">مصدر ثلاثي القطبيّة + PEN</name>
<name lang="en">Three-pole source + PEN</name> <name lang="en">Three-pole source + PEN</name>
<name lang="fr">Source tripolaire + PEN</name> <name lang="fr">Source tripolaire + PEN</name>
<name lang="ru">Трёхполюсный + PEN</name> <name lang="ru">Трёхполюсный + PEN</name>
<name lang="hu">3F + PEN</name>
</names> </names>
<informations>Author: The QElectroTech team <informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations> License: see http://qelectrotech.org/wiki/doc/elements_license</informations>

View File

@@ -1,4 +1,4 @@
<definition width="30" link_type="simple" version="0.5" hotspot_x="15" orientation="dyyy" height="80" hotspot_y="40" type="element"> <definition width="30" link_type="simple" version="0.5" hotspot_x="15" height="80" hotspot_y="40" type="element">
<uuid uuid="{8bfb1790-0735-47d5-88a2-8b4d91aba2f1}"/> <uuid uuid="{8bfb1790-0735-47d5-88a2-8b4d91aba2f1}"/>
<names> <names>
<name lang="pt">Fonte tripolar + neutro</name> <name lang="pt">Fonte tripolar + neutro</name>
@@ -6,15 +6,16 @@
<name lang="nl">Driefasen + nul</name> <name lang="nl">Driefasen + nul</name>
<name lang="el">Τριφασικό + Ουδέτερος</name> <name lang="el">Τριφασικό + Ουδέτερος</name>
<name lang="de">Dreiphasig + Neutral</name> <name lang="de">Dreiphasig + Neutral</name>
<name lang="cs">Třípólový zdroj + nulový</name> <name lang="cs">Přípojnice 3f+N</name>
<name lang="pl">Linia trójfazowa (czteroprzewodowa)</name> <name lang="pl">Linia trójfazowa (czteroprzewodowa)</name>
<name lang="it">Sorgente tripolare + neutro</name> <name lang="it">Sorgente tripolare + neutro</name>
<name lang="ar">مصدر ثلاثي القطبيّة + محايد</name> <name lang="ar">مصدر ثلاثي القطبيّة + محايد</name>
<name lang="en">Three-pole source + neutral</name> <name lang="en">Three-pole source + neutral</name>
<name lang="fr">Source tripolaire + neutre</name> <name lang="fr">Source tripolaire + neutre</name>
<name lang="ru">Трёхполюсный + нейтраль</name> <name lang="ru">Трёхполюсный + нейтраль</name>
<name lang="hu">3F + N</name>
</names> </names>
<informations>Author: The QElectroTech team&#xd; <informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations> License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description> <description>
<input x="-7" y="-44.45" tagg="label" size="9" rotate="true" text="_"/> <input x="-7" y="-44.45" tagg="label" size="9" rotate="true" text="_"/>

View File

@@ -1,4 +1,4 @@
<definition width="30" link_type="simple" version="0.5" hotspot_x="15" orientation="dyyy" height="20" hotspot_y="10" type="element"> <definition width="30" link_type="simple" version="0.5" hotspot_x="15" height="20" hotspot_y="10" type="element">
<uuid uuid="{b5ad2e41-804d-4745-99be-e8951cffdf98}"/> <uuid uuid="{b5ad2e41-804d-4745-99be-e8951cffdf98}"/>
<names> <names>
<name lang="pt">Fonte de neutro</name> <name lang="pt">Fonte de neutro</name>
@@ -6,13 +6,14 @@
<name lang="nl">Nul voeding</name> <name lang="nl">Nul voeding</name>
<name lang="el">Ουδέτερος</name> <name lang="el">Ουδέτερος</name>
<name lang="de">Neutralleiter</name> <name lang="de">Neutralleiter</name>
<name lang="cs">Nulový zdroj</name> <name lang="cs">Přípojnice N</name>
<name lang="pl">Przewód neutralny</name> <name lang="pl">Przewód neutralny</name>
<name lang="it">Sorgente neutro</name> <name lang="it">Sorgente neutro</name>
<name lang="ar">مصدر محايد</name> <name lang="ar">مصدر محايد</name>
<name lang="en">Neutral source</name> <name lang="en">Neutral source</name>
<name lang="fr">Source neutre</name> <name lang="fr">Source neutre</name>
<name lang="ru">Нейтраль</name> <name lang="ru">Нейтраль</name>
<name lang="hu">N</name>
</names> </names>
<informations>Author: The QElectroTech team <informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations> License: see http://qelectrotech.org/wiki/doc/elements_license</informations>

View File

@@ -1,4 +1,4 @@
<definition width="30" link_type="simple" version="0.5" hotspot_x="15" orientation="dyyy" height="20" hotspot_y="10" type="element"> <definition width="30" link_type="simple" version="0.5" hotspot_x="15" height="20" hotspot_y="10" type="element">
<uuid uuid="{7693c5e0-762b-4309-8d97-cb74619f9efd}"/> <uuid uuid="{7693c5e0-762b-4309-8d97-cb74619f9efd}"/>
<names> <names>
<name lang="pt">Fonte de fase</name> <name lang="pt">Fonte de fase</name>
@@ -6,15 +6,16 @@
<name lang="nl">Fase</name> <name lang="nl">Fase</name>
<name lang="el">Φάση</name> <name lang="el">Φάση</name>
<name lang="de">Phase</name> <name lang="de">Phase</name>
<name lang="cs">Fázový zdroj</name> <name lang="cs">Přípojnice L</name>
<name lang="pl">Przewód liniowy</name> <name lang="pl">Przewód liniowy</name>
<name lang="it">Sorgente fase</name> <name lang="it">Sorgente fase</name>
<name lang="ar">مصدر وجه</name> <name lang="ar">مصدر وجه</name>
<name lang="en">Phase source</name> <name lang="en">Phase source</name>
<name lang="fr">Source phase</name> <name lang="fr">Source phase</name>
<name lang="ru">Фаза</name> <name lang="ru">Фаза</name>
<name lang="hu">F</name>
</names> </names>
<informations>Author: The QElectroTech team&#xd; <informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations> License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description> <description>
<input x="-6" y="-14.45" tagg="label" size="9" rotate="true" text="_"/> <input x="-6" y="-14.45" tagg="label" size="9" rotate="true" text="_"/>

View File

@@ -1,4 +1,4 @@
<definition width="70" link_type="simple" version="0.5" hotspot_x="34" orientation="dyyy" height="100" hotspot_y="40" type="element"> <definition width="70" link_type="simple" version="0.5" hotspot_x="34" height="100" hotspot_y="40" type="element">
<uuid uuid="{4b9794cf-e7c0-4f59-aa0a-bb1fce4dfe48}"/> <uuid uuid="{4b9794cf-e7c0-4f59-aa0a-bb1fce4dfe48}"/>
<names> <names>
<name lang="es">Punto de distribución TN-C > TN-S</name> <name lang="es">Punto de distribución TN-C > TN-S</name>
@@ -11,6 +11,7 @@
<name lang="en">Distribution point TN-C >TN-S</name> <name lang="en">Distribution point TN-C >TN-S</name>
<name lang="fr">Point de distribution TN-C >TN-S</name> <name lang="fr">Point de distribution TN-C >TN-S</name>
<name lang="ru">Распределительный пункт TN-C >TN-S</name> <name lang="ru">Распределительный пункт TN-C >TN-S</name>
<name lang="hu">3F + PEN szétválasztva TN-C-ről TN-S-re</name>
</names> </names>
<informations>Author: The QElectroTech team <informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations> License: see http://qelectrotech.org/wiki/doc/elements_license</informations>

View File

@@ -1,27 +1,44 @@
<definition width="20" link_type="simple" version="0.5" hotspot_x="10" orientation="dyyy" height="30" hotspot_y="19" type="element"> <definition height="30" width="20" link_type="terminal" hotspot_x="10" version="0.80" type="element" hotspot_y="19">
<uuid uuid="{93eafb79-a84a-45e3-b43b-327d0944591b}"/> <uuid uuid="{e4e753a8-9fde-4e8e-9256-0cf99d67e3de}"/>
<names> <names>
<name lang="pt">Terra</name> <name lang="pt">Terra</name>
<name lang="el">Γείωση</name> <name lang="cs">Uzemnění</name>
<name lang="es">Tierra</name>
<name lang="nl">Aarde</name>
<name lang="de">Erde</name>
<name lang="cs">Země</name>
<name lang="pl">Uziemienie</name>
<name lang="it">Terra</name> <name lang="it">Terra</name>
<name lang="ar">تأريض</name> <name lang="el">Γείωση</name>
<name lang="en">Ground</name> <name lang="nl">Aarde</name>
<name lang="fr">Terre</name>
<name lang="ru">Земля</name> <name lang="ru">Земля</name>
<name lang="de">Erde</name>
<name lang="en">Ground</name>
<name lang="pl">Uziemienie</name>
<name lang="es">Tierra</name>
<name lang="ar">تأريض</name>
<name lang="fr">Terre</name>
<name lang="hu">Földelő</name>
</names> </names>
<elementInformations>
<elementInformation name="comment" show="1"></elementInformation>
<elementInformation name="machine_manufacturer_reference" show="1"></elementInformation>
<elementInformation name="manufacturer_reference" show="1"></elementInformation>
<elementInformation name="description" show="1"></elementInformation>
<elementInformation name="manufacturer" show="1"></elementInformation>
<elementInformation name="designation" show="1"></elementInformation>
<elementInformation name="quantity" show="1"></elementInformation>
<elementInformation name="unity" show="1"></elementInformation>
<elementInformation name="supplier" show="1"></elementInformation>
<elementInformation name="plant" show="1"></elementInformation>
<elementInformation name="label" show="1"></elementInformation>
</elementInformations>
<informations>Author: The QElectroTech team <informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations> License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description> <description>
<input x="2" y="-11.5" tagg="label" size="9" rotate="true" text="_"/> <dynamic_text uuid="{0af57a27-1887-4576-8b51-200ca996e582}" Halignment="AlignLeft" frame="false" x="2" Valignment="AlignTop" text_from="ElementInfo" y="-22.5" font="Sans Serif,9,-1,5,50,0,0,0,0,0" z="1" rotation="0" text_width="-1">
<line antialias="false" length1="1.5" x2="3" end2="none" x1="-3" end1="none" y2="4" length2="1.5" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="4"/> <text></text>
<line antialias="false" length1="1.5" x2="5" end2="none" x1="-5" end1="none" y2="2" length2="1.5" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="2"/> <info_name>label</info_name>
<line antialias="false" length1="1.5" x2="7" end2="none" x1="-7" end1="none" y2="0" length2="1.5" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="0"/> </dynamic_text>
<line antialias="false" length1="1.5" x2="0" end2="none" x1="0" end1="none" y2="0" length2="1.5" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="-10"/> <line y1="4" x1="-3" style="line-style:normal;line-weight:normal;filling:none;color:black" end2="none" y2="4" length2="1.5" length1="1.5" x2="3" end1="none" antialias="false"/>
<line y1="2" x1="-5" style="line-style:normal;line-weight:normal;filling:none;color:black" end2="none" y2="2" length2="1.5" length1="1.5" x2="5" end1="none" antialias="false"/>
<line y1="0" x1="-7" style="line-style:normal;line-weight:normal;filling:none;color:black" end2="none" y2="0" length2="1.5" length1="1.5" x2="7" end1="none" antialias="false"/>
<line y1="-10" x1="0" style="line-style:normal;line-weight:normal;filling:none;color:black" end2="none" y2="0" length2="1.5" length1="1.5" x2="0" end1="none" antialias="false"/>
<terminal x="0" y="-11" orientation="n"/> <terminal x="0" y="-11" orientation="n"/>
</description> </description>
</definition> </definition>

View File

@@ -0,0 +1,17 @@
<definition width="20" height="20" hotspot_y="9" type="element" link_type="simple" hotspot_x="9" version="0.60">
<uuid uuid="{079913f8-18b5-4524-84bd-aadf75dfefbf}"/>
<names>
<name lang="cs">Bod</name>
<name lang="de">Verbindung</name>
<name lang="hu">Keresztezés pont alakzatban</name>
</names>
<informations></informations>
<description>
<circle diameter="4" style="line-style:normal;line-weight:normal;filling:black;color:black" antialias="false" y="-2" x="-2"/>
<input rotate="true" text=" " tagg="label" size="9" y="-3" x="-11"/>
<terminal orientation="e" y="0" x="2"/>
<terminal orientation="w" y="0" x="-2"/>
<terminal orientation="s" y="2" x="0"/>
<terminal orientation="n" y="-2" x="0"/>
</description>
</definition>

View File

@@ -1,21 +1,27 @@
<definition type="element" height="20" orientation="dyyy" version="0.5" link_type="simple" hotspot_y="4" width="30" hotspot_x="11"> <definition hotspot_x="11" hotspot_y="4" version="0.70" type="element" height="20" link_type="terminal" width="30">
<uuid uuid="{8ef9d490-8db2-450a-ab89-22d2b35c01ed}"/> <uuid uuid="{141e7e1e-4f7f-456d-9f04-52c32109b969}"/>
<names> <names>
<name lang="it">Collegamento</name>
<name lang="en">Combine</name> <name lang="en">Combine</name>
<name lang="ru">Соединение</name> <name lang="de">Klemmstelle (2)</name>
<name lang="pl">Połączenie 1</name>
<name lang="fr">Jonction</name> <name lang="fr">Jonction</name>
<name lang="es">Unión</name>
<name lang="it">Collegamento</name>
<name lang="pl">Połączenie 1</name>
<name lang="ar">وصلة</name>
<name lang="ru">Соединение</name>
<name lang="cs">Spoj</name> <name lang="cs">Spoj</name>
<name lang="es">Unión</name> <name lang="hu">Egyesítő három vezetékhez</name>
</names> </names>
<elementInformations/>
<informations></informations> <informations></informations>
<description> <description>
<line y2="0" style="line-style:normal;line-weight:normal;filling:none;color:black" length1="1.5" x1="7" y1="0" end2="none" x2="1" antialias="false" end1="none" length2="1.5"/> <line end2="none" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="0" antialias="false" x1="7" length1="1.5" x2="1" y2="0" length2="1.5" end1="none"/>
<input x="2" y="13.5" size="1" tagg="label" rotate="true" text="_"/> <dynamic_text text_from="UserText" y="8.5" uuid="{43af2b14-2822-4ba2-988b-bda2005f69fd}" x="2" frame="false" z="2" rotation="0" text_width="-1" font_size="1">
<line y2="0" style="line-style:normal;line-weight:normal;filling:none;color:black" length1="1.5" x1="0" y1="6" end2="none" x2="6" antialias="false" end1="none" length2="1.5"/> <text>_</text>
<terminal orientation="w" x="-4" y="0"/> </dynamic_text>
<terminal orientation="s" x="0" y="10"/> <line end2="none" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="6" antialias="false" x1="0" length1="1.5" x2="6" y2="0" length2="1.5" end1="none"/>
<terminal orientation="e" x="10" y="0"/> <terminal y="0" x="-4" orientation="w"/>
<terminal y="10" x="0" orientation="s"/>
<terminal y="0" x="10" orientation="e"/>
</description> </description>
</definition> </definition>

View File

@@ -1,18 +1,25 @@
<definition type="element" height="20" orientation="dyyy" version="0.5" link_type="simple" hotspot_y="7" width="20" hotspot_x="11"> <definition link_type="terminal" width="20" height="20" hotspot_y="7" type="element" version="0.80" hotspot_x="11">
<uuid uuid="{2c6c492e-8d8e-402e-a449-0cf5a7462ced}"/> <uuid uuid="{95725a69-d9bf-4186-938c-1f1b9256530b}"/>
<names> <names>
<name lang="en">Corner</name>
<name lang="it">Angolo</name> <name lang="it">Angolo</name>
<name lang="ru">Угол</name>
<name lang="fr">Coin</name> <name lang="fr">Coin</name>
<name lang="pl">Narożnik</name> <name lang="pl">Narożnik</name>
<name lang="ar">ركن</name>
<name lang="es">Esquina</name>
<name lang="ru">Угол</name>
<name lang="en">Corner</name>
<name lang="de">Ecke</name>
<name lang="cs">Roh</name> <name lang="cs">Roh</name>
<name lang="es">Esquina</name> <name lang="hu">Sarok</name>
</names> </names>
<elementInformations/>
<informations></informations> <informations></informations>
<description> <description>
<input x="-0.5" y="-0.45" size="1" tagg="label" rotate="true" text="_"/> <dynamic_text rotation="0" font="Sans Serif,9,-1,5,0,0,0,0,0,0,normal" text_width="-1" x="-0.5" z="1" Halignment="AlignLeft" Valignment="AlignTop" text_from="UserText" frame="false" y="-5.45" uuid="{9b8dd22d-096a-4989-b6f7-1de9e0339f53}">
<terminal orientation="s" x="0" y="4"/> <text>_</text>
<terminal orientation="w" x="-4" y="0"/> </dynamic_text>
<polygon style="line-style:normal;line-weight:normal;filling:none;color:black" x1="-4" y2="0" y1="0" antialias="false" x2="0" x3="0" y3="4" closed="false"/>
<terminal name="" orientation="w" x="-4" y="0" uuid="{e1ea331a-7456-47f0-b991-0a2299d3023c}"/>
<terminal name="" orientation="s" x="0" y="4" uuid="{eacfd29f-4682-41c2-9783-cedb80773f13}"/>
</description> </description>
</definition> </definition>

View File

@@ -1,21 +1,29 @@
<definition type="element" height="20" orientation="dyyy" version="0.5" link_type="simple" hotspot_y="9" width="20" hotspot_x="9"> <definition hotspot_y="9" link_type="terminal" height="20" hotspot_x="9" version="0.80" type="element" width="20">
<uuid uuid="{eb8040c8-6998-4f43-818b-1d368825ffac}"/> <uuid uuid="{30794dcd-a269-4b6b-8231-c88d89a91e27}"/>
<names> <names>
<name lang="en">Cross</name> <name lang="cs">Kříž</name>
<name lang="ar">صليب</name>
<name lang="hu">Kereszt alakú</name>
<name lang="it">Croce</name> <name lang="it">Croce</name>
<name lang="pl">Połączenie 2</name>
<name lang="ru">Пересечение</name> <name lang="ru">Пересечение</name>
<name lang="fr">Croix</name> <name lang="fr">Croix</name>
<name lang="pl">Połączenie 2</name> <name lang="de">Kreuz</name>
<name lang="cs">Kříž</name> <name lang="en">Cross</name>
<name lang="es">Cruzar</name> <name lang="es">Cruzar</name>
</names> </names>
<elementInformations/>
<informations></informations> <informations></informations>
<description> <description>
<circle x="-1" y="-1" style="line-style:normal;line-weight:normal;filling:black;color:black" antialias="true" diameter="2"/> <circle y="-1" x="-1" antialias="true" diameter="2" style="line-style:normal;line-weight:normal;filling:black;color:black"/>
<input x="-0.5" y="-4.45" size="1" tagg="label" rotate="true" text="_"/> <dynamic_text y="-9.45" text_width="-1" x="-0.5" text_from="UserText" Valignment="AlignTop" rotation="0" Halignment="AlignLeft" z="2" frame="false" font="Sans Serif,9,-1,5,0,0,0,0,0,0,normal" uuid="{fc5c039b-1fca-40d9-a6ff-a9e1775de38b}">
<terminal orientation="e" x="4" y="0"/> <text>_</text>
<terminal orientation="s" x="0" y="4"/> </dynamic_text>
<terminal orientation="n" x="0" y="-4"/> <line y1="0" y2="0" x1="-4" antialias="false" end1="none" length1="1.5" length2="1.5" x2="4" end2="none" style="line-style:normal;line-weight:normal;filling:none;color:black"/>
<terminal orientation="w" x="-4" y="0"/> <line y1="-4" y2="4" x1="0" antialias="false" end1="none" length1="1.5" length2="1.5" x2="0" end2="none" style="line-style:normal;line-weight:normal;filling:none;color:black"/>
<terminal y="-4" name="" x="0" orientation="n" uuid="{667d83d2-8840-40ec-bf41-8dc659926fe2}"/>
<terminal y="4" name="" x="0" orientation="s" uuid="{c9b40e74-5d24-4cd5-9dc7-3be318007661}"/>
<terminal y="0" name="" x="-4" orientation="w" uuid="{935e3f1e-3dc0-4b41-8252-6e7ee9f1a3e1}"/>
<terminal y="0" name="" x="4" orientation="e" uuid="{340c983a-1f7e-4939-b844-c50c8e28302d}"/>
</description> </description>
</definition> </definition>

View File

@@ -1,19 +1,25 @@
<definition type="element" height="30" orientation="dyyy" version="0.5" link_type="simple" hotspot_y="14" width="10" hotspot_x="5"> <definition width="10" hotspot_y="14" hotspot_x="5" height="30" link_type="terminal" version="0.70" type="element">
<uuid uuid="{cd8b3f5f-5eae-416c-9966-c7b5529b6e63}"/> <uuid uuid="{b5abb4c2-455d-45ff-95f2-328521f4e2e1}"/>
<names> <names>
<name lang="en">Jump</name> <name lang="en">Jump</name>
<name lang="it">Salto</name> <name lang="de">Sprung</name>
<name lang="ru">Перемычка</name>
<name lang="fr">Saut</name> <name lang="fr">Saut</name>
<name lang="pl">Brak połączenia</name> <name lang="ar">قفز</name>
<name lang="cs">Skok</name> <name lang="cs">Skok</name>
<name lang="es">Puente</name> <name lang="it">Salto</name>
<name lang="pl">Brak połączenia</name>
<name lang="ru">Перемычка</name>
<name lang="es">Puente</name>
<name lang="hu">Átugrás összekötés nélkül</name>
</names> </names>
<elementInformations/>
<informations></informations> <informations></informations>
<description> <description>
<arc height="6" start="90" angle="-180" x="-3" y="-3" style="line-style:normal;line-weight:normal;filling:none;color:black" antialias="true" width="6"/> <arc x="-3" antialias="true" style="line-style:normal;line-weight:normal;filling:none;color:black" width="6" start="90" y="-3" height="6" angle="-180"/>
<input x="1.5" y="-6.45" size="1" tagg="label" rotate="true" text="_"/> <dynamic_text font_size="1" x="1.5" text_from="UserText" z="2" y="-11.45" rotation="0" uuid="{1a3e4d91-15cc-424b-99d0-25930d779fb6}" frame="false" text_width="-1">
<terminal orientation="n" x="0" y="-7"/> <text>_</text>
<terminal orientation="s" x="0" y="7"/> </dynamic_text>
<terminal x="0" y="-7" orientation="n"/>
<terminal x="0" y="7" orientation="s"/>
</description> </description>
</definition> </definition>

View File

@@ -0,0 +1,22 @@
<definition hotspot_x="14" height="30" link_type="simple" width="30" version="0.80" type="element" hotspot_y="12">
<uuid uuid="{0b6817fe-dd44-42a8-8e7c-3c110d13b8a2}"/>
<names>
<name lang="hu">Egyesítő négy vezetékhez</name>
<name lang="de">Klemmstelle (3)</name>
<name lang="cs">Všestranný spoj</name>
</names>
<elementInformations/>
<informations></informations>
<description>
<dynamic_text Valignment="AlignTop" x="-13" text_from="ElementInfo" text_width="-1" z="2" uuid="{14c0b70c-c028-49ef-bf72-3c3c9cd64669}" y="-12" rotation="0" frame="false" Halignment="AlignLeft" font="Sans Serif,9,-1,5,50,0,0,0,0,0">
<text></text>
<info_name>label</info_name>
</dynamic_text>
<polygon x1="-10" y5="0" x3="0" x5="10" y2="0" y3="5" closed="false" style="line-style:normal;line-weight:normal;filling:none;color:black" x4="5" x2="-5" antialias="false" y4="0" y1="0"/>
<line x1="0" end1="none" y2="10" style="line-style:normal;line-weight:normal;filling:none;color:black" x2="0" length1="1.5" antialias="false" end2="none" y1="-5" length2="1.5"/>
<terminal x="10" orientation="e" uuid="{06bf5c9f-6986-45bf-b11f-02e876abc4b8}" y="0" name=""/>
<terminal x="0" orientation="n" uuid="{33c03677-8555-4b42-ae2c-4b4308978086}" y="-5" name=""/>
<terminal x="-10" orientation="w" uuid="{95bef6e9-343e-45d7-9705-4aa81f62bed0}" y="0" name=""/>
<terminal x="0" orientation="s" uuid="{e9329e22-255b-4763-9dc6-65da277e1ac7}" y="10" name=""/>
</description>
</definition>

View File

@@ -6,9 +6,13 @@
<name lang="fr">Connections</name> <name lang="fr">Connections</name>
<name lang="it">Collegamenti</name> <name lang="it">Collegamenti</name>
<name lang="pl">Połączenia</name> <name lang="pl">Połączenia</name>
<name lang="pt_br">Conexões</name>
<name lang="cs">Spojení</name> <name lang="cs">Spojení</name>
<name lang="el">Ενώσεις</name> <name lang="el">Ενώσεις</name>
<name lang="nl">Verbindingen</name> <name lang="nl">Verbindingen</name>
<name lang="es">Conexiones</name> <name lang="es">Conexiones</name>
<name lang="da">Forbindelser</name>
<name lang="ja">接続</name>
<name lang="hu">Csatlakozások</name>
</names> </names>
</qet-directory> </qet-directory>

View File

@@ -1,21 +1,26 @@
<definition type="element" height="20" orientation="dyyy" version="0.5" link_type="simple" hotspot_y="4" width="30" hotspot_x="17"> <definition width="30" version="0.80" hotspot_x="17" hotspot_y="4" link_type="terminal" type="element" height="20">
<uuid uuid="{0f807068-d5a4-4628-85f4-0644e6d3129f}"/> <uuid uuid="{5a3d6c01-db95-45ec-be2c-dd861938525b}"/>
<names> <names>
<name lang="en">Splice</name>
<name lang="it">Spaziatura</name>
<name lang="ru">Сращивание</name>
<name lang="fr">Epissure</name> <name lang="fr">Epissure</name>
<name lang="pl">Połączenie 3</name>
<name lang="cs">Spojka</name> <name lang="cs">Spojka</name>
<name lang="es">Empalme</name> <name lang="es">Empalme</name>
<name lang="pl">Połączenie 3</name>
<name lang="it">Spaziatura</name>
<name lang="en">Splice</name>
<name lang="de">Spleiß</name>
<name lang="hu">Egyesítő három vezetékhez</name>
<name lang="ru">Сращивание</name>
</names> </names>
<elementInformations/>
<informations></informations> <informations></informations>
<description> <description>
<input x="1.5" y="3.55" size="1" tagg="label" rotate="true" text="_"/> <dynamic_text Valignment="AlignTop" y="-1.45" text_width="-1" frame="false" x="1.5" Halignment="AlignLeft" uuid="{b653b162-d4c8-4660-a5ca-e6ca05a56de9}" text_from="ElementInfo" font="Sans Serif,9,-1,5,0,0,0,0,0,0,normal" rotation="0" z="1">
<line y2="0" style="line-style:normal;line-weight:normal;filling:none;color:black" length1="1.5" x1="0" y1="6" end2="none" x2="-6" antialias="false" end1="none" length2="1.5"/> <text></text>
<line y2="0" style="line-style:normal;line-weight:normal;filling:none;color:black" length1="1.5" x1="1" y1="0" end2="none" x2="-5" antialias="false" end1="none" length2="1.5"/> <info_name>label</info_name>
<terminal orientation="s" x="0" y="10"/> </dynamic_text>
<terminal orientation="w" x="-10" y="0"/> <polygon y1="0" y2="0" style="line-style:normal;line-weight:normal;filling:none;color:black" x4="0" y4="5" x3="-5" antialias="false" x2="-10" y5="10" x5="0" closed="false" x1="4" y3="0"/>
<terminal orientation="e" x="4" y="0"/> <terminal y="10" x="0" uuid="{1d3bb613-e8e2-4bcd-8515-ff9a0459b3c3}" name="" orientation="s"/>
<terminal y="0" x="-10" uuid="{367dd739-791b-4d8f-9e49-4a70fd990b19}" name="" orientation="w"/>
<terminal y="0" x="4" uuid="{f75b8c8d-508b-4346-a6df-8cda82201d98}" name="" orientation="e"/>
</description> </description>
</definition> </definition>

View File

@@ -1,21 +1,27 @@
<definition type="element" height="20" orientation="dyyy" version="0.5" link_type="simple" hotspot_y="4" width="30" hotspot_x="17"> <definition height="20" version="0.80" hotspot_x="17" link_type="terminal" width="30" type="element" hotspot_y="4">
<uuid uuid="{a1ced185-e98f-4cf1-8a62-3f8ea691bcb6}"/> <uuid uuid="{3dd412d9-6882-42ae-9f5f-eb04f2224214}"/>
<names> <names>
<name lang="en">Thru left</name> <name lang="hu">Balra továbbmenő leágazás</name>
<name lang="es">A la izquierda</name>
<name lang="ar">ربط يسار</name>
<name lang="pl">Połączenie 4</name>
<name lang="it">Collegamento sinistro</name> <name lang="it">Collegamento sinistro</name>
<name lang="ru">Справа налево</name> <name lang="ru">Справа налево</name>
<name lang="de">Abzweig links</name>
<name lang="en">Thru left</name>
<name lang="fr">Liaison gauche</name> <name lang="fr">Liaison gauche</name>
<name lang="pl">Połączenie 4</name>
<name lang="cs">Levé spojení</name> <name lang="cs">Levé spojení</name>
<name lang="es">A la izquierda</name>
</names> </names>
<elementInformations/>
<informations></informations> <informations></informations>
<description> <description>
<input x="1.5" y="3.55" size="1" tagg="label" rotate="true" text="_"/> <dynamic_text text_width="-1" text_from="UserText" Valignment="AlignTop" x="1.5" frame="false" rotation="0" uuid="{5ff9bef8-b6a8-4cf8-ba82-4dabe7b1820f}" z="1" y="-1.45" Halignment="AlignLeft" font="Sans Serif,9,-1,5,0,0,0,0,0,0,normal">
<line y2="0" style="line-style:normal;line-weight:normal;filling:none;color:black" length1="1.5" x1="0" y1="6" end2="none" x2="-6" antialias="false" end1="none" length2="1.5"/> <text>_</text>
<line y2="5" style="line-style:normal;line-weight:normal;filling:none;color:black" length1="1.5" x1="0" y1="0" end2="none" x2="0" antialias="false" end1="none" length2="1.5"/> </dynamic_text>
<terminal orientation="e" x="4" y="0"/> <polygon y1="0" x4="0" x2="-5" x3="0" antialias="false" y2="0" y3="5" style="line-style:normal;line-weight:normal;filling:none;color:black" y4="10" x1="-10" closed="false"/>
<terminal orientation="w" x="-10" y="0"/> <polygon y1="10" x2="0" x3="4" antialias="false" y2="0" y3="0" style="line-style:normal;line-weight:normal;filling:none;color:black" x1="0" closed="false"/>
<terminal orientation="s" x="0" y="10"/> <terminal x="0" uuid="{46980c8f-3fb1-4993-b1ec-6f3b60832fab}" orientation="s" name="" y="10"/>
<terminal x="-10" uuid="{401a02b0-a3d8-4f09-bd65-c4a6ad782686}" orientation="w" name="" y="0"/>
<terminal x="4" uuid="{223e7aaa-f9ff-47e6-b901-89471848b8de}" orientation="e" name="" y="0"/>
</description> </description>
</definition> </definition>

View File

@@ -1,22 +1,27 @@
<definition type="element" height="20" orientation="dyyy" version="0.5" link_type="simple" hotspot_y="4" width="30" hotspot_x="14"> <definition width="30" type="element" hotspot_x="14" version="0.80" hotspot_y="4" height="20" link_type="terminal">
<uuid uuid="{5d72394b-8aa0-4368-bc88-0f738478ca45}"/> <uuid uuid="{8e68cb1a-e9d8-42e4-aa67-aca8b6e6b32d}"/>
<names> <names>
<name lang="en">Thru right</name>
<name lang="it">Collegamento destro</name> <name lang="it">Collegamento destro</name>
<name lang="ru">Слева направо</name>
<name lang="fr">Liaison droite</name> <name lang="fr">Liaison droite</name>
<name lang="pl">Połączenie 5</name> <name lang="ru">Слева направо</name>
<name lang="hu">Jobbra továbbmenő leágazás</name>
<name lang="cs">Pravé spojení</name> <name lang="cs">Pravé spojení</name>
<name lang="es">A la derecha</name> <name lang="de">Abzweig rechts</name>
<name lang="en">Thru right</name>
<name lang="es">A la derecha</name>
<name lang="pl">Połączenie 5</name>
<name lang="ar">ربط يمين</name>
</names> </names>
<elementInformations/>
<informations></informations> <informations></informations>
<description> <description>
<input x="5.5" y="4.55" size="1" tagg="label" rotate="true" text="_"/> <dynamic_text z="1" Halignment="AlignLeft" text_width="-1" y="-0.45" uuid="{ab829572-e7d6-4e5c-9c6e-a0852fea788e}" font="Sans Serif,9,-1,5,0,0,0,0,0,0,normal" Valignment="AlignTop" text_from="UserText" x="5.5" frame="false" rotation="0">
<line y2="0" style="line-style:normal;line-weight:normal;filling:none;color:black" length1="1.5" x1="0" y1="0" end2="none" x2="-6" antialias="false" end1="none" length2="1.5"/> <text>_</text>
<line y2="5" style="line-style:normal;line-weight:normal;filling:none;color:black" length1="1.5" x1="0" y1="0" end2="none" x2="0" antialias="false" end1="none" length2="1.5"/> </dynamic_text>
<line y2="6" style="line-style:normal;line-weight:normal;filling:none;color:black" length1="1.5" x1="6" y1="0" end2="none" x2="0" antialias="false" end1="none" length2="1.5"/> <polygon y4="0" x4="10" x1="0" y2="5" style="line-style:normal;line-weight:normal;filling:none;color:black" x3="5" closed="false" y1="10" y3="0" x2="0" antialias="false"/>
<terminal orientation="s" x="0" y="10"/> <polygon x1="0" y2="0" style="line-style:normal;line-weight:normal;filling:none;color:black" x3="-10" closed="false" y1="10" y3="0" x2="0" antialias="false"/>
<terminal orientation="w" x="-10" y="0"/> <terminal y="0" uuid="{53d9bb7f-b045-4581-bc2d-7a9198286e89}" name="" orientation="w" x="-10"/>
<terminal orientation="e" x="10" y="0"/> <terminal y="10" uuid="{7883adda-c1cd-4e21-93f5-330d9c7461ea}" name="" orientation="s" x="0"/>
<terminal y="0" uuid="{053ce092-f1df-46a5-8960-e4c6fcea95d1}" name="" orientation="e" x="10"/>
</description> </description>
</definition> </definition>

View File

@@ -1,24 +1,26 @@
<definition width="90" link_type="simple" version="0.5" hotspot_x="42" orientation="dyyy" height="20" hotspot_y="3" type="element"> <definition width="120" version="0.3" hotspot_x="71" hotspot_y="10" height="40" type="element">
<uuid uuid="{5ba1917d-c353-41b2-aa70-caf65579b81e}"/>
<names> <names>
<name lang="ar">كايبل طورين + تأريض</name>
<name lang="de">Kabel 3G</name> <name lang="de">Kabel 3G</name>
<name lang="cs">Označení drátového propojení - 2 fáze + země</name> <name lang="ru">Кабель 2 жилы + PE</name>
<name lang="pl">Oznaczenie przewodu czterożyłowego</name>
<name lang="it">Cavo 2 fasi + terra</name> <name lang="it">Cavo 2 fasi + terra</name>
<name lang="fr">Cable 2 phases+terre</name> <name lang="fr">Cable 2 phases+terre</name>
<name lang="ru">Кабель 2 жилы + PE</name> <name lang="pl">Oznaczenie przewodu czterożyłowego</name>
<name lang="es">Cable 2 fases+tierra</name>
<name lang="cs">Kabel 3G</name>
<name lang="hu">Kábel 2 + PE</name>
</names> </names>
<informations>Author: The QElectroTech team&#xd; <informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations> License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description> <description>
<text x="12" y="9" size="4" text="2"/> <text x="12" y="9" size="4" text="2"/>
<line antialias="true" length1="1.5" x2="30.95" end2="none" x1="26.95" end1="none" y2="11.95" length2="1.5" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="7.95"/> <line length1="1.5" length2="1.5" antialias="true" end1="none" end2="none" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="7.95" x1="26.95" y2="11.95" x2="30.95"/>
<line antialias="true" length1="1.5" x2="12" end2="none" x1="8" end1="none" y2="12" length2="1.5" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="8"/> <line length1="1.5" length2="1.5" antialias="true" end1="none" end2="none" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="8" x1="8" y2="12" x2="12"/>
<text x="30.5" y="8.55" size="4" text="GNYE"/> <text x="30.5" y="8.55" size="4" text="GNYE"/>
<input x="-68" y="17" tagg="none" size="3" rotate="true" text="210007&#xa;4G1,5 mm²&#xa; 4m"/> <input x="-68" y="17" size="3" rotate="true" text="210007&#xa;4G1,5 mm²&#xa; 4m"/>
<line antialias="false" length1="1.5" x2="37.932" end2="none" x1="-39.9373" end1="none" y2="10" length2="1.5" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="10"/> <line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="10" x1="-39.9373" y2="10" x2="37.932"/>
<line antialias="true" length1="1.5" x2="-28" end2="none" x1="-32" end1="none" y2="12" length2="1.5" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="8"/> <line length1="1.5" length2="1.5" antialias="true" end1="none" end2="none" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="8" x1="-32" y2="12" x2="-28"/>
<text x="-28" y="9" size="4" text="1"/> <text x="-28" y="9" size="4" text="1"/>
<input x="-61" y="1" tagg="label" size="5" rotate="true" text="+"/> <input x="-61" y="1" size="5" rotate="true" text="+"/>
</description> </description>
</definition> </definition>

View File

@@ -1,26 +1,28 @@
<definition width="100" link_type="simple" version="0.5" hotspot_x="46" orientation="dyyy" height="20" hotspot_y="3" type="element"> <definition width="120" version="0.3" hotspot_x="70" hotspot_y="10" height="40" type="element">
<uuid uuid="{d95f81ca-8802-48c0-830d-b214fb41af86}"/>
<names> <names>
<name lang="ar">كايبل ثلاثي الطور + تأريض</name>
<name lang="de">Kabel 4G</name> <name lang="de">Kabel 4G</name>
<name lang="cs">Označení drátového propojení - 3 fáze + země</name> <name lang="ru">Кабель 3 жилы + PE</name>
<name lang="pl">Oznaczenie przewodu czterożyłowego</name>
<name lang="it">Cavo 3 fasi + terra</name> <name lang="it">Cavo 3 fasi + terra</name>
<name lang="fr">Cable 3 phases+terre</name> <name lang="fr">Cable 3 phases+terre</name>
<name lang="ru">Кабель 3 жилы + PE</name> <name lang="pl">Oznaczenie przewodu czterożyłowego</name>
<name lang="es">Cable 3 fases+tierra</name>
<name lang="cs">Kabel 4G</name>
<name lang="hu">Kábel 3 + PE</name>
</names> </names>
<informations>Author: The QElectroTech team&#xd; <informations>Author: The QElectroTech team
License: see http://qelectrotech.org/wiki/doc/elements_license</informations> License: see http://qelectrotech.org/wiki/doc/elements_license</informations>
<description> <description>
<line antialias="true" length1="1.5" x2="-8.05" end2="none" x1="-12.05" end1="none" y2="11.95" length2="1.5" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="7.95"/> <line length1="1.5" length2="1.5" antialias="true" end1="none" end2="none" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="7.95" x1="-12.05" y2="11.95" x2="-8.05"/>
<text x="-9" y="9" size="4" text="2"/> <text x="-9" y="9" size="4" text="2"/>
<text x="12" y="9" size="4" text="3"/> <text x="12" y="9" size="4" text="3"/>
<line antialias="true" length1="1.5" x2="30.95" end2="none" x1="26.95" end1="none" y2="11.95" length2="1.5" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="7.95"/> <line length1="1.5" length2="1.5" antialias="true" end1="none" end2="none" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="7.95" x1="26.95" y2="11.95" x2="30.95"/>
<line antialias="true" length1="1.5" x2="12" end2="none" x1="8" end1="none" y2="12" length2="1.5" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="8"/> <line length1="1.5" length2="1.5" antialias="true" end1="none" end2="none" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="8" x1="8" y2="12" x2="12"/>
<text x="32" y="9" size="4" text="GNYE"/> <text x="32" y="9" size="4" text="GNYE"/>
<input x="-68" y="17" tagg="none" size="3" rotate="true" text="210007&#xa;4G1,5 mm²&#xa; 4m"/> <input x="-68" y="17" size="3" rotate="true" text="210007&#xa;4G1,5 mm²&#xa; 4m"/>
<line antialias="false" length1="1.5" x2="37.932" end2="none" x1="-39.9373" end1="none" y2="10" length2="1.5" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="10"/> <line length1="1.5" length2="1.5" antialias="false" end1="none" end2="none" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="10" x1="-39.9373" y2="10" x2="37.932"/>
<line antialias="true" length1="1.5" x2="-28" end2="none" x1="-32" end1="none" y2="12" length2="1.5" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="8"/> <line length1="1.5" length2="1.5" antialias="true" end1="none" end2="none" style="line-style:normal;line-weight:normal;filling:none;color:black" y1="8" x1="-32" y2="12" x2="-28"/>
<text x="-28" y="9" size="4" text="1"/> <text x="-28" y="9" size="4" text="1"/>
<input x="-61" y="1" tagg="label" size="5" rotate="true" text="+"/> <input x="-61" y="1" size="5" rotate="true" text="+"/>
</description> </description>
</definition> </definition>

Some files were not shown because too many files have changed in this diff Show More