Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Python (http://www.programmingforums.org/forum43.html)
-   -   PyQt (http://www.programmingforums.org/showthread.php?t=13135)

poopman May 9th, 2007 7:25 PM

PyQt
 
Has anyone used this? I really like it but I'm having trouble creating forms that can add/remove lineEdits based on how many the user wants.

Arevos May 10th, 2007 11:35 AM

What code do you have so far? You could try using a VBoxLayout and use the addWidget and removeWidget methods, if you're not already. Give us more info! :)

poopman May 10th, 2007 5:12 PM

Yeah, I've done something similar and it seems to work well. the problem now is that I have a main widget, then a frame and within those frames are the fields that grow/shrink. If the number of fields exceeds the size of the frame then I have a scroll bar to scroll through them. However, the scroll bar does nothing right now. I can't find any documentation on how to actually make the scrollbar scroll.


All times are GMT -5. The time now is 11:20 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC