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
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
6505330b5f
Make code less spaghetti
...
Not finished yet.
2021-12-19 14:55:02 +01:00
joshua
beee4a06c8
Draw bridge pixmap in the tableview (wip)
2021-12-11 21:25:40 +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
joshua
2252feca16
Fix some FTBS for older version of Qt and std c++
2021-11-01 11:53:16 +01: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
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
7c6fca2aac
Ungroup terminal is now managed by undo stack
2021-10-09 14:45:54 +02:00
joshua
089f260d9b
Group terminals together is now managed by undo stack
2021-10-09 11:58:10 +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
joshua
1699ad9dd8
Add a push button to automatically reorder the terminal strip
2021-09-22 23:02:33 +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
37e74b397e
Use RealTerminalData struct instead of TerminalStripIndex class
2021-09-12 12:49:12 +02:00
joshua
b08c2bd90b
User can edit the label of terminal inside the terminal strip editor
2021-09-10 21:01:03 +02:00
joshua
4dd2dc259f
Code refactoring
2021-08-23 20:44:53 +02:00
joshua
80601a415a
Double click on Xref cell show the terminal in the diagram
2021-08-17 20:49:48 +02:00
joshua
cc6f66ad11
terminal function can be edited, edted value is applied to element
2021-07-17 13:44:44 +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
joshua
a1e18d2bba
Add terminalStripModel class
2021-06-07 19:26:41 +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
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
2572e1c25d
Display terminals owned by terminal strip in the tree view
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
63429ab087
Terminal strip editor display the free terminal elements
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
bbfe9ed377
Add terminal strip editor widget
2021-05-11 18:20:46 +02:00