xref properties widget: user can define the behavior of xref for coil and protection.

They don't work now with official collection, because we must to update the information of element (type coil or protection).
You can test it by creating new master element (dont forget to define the master type, coil or protection).


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3185 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2014-07-03 08:52:14 +00:00
parent 8c5f953897
commit 68e9d33e88
14 changed files with 180 additions and 75 deletions

View File

@@ -104,7 +104,7 @@ class Diagram : public QGraphicsScene {
public:
QString defaultReportProperties () const {return project_ -> defaultReportProperties();}
XRefProperties defaultXRefProperties () const {return project_ -> defaultXrefProperties();}
XRefProperties defaultXRefProperties (const QString &str) const {return project_ -> defaultXRefProperties(str);}
static bool clipboardMayContainDiagram();
bool setNumerotation (NumerotationType, NumerotationContext);
NumerotationContext getNumerotation (NumerotationType) const;
@@ -213,7 +213,7 @@ class Diagram : public QGraphicsScene {
/// Signal emitted when users wish to edit an element from the diagram
void editElementRequired(const ElementsLocation &);
void reportPropertiesChanged(QString);
void XRefPropertiesChanged(XRefProperties);
void XRefPropertiesChanged();
};
Q_DECLARE_METATYPE(Diagram *)