mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-04-05 11:59:59 +02:00
Start the work on a new feature : search and replace.
This commit let user find for : texts, conductors and elements. WIP. git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5526 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -44,7 +44,7 @@ class DiagramContent
|
||||
{
|
||||
public:
|
||||
DiagramContent();
|
||||
DiagramContent(Diagram *diagram);
|
||||
DiagramContent(Diagram *diagram, bool selected = true);
|
||||
DiagramContent(const DiagramContent &);
|
||||
~DiagramContent();
|
||||
|
||||
@@ -71,6 +71,7 @@ class DiagramContent
|
||||
QList<Conductor *> m_conductors_to_update;
|
||||
QList<Conductor *> m_conductors_to_move;
|
||||
QList<Conductor *> m_other_conductors;
|
||||
QList<Conductor *> m_potential_conductors;
|
||||
QSet<DynamicElementTextItem *> m_element_texts;
|
||||
QSet<ElementTextItemGroup *> m_texts_groups;
|
||||
QList<QGraphicsItem *> m_selected_items;
|
||||
@@ -87,6 +88,7 @@ class DiagramContent
|
||||
int removeNonMovableItems();
|
||||
|
||||
DiagramContent& operator+=(const DiagramContent& other);
|
||||
bool potentialIsManaged(QList<Conductor *>conductors);
|
||||
};
|
||||
QDebug &operator<<(QDebug, DiagramContent &);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user