QTableWidget *ptablewidget = new QTableWidget;
ptablewidget ->verticalScrollBar()->setValue(0);
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.
sliderPosition : int
This property holds the current slider position.
If tracking is enabled (the default), this is identical to value.
Access functions:
int sliderPosition () const
void setSliderPosition ( int )
大哥,是QTableWidget 不是QTabWidget,