The application now includes the folio number when displaying the properties of a selected element.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1324 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
xavier
2011-09-08 19:03:13 +00:00
parent b903b2b6d1
commit 3930a2580e
5 changed files with 27 additions and 1 deletions

View File

@@ -1021,6 +1021,15 @@ void Diagram::setProject(QETProject *project) {
project_ = project;
}
/**
@return the folio number of this diagram within its parent project, or -1
if it is has no parent project
*/
int Diagram::folioIndex() const {
if (!project_) return(-1);
return(project_ -> folioIndex(this));
}
/**
@param fallback_to_project When a diagram does not have a declared version,
this method will use the one declared by its parent project only if