mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-31 00:03:42 -04:00
Run clang-tidy modernize-use-override to remove all the redundant virtual keywords from overridden methods, and add some missing overrides. Another benefit is that this has also added the overrides on destructors, which will cause a build failure if a base class is missing a virtual destructor.
55 lines
1.7 KiB
Plaintext
55 lines
1.7 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/gui/qgsslider.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
class QgsSlider : QSlider
|
|
{
|
|
|
|
%TypeHeaderCode
|
|
#include "qgsslider.h"
|
|
%End
|
|
public:
|
|
|
|
QgsSlider( QWidget *parent /TransferThis/ = 0 );
|
|
%Docstring
|
|
Constructor for QgsSlider
|
|
%End
|
|
|
|
QgsSlider( Qt::Orientation orientation, QWidget *parent /TransferThis/ = 0 );
|
|
%Docstring
|
|
Constructor for QgsSlider
|
|
%End
|
|
|
|
void setMinimum( const QVariant &min );
|
|
void setMaximum( const QVariant &max );
|
|
void setSingleStep( const QVariant &step );
|
|
void setValue( const QVariant &value );
|
|
QVariant variantValue() const;
|
|
%Docstring
|
|
|
|
:rtype: QVariant
|
|
%End
|
|
|
|
signals:
|
|
void valueChanged( const QVariant & );
|
|
|
|
protected:
|
|
virtual void paintEvent( QPaintEvent *event );
|
|
|
|
|
|
};
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/gui/qgsslider.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|