mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-08-02 18:14:13 +02:00
Implement slave contact groups — label transfer, terminal assignment and UI fixes
This commit is contained in:
@@ -134,6 +134,11 @@ class TerminalData : public PropertiesInterface
|
||||
/// Color of the text label
|
||||
QColor m_label_color = Qt::black;
|
||||
|
||||
/// Whether this terminal uses a label from the master's contact group
|
||||
bool m_use_master_label = false;
|
||||
/// Index into the master's contact group labels (T1=0, T2=1, ..., T20=19)
|
||||
int m_master_label_index = 0;
|
||||
|
||||
private:
|
||||
QGraphicsObject* q{nullptr};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user