how to add scroll bar on QGridLayout in QT??
how to add scroll bar on QGridLayout in QT??
I'm not sure what you're going for, but it sounds like what you want to do is to add a QScrollArea to the main widget which contains the grid layout in question.
Edit: Sorry, I noticed you're using Qt 3. It may work differently, I'm only familiar with Qt 4.
Last edited by JimDaniel; 18th February 2008 at 15:32.
i m inserting 100 checkboxes on frame.
i m taking dialog box on which QGridlaout then QVBoxLaout then QListBox.
On this listbox i m inserting checkboxes. I want scroll bar on that dialog. but whithout checkboxes it is showing scroll bar. but after inserting check boxes size of dialog box gets increased, insted of that i want scroll bar. So how to get scroll bar???
You have to use QScrollView.
Bookmarks