View Full Version : how to add scroll bar on QGridLayout in QT??
sharvari
18th February 2008, 05:47
how to add scroll bar on QGridLayout in QT??
JimDaniel
18th February 2008, 15:28
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.
sharvari
19th February 2008, 06:14
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???
jacek
19th February 2008, 14:31
You have to use QScrollView.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.