Simple element : Comment is show at the bottom of diagram inside a rounded rectangle.

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@3407 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2014-10-27 19:37:04 +00:00
parent b5a14ef56b
commit 780c039b31
4 changed files with 200 additions and 1 deletions

View File

@@ -20,6 +20,9 @@
#include "customelement.h"
class CommentItem;
class QETProject;
/**
* @brief The SimpleElement class
*this class represente a simple element with no specific attribute
@@ -32,11 +35,16 @@ class SimpleElement : public CustomElement {
explicit SimpleElement(const ElementsLocation &, QGraphicsItem * = 0, Diagram * = 0, int * = 0);
~SimpleElement();
virtual void initLink(QETProject *project);
signals:
public slots:
void updateLabel();
private:
CommentItem *m_comment_item;
};
#endif // SIMPLEELEMENT_H