cross ref item : show the master comment at the bottom of cross

element : improve the function to sort an element list
qet graphics item : add a bool to disable the snap to grid (used for cross ref item, to be exactly at the bottom of element)


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2948 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2014-03-26 10:41:06 +00:00
parent b69bbbe3f7
commit 0c486bcb09
6 changed files with 116 additions and 47 deletions

View File

@@ -121,7 +121,7 @@ class Element : public QetGraphicsItem {
//METHODS related to information
public:
DiagramContext elementInformations()const {return element_informations_;}
void setElementInformations(DiagramContext dc);//{element_informations_ = dc; emit elementInfoChange(dc);}
virtual void setElementInformations(DiagramContext dc);
DiagramContext kindInformations() const {return kind_informations_;} //@kind_information_ is used to store more information
//about the herited class like contactelement for know
// kind of contact (simple tempo) or number of contact show by the element.