Laurent Trinques
c7891bc4c2
Update changelog
2023-01-03 13:21:24 +01:00
Laurent Trinques
cbbe4a6cae
Change displayed version
2023-01-03 12:58:43 +01:00
Laurent Trinques
46077144d3
Refresh splash image to 0.9 version
2023-01-03 12:56:05 +01:00
Laurent Trinques
49cfd6b753
Add array of unicode HEX codes from a string in Ukranian: "Імпортовані
...
елементи", thanks Yaroslav
2023-01-03 01:25:58 +01:00
joshua
c5b4e033c4
Remove terminal strip menu entry.
2023-01-02 19:57:02 +01:00
Laurent Trinques
9afef79629
Update Copyright date
2023-01-01 17:05:57 +01:00
Laurent Trinques
62fcdec958
Add Qubino elements, thanks KevinarCZ
2022-12-30 12:23:42 +01:00
Laurent Trinques
2ace2ca104
macOS restore sqlite3 database export
2022-12-30 07:20:50 +01:00
Laurent Trinques
b0c3c90f3c
Try to fix sqlite3 database export on macOS
...
Now I use macports with Digikam scripts
See:
https://invent.kde.org/graphics/digikam/-/tree/master/project/bundles/macports
2022-12-30 07:12:02 +01:00
Laurent Trinques
8c35559480
Update *TS files
2022-12-27 17:40:34 +01:00
Laurent Trinques
66614072a6
Typo
2022-12-27 17:36:59 +01:00
Laurent Trinques
bd4c7cf2ff
Update *TS files
2022-12-26 11:56:18 +01:00
Laurent Trinques
4a568c4e89
Typo
2022-12-26 11:47:55 +01:00
Laurent Trinques
caf5dc5dd4
Add new Annex Projects
2022-12-26 11:36:44 +01:00
Laurent Trinques
eeadbde8d2
Add new Translators in aboutqetdialog.cpp
2022-12-26 09:06:16 +01:00
artgg7300
85892b1c54
the new Hungarian lang files
2022-12-25 11:30:03 +01:00
Laurent Trinques
949db14699
Update *TS files
2022-12-21 14:21:04 +01:00
Laurent Trinques
0753bac62f
Add Ukrainian switch language
2022-12-19 13:04:19 +01:00
Laurent Trinques
808598f759
Update Ukrainian translation, thanks Yaroslav
2022-12-19 06:09:14 +01:00
plc-user
7377cf394c
simplify graphics, add terminal-names
2022-12-16 08:27:44 +01:00
plc-user
555c243905
add Controller
2022-12-16 08:27:44 +01:00
dlee99
7b6f357870
modified: lang/qet_nl.qm
...
modified: lang/qet_nl.ts
2022-12-14 22:34:39 +01:00
Laurent Trinques
b9f28c1567
Update *TS files
2022-12-14 19:06:07 +01:00
luz paz
6a4b250213
Fix source typo 'Hidding'
2022-12-07 12:10:34 +01:00
luz paz
4caf5e0211
Fix source typo 'cross_min_heigth'
2022-12-07 12:10:34 +01:00
luz paz
8242e4cfd7
Fix source typo 'minimumRowHeigth'
2022-12-07 12:10:34 +01:00
luz paz
a1f9d05f1c
Fix source typo 'Rigth'
2022-12-07 12:10:34 +01:00
luz paz
2032ba76ed
Fix various typos in source documentation and comments (cont.)
...
Found via `codespell`
2022-12-06 07:56:45 +01:00
luz paz
1994235bc5
Fix various typos in source documentation and comments (cont.)
...
Found via `codespell`
2022-12-04 20:46:32 +01:00
luz paz
a76e5446aa
Fix various typos in source documentation and comments
...
Found via `codespell`
2022-12-04 13:30:01 +01:00
aitolos
1eed13c617
Greek Lang update
2022-11-30 19:58:01 +02:00
aitolos
6869d20813
Greek Language Update
2022-11-29 20:46:19 +02:00
Ole Carlsen
c17492183f
Danish translation updated
2022-11-24 17:54:18 +01:00
joshua
e3d1467352
Remove minimum height of project properties dialog
2022-11-23 21:58:08 +01:00
dlee99
b626130071
modified: lang/qet_nl.qm
...
modified: lang/qet_nl.ts
2022-11-18 20:20:59 +01:00
Laurent Trinques
7f4bad712e
In ISO 639-1, the Ukrainian language is "UK".
...
"UA" is the country code in ISO 3166-1.
2022-11-18 09:05:50 +01:00
joshua
300440454e
Fix crash introduced in commit 5a057b1c20
2022-11-16 19:06:56 +01:00
Laurent Trinques
05416a5fdc
Add TS file for Ukrainian language
2022-11-16 08:26:35 +01:00
Laurent Trinques
d6bcde5f8d
Update pugixml to version 1.13
2022-11-15 18:22:00 +01:00
joshua
e1cb55f218
Better use of QObject inheritence
2022-11-14 22:42:27 +01:00
joshua
937afea351
Minor : check if pointer is valid
2022-11-14 20:45:16 +01:00
Laurent Trinques
3341d65a89
Workaround to fix crash when moving element by arrows keys
...
@driver_item item moved by mouse and don't be moved by Element mover
Disable position x, y in statusBar when moving elements by arrows keys
2022-11-12 12:14:27 +01:00
Laurent Trinques
c397bb6c1d
Update translations *TS files
2022-11-11 13:06:25 +01:00
Laurent Trinques
2f72c60f64
Add shorcut for moving up/down folio by 10
...
add new entries for moving up/down folio by 100 and shorcut
2022-11-11 12:56:22 +01:00
joshua
5a057b1c20
Minor
...
More modern c++
2022-11-08 18:17:55 +01:00
joshua
57929e6e38
Minor.
...
ElementsMover class :
Rename some member variable and add some indentation.
2022-11-05 13:36:46 +01:00
joshua
ae8c20bb04
Minor
2022-11-05 13:28:39 +01:00
Laurent Trinques
ad97559b7c
Try to fix FTBFS on Debian Bullseye
2022-11-04 21:34:24 +01:00
Laurent Trinques
e3cc89b546
Try to fix FTBFS on Debian Bullseye
2022-11-04 21:26:08 +01:00
Laurent Trinques
0f215c2902
Try to fix FTBFS on Debian Bullseye
2022-11-04 21:12:19 +01:00
joshua
0ae0ce04cd
Show x:y pos when drag element in the status bar
2022-11-04 20:25:49 +01:00
plc-user
850cc5d0f2
added some (non-electric) accessories
2022-11-01 22:57:24 +01:00
plc-user
914ae348c6
added PoE-Injectors
2022-11-01 22:57:24 +01:00
plc-user
bb47a1852e
added Weidmüller-Couplers
2022-11-01 22:57:24 +01:00
plc-user
28329c3f1b
simplify some Hager-Thumbnails
2022-11-01 22:57:24 +01:00
OlesyaGerasimenko
71297a0e45
Update Russian translation
2022-10-21 05:35:24 +02:00
plc-user
0e0b680131
added RCBO 1P+N (thanks Vbxler) and Hager-RCBO
2022-10-20 05:30:36 +02:00
plc-user
554dc388a6
new PLC-controllers
2022-10-19 09:23:31 +02:00
plc-user
33c22c72f8
fix graphic-errors and descriptions
2022-10-19 09:23:31 +02:00
plc-user
d4658e64b1
fix formatting and number of decimals
2022-10-18 08:41:05 +02:00
plc-user
9633c32c2c
some new elements
2022-10-18 08:41:04 +02:00
Laurent Trinques
6f52be4145
Addd new contrôleurs TM262 of schneider, thanks Galexis
2022-10-14 11:52:15 +02:00
joshua
e26efb6c3a
Fix wrong size of new element wizard on windows
...
See https://qelectrotech.org/bugtracker/view.php?id=264
2022-10-12 21:54:44 +02:00
Laurent Trinques
04f2094466
little modify at hungarian lang file -> publish binary update
2022-10-01 18:04:36 +02:00
plc-user
346900ecbd
fix elements that could not be loaded
2022-10-01 06:33:16 +02:00
artgg7300
d80669c253
add new sew movimot mm...d drive element
2022-09-30 13:09:16 +02:00
artgg7300
922f96d79c
little modify at hungarian lang file
2022-09-29 12:12:45 +02:00
joshua
0d90defcfe
Remove unused include
2022-09-28 21:54:02 +02:00
joshua
ea1ede9cb3
Remove unnecessary assert
...
Just call :
void DynamicTextFieldEditor::disconnectConnections()
instead of use an assert if there is an active connection.
2022-09-28 21:53:30 +02:00
joshua
ffc2a7a7d7
Fix warning
2022-09-26 21:48:08 +02:00
joshua
3e75bedef0
Fix crash
...
https://qelectrotech.org/forum/viewtopic.php?pid=16647#p16647
2022-09-26 21:40:47 +02:00
artgg7300
05bd6b43f2
add new Allen Bradley element
2022-09-20 06:15:12 +02:00
artgg7300
718a6a6872
add new Allen Bradley element
2022-09-20 06:12:21 +02:00
artgg7300
42746aa710
delete duplicated Allen Bradley element
2022-09-19 06:25:06 +02:00
artgg7300
662ec3496b
delete old Allen Bradley element
2022-09-19 06:18:25 +02:00
artgg7300
cec479aefb
add new Allen Bradley element
2022-09-19 06:10:08 +02:00
artgg7300
43821bea0f
add new Allen Bradley element
2022-09-19 05:59:57 +02:00
artgg7300
8775d1e1bd
add two new Allen Bradley elements
2022-08-18 12:13:31 +02:00
artgg7300
c6f45c5862
hungarian lang files
2022-08-18 11:59:53 +02:00
dlee99
d7e1813ff3
modified: lang/qet_nl.qm
...
modified: lang/qet_nl.ts
2022-08-13 16:44:36 +02:00
joshua
d6e8a1c133
Element editor : improve deletion speed
2022-08-13 13:06:46 +02:00
joshua
eee1c7fff7
Element editor : Improve responsiveness when several shapes are selected.
2022-08-13 12:40:59 +02:00
David Varley
af5d5e0aa3
Allow for open polygons (ie polylines) when saving as dxf
2022-08-13 11:57:29 +10:00
Laurent Trinques
e9931511de
Update EATOn elements, thanks dmsque
2022-08-09 02:32:23 +02:00
Laurent Trinques
acf1e713fc
Fix position of label XREF in 'Other' option for slave device contact
...
type
2022-08-08 10:39:04 +02:00
Laurent Trinques
21524ee528
Add symbol and improve 'Other' option for slave device contact type.
2022-08-06 18:42:05 +02:00
Laurent Trinques
f0919d5fa6
Minor fix in ABB element directory
2022-08-04 09:14:35 +02:00
Laurent Trinques
695e4d95aa
Refresh en translation
2022-08-04 09:05:32 +02:00
joshua
02769fe881
Improve opening time of dxf
2022-08-03 13:54:39 +02:00
joshua
e57ba72d7c
Fix crash
2022-08-03 12:37:32 +02:00
Ole Carlsen
1b3599e673
Danish translation updated
2022-08-01 20:28:58 +02:00
Laurent Trinques
d0d6b299e4
update polish translation, thanks Paweł
2022-07-31 14:54:17 +02:00
Laurent Trinques
56b7458951
Workaround to fix launch dxf2elmt binary from QET element editor menu on macOS
2022-07-27 18:04:48 +02:00
joshua
74a187e659
Minor
2022-07-27 14:52:50 +02:00
joshua
8b62318588
Return an empty QByteArray if something goes wrong with dxf2elmt
2022-07-27 14:52:00 +02:00
joshua
31466a65ba
Fix fail to build from sources
...
Fix ftbfs for :
ubuntu 18.04 bionic beaver
ubuntu 20.04 focal fossa
debian 11 bullseye
2022-07-27 14:15:32 +02:00
Laurent Trinques
a7160ba9b7
Fix dxf2Elmt Binary name on macOS
2022-07-26 20:18:54 +02:00
Laurent Trinques
cacbce6cec
Update *TS file and FR & EN translation
2022-07-26 18:19:27 +02:00
joshua
6fd5209364
Merge branch 'dxf2elmt'
...
* dxf2elmt:
Element editor : improve code
Element editor : improve code
Import dxf is managed by undo command
Add import dxf feature
2022-07-26 17:04:22 +02:00
joshua
57695bbbea
Element editor : improve code
...
Better use of signal partsAdded and partsRemoved
2022-07-26 17:03:18 +02:00
joshua
5a497cd6b5
Element editor : improve code
...
Better use of signal partsAdded and partsRemoved
2022-07-26 16:17:47 +02:00
joshua
cae7cbdbd8
Import dxf is managed by undo command
2022-07-24 20:58:00 +02:00
Laurent Trinques
b65ff83805
Update en translation
2022-07-24 18:17:26 +02:00
Laurent Trinques
c1f2b345e4
Update Fr translation
2022-07-24 16:50:50 +02:00
Peter Kessen
f9600f5dbb
Fix german translations
2022-07-24 10:51:12 +02:00
joshua
6e81451b46
Add import dxf feature
...
Use dxf2elmt to import dxf.
See https://github.com/antonioaja/dxf2elmt
2022-07-23 21:54:23 +02:00
Laurent Trinques
2a7848e1ca
Update *TS files
2022-07-21 19:17:09 +02:00
Lars Biskupek
c22abdd2f8
Update of German language files
2022-07-18 18:35:22 +02:00
Laurent Trinques
9e2d4abd01
Add Nidec Leroy-Somer Digitax HD M750 servo drive, thanks Matteo
2022-07-16 16:44:14 +02:00
Laurent Trinques
acd151c9ca
Improve last commit
2022-07-16 13:36:05 +02:00
Laurent Trinques
ab724377c0
Fixed a bug with many slaves of type Other, whose XREFs overlap in list
...
mode
2022-07-16 12:58:35 +02:00
Laurent Trinques
4c5d27e9af
Minor
2022-07-08 21:34:10 +02:00
Laurent Trinques
8af850df44
Add the architecture of the CPU that Qt was compiled for in widget aboutqetdialog and in the logs
2022-07-08 20:50:45 +02:00
Pino Toscano
8a1f509b62
flatpak: refresh 0001-build-Fix-the-installation-paths.patch
...
Needed after the recent build system changes to MIME-related paths.
2022-07-05 18:16:51 +02:00
Pino Toscano
cf479bc113
Drop old mimelnk MIME types
...
Those desktop MIME types were needed only with KDE up to 3.x, as it
used to have its own desktop-based MIME type system. KDE 3 is EOL for
many years now, and there are already XDG MIME types.
2022-07-05 18:16:51 +02:00
Pino Toscano
08e206deeb
Drop XML files autogenerated from qelectrotech.xml
...
These files are the bare XML definitions, and they are automatically
generated by update-mime-database (part of shared-mime-info) on update
(e.g. by distro hooks) or manually. Keeping them in the sources, and
installing them, is definitely not correct, as qelectrotech.xml is
their canonical definition.
Hence, drop them from the sources, together with references to them.
2022-07-05 18:16:51 +02:00
joshua
ba1e8381f2
Merge branch 'terminal_strip'
...
* terminal_strip:
Improve execution time of some actions.
Minor : fix little gui defect
Improve opening time of terminal strip editor window
Display conductor number
2022-07-04 21:45:18 +02:00
Laurent Trinques
d082c9c9a6
Minor refresh element abe7-h16210-11.elmt
2022-07-04 10:24:07 +02:00
Laurent Trinques
84631b238c
Add new symbol Telefast
2022-07-02 18:42:15 +02:00
artgg7300
aa50224b00
add new element AB 1734-ep24dc
2022-07-01 06:42:46 +02:00
Laurent Trinques
d44486f468
Add new eaton_moeller easy elements, thanks dmsque
2022-06-28 18:21:57 +02:00
joshua
2a307a74da
Improve execution time of some actions.
...
Improve the execution time when we add, change or remove
several terminals to/from terminal strip.
2022-06-23 21:36:24 +02:00
Tadeáš Pilař
1a2fea84ff
Add 'Other' option for slave device contact type
...
This option alows for displaying XRef without contact drawing.
This is useful for spliting one physical part into multiple
logical elements when the slave element is not a switch.
2022-06-23 05:41:33 +02:00
Laurent Trinques
f603b229db
Add new ABB drives, thanks dmsque
2022-06-23 05:34:08 +02:00
joshua
fa753449ad
Minor : fix little gui defect
...
At opening of terminal strip editor window, click on free terminal
in the tree dock don't show up the free terminal table.
2022-06-22 18:56:22 +02:00
joshua
fe19b270f9
Improve opening time of terminal strip editor window
...
Need serious refactoring of codes who use the method
Element::actualLabel() and also actualLabel itself.
This part of code is crappy.
2022-06-22 17:34:05 +02:00
Laurent Trinques
5c96c6d773
Add new Delta As_series elements, thanks dmsque
2022-06-18 04:05:19 +02:00
Maximilian Federle
637d0bf6de
publish edge snap: Adapt to snapcraft 7
2022-06-15 16:32:43 +02:00
Laurent Trinques
d917c697b0
Add new symbols
2022-06-15 14:28:40 +02:00
Laurent Trinques
1be21782fd
Add new symbols
2022-06-15 14:18:48 +02:00
joshua
2e15372aab
Display conductor number
2022-06-14 19:30:45 +02:00
plc-user
5c6b9f1829
changed more elements to "thumbnails"
2022-06-14 14:13:15 +02:00
plc-user
9c55378f49
added some parts of series 2003
2022-06-14 14:13:15 +02:00
plc-user
e367436358
Bugfix for "Weidmüller"-Part
2022-06-14 14:13:15 +02:00
joshua
c9ebdace04
Update some code.
...
Update some part of class LinkSingleElementWidget with more modern
c++ and recent change of Qet.
2022-06-13 21:06:00 +02:00
joshua
3e6e38e566
Continue revamp of elementprovider
2022-06-13 20:46:22 +02:00
joshua
c83d4e5aea
Refactoring.
...
Refactor elementProvider class : Use the ElementData::Types instead of
deprecated Element::kind
2022-06-13 20:27:06 +02:00
Laurent Trinques
0e9d09c62e
Minor revamp last commit: Add Shelly elments...
2022-06-12 10:35:10 +02:00
Laurent Trinques
fe66caf5ac
Add Shelly elments, thanks TheKilroy with add these on
...
qelectrotech-element-contrib
2022-06-10 12:21:50 +02:00
plc-user
c58d61594b
added some parts from manufacturer "Weidmüller"
2022-06-06 13:49:03 +02:00
plc-user
3cd3535c18
changed Front-Views to "thumbnails" and added some parts "2003"
2022-06-06 13:49:03 +02:00
joshua
97ecd26749
Use QLatin1String and QStringLiteral for better performance
...
In class ElementData.
2022-06-01 22:45:59 +02:00
joshua
2e70d2e599
Nomenclature now use properly the element type 'thumbnail'
...
Use function provided by ElementData to check element type and
master type instead of use plain text (code is more strong)
2022-06-01 22:29:12 +02:00
joshua
3dd0986c4f
Fix some warning and write more modern c++
2022-05-25 23:40:08 +02:00
joshua
899caeabe9
Fix wrong behavior when edit the element information
...
In the diagram editor, when we edit the element information in the side
panel, each time we tip something in the text field the cursor always go
to the end if the "label" information is empty.
2022-05-25 23:16:13 +02:00
joshua
a2b73ea2bc
Definitely fix the rotation problem :)
...
Only use space for every rotation
2022-05-25 21:47:31 +02:00
Laurent Trinques
bf32219154
Fix previous workaround
...
Now the shortcut for the rotate action is key_space and use key_R to
rotate terminal on the fly before placing it in the drawing.
2022-05-25 17:39:49 +02:00
Laurent Trinques
6a669f1399
Fix previous workaround
...
Because strange behaviour with Qt::key_space if used for keyPressEvent
and also in shortcut.
Now the shortcut for the rotate action is ctrl + R and key_space to
rotate terminal on the fly before placing it in the drawing.
2022-05-25 13:47:22 +02:00
joshua
4ab1ed7fc9
Fix previous workaround
...
The rotate action shortcut was 'space' before this commit and so the
keyPressEvent with space key was never propagated because always grabbed
by the rotate action.
Now the shortcut for the rotate action is ctrl + space.
Note that even if rotate exist in element editor, this doesn't work well
because the rotation is not well managed by the save/load from elmt
file.
2022-05-22 21:05:54 +02:00
Laurent Trinques
89d03e5503
Element editor : Workaround for Qt::Key_Space event not working
...
Use of ALT key as a replacement to rotate terminal on the fly before
placing it in the drawing.
Fix bug #262
https://qelectrotech.org/bugtracker/view.php?id=262
2022-05-21 23:28:44 +02:00
Laurent Trinques
9a6e1d2a61
Editor commands: change the rotation with the space key on the keyboard
...
from 90° to 15° for more precision for part lines, polygons, texts, arcs
and circles.
2022-05-20 10:18:37 +02:00
Laurent Trinques
fad6983cf1
Element::Thumbnail fix for BOM pages
2022-05-16 09:30:32 +02:00
Laurent Trinques
daeec311b2
Element::Thumbnail WIP
2022-05-16 08:59:25 +02:00
Laurent Trinques
db8c76c184
Element::Thumbnail WIP
2022-05-15 14:29:01 +02:00
Laurent Trinques
2ec7e6aa45
In 99_assembly_plan directory change link_type="simple" by link_type="thumbnail"
2022-05-15 06:28:20 +02:00
joshua
021aea1d8b
Add the new element type : thumbnail
...
This type must be used for element who goal is to display a
thumbnail/front view of an element, notably used for cabinet contents
view and placement.
2022-05-13 20:02:29 +02:00
Laurent Trinques
1f4dfdba3f
Add QPrinter::HighResolution
2022-05-05 13:37:24 +02:00
joshua
f0694f0daf
Merge branch 'terminal_strip'
...
* terminal_strip:
Remove terminal strip widget
Several terminals can be removed or moved from strip in one shot
2022-05-04 18:48:46 +02:00
joshua
baf412614c
Remove terminal strip widget
...
Since this commit, the terminals can't be moved from the tree widget,
instead we need to use the "move in" widget to move one or several
selected terminals in the table view.
2022-05-04 18:38:45 +02:00
Laurent Trinques
e1865fec62
Update Ewon elements, thanks Vbxler
2022-04-28 13:31:31 +02:00
Laurent Trinques
1e255af3be
Update SingleApplication and pugixml to latest upstream release
2022-04-27 13:52:41 +02:00
Laurent Trinques
1c99cb5c2d
Add Qt::AA_UseHighDpiPixmaps
2022-04-27 09:14:13 +02:00
Laurent Trinques
4ca21a3bff
Add new ewon elements, thanks Vbxler
2022-04-26 13:26:07 +02:00
Laurent Trinques
189d92f2a9
Minor
2022-04-26 08:15:20 +02:00
Laurent Trinques
34a7e0f3fe
Minor : machineinfo change RAM informations MB to GB
2022-04-26 07:54:41 +02:00
joshua
17290ae3b3
Try to fix fail to build for old Qt version
2022-04-25 18:24:43 +02:00
Laurent Trinques
8b65d240db
Add new example found on www
2022-04-23 13:37:36 +02:00
joshua
bce6a43427
Several terminals can be removed or moved from strip in one shot
2022-04-10 13:52:45 +02:00
joshua
1c52cd71a9
Merge branch 'terminal_strip'
...
* terminal_strip:
Minor fix : wrong variable name
2022-04-09 16:35:02 +02:00
joshua
898edb6c12
Minor fix : wrong variable name
2022-04-09 16:34:30 +02:00
joshua
de3fa988b1
Fix some clazy warning
2022-04-09 13:07:47 +02:00
joshua
b42aec7bdf
Minor
...
Block database signal when a project is currently being deleted.
Among other things, this avoid the multiple show of the dialog "table
limitation".
2022-04-09 12:46:07 +02:00
joshua
ea46a92f3f
Merge branch 'terminal_strip'
...
* terminal_strip:
Several real terminal can be added to terminal strip in one shot
Minor : avoid unnecessary multiple function call
The free terminal properties can be edited by batch.
Change made inside the free terminal table can be applied
Hide/show apply/reset buttons according to current displayed widget
Edited data of terminal strip can be applied
Change terminal strip editor class
Add free terminal editor widget
Add toolbar and buttons
Start to move terminal strip editor from QDialog to QMainWindow
Add table widget and item model for free terminal
Revamp code
Improve undo command when add/move/remove terminal in/from/to terminal strip
Revamp code.
Revamp code, make it more simple
Remove the real terminal uuid, and use instead the uuid of the terminal element itself
RealTerminal is created by the TerminalElement itself
Change relationship betwen classes RealTerminal PhysicalTerminald and TerminalElement
QTreeWidget "terminal explorer" : improve item text
minor : remove unused code
2022-04-09 11:54:58 +02:00
joshua
6197d0215a
Several real terminal can be added to terminal strip in one shot
...
User can select several real terminals in the free terminal editor
and add it with one operation on a terminal strip.
2022-04-08 20:48:32 +02:00
Laurent Trinques
6fd342e265
Fix typo
2022-04-07 17:01:23 +02:00
Laurent Trinques
395d968ab5
Minor
2022-04-07 16:48:37 +02:00
Laurent Trinques
e41b7f7d6c
Machine_info add disk and partition informations
2022-04-07 16:33:20 +02:00
Laurent Trinques
fabf0109ff
Remove element surpresseur_mono_hyd.elmt
2022-04-02 19:58:29 +02:00
Laurent Trinques
cabfdc0a54
Add reworked pneumatic symbols, thanks Vbxler
2022-04-02 19:52:17 +02:00
joshua
6f4122f65c
Fix a funny bug
...
When we create a summary table and uncheck the option "adjust the size
of the table to the folio" an infinity of new diagram are added to the
project.
2022-04-01 20:41:07 +02:00
joshua
ce21a812c0
Fix bug 244
...
I was thinking that the commit 5a51f6bace
fix the bug 244, but not they only fix this bug :
https://qelectrotech.org/forum/viewtopic.php?pid=16022#p16022
This commit really fix the bug 244
2022-04-01 20:04:17 +02:00
joshua
5a51f6bace
Fix crash
...
See bug N°244
https://qelectrotech.org/bugtracker/view.php?id=244
2022-03-31 19:05:45 +02:00
joshua
a38d97896d
Minor : avoid unnecessary multiple function call
...
TerminalStripTreeDockWidget::on_m_tree_view_currentItemChanged
call setCurrentStrip only when current strip changed, and not every time
when user click in another item on the tree view.
2022-03-30 20:30:57 +02:00
joshua
c4b0c1435c
The free terminal properties can be edited by batch.
2022-03-25 19:49:31 +01:00
joshua
a4445c411d
Change made inside the free terminal table can be applied
2022-03-25 19:25:46 +01:00
joshua
e92bd36f9b
Hide/show apply/reset buttons according to current displayed widget
2022-03-25 19:00:09 +01:00
Laurent Trinques
61ff8884e0
Minor
2022-03-24 06:25:28 +01:00
Laurent Trinques
b8af2e9d1d
Minor : add informations in aboutqetdialog widget
2022-03-24 06:13:03 +01:00
joshua
8084fa8f29
Edited data of terminal strip can be applied
2022-03-23 21:18:22 +01:00
plc-user
1066e55262
rework and new elements (Hager)
2022-03-21 05:19:01 +01:00
joshua
edfb23be23
Change terminal strip editor class
...
Change parent class from QDialog to QWidget.
Terminal strip editor is now embedded in TerminalStripEditorWindow.
2022-03-20 18:25:25 +01:00
plc-user
516a1a7826
more cleanup, rework and new elements
2022-03-19 15:18:29 +01:00
plc-user
be1d87c5d4
cleanup, rework and new elements
2022-03-17 08:38:38 +01:00
joshua
b48ba939de
Add free terminal editor widget
2022-03-16 22:44:08 +01:00
joshua
b1ad16d482
Add toolbar and buttons
...
Add 'add terminal strip' button.
Add 'remove terminal strip' button
Add 'reload' button
2022-03-16 18:58:36 +01:00
joshua
ceb54fbc6a
Start to move terminal strip editor from QDialog to QMainWindow
2022-03-14 17:56:18 +01:00
plc-user
e42bcb5ec9
bugfix, rework and new elements
2022-03-12 22:01:25 +01:00
joshua
9cbc3a2265
Add table widget and item model for free terminal
...
WIP, the change made in the table widget can't be applied.
2022-03-12 19:07:49 +01:00
plc-user
e93990a6e4
rework of some Elements and some new Terminals
2022-02-26 15:50:07 +01:00
Laurent Trinques
bb1a0767a3
Change & by undferscore in qet_labels.xml
2022-02-24 13:33:06 +01:00
Laurent Trinques
0b7afe4781
Flatpak & AppImage : restore Sqlite3 for database export
2022-02-21 13:45:55 +01:00
plc-user
9a3de1f780
rework of some Elements an some new ones
2022-02-21 13:36:09 +01:00
joshua
0ff099fb52
Revamp code
...
Change the way to know who is the physical terminal of a real terminal
when we got only the real terminal.
2022-02-20 13:13:29 +01:00
joshua
05a2e4b37b
Improve undo command when add/move/remove terminal in/from/to terminal strip
2022-02-19 12:34:38 +01:00
Laurent Trinques
830a70ac94
Add Linux pc.gpu.RAM informations,
...
but need glxinfo dependency
2022-02-17 19:01:56 +01:00
Laurent Trinques
e63a8c8482
Minor
2022-02-16 13:57:04 +01:00
Laurent Trinques
855162bb03
Improve QElapsedTimer in seconds to compute time used for reload element collection
2022-02-16 12:34:04 +01:00
Ole Carlsen
d2c15cf57b
Update Danish translation
2022-02-14 19:37:51 +01:00
artgg7300
02ce65b3a9
little mod on element
2022-02-14 05:20:11 +01:00
pavelfric
0bf1f89c13
Updated Czech translations of elements.
2022-02-13 11:28:37 +01:00
joshua
74c3ab1b82
Fix can't resize QetGraphicsTableItem
...
User can't grab the handler item.
2022-02-10 19:13:59 +01:00
joshua
062ae6e9eb
Fix intensive call of updateUi when move a QetGraphicsTableItem
2022-02-10 19:11:06 +01:00
joshua
dcc5a4dd0b
Revamp code.
...
Remove a QVector member variable and use instead a function who
return the same vector, but created on the fly
2022-02-09 19:15:45 +01:00
joshua
ba638f52e5
Revamp code, make it more simple
2022-02-09 18:57:27 +01:00
joshua
ffd904749e
Remove the real terminal uuid, and use instead the uuid of the terminal element itself
2022-02-09 18:13:35 +01:00
joshua
c037d3ea0a
RealTerminal is created by the TerminalElement itself
2022-02-09 18:08:20 +01:00
artgg7300
087c8980f0
little modif on element
2022-02-09 06:07:42 +01:00
joshua
70f50ff362
Change relationship betwen classes RealTerminal PhysicalTerminald and TerminalElement
2022-02-08 19:24:16 +01:00
artgg7300
904e805935
add new elements and remove a old
2022-02-08 06:27:36 +01:00
artgg7300
04d478882e
add new element Dahlander motor
2022-02-06 17:34:01 +01:00
joshua
35cd790c8f
Fix crash
2022-02-06 16:36:00 +01:00
joshua
1a26133a78
Add a QElapsedTimer to compute time used for reload element collection
2022-02-06 15:50:25 +01:00
joshua
a028b774bf
QTreeWidget "terminal explorer" : improve item text
...
In the QTreeWidget "terminal explorer", when the physical terminal is
composed by several real terminal, the text of the QTreeWidgetItem
display the label of each real terminal.
2022-02-06 15:05:24 +01:00
Laurent Trinques
72b7bc210f
Minor
2022-02-06 14:03:49 +01:00
Laurent Trinques
5fe2efca1a
Minor
2022-02-05 15:36:44 +01:00
Laurent Trinques
3ce09775ac
Minor
2022-02-05 13:12:11 +01:00
joshua
3a53c2d53b
minor : remove unused code
2022-02-05 12:02:59 +01:00
joshua
7ba27ec9d9
Fix very weird bug
...
see
https://linuxfr.org/forums/programmation-c/posts/erreur-de-compilation-aucun-fichier-ou-dossier-de-ce-type
2022-02-05 11:40:47 +01:00
Laurent Trinques
d74dcdea6c
Minor
2022-02-04 16:16:34 +01:00
joshua
9cb86a7e54
Fix fail to build for older version of Qt
2022-02-01 11:29:06 +01:00
joshua
826991e6d6
Improve how real terminals are grouped
2022-02-01 11:13:23 +01:00
joshua
53157afd12
Minor : rebuild terminal vector everywhere is needed
2022-02-01 10:30:42 +01:00
joshua
a165a3cb28
When undo an ungroup terminal command, the terminal keep the same level.
2022-02-01 09:53:06 +01:00
joshua
1d20018a26
Merge branch 'terminal_strip'
...
* terminal_strip:
Terminal strip bridge are now save in .qet file
Minor : don't push an undo command when change bridge color by the
same color
2022-01-31 18:17:27 +01:00
joshua
c02238cab8
Terminal strip bridge are now save in .qet file
2022-01-31 18:11:21 +01:00
joshua
35a40f1aba
Fix fail to build from sources for some Qt version
2022-01-31 17:25:10 +01:00
Laurent Trinques
6e55a630b4
Rename Folder names containing the '&' character cause the PHP file _exist() function to fail.
2022-01-30 11:24:11 +01:00
Laurent Trinques
9a17c8f72c
Rename Folder names containing the '&' character cause the PHP file _exist() function to fail.
2022-01-30 11:21:59 +01:00
Laurent Trinques
04c17ac5ac
Rename Folder names containing the '&' character cause the PHP file _exist() function to fail.
2022-01-30 10:50:21 +01:00
Laurent Trinques
686bd8dff1
Rename Folder names containing the '&' character cause the PHP file _exist() function to fail.
2022-01-30 10:36:18 +01:00
joshua
bd635b8e43
Minor : don't push an undo command when change bridge color by the same color
2022-01-28 18:37:40 +01:00
joshua
0bd0476cb1
Merge branch 'terminal_strip'
...
* terminal_strip:
Fix fail to build from sources
Minor improvement about undo/redo for bridge creation
Minor Fix : undo command for unbridge strip don't work
Minor : add undo text
2022-01-28 18:09:20 +01:00
joshua
d562ca8a39
Fix fail to build from sources
2022-01-28 18:08:16 +01:00
joshua
a31bd6eb0d
Minor improvement about undo/redo for bridge creation
...
When a new bridge is created, an undo command is created for that.
When undo the action and redo it, all terminals are bridged to a new
bridge instead of the first one, who continue to exist but is now
empty and 'lost' because he will never be reused.
In addition of that, if a more recent undo command (we call it undo2)
use this bridge,
there is a unknown behavior, because the status of the bridge is not the
same as when the undo2 was created.
2022-01-27 20:00:46 +01:00
joshua
d114b097bf
Minor Fix : undo command for unbridge strip don't work
2022-01-27 19:45:33 +01:00
joshua
993eb58d46
Minor : add undo text
2022-01-27 19:07:49 +01:00
joshua
7aa048740b
Merge branch 'terminal_strip'
...
* terminal_strip:
TerminalStripBridge color can be edited.
Use QSharedPointer instead of QWeakPointer + remove unused include
Change struct TerminalStripBridge to class
Revamp terminalStrip feature code
Revamp PhysicalTerminal class
Revamp RealTerminal class...... again
Improve bridge edition
Improve code readability
Fix copy constructo warning
Make code less spaghetti
Draw bridge pixmap in the tableview (wip)
REmove unused method : levelCellCount
Remove isXrefCell method...
Add terminal bridge feature
2022-01-27 19:02:43 +01:00
Maximilian Federle
306f4c7b54
projectview: Only append .qet if not snap or flatpak
2022-01-27 12:02:08 +01:00
Laurent Trinques
4334c8ec8c
Add new symbols, thanks Vbxler
2022-01-26 11:47:16 +01:00
dlee99
7aabdd1781
modified: lang/qet_nl.qm
...
modified: lang/qet_nl.ts
2022-01-21 21:55:02 +01:00
artgg7300
bb48c4607a
translated hungarian files
2022-01-20 10:49:33 +01:00
dlee99
0600b85e8a
modified: lang/qet_nl.qm
...
modified: lang/qet_nl.ts
2022-01-19 22:30:42 +01:00
Maximilian Federle
688d9fe4c1
projectview: Re-enable appending qet suffix if not running as flatpak
...
It was removed in b121dad for all platforms.
Only disable appending the suffix for the flatpak platform
by testing for the FLATPAK_ID environment variable.
2022-01-19 20:29:34 +01:00
joshua
683095173e
TerminalStripBridge color can be edited.
2022-01-18 11:24:07 +01:00
dlee99
0d70ed53a9
modified: lang/qet_nl.qm
...
modified: lang/qet_nl.ts
2022-01-15 21:45:46 +01:00
joshua
7d33b48b3a
Merge branch 'master' into terminal_strip
...
* master:
BugFix : default element collection path is wrong
snap: Remove framework snap prompt
Update translation and add cn chinese ts files
Danish translation updated
Danish translation
Danish translation
Add new thumbnail element
Flatpak add --share=network
Flatpak : add --socket=cups see :
https://github.com/flathub/org.libreoffice.LibreOffice/issues/90
Graphics item handler is bigger when overred
Add toolbar widget for edit size of handler in diagram editor.
Fix Multiple translation in elements
Fix Multiple translation in elements
Fix segfault.
new Analog-In - Module
cleanup and upgraded elements
modified: lang/qet_nl.qm modified: lang/qet_nl.ts
Add Russian translation, thanks "А.Разживин"
little modification in hungarian language
Fixed typo
2022-01-14 19:47:28 +01:00
joshua
d7e2ef283a
BugFix : default element collection path is wrong
2022-01-14 19:04:53 +01:00
Maximilian Federle
782eaff4d2
snap: Remove framework snap prompt
...
Now that https://github.com/snapcore/snapcraft/pull/3596 has been
released in snapcraft 6.0.1, drop the prompt that tells users to
disconnect the old framework snap.
Also drop --enable-experimental-extensions from CI because kde-neon
has been declared stable for core20.
2022-01-14 18:12:45 +01:00
Laurent Trinques
9bd2ea22f3
Update translation and add cn chinese ts files
2022-01-11 10:03:22 +01:00
Ole Carlsen
ee4ce5db4e
Danish translation updated
2022-01-09 18:45:25 +01:00
Ole Carlsen
b90d06aa5c
Merge branch 'master' of ssh://git.tuxfamily.org/gitroot/qet/qet
2022-01-09 16:29:35 +01:00
Ole Carlsen
ba47a11282
Danish translation
2022-01-09 16:28:30 +01:00
Ole Carlsen
4041073c96
Danish translation
2022-01-09 16:24:53 +01:00
joshua
8830204c0c
Add new thumbnail element
2022-01-07 16:41:04 +01:00
Laurent Trinques
d932f8ea01
Flatpak add --share=network
2022-01-05 11:16:22 +01:00
Laurent Trinques
8cfa852077
Flatpak : add --socket=cups see :
...
https://github.com/flathub/org.libreoffice.LibreOffice/issues/90
2022-01-05 07:24:56 +01:00
joshua
1a75eb19d0
Graphics item handler is bigger when overred
2022-01-04 18:41:46 +01:00
joshua
ae9faa2192
Add toolbar widget for edit size of handler in diagram editor.
...
Add a combo box in the tool bar of diagram editor
to quickly change the size of the graphics handler item.
The sarto commit :D
NOTE
only available for diagram editor, element editor will
come later.
2022-01-03 21:01:25 +01:00
Laurent Trinques
e087270b6d
Fix Multiple translation in elements
2021-12-31 13:29:17 +01:00
Laurent Trinques
b8263b03bc
Fix Multiple translation in elements
2021-12-31 13:23:03 +01:00
joshua
778837a770
Fix segfault.
...
Fix bug 249.
https://qelectrotech.org/bugtracker/view.php?id=249
2021-12-28 15:25:35 +01:00
joshua
09694ddec9
Use QSharedPointer instead of QWeakPointer + remove unused include
2021-12-26 18:48:11 +01:00
joshua
1572fafabe
Change struct TerminalStripBridge to class
...
And move it in a new file
2021-12-26 18:43:17 +01:00
joshua
5709f469fc
Revamp terminalStrip feature code
...
Move RealTerminal class in a new file
Move PhysicalTerminal class in a new file.
Remove the use of QWeakPointer and use instead QSharedPointer
in a big part of the revamp.
2021-12-26 17:26:00 +01:00
joshua
2ea9f8a2c6
Revamp PhysicalTerminal class
2021-12-23 22:17:37 +01:00
joshua
a2e5989f3b
Revamp RealTerminal class...... again
...
I don't know what I want, I'm crazy :D.
Next commit will also revamp PhysicalTerminal
and TerminalStripBridge class, code will be more clear and
easy to understand.
2021-12-23 18:37:17 +01:00
plc-user
e556abbab3
new Analog-In - Module
2021-12-23 09:06:00 +01:00
plc-user
337dd7c13b
cleanup and upgraded elements
2021-12-23 09:05:59 +01:00
dlee99
34a3325ba9
modified: lang/qet_nl.qm
...
modified: lang/qet_nl.ts
2021-12-22 21:04:59 +01:00
joshua
02b385e0b7
Improve bridge edition
2021-12-22 19:21:54 +01:00
joshua
e2454faa36
Improve code readability
2021-12-19 21:05:48 +01:00
joshua
57e80e7b5e
Fix copy constructo warning
2021-12-19 20:03:26 +01:00
joshua
6505330b5f
Make code less spaghetti
...
Not finished yet.
2021-12-19 14:55:02 +01:00
Laurent Trinques
56685d0f30
Add Russian translation, thanks "А.Разживин"
2021-12-17 16:29:26 +01:00
artgg7300
ee7a752a52
little modification in hungarian language
2021-12-16 15:51:32 +01:00
Jop Huttenhuis
7084f5bcf0
Fixed typo
...
Fixed a typo which caused a wrong summary table header.
2021-12-12 18:08:55 +01:00
joshua
cd914c8726
Merge branch 'master' into terminal_strip
...
* master: (21 commits)
Minor: remove spaces in filenames
minor: remove capital letters
Add new symbols Fibaro, thanks Bertus
Update Hungarian translation, thanks Gubányi
modified: lang/qet_nl.qm modified: lang/qet_nl.ts
Add preprocessor to check Qt version
Update *TS files
Add possibility to user to choose hdpi round policy
Minor improvement for function QETApp::customElementsDir() and QETApp::commonElementsDir()
Add new GCE symbol
Flatpak: update qet_tb_generator to version 1.3.1
Add new symbol nodemcu_v3, thanks Bertus
Add new symbols
ci: Build edge snaps on GitHub & release to store
snap: Port to core20
Flatpak update qet_tb_generator to 1.3.0 version
Fix typo in URL
SNAP change Github source to https://github.com/raulroda/qet_tb_generator-plugin
modified: lang/qet_nl.qm modified: lang/qet_nl.ts
upgraded elements and renamed company
...
2021-12-11 21:27:34 +01:00
joshua
beee4a06c8
Draw bridge pixmap in the tableview (wip)
2021-12-11 21:25:40 +01:00
Laurent Trinques
98960f5b2b
Minor: remove spaces in filenames
2021-12-07 14:35:29 +01:00
Laurent Trinques
2bdecd3bd2
minor: remove capital letters
2021-12-07 14:32:34 +01:00
Laurent Trinques
c22f3c84bb
Add new symbols Fibaro, thanks Bertus
2021-12-07 14:31:05 +01:00
Laurent Trinques
959dee7889
Update Hungarian translation, thanks Gubányi
2021-12-06 19:11:13 +01:00
dlee99
dd82a705d6
modified: lang/qet_nl.qm
...
modified: lang/qet_nl.ts
2021-12-04 22:05:11 +01:00
joshua
c744356b0f
Add preprocessor to check Qt version
...
Use to check if Qt is 5.14 for using
QGuiApplication::setHighDpiScaleFactorRoundingPolicy
2021-12-04 19:12:11 +01:00
Laurent Trinques
1073ebeebc
Update *TS files
2021-12-04 15:18:39 +01:00
joshua
b94ec0938b
Add possibility to user to choose hdpi round policy
...
Add combo box in general configuration dialog to let user
choose the round policy to use with hdpi screen.
2021-12-04 14:38:41 +01:00
joshua
eed1223c1d
Minor improvement for function QETApp::customElementsDir() and QETApp::commonElementsDir()
...
the path is set the first time the function is called.
Each other call will immediately return the previously setted path
instead of check again what path to return.
2021-12-04 12:22:47 +01:00
joshua
291e163ee2
REmove unused method : levelCellCount
2021-12-02 18:55:56 +01:00
joshua
6e68e6047a
Remove isXrefCell method...
...
and use instead columnTypeForIndex method
2021-12-02 18:54:45 +01:00
joshua
ce8bd7fae3
Add terminal bridge feature
2021-12-01 21:27:04 +01:00
Laurent Trinques
94f66553ac
Add new GCE symbol
2021-11-29 04:59:58 +01:00
Laurent Trinques
c7579db674
Flatpak: update qet_tb_generator to version 1.3.1
2021-11-28 13:56:31 +01:00
Laurent Trinques
478c7771b7
Add new symbol nodemcu_v3, thanks Bertus
2021-11-28 00:01:35 +01:00
Laurent Trinques
b46bf67c58
Add new symbols
2021-11-27 07:20:05 +01:00
Maximilian Federle
8c09399804
ci: Build edge snaps on GitHub & release to store
2021-11-20 16:57:45 +01:00
Maximilian Federle
5055e93114
snap: Port to core20
2021-11-20 16:57:45 +01:00
Laurent Trinques
c70eb65259
Flatpak update qet_tb_generator to 1.3.0 version
2021-11-16 13:36:13 +01:00
Laurent Trinques
ebeeb04aa4
Fix typo in URL
2021-11-16 13:31:52 +01:00
Laurent Trinques
f0413ce9a5
SNAP change Github source to https://github.com/raulroda/qet_tb_generator-plugin
2021-11-16 13:30:02 +01:00
dlee99
21bb3f8426
modified: lang/qet_nl.qm
...
modified: lang/qet_nl.ts
2021-11-09 22:14:23 +01:00
plc-user
acf7478c8b
upgraded elements and renamed company
2021-11-07 15:50:20 +01:00
Laurent Trinques
f08811aca0
Add Loxome symbols
2021-11-07 10:16:30 +01:00
dlee99
ea26f0b04e
modified: lang/qet_nl.qm
...
modified: lang/qet_nl.ts
2021-11-04 19:39:04 +01:00
Laurent Trinques
9485e3360b
Update *TS files
2021-11-04 09:39:59 +01:00
joshua
3e5713a512
Fix FTBFS for ubuntu bionic beaver
2021-11-01 13:36:41 +01:00
joshua
58a3e72abe
Fix FTBFS for ubuntu Bionic Beaver
2021-11-01 12:41:43 +01:00
joshua
2252feca16
Fix some FTBS for older version of Qt and std c++
2021-11-01 11:53:16 +01:00
joshua
985988ee53
Remove the use of c++17 if initializer
2021-10-29 20:57:11 +02:00
joshua
1cc162867f
Fix fail to build for QT version lesser than 5.14
2021-10-29 19:37:02 +02:00
joshua
91ac46df83
Fix wrong use of static method QUuid::fromString()
2021-10-29 18:53:36 +02:00
joshua
f01b15d00a
Merge branch 'master' into terminal_strip
...
* master:
Danish translation updated
translated hungarian files
Update of German Language File, thanks Lars
2021-10-27 20:56:19 +02:00
joshua
3fdba11c73
Add buttons to quickly edit the type, function and led of several terminal at once.
2021-10-27 20:54:34 +02:00
Ole Carlsen
7afa1b8a59
Danish translation updated
2021-10-25 19:31:37 +02:00
artgg7300
6f197c2bb7
translated hungarian files
2021-10-22 20:04:22 +02:00
Laurent Trinques
5b788c177b
Update of German Language File, thanks Lars
2021-10-22 06:41:57 +02:00
joshua
204b53cd00
Merge branch 'master' into terminal_strip
...
* master: (55 commits)
modified: lang/qet_nl.qm modified: lang/qet_nl.ts
Update *TS files
Fix some misprint
new and upgraded elements
fix typo
add terminals to thermo-couples
upgraded elements and descriptions
upgraded / added elements and descriptions
updated descriptions
more elements and descriptions
fix typos
update element-descriptions
update elements / more element-descriptions
fix designations / update descriptions
fix designations / update descriptions
update element-descriptions
fix typo
update element-descriptions
update / add elements
update element-descriptions
...
2021-10-20 21:32:45 +02:00
dlee99
a646359d51
modified: lang/qet_nl.qm
...
modified: lang/qet_nl.ts
2021-10-19 22:55:30 +02:00
Laurent Trinques
91f034272c
Update *TS files
2021-10-19 06:17:19 +02:00
joshua
aefae7b73b
Fix some misprint
...
When print on printer with low resolution, some lines are not printed
because to thin.
Thin line of elements : set width to 0.5 instead of 0 and set cosmetic
option to false.
Folio border and titleblock : set width to 1 and set cosmetic option to
false.
2021-10-16 10:15:45 +02:00
joshua
107d7ff806
Level of real terminal can be edited
...
The level of each real terminal who compose a physical terminal can be
edited. Several real terminal can be edited in one shot.
2021-10-12 19:25:35 +02:00
joshua
8b1f2fb0d9
Change the way how multi-level terminals are sorted
2021-10-10 10:58:38 +02:00
joshua
7c6fca2aac
Ungroup terminal is now managed by undo stack
2021-10-09 14:45:54 +02:00
joshua
c6e3e385ff
Clear code
2021-10-09 12:08:18 +02:00
joshua
089f260d9b
Group terminals together is now managed by undo stack
2021-10-09 11:58:10 +02:00
plc-user
09e345ee4a
new and upgraded elements
2021-10-06 06:14:55 +02:00
joshua
828424cae8
Level terminals can be disassembled
2021-10-04 21:26:51 +02:00
joshua
dca643f7aa
Multi-level terminal can be created.
2021-10-03 13:22:21 +02:00
plc-user
cc327cb761
fix typo
2021-10-01 14:56:15 +02:00
plc-user
c03f2b605f
add terminals to thermo-couples
2021-10-01 14:56:15 +02:00
plc-user
7ce23598e4
upgraded elements and descriptions
2021-10-01 14:56:15 +02:00
plc-user
3097a59c68
upgraded / added elements and descriptions
2021-10-01 14:56:15 +02:00
plc-user
53178cf17a
updated descriptions
2021-09-30 04:29:56 +02:00
plc-user
6d02cd1779
more elements and descriptions
2021-09-30 04:29:56 +02:00
plc-user
1839e988f6
fix typos
2021-09-29 09:45:24 +02:00
plc-user
543c706e0c
update element-descriptions
2021-09-29 09:45:24 +02:00
plc-user
5af8665e24
update elements / more element-descriptions
2021-09-29 09:45:24 +02:00
plc-user
86595f4114
fix designations / update descriptions
2021-09-26 07:09:50 +02:00
plc-user
f8cc42e3a7
fix designations / update descriptions
2021-09-25 05:53:10 +02:00
plc-user
085f56d192
update element-descriptions
2021-09-25 05:53:10 +02:00
plc-user
b580c2bb73
fix typo
2021-09-25 05:53:10 +02:00
plc-user
c6e168bb20
update element-descriptions
2021-09-25 05:53:10 +02:00
plc-user
a2a0c166d9
update / add elements
2021-09-25 05:53:10 +02:00
plc-user
96d6e21e2f
update element-descriptions
2021-09-24 18:16:59 +02:00
plc-user
4093d1fa27
update translations and elements / added elements
2021-09-24 18:16:59 +02:00
Peter Keresztes Schmidt
de80d10f5e
Build fix for non-C++17 compatible systems
...
std::variant/std::visit was only introduced with C++17. Remove its usage.
We don't even need it in these cases since QColor has an implicit constructor accepting Qt::GlobalColor.
Follow-up for b69c7b1027
2021-09-23 21:50:37 +02:00
joshua
1699ad9dd8
Add a push button to automatically reorder the terminal strip
2021-09-22 23:02:33 +02:00
Peter Keresztes Schmidt
e9a5fded5c
DiagramContextWidget: Fix verification of keys
2021-09-22 21:54:00 +02:00
Peter Keresztes Schmidt
a8d42b0f9a
Add MSVC support to MachineInfo
2021-09-22 21:53:21 +02:00
Peter Keresztes Schmidt
b69c7b1027
Refactor deeply nested statements
...
Compilation using MSVC fails with a C1061 error since MSVC has a hard limit on block nesting.
Refactor the code in question to use map lookups instead.
2021-09-22 21:53:21 +02:00
Olivier
7b0a581008
Correct a writing mistake in a name
2021-09-21 04:00:57 +02:00
Olivier
4f1a6d55e5
Redraw some switches and organize the folder a bit
2021-09-21 04:00:57 +02:00
Olivier
1048cef845
IEC 60617: Modification of group names
2021-09-21 04:00:57 +02:00
Olivier
dccbf92964
IEC 60617: Adding English names of elements
2021-09-21 04:00:57 +02:00
Olivier
626bf4ce9c
IEC 60617: Manual changes in element names
2021-09-21 04:00:57 +02:00
Olivier
1f22a5a0a8
IEC 60617: Correction of a file name
2021-09-21 04:00:57 +02:00
Olivier
ce4729e1c0
IEC 60617: Correction of wrong file names
2021-09-21 04:00:57 +02:00
Olivier
d99b035aa6
IEC 60617: Rename two elements that had wrong names
2021-09-21 04:00:57 +02:00
Olivier
ad77482235
IEC 60617: Rename files that had wrong names.
2021-09-21 04:00:57 +02:00
Olivier
b02ed7fe51
IEC 60617: Correct two elements
2021-09-21 04:00:57 +02:00
Olivier
58efc14633
IEC 60617: Rename files that had wrong names.
2021-09-21 04:00:57 +02:00
Olivier
b03deb8e3e
IEC 60617: Manual adjustment of "qet_directory" files
2021-09-21 04:00:57 +02:00
Olivier
580bb07685
IEC 60617: Addition of English in "qet_directory" files.
2021-09-21 04:00:57 +02:00
Olivier
818e5ef484
IEC 60617: manual change for some "qet_directory" files.
2021-09-21 04:00:57 +02:00
Olivier
bd6920e049
Correction of the family names in IEC 60617
2021-09-21 04:00:57 +02:00
joshua
377f8b1521
Overridden properties of terminal elements are now saved/loaded from project
...
The overridden properties of terminal elements made in the terminal
strip dialog are now saved and loaded from/to the project file.
2021-09-20 18:34:48 +02:00
joshua
67dbc798aa
Minor
2021-09-20 18:21:23 +02:00
plc-user
6d17f3d0ad
declare terminals as such / more element-descriptions
2021-09-20 14:50:18 +02:00
plc-user
5fc5a33543
some more element-descriptions
2021-09-18 10:13:56 +02:00
plc-user
337a2a45b4
added element-descriptions and elements
2021-09-18 10:13:56 +02:00
plc-user
8cb2fcc09c
more element-descriptions / new elements
2021-09-17 10:02:37 +02:00
plc-user
8547940ab2
more element-descriptions
2021-09-16 14:05:46 +02:00
plc-user
f52ed8cf51
upgrade descriptions, new elements
2021-09-16 14:05:46 +02:00
Adrien Allain
ccfb46b354
Implemented QET coding style (replaced 4 space with tab)
2021-09-14 09:35:14 +02:00
Adrien Allain
c640d96bca
* Added the m_rotate_action to qetelementeditor.ui * Adding QAction to qetelementeditor.cpp and connecting it to new slot RotateElementsCommand defined in editorcommands.cpp
...
* Some types of elements need to specialize the setRotation method in order to behave correctly :
- PartTerminal needs to call setOrientation
- PartLine, PartRectangle and PartPolygon need a different rotation center.
2021-09-14 09:35:14 +02:00
joshua
37e74b397e
Use RealTerminalData struct instead of TerminalStripIndex class
2021-09-12 12:49:12 +02:00
plc-user
9135099dbf
cleanup, upgrade descriptions, new elements
2021-09-12 12:13:18 +02:00
plc-user
76d68f5025
upgraded some descriptions
2021-09-12 12:13:18 +02:00
plc-user
710067969e
upgraded some elements
2021-09-12 12:13:18 +02:00
plc-user
ddc171cfa2
removed some un-necessary line-breaks
2021-09-12 12:13:18 +02:00
plc-user
896ffb9c72
upgrade some elements
2021-09-12 12:13:18 +02:00
plc-user
db8529c536
moved DIN-rails to separate directory; new elements
2021-09-12 12:13:18 +02:00
plc-user
fcab77420d
added/fixed translations and added elements
2021-09-12 12:13:18 +02:00
joshua
8c554e875d
Use QLatin1String
2021-09-10 23:43:36 +02:00
joshua
5ef073b6c1
Merge branch 'terminal_strip' into merge_confli_master_terminal_strip
...
* terminal_strip:
User can edit the label of terminal inside the terminal strip editor
Code refactoring
Double click on Xref cell show the terminal in the diagram
terminal function can be edited, edted value is applied to element
Table widget : led and type is editable
Minor gui change
Remove position section of terminalStripModel
2021-09-10 23:31:26 +02:00
joshua
895417c98c
Revert "Revert "Add terminalStripModel class""
...
This reverts commit 4615e6d060 .
2021-09-10 23:30:49 +02:00
joshua
374805d6ab
Revert "Revert "Merge branch 'master' of ssh://git.tuxfamily.org/gitroot/qet/qet into terminal_strip""
...
This reverts commit bb26954bd4 .
2021-09-10 23:30:20 +02:00
joshua
b08c2bd90b
User can edit the label of terminal inside the terminal strip editor
2021-09-10 21:01:03 +02:00
plc-user
543447aa31
added element-descriptions
2021-09-08 13:23:16 +02:00
plc-user
4622df84e3
added element-descriptions
2021-09-08 13:23:16 +02:00
plc-user
9e3cca101d
added translations
2021-09-08 13:23:16 +02:00
plc-user
5627295002
added element-descriptions and some elements
2021-09-08 13:23:16 +02:00
joshua
a765fe24be
Bug fix : in some condition element are not loaded when open a project
...
If an element are overwrite by a modified element and the terminals of
the modified element are moved, the old element is not loaded because
some terminal are not found.
This commit remove the checking of not found terminal because it's
useless now.
2021-09-07 22:23:43 +02:00
sdeffaux
07e38236d2
add and update symbols
2021-09-07 12:54:37 +02:00
sdeffaux
6e03e022e1
Add and update symbols
2021-09-07 12:54:37 +02:00
sdeffaux
883bee496c
Update symbols
2021-09-07 12:54:37 +02:00
pavelfric
9e5267aeb9
Updated Czech translation.
2021-09-06 10:02:51 +02:00
plc-user
ec367e847b
added translations
2021-09-02 14:19:44 +02:00
plc-user
77d38d80ea
adjusted terminals and text / added elements
2021-09-02 14:19:44 +02:00
plc-user
915e553a2f
added translations / simplified graphics
2021-09-02 14:19:44 +02:00
plc-user
318c49897c
removed duplicate elements
2021-09-02 14:19:44 +02:00
plc-user
87f8b1f154
fix typo in filename
2021-08-31 15:16:39 +02:00
plc-user
d6fd14dd5f
fixed fonts / added schematics for MID-Counters
2021-08-31 15:16:39 +02:00
plc-user
f4464ab5a3
added RF-modules and front-views of MID-Counters
2021-08-27 05:36:08 +02:00
plc-user
38e957f078
add translations
2021-08-25 13:59:55 +02:00
plc-user
62b23aa530
fix typos, add translations, add elements
2021-08-25 13:59:55 +02:00
joshua
4dd2dc259f
Code refactoring
2021-08-23 20:44:53 +02:00
joshua
f3811d3035
Add annex project
2021-08-20 17:41:08 +02:00
joshua
5288cd8c8b
Add tab "annex project" to about qelectrotech dialog
...
The goal is to list annex project of QElectroTech.
2021-08-20 17:31:37 +02:00
Laurent Trinques
d1974349e0
Restore Wago 2206_terminals symbols
2021-08-19 10:20:11 +02:00
joshua
80601a415a
Double click on Xref cell show the terminal in the diagram
2021-08-17 20:49:48 +02:00
sdeffaux
f3171dc0db
Add symbols
2021-08-15 22:57:20 +02:00
sdeffaux
359a09f40a
update symbols
...
ajout de symboles et traduction
2021-08-15 22:57:20 +02:00
plc-user
1899ef0336
further bugfixing and new elements
2021-08-13 08:47:36 +02:00
plc-user
0fa171470c
some new elements
2021-08-13 08:47:36 +02:00
plc-user
7a08847522
BugFixing, Labelling & Beautification of some elements
2021-08-13 08:47:36 +02:00
Simon De Backer
a3dfc3efa6
Fix Cmake
...
See:
3220a58b96 ("Move file", 2021-05-14)
2021-07-27 20:45:13 +02:00
Laurent Trinques
e730800a98
Add new symbols, thanks Vbxler
2021-07-19 07:18:15 +02:00
dlee99
63c98225ef
modified: lang/qet_nl.qm
...
modified: lang/qet_nl.ts
2021-07-18 23:02:27 +02:00
joshua
cc6f66ad11
terminal function can be edited, edted value is applied to element
2021-07-17 13:44:44 +02:00
dlee99
8ac9d0d9a8
modified: lang/qet_nl.qm
...
modified: lang/qet_nl.ts
2021-07-16 21:18:48 +02:00
joshua
30dc34ebe1
Table widget : led and type is editable
...
But not applied yet to the terminal strip
2021-07-13 12:27:08 +02:00
joshua
efed7ab5c0
Minor gui change
2021-07-12 19:16:01 +02:00
dlee99
1e7dfb8f5a
modified: lang/qet_nl.qm
...
modified: lang/qet_nl.ts
2021-07-11 00:12:44 +02:00
Laurent Trinques
6f736cb785
Add new ewon element, thanks Vbxler
2021-07-06 19:55:57 +02:00
joshua
52e884b793
Minor fix : slave Xref item is not updated when variable %F is used
2021-06-28 21:31:15 +02:00
joshua
5912a99c16
Minor fix : master XRef is not updated when variable %F is used
2021-06-28 21:24:28 +02:00
joshua
8f051fc612
Remove table useless qetgraphicstableitem when model is reseted
...
When the model of a qetgraphicstableitem is reseted (for exemple when
the sql query is modified) we check if there is useless tables (table
with 0 row displayed) and remove it.
2021-06-24 19:46:18 +02:00
joshua
bd96faa14f
Fix crash
...
When a qetgraphicstable is deleted, the next and previous table is not
aware about the deletion and keep a dangled pointer of the deleted table
who cause a segfault.
2021-06-24 19:15:24 +02:00
joshua
f410fbf7e2
Remove position section of terminalStripModel
2021-06-07 21:56:27 +02:00
joshua
bb26954bd4
Revert "Merge branch 'master' of ssh://git.tuxfamily.org/gitroot/qet/qet into terminal_strip"
...
This reverts commit 364bce618c , reversing
changes made to efb4a8dd71 .
2021-06-07 20:00:52 +02:00
joshua
4615e6d060
Revert "Add terminalStripModel class"
...
This reverts commit a1e18d2bba .
2021-06-07 19:45:45 +02:00
joshua
a1e18d2bba
Add terminalStripModel class
2021-06-07 19:26:41 +02:00
joshua
364bce618c
Merge branch 'master' of ssh://git.tuxfamily.org/gitroot/qet/qet into terminal_strip
2021-06-07 19:25:30 +02:00
artgg7300
efb4a8dd71
translated hungarian element names
2021-06-05 07:43:06 +02:00
plc-user
f1e353b342
added some additional front-views (100mm->200px)
2021-06-04 21:43:38 +02:00
plc-user
78a48e48c1
changed scaling of front-views to 100mm->200px
2021-06-04 21:43:38 +02:00
Kevin Tee
b448c26d71
Fix typo.
...
Fix typo.
Also, can we add more screenshots?
2021-05-26 22:40:15 +02:00
Laurent Trinques
c7648fe2af
Snap : try to add PySimpleGUI python-packages
2021-05-21 19:38:11 +02:00
joshua
6660caa70f
Merge branch 'master' into terminal_strip
2021-05-21 19:18:16 +02:00
joshua
fdbfca9a8c
Change ElementData enum
...
Change enum value 'ground' from enum 'function' to enum 'type'
2021-05-21 19:15:26 +02:00
Laurent Trinques
93b164d077
Update Flatpak, thanks kevinsmia1939
2021-05-20 16:10:01 +02:00
Laurent Trinques
8ed4e742f5
Minor
2021-05-18 08:09:36 +02:00
joshua
c1fdc1adaa
Fix xrefproperties bug
...
Change only slave Xrefproperties is not applied due to overload operator
== who don't compare the formula string of slave.
2021-05-15 18:58:26 +02:00
joshua
789e195ace
Fix include path from previous commit
2021-05-14 19:50:30 +02:00
joshua
3220a58b96
Move file
2021-05-14 19:37:36 +02:00
joshua
21c35bc744
Minor improvement at element picture creation
...
Call once the uuid() method of element location instead of four (and so
parse once time the xml) to store the uuid/picture and uuid/primitive to
hash.
2021-05-14 16:15:49 +02:00
joshua
fd9ab47041
Load project from xml is a little more faster
...
Like previous commit, in the method loadDiadrams() we call the method
diagramAdded(), in this method we call rebuildDiagramsMap()
updateAllTabsTitle() and these methods operate a loop for each existing
DiagramView.
Now loadDiagrams don't call diagramAdded (which must be used only when
user add a diagram during the use of QElectroTech) but make operations
itself and when all DiagramView are added, call rebuildDiagramsMap()
updateAllTabsTitle() only once.
2021-05-14 15:47:10 +02:00
joshua
71636ba874
Merge branch 'master' of ssh://git.tuxfamily.org/gitroot/qet/qet
2021-05-14 13:39:33 +02:00
joshua
0aea48bdaa
Open project is a litle more faster
...
In the methods readDiagramsXml we call addDiagram for each diagrams
loaded from xml, inside the addDiagram method we call the method
updateDiagramsFolioData() and to finish this method operate a loop for
each existing diagram.
Then when we load a project from xml of
10 folios, loop inside updateDiagramsFolioData() is called 55 time.
50 folios, loop inside updateDiagramsFolioData() is called 1275 time.
100 folios, loop inside updateDiagramsFolioData() is called 5050 time.
Now instead of call addDiagram, we add diagram directly inside the
methods readDiagramsXml and call the method updateDiagramsFolioData()
only once when all diagrams are loaded.
2021-05-14 13:38:59 +02:00
Ole Carlsen
dd51819403
Updated Danish Translation
2021-05-13 21:39:48 +02:00
joshua
ffabeb9caa
Avoid excessive debug outputs
...
Avoid excessive debug outputs when terminal type doesn't exist (99.99%
of actual elements collections).
2021-05-13 20:48:56 +02:00
dlee99
bfc1df633e
modified: lang/qet_nl.qm
...
modified: lang/qet_nl.ts
2021-05-12 21:06:49 +02:00
joshua
507c1b4f73
Minor gui behavior improvement
2021-05-11 18:46:12 +02:00
joshua
580ebe8b97
Terminal strip can now be edited and managed by undo command
2021-05-11 18:20:46 +02:00
joshua
e0579b3040
Add widgets to edit terminal strip data (WIP)
2021-05-11 18:20:46 +02:00
joshua
ded4ea555f
Terminal element can be removed from a terminal strip
2021-05-11 18:20:46 +02:00
joshua
f07f4cb150
Fix drag and drop bug
2021-05-11 18:20:46 +02:00
joshua
dbb21373e1
Read terminal strip from xml
2021-05-11 18:20:46 +02:00
joshua
89f3ce1eb3
terminal strip can be saved to xml
2021-05-11 18:20:46 +02:00
joshua
36068abce7
Add a reload push button
...
Add a reload push button to quickly reload/update the gui according to
the current state of the terminal strip.
2021-05-11 18:20:46 +02:00
joshua
d551c8e6b9
Improve undo command when remove a terminal strip
2021-05-11 18:20:46 +02:00
joshua
2572e1c25d
Display terminals owned by terminal strip in the tree view
2021-05-11 18:20:46 +02:00
joshua
b158984464
Set parent terminal strip of terminal element
...
Call the method :
void TerminalElement::setParentTerminalStrip(TerminalStrip *strip)
when a terminal element is added to a terminal strip.
2021-05-11 18:20:46 +02:00
joshua
256d42d030
Add and move terminal element to strip is managed by undo
2021-05-11 18:20:46 +02:00
joshua
171e95fb17
Enable drag and drop of terminal tree widget item
2021-05-11 18:20:46 +02:00
joshua
d3ad490b84
Initial comit to use drag and drop
2021-05-11 18:20:46 +02:00
joshua
df07f373d8
Terminal strip add/remove is managed by undo stack
2021-05-11 18:20:46 +02:00
joshua
5d17461c6e
Add RemoveTerminalStripCommand class
2021-05-11 18:20:46 +02:00
joshua
2cf5ea11fd
Fix : undo code is executed in redo function and vice versa
...
Need to sleep ?
2021-05-11 18:20:46 +02:00
joshua
573c0c236a
Add undo command for add/remove a terminal strip
2021-05-11 18:20:46 +02:00
joshua
63429ab087
Terminal strip editor display the free terminal elements
2021-05-11 18:20:46 +02:00
joshua
00846c1418
Add "parent terminal" strip member to TerminalElement class
2021-05-11 18:20:46 +02:00
joshua
a3f776b7db
Add 'comment' to terminal strip
2021-05-11 18:20:46 +02:00
joshua
91db58bb64
Add dialog to create terminal strip + display existing terminal strip
2021-05-11 18:20:46 +02:00
joshua
0a2ec297bf
Minor
2021-05-11 18:20:46 +02:00
joshua
bbfe9ed377
Add terminal strip editor widget
2021-05-11 18:20:46 +02:00
joshua
39aee4ad07
Add terminal strip data class
2021-05-11 18:20:46 +02:00
joshua
49674e7d33
Add terminal strip class
2021-05-11 18:20:46 +02:00
joshua
12c0dbd8d1
Minor gui change
2021-05-11 18:20:19 +02:00
artgg7300
734e70ffb1
translated hungarian lang files
2021-05-11 06:11:43 +02:00
Laurent Trinques
480066cc6d
Update *TS files
2021-05-09 12:46:47 +02:00
joshua
74dcf96e4b
Element editor: make element text option "keep visual rotation" editable.
2021-05-08 22:14:15 +02:00
Laurent Trinques
222c86f550
Minor update README.md
2021-05-06 23:34:18 +02:00
Laurent Trinques
b255423245
Update README.md
2021-05-06 23:27:09 +02:00
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
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