mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
27 lines
610 B
Plaintext
27 lines
610 B
Plaintext
class QgsSlider : QSlider
|
|
{
|
|
%TypeHeaderCode
|
|
#include <qgsslider.h>
|
|
%End
|
|
public:
|
|
QgsSlider( QWidget *parent /TransferThis/ = 0 );
|
|
QgsSlider( Qt::Orientation orientation, QWidget * parent /TransferThis/ = 0 );
|
|
|
|
void setMinimum( const QVariant &min );
|
|
void setMaximum( const QVariant &max );
|
|
void setSingleStep( const QVariant &step );
|
|
void setValue( const QVariant &value );
|
|
QVariant variantValue() const;
|
|
|
|
signals:
|
|
void valueChanged( const QVariant& );
|
|
|
|
protected slots:
|
|
void valueChanged( int );
|
|
|
|
protected:
|
|
virtual void paintEvent( QPaintEvent * event );
|
|
};
|
|
|
|
|