mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-03-20 11:09:58 +01:00
Search and replace : Independent text item can be changed (and mass changed) through the search and replace widget.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5582 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
|
||||
class Diagram;
|
||||
class Element;
|
||||
class IndependentTextItem;
|
||||
|
||||
/**
|
||||
* @brief The SearchAndReplaceWorker class
|
||||
@@ -39,6 +40,8 @@ class SearchAndReplaceWorker
|
||||
void replaceDiagram(Diagram *diagram);
|
||||
void replaceElement(QList <Element *> list);
|
||||
void replaceElement(Element *element);
|
||||
void replaceIndiText(QList<IndependentTextItem *> list);
|
||||
void replaceIndiText(IndependentTextItem *text);
|
||||
|
||||
static QString eraseText() {return QString("XXXXXXXXXXXXXXXXXXX");}
|
||||
static QDate eraseDate() {return QDate(1900, 1, 1);}
|
||||
@@ -46,6 +49,7 @@ class SearchAndReplaceWorker
|
||||
private:
|
||||
TitleBlockProperties m_titleblock_properties;
|
||||
DiagramContext m_element_context;
|
||||
QString m_indi_text;
|
||||
|
||||
friend class SearchAndReplaceWidget;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user