This signal is emitted whenever the spin box's value is changed. The new value's integer value is passed in i.
å½spin boxçå¼åçæ¹åæ¶ï¼è¿ä¸ªä¿¡å·å°è¢«åéãspin boxçææ°å¼å°éè¿åæ°iä¼ éã
value : int
This property holds the slider's current value.
The slider forces the value to be within the legal range: minimum <= value <= maximum.
Changing the value also changes the sliderPosition.
è¿ä¸ªå±æ§ä¸ºsliderçå½åå¼ï¼sliderå°å¼ºå¶è¯¥å¼å¨æå°å¼åæ大å¼ä¹é´çåæ³èå´å
ãsliderçæ»å¨åä½ç½®å°ä¸è¿ä¸ªå¼çæ¹åèåæ¥æ¹åã
Access functions:
int value () const
void setValue ( int )
Notifier signal:
éç¥ä¿¡å·ï¼
void valueChanged ( int value )
设置èå´å¯ä»¥ä½¿ç¨ setRange ( int min, int max )
设置æ¥è°å¯ä»¥ä½¿ç¨ setSingleStep ( int )
PS: The Best Way to learn QT is assistantã
温馨提示:内容为网友见解,仅供参考