Commit Graph

6984 Commits

Author SHA1 Message Date
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 9-dev-2021/09/09 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