mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-04-26 23:29:59 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user