Kellermorph
e6ffc8b622
Address all review feedback
2026-09-16 11:37:27 +02:00
Kellermorph
c2f405c32d
Add Hide full masters checkbox to slave linking widget
2026-09-15 21:48:47 +02:00
ispyisail
ffd829bb69
Make the slave limit advisory rather than a refusal
...
max_slaves records how many contacts a part is expected to carry. It was
enforced as a rule the drawing had to obey, which obstructs the way both
@scorpio810 and @IBSYSLevi described working in #819 : draw the schematic
first, choose the physical hardware afterwards. A limit that refuses the
link forces the hardware decision up front, which is exactly what they
said gets in the way.
Two changes, both in the UI rather than in isFull(), which stays the
query it always was:
- MasterPropertiesWidget::on_link_button_clicked() now says the limit
is reached and asks whether to link anyway, defaulting to yes,
instead of refusing outright.
- LinkSingleElementWidget no longer removes a full master from the
candidate list. That was the worse half: a master at its limit simply
was not there, indistinguishable from one that does not exist, with
nothing to say why. It now stays selectable and the user decides.
PLC masters are deliberately left alone. Their limit is the number of
declared IO slots, which is structural rather than advisory -- a link
past it would have no IO index to map to -- and PlcLinkWidget already
tells the user when it hides one, via m_hidden_masters_label.
Only coils that opt into a limit are affected: max_slaves defaults to
-1, and no project in examples/ sets it.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com >
2026-09-10 11:54:52 +12:00
enesgursoy6110
36dd1624d2
Show folio identity first in report link picker
2026-09-08 21:02:46 +03:00
Andre Rummler
c7ed3229d0
Migrating more SLOT() macros.
2026-08-09 12:30:15 +02:00
Andre Rummler
62ad49a6d3
Update old fashioned SIGNAL/SLOT to point-to-member. Only simple and clear cases.
2026-08-08 00:32:31 +02:00
Kellermorph
b3a8ae898e
PLC Manager
2026-07-27 22:16:52 +02:00
Kellermorph
b025bd205d
Implement slave contact groups — label transfer, terminal assignment and UI fixes
2026-07-17 09:47:32 +02:00
Kellermorph
4e0c075575
Fix grid and guide startup behavior and update german translation
2026-06-16 17:41:03 +02:00
Kellermorph
825eeb77e4
Translate comments to English and clarify filtering logic
2026-03-31 20:14:51 +02:00
Kellermorph
605392cf9b
Filter out full MasterElements from elmt_vector
...
Added filtering for full MasterElements from the list of elements.
2026-03-31 17:53:01 +02:00
Laurent Trinques
815e959a2d
Revert "Feature: Implement max_slaves limit for Master elements"
2026-03-27 15:33:03 +01:00
Kellermorph
84c755a0c8
Filter out full MasterElements from element list
...
Added filtering for full MasterElements from the list of elements.
2026-03-26 15:29:03 +01:00
Laurent Trinques
4044d04cc5
One year
Auto-build doxygen docs / doxygen (push) Has been cancelled
Auto-build doxygen docs / deploy (push) Has been cancelled
2026-01-16 15:24:35 +01:00
Laurent Trinques
77bfe84a4c
One year
2025-01-04 13:37:40 +01:00
plc-user
0d44933432
correct more indentations / whitespace
2024-04-24 18:02:00 +02:00
Laurent Trinques
e73cf633ce
2023->2024
2024-03-29 10:09:48 +01:00
joshua
03094e1328
Fix wrong display in widget used to link folio report
2023-03-01 19:33:26 +01:00
Laurent Trinques
9afef79629
Update Copyright date
2023-01-01 17:05:57 +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
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
ef58f34c14
Update Copyright date
2021-02-20 12:13:46 +01:00
joshua
2513961cd6
Revert "Update Copyright date"
...
This reverts commit d04bccc384 .
2021-02-06 19:00:48 +01:00
Laurent Trinques
d04bccc384
Update Copyright date
2021-02-06 18:33:42 +01:00
Simon De Backer
10c4c3d528
Wip Fix preprocessor on Cmake
2020-12-08 19:57:35 +01:00
Simon De Backer
8e956df8d8
Fix some doxygen issues
2020-08-18 21:28:52 +02:00
Simon De Backer
928b56f2bf
Improve code style, Wrap code for better readability
2020-08-16 14:23:59 +02:00
Simon De Backer
d4ee161c07
Mod doc set style de same
2020-08-16 11:19:36 +02:00
Laurent Trinques
68e78a0de9
Fix indentation code
2020-07-15 20:20:07 +02:00
Laurent Trinques
e10ae8ce2e
Update Copyright date
2020-06-15 17:42:53 +02:00
Simon De Backer
74c3fc8dd9
fix deprecated warning QTreeWidgetItem::setBackgroundColor
...
Use
setBackground()
instead.
This function was introduced in Qt 4.2.
2020-06-01 11:53:38 +02:00
Laurent Trinques
6b16f5b46d
Add new conductors properties color and section
2020-05-31 22:33:25 +02:00
joshua
fc73d53d73
CSV export : correctly export label
2019-11-07 21:21:07 +01:00
scorpio810
3ed7a4e63b
Minor : update Copyright date
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5705 bfdf4180-ca20-0410-9c96-a3a8aa849046
2019-01-13 16:56:12 +00:00
scorpio810
30bee81432
Revert r5449 and disable r5452 momentary : Load time from elements is
...
very slow
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5461 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-30 15:24:29 +00:00
scorpio810
b97b01d63c
Apply clang-tidy's modernize-use-auto
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5449 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-07-19 16:27:20 +00:00
blacksun
2be0af2f43
minor fix : slave link dialog doesn't display the good label, when the label of master element is build from formula.
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5405 bfdf4180-ca20-0410-9c96-a3a8aa849046
2018-06-21 15:36:03 +00:00
blacksun
31775871a4
When we link two reports together, if the text is the same for every conductors, we don't ask to user what to do, even if the function or the tension/protocol are not identical.
...
Now we check : text, function and tension/protocol, if one of these three values is not identical, we ask to user what to do.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5032 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-27 11:27:41 +00:00
blacksun
fe46dc29a6
Fix ftbfs for ubuntu 14.04
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5023 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-08-22 17:24:51 +00:00
blacksun
07be603a1f
Minor
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4915 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-02-15 16:10:07 +00:00
scorpio810
41659fa6fd
Revert r4900
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4902 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-02-05 16:18:50 +00:00
scorpio810
6422dd096f
Replace foreach function by for, please try and report problem
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4900 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-02-04 21:43:23 +00:00
scorpio810
902037d278
Link single element widget : use folio label/ID switch for show or hide
...
columns in the QTreeWidgetItem
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4897 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-02-02 18:00:53 +00:00
scorpio810
66c24c51ed
Fix FTBFS if QT VERSION < 5.5.0
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4895 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-31 15:50:43 +00:00
blacksun
7569c5cc99
Master, slave and report QTreeWidget used for Xref :
...
The header of the QTreeWidget have a context menu used to save the current state of the columns (size and position).
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4887 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-30 14:29:01 +00:00
blacksun
4f17eaa9c3
Link single element widget : when link a folio report, add columns for the values : Conductor text, function, tension/protocole
...
Add a line edit used to filter the QTreeWidgetItem.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4886 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-29 18:43:42 +00:00
scorpio810
0f53d5e69e
Minor fix
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4884 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-27 21:03:06 +00:00
blacksun
0b943ed52d
Link single element widget : revamp the widget (use a QTreeWidget instead of a list of widgets) and add the variable %F to the value displayed
...
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4874 bfdf4180-ca20-0410-9c96-a3a8aa849046
2017-01-26 10:09:07 +00:00