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
joshua
d9a0b03e23
Minor : add QGIUtility namespace
2022-07-15 20:48:06 +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