Hi All,
I am using QTableWidget i have set 200 rows and 4 columns now i need to disable the vertical scroll bar how to proceed with this. Any snippet will be advantage.
Hi All,
I am using QTableWidget i have set 200 rows and 4 columns now i need to disable the vertical scroll bar how to proceed with this. Any snippet will be advantage.
Thanks & Regards
Sandeep G.R.
if you need to disable then use something like this:
if you need to hide it then use something like this:Qt Code:
.... table->verticalScrollBar()->setDisabled(true); ....To copy to clipboard, switch view to plain text mode
Qt Code:
.... table->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff); ....To copy to clipboard, switch view to plain text mode
Qt Assistant -- rocks!
please, use tags [CODE] & [/CODE].
sonulohani (8th March 2013)
Thanks its working fine.
Thanks & Regards
Sandeep G.R.
Bookmarks