mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Merge branch 'terminal_strip'
* terminal_strip: Terminal strip item can saved / loaded to .qet file See previous commit... Move terminal strip drawer class in is own file Fix wrong use of QStringLiteral and QLatin1String Double click a TerminalStripItem open the editor Minor change about checkable QAction of QetDiagramEditor Minor : corrects a minor aesthetic defect when unbridge terminals Revamp code Add and move terminal strip item are now managed by undo command TerminalStripItem : Draw terminal bridge Terminal strip item can be added to diagram Minor : add QGIUtility namespace
This commit is contained in:
@@ -32,6 +32,7 @@ class ElementTextItemGroup;
|
||||
class Diagram;
|
||||
class DiagramTextItem;
|
||||
class QetGraphicsTableItem;
|
||||
class TerminalStripItem;
|
||||
|
||||
/**
|
||||
This class provides a container that makes the transmission of diagram content
|
||||
@@ -62,8 +63,9 @@ class DiagramContent
|
||||
Shapes = 128,
|
||||
TextGroup = 256,
|
||||
Tables = 512,
|
||||
All = 1023,
|
||||
SelectedOnly = 1024
|
||||
TerminalStrip = 1024,
|
||||
All = 2047,
|
||||
SelectedOnly = 2048
|
||||
};
|
||||
|
||||
QList<Element *> m_elements;
|
||||
@@ -78,6 +80,7 @@ class DiagramContent
|
||||
QSet<ElementTextItemGroup *> m_texts_groups;
|
||||
QList<QGraphicsItem *> m_selected_items;
|
||||
QVector<QetGraphicsTableItem *> m_tables;
|
||||
QVector<TerminalStripItem *> m_terminal_strip;
|
||||
|
||||
|
||||
QList<DiagramTextItem *> selectedTexts() const;
|
||||
|
||||
Reference in New Issue
Block a user