Project Detail

pyqt qt3 python GUI command line wrapper application help  

pyqt qt3 python GUI command line wrapper application help is project number 356112
posted at Freelancer.com. Click here to post your own project.

 

| More Free Trial For New Buyers
 

Status:

Selected Providers: gtm208

Budget: $30-250

Created: 12/11/2008 at 13:25 EST

Bid Count: 3

Average Bid:
$ 43

12/14/2008 at 13:25 EST

Project Creator: unclecameron
Employer Rating: 10/1010/1010/1010/1010/1010/1010/1010/1010/1010/10 (21 reviews)

Bid On This Project
 

Description

I'm attempting to make a KDE (or really Gnome or whatever) GUI wrapper application for a command line command using a QT Designer interface I made, which is then compiled and just called from my otherfile.py. I want to use radio buttons to add command switches, so "click here to enable recursive", which would put -r in the command to be run, stuff like that. I have a working app, but it has a couple bugs: 1. the command line argument insertion I mentioned above doesn't exist, and 2. I'm trying to port the output back to the Qlistbox from tail -f of a the logfile generated while running the command, which isn't working. Here's what I have:

# set filename and open file
filename = '/var/log/somefile.log'
file = open(filename, 'r')
#Find file size and move to end
st_results = os.stat(filename)
st_size = st_results[6]
file.seek(st_size)
while 1:
where = file.tell()
line = file.readline()
if not line:
time.sleep(1)
file.seek(where)
else:
self.resultsbox.insertItem(file)

but I'm getting a "QListBox.insertItem() has an invalid type" error message. Someone suggested to use Qprocess, I'm not sure what would work best. There are some other super minor things, but basically my application works, except these 2 things. I will be doing more on the project later, so maybe if it works out, I can keep your information and have you help more.

Messages Posted:0 View project clarification board Post message on project clarification board

Bid On This Project
 

If you are the project creator or one of the bidders Log In for more options

 

50

4 days

12-11-2008 13:53 EST

I have experience with PyGTK and python. It uses glade interface designer and is cross platform. I can create any gui using glade and add necessary signal mechanism to handle the events. If you accept GTK, you can ask me.

help

 

30

1 day

12-11-2008 16:04 EST

Greetings. I'm a professional programmer and have some experience with PyQt. It doesn't look like a difficult task. About the code above. You pass 'file' into the method insertItem. Should you pass the 'line' instead?

help

 

49

1 day

12-11-2008 15:43 EST

(No Feedback Yet)

Its a simply task. I can make it really quicker with python and GTK because i work all day with it. Regards.

help


    Bid on this Project