改进代码

This commit is contained in:
feiyangqingyun
2021-10-08 10:52:05 +08:00
parent f6923b97a2
commit 200b7eeafb
171 changed files with 2894 additions and 1940 deletions

View File

@@ -24,9 +24,9 @@
A counter has a range from a minimum value to a maximum value
and a step size. When the wrapping property is set
the counter is circular.
The number of steps by which a button increments or decrements the value
can be specified using setIncSteps(). The number of buttons can be
The number of steps by which a button increments or decrements the value
can be specified using setIncSteps(). The number of buttons can be
changed with setNumButtons().
Example:
@@ -91,24 +91,24 @@ public:
bool isReadOnly() const;
void setReadOnly( bool );
void setNumButtons( int n );
void setNumButtons( int );
int numButtons() const;
void setIncSteps( QwtCounter::Button btn, int nSteps );
int incSteps( QwtCounter::Button btn ) const;
void setIncSteps( QwtCounter::Button, int numSteps );
int incSteps( QwtCounter::Button ) const;
virtual QSize sizeHint() const;
double singleStep() const;
void setSingleStep( double s );
void setSingleStep( double stepSize );
void setRange( double min, double max );
double minimum() const;
void setMinimum( double min );
void setMinimum( double );
double maximum() const;
void setMaximum( double max );
void setMaximum( double );
void setStepButton1( int nSteps );
int stepButton1() const;