mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-05-19 19:29:58 +02:00
-add class for store Xref properties
-add widget for edit it -make link betwen QET -> QETproject -> Diagram, for transmit the xrefproperties -xrefpropertie can save/load to xml and setting. -XRefItem don't use the properties yet git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2983 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
#include "qgimanager.h"
|
||||
#include "numerotationcontext.h"
|
||||
#include "qetproject.h"
|
||||
#include "properties/xrefproperties.h"
|
||||
|
||||
class Conductor;
|
||||
class CustomElement;
|
||||
@@ -102,7 +103,8 @@ class Diagram : public QGraphicsScene {
|
||||
virtual void keyReleaseEvent(QKeyEvent *);
|
||||
|
||||
public:
|
||||
QString defaultReportProperties () const {return project_->defaultReportProperties();}
|
||||
QString defaultReportProperties () const {return project_ -> defaultReportProperties();}
|
||||
XRefProperties defaultXRefProperties () const {return project_ -> defaultXrefProperties();}
|
||||
static bool clipboardMayContainDiagram();
|
||||
bool setNumerotation (NumerotationType, NumerotationContext);
|
||||
NumerotationContext getNumerotation (NumerotationType) const;
|
||||
@@ -210,6 +212,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);
|
||||
};
|
||||
Q_DECLARE_METATYPE(Diagram *)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user