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
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
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
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
joshua
70f50ff362
Change relationship betwen classes RealTerminal PhysicalTerminald and TerminalElement
2022-02-08 19:24:16 +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
joshua
3a53c2d53b
minor : remove unused code
2022-02-05 12:02:59 +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
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
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
683095173e
TerminalStripBridge color can be edited.
2022-01-18 11:24:07 +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
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
joshua
beee4a06c8
Draw bridge pixmap in the tableview (wip)
2021-12-11 21:25:40 +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
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
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
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
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
joshua
828424cae8
Level terminals can be disassembled
2021-10-04 21:26:51 +02:00