make user text for folio report none editable

Add signal mapper for radiobutton in the folio report dialog


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2679 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2013-12-29 18:09:25 +00:00
parent 04e5961d17
commit ea5902fe38
6 changed files with 58 additions and 6 deletions

View File

@@ -59,6 +59,7 @@ class DiagramTextItem : public QGraphicsTextItem {
QPointF mapMovementToParent(const QPointF &) const;
QPointF mapMovementFromParent(const QPointF &) const;
void setFontSize(int &s);
void setNoEditable(bool e = true) {no_editable = e;}
protected:
virtual void paint(QPainter *, const QStyleOptionGraphicsItem *, QWidget *);
@@ -82,5 +83,6 @@ class DiagramTextItem : public QGraphicsTextItem {
QString previous_text_;
/// angle of rotation of the text field
qreal rotation_angle_;
bool no_editable;
};
#endif