| 55 | struct LabelData |
| 56 | { |
| 57 | void init( const QwtTextLabel* label ) |
| 58 | { |
| 59 | frameWidth = 0; |
| 60 | text = QwtText(); |
| 61 | |
| 62 | if ( label ) |
| 63 | { |
| 64 | text = label->text(); |
| 65 | if ( !( text.testPaintAttribute( QwtText::PaintUsingTextFont ) ) ) |
| 66 | text.setFont( label->font() ); |
| 67 | |
| 68 | frameWidth = label->frameWidth(); |
| 69 | } |
| 70 | } |
| 71 | |
| 72 | QwtText text; |
| 73 | int frameWidth; |
no test coverage detected