Maximilian Federle
1d4d994628
publish edge snap: Adapt to snapcraft 7
2022-06-15 16:06:40 +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
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
joshua
f410fbf7e2
Remove position section of terminalStripModel
2021-06-07 21:56:27 +02:00