void QwtScaleWidget::setLabelAlignment(Qt::Alignment alignment) #endif { d_data->scaleDraw->setLabelAlignment(alignment); layoutScale(); }
/*! \brief Change the rotation for the labels. See QwtScaleDraw::setLabelRotation(). \sa QwtScaleDraw::setLabelRotation(), QwtScaleWidget::setLabelFlags() */ void QwtScaleWidget::setLabelRotation(double rotation) { d_data->scaleDraw->setLabelRotation(rotation); layoutScale(); }
/*! Set the transformation \param transformation Transformation \sa QwtAbstractScaleDraw::scaleDraw(), QwtScaleMap */ void QwtScaleWidget::setTransformation( QwtTransform *transformation ) { d_data->scaleDraw->setTransformation( transformation ); layoutScale(); }
void QwtScaleWidget::scaleChange() { layoutScale(); }
/*! Event handler for resize events \param event Resize event */ void QwtScaleWidget::resizeEvent( QResizeEvent *event ) { Q_UNUSED( event ); layoutScale( false ); }
/*! \brief Notify a change of the font This virtual function may be overloaded by derived widgets. The default implementation resizes the scale and repaints the widget. \param oldFont Previous font */ void QwtScaleWidget::fontChange(const QFont &oldFont) { QWidget::fontChange( oldFont ); layoutScale(); }
/*! \brief resizeEvent */ void QwtScaleWidget::resizeEvent(QResizeEvent *) { layoutScale(false); }