66 virtual int rtti() const QWT_OVERRIDE;
68 void setAlignmentInCanvas( Qt::Alignment );
69 Qt::Alignment alignmentInCanvas() const;
71 void setOffsetInCanvas( Qt::Orientations,
int numPixels );
72 int offsetInCanvas( Qt::Orientation ) const;
74 void setMaxColumns( uint );
75 uint maxColumns() const;
77 void setMargin(
int );
80 void setSpacing(
int );
83 void setItemMargin(
int );
84 int itemMargin() const;
86 void setItemSpacing(
int );
87 int itemSpacing() const;
89 void setFont( const QFont& );
92 void setBorderRadius(
double );
93 double borderRadius() const;
95 void setBorderPen( const QPen& );
96 QPen borderPen() const;
98 void setBackgroundBrush( const QBrush& );
99 QBrush backgroundBrush() const;
101 void setBackgroundMode( BackgroundMode );
102 BackgroundMode backgroundMode() const;
104 void setTextPen( const QPen& );
105 QPen textPen() const;
107 virtual
void draw( QPainter*,
109 const QRectF& canvasRect ) const QWT_OVERRIDE;
116 virtual QRect geometry( const QRectF& canvasRect ) const;
119 virtual
int heightForWidth( const
QwtLegendData&,
int width ) const;
125 virtual
void drawLegendData( QPainter*,
128 virtual
void drawBackground( QPainter*, const QRectF& rect ) const;