mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 05:00:33 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user