Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old May 9th, 2007, 7:25 PM   #1
poopman
Newbie
 
Join Date: Feb 2007
Posts: 13
Rep Power: 0 poopman is on a distinguished road
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.
poopman is offline   Reply With Quote
Old May 10th, 2007, 11:35 AM   #2
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 4 Arevos is on a distinguished road
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!
Arevos is offline   Reply With Quote
Old May 10th, 2007, 5:12 PM   #3
poopman
Newbie
 
Join Date: Feb 2007
Posts: 13
Rep Power: 0 poopman is on a distinguished road
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.
poopman is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Tutorial] PyQT with Qt Designer coldDeath Python 21 Nov 21st, 2005 1:45 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 2:54 PM.

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