mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Element autonumbering. New tab inside autonumbering menu to assign formulas to element label. XML containing elements labels according ISO/IEC 81346 (./elements/10_electric/qet_labels.xml
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4563 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -124,6 +124,16 @@ QString ElementsLocation::baseName() const {
|
||||
return(QString());
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief ElementsLocation::projectId
|
||||
* This method is used to know if an element belongs to
|
||||
* a project or not.
|
||||
* @return Element Project Id
|
||||
*/
|
||||
int ElementsLocation::projectId() const {
|
||||
return QETApp::projectId(m_project);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief ElementsLocation::collectionPath
|
||||
* Return the path of the represented element relative to collection
|
||||
|
||||
Reference in New Issue
Block a user