改进代码
This commit is contained in:
@@ -77,10 +77,10 @@ public:
|
||||
void setBorderWidth( int );
|
||||
int borderWidth() const;
|
||||
|
||||
void setInverted( bool tf );
|
||||
void setInverted( bool );
|
||||
bool isInverted() const;
|
||||
|
||||
void setWrapping( bool tf );
|
||||
void setWrapping( bool );
|
||||
bool wrapping() const;
|
||||
|
||||
void setSingleStep( double );
|
||||
@@ -92,18 +92,18 @@ public:
|
||||
void setStepAlignment( bool on );
|
||||
bool stepAlignment() const;
|
||||
|
||||
void setRange( double vmin, double vmax );
|
||||
void setRange( double min, double max );
|
||||
|
||||
void setMinimum( double min );
|
||||
void setMinimum( double );
|
||||
double minimum() const;
|
||||
|
||||
void setMaximum( double max );
|
||||
void setMaximum( double );
|
||||
double maximum() const;
|
||||
|
||||
void setUpdateInterval( int );
|
||||
int updateInterval() const;
|
||||
|
||||
void setTracking( bool enable );
|
||||
void setTracking( bool );
|
||||
bool isTracking() const;
|
||||
|
||||
double mass() const;
|
||||
@@ -120,7 +120,7 @@ Q_SIGNALS:
|
||||
\brief Notify a change of value.
|
||||
|
||||
When tracking is enabled this signal will be emitted every
|
||||
time the value changes.
|
||||
time the value changes.
|
||||
|
||||
\param value new value
|
||||
\sa setTracking()
|
||||
|
||||
Reference in New Issue
Block a user