mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-23 18:50:52 +01:00
Search and replace : Element properties can be changed (and mass changed) through the search and replace widget.
Also improve the search for element git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5576 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
#include "titleblockproperties.h"
|
||||
|
||||
class Diagram;
|
||||
class Element;
|
||||
|
||||
/**
|
||||
* @brief The SearchAndReplaceWorker class
|
||||
@@ -36,12 +37,15 @@ class SearchAndReplaceWorker
|
||||
void clear();
|
||||
void replaceDiagram(QList <Diagram *> diagram_list);
|
||||
void replaceDiagram(Diagram *diagram);
|
||||
void replaceElement(QList <Element *> list);
|
||||
void replaceElement(Element *element);
|
||||
|
||||
static QString eraseText() {return QString("XXXXXXXXXXXXXXXXXXX");}
|
||||
static QDate eraseDate() {return QDate(1900, 1, 1);}
|
||||
|
||||
private:
|
||||
TitleBlockProperties m_titleblock_properties;
|
||||
DiagramContext m_element_context;
|
||||
|
||||
friend class SearchAndReplaceWidget;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user