[PyQt] what does import urllib2 as ulib mean?

2009-04-11 Thread klia
Heys guys; as the name of the post indicates my questionwhat are those libraries? i need further details Thanks -- View this message in context: http://www.nabble.com/what-does-import-urllib2-as-ulib-mean--tp23008258p23008258.html Sent from the PyQt mailing list archive at Nabble.com. __

Re: [PyQt] Creating a message box

2009-04-07 Thread klia
klia wrote: > > Hey guys; > > i am totally new to pyqt > > My query is can some one give me an example that creates a button which > will display a message box once it's clicked > > thank you > Thank you for help -- View this message in context: http:

[PyQt] Creating a message box

2009-04-07 Thread klia
Hey guys; i am totally new to pyqt My query is can some one give me an example that creates a button which will display a message box once it's clicked thank you -- View this message in context: http://www.nabble.com/Creating-a-message-box-tp22922690p22922690.html Sent from the PyQt mailing l

[PyQt] how to covert an object text to string?

2009-04-06 Thread klia
hey guys This is in Pyqt I have this code filename=os.path.basename(self.lwitem.text()) which self.lwitem.text() holds my filename path but i wanna convert it into a string how am i gonna do that?? Thanks -- View this message in context: http://www.nabble.com/how-to-covert-an-object-text-t

Re: [PyQt] linking subprocess function and items in listwidget?

2009-03-16 Thread klia
Till Gerken-2 wrote: > > On Mon, Mar 16, 2009 at 11:32 AM, klia wrote: >> I have function myexif.py that extracts exif data from photos into .csv >> file, i have subprocess this function into this form under a bush button >> (add photo) >> >> p= Popen([

[PyQt] linking subprocess function and items in listwidget?

2009-03-16 Thread klia
Hello guys I have this question about subprocess I have function myexif.py that extracts exif data from photos into .csv file, i have subprocess this function into this form under a bush button (add photo) p= Popen(["python","myexif.py","-q","photopath"], stdout=file("test.csv","w")) p.wait()

Re: [PyQt] subprocess in PyQt

2009-03-14 Thread klia
Ville M. Vainio wrote: > > On Sat, Mar 14, 2009 at 9:17 AM, klia wrote: > >> i have a function that suppose to do something and from terminal it has >> this >> syntax to be executed; >> >> was...@home:~/Desktop/Project2/GUI$ python myexif.py -q "p

Re: [PyQt] subprocess in PyQt

2009-03-14 Thread klia
Mads Ipsen-3 wrote: > >> >> Hello guys; >> >> i have a function that suppose to do something and from terminal it has >> this >> syntax to be executed; >> >> was...@home:~/Desktop/Project2/GUI$ python myexif.py -q "pathfile" > >> test.csv >> >> so far on using subprocess i came up with this; >>

[PyQt] subprocess in PyQt

2009-03-14 Thread klia
Hello guys; i have a function that suppose to do something and from terminal it has this syntax to be executed; was...@home:~/Desktop/Project2/GUI$ python myexif.py -q "pathfile" > test.csv so far on using subprocess i came up with this; from subprocess import * x=Popen(['python','myexif','-q'

Re: [PyQt] Executing function with argument under a button in pyqt

2009-03-13 Thread klia
Till Gerken-2 wrote: > > On Fri, Mar 13, 2009 at 2:23 PM, klia wrote: >> I have this function that is suppose to extract Exif(exchangeable image >> formate) from photos and direct the output to an .CSV file (comma >> seperated >> values) >> >> well

[PyQt] Executing function with argument under a button in pyqt

2009-03-13 Thread klia
hey guys; I have this function that is suppose to extract Exif(exchangeable image formate) from photos and direct the output to an .CSV file (comma seperated values) well the function syntax is like the following: was...@home:~/Desktop/Project2/GUI$ python myexif.py -q waseem1.JPG > test.csv i

Re: [PyQt] linking listwidget with Qgraphicsview

2009-03-11 Thread klia
et.html > >> Message: 2 >> Date: Tue, 10 Mar 2009 05:49:35 -0700 (PDT) >> From: klia >> Subject: [PyQt] linking listwidget with Qgraphicsview >> To: pyqt@riverbankcomputing.com >> Message-ID: <22433529.p...@talk.nabble.com> >> Content-Type: text/plain

[PyQt] linking listwidget with Qgraphicsview

2009-03-10 Thread klia
hey guys; in my application i have Listwidegt and Qgraphics view beside to each other in the interface, my intension is after i list my photos in the listwidget, i want that whenever i click on the photo on listwidget it will be displayed on the graphics view... Any idea on how to do that? here

Re: [PyQt] Qfiledailoug multiple file selection

2009-03-10 Thread klia
Detlev Offenbach wrote: > > On Samstag, 7. März 2009, klia wrote: >> Detlev Offenbach wrote: >> > On Freitag, 6. März 2009, klia wrote: >> >> Hey folks; >> >> >> >> How can i be able to select multiple files whenever i browse my >>

Re: [PyQt] Qfiledailoug multiple file selection

2009-03-09 Thread klia
Detlev Offenbach wrote: > > On Samstag, 7. März 2009, klia wrote: >> Detlev Offenbach wrote: >> > On Freitag, 6. März 2009, klia wrote: >> >> Hey folks; >> >> >> >> How can i be able to select multiple files whenever i browse my >>

Re: [PyQt] Qfiledailoug multiple file selection

2009-03-06 Thread klia
Detlev Offenbach wrote: > > On Freitag, 6. März 2009, klia wrote: >> Hey folks; >> >> How can i be able to select multiple files whenever i browse my directory >> using QfileDailoug? >> >> this is the code to call up the filedailoug >> >>

[PyQt] Qfiledailoug multiple file selection

2009-03-06 Thread klia
Hey folks; How can i be able to select multiple files whenever i browse my directory using QfileDailoug? this is the code to call up the filedailoug files = QtGui.QFileDialog.getOpenFileName(self, 'Open file','/home/', ("Images (*.png *.tiff *.jpg)")) Thank you -- View this message in conte

[PyQt] QListView Global funcation behaviour

2009-02-28 Thread klia
hey folks; I am trying to list photos on QlistView by browsing using Qfiledailoug... so far i was doing the following filename = QtGui.QFileDialog.getOpenFileName(self, 'Open file','/home/') #this one calls the file dailoug for browsing filename = [] # this one is an array to ho

Re[PyQt] directing function output from one widget to another

2009-02-14 Thread klia
hello everyone i have a search program that query about data in DB created using sqlite. i have build a small interface to be linked with the program in qt designer. how can i redirect my output of the search from lineEdit to listViewitem widget whenever i click search. http://www.nabble.com/fil

[PyQt] AttributeError: global name 'QListView' is not defined

2009-02-08 Thread klia
~/Project2/GUI$ python wrapphotodb.py Traceback (most recent call last): File "wrapphotodb.py", line 48, in _actionImport_Photos self.listView([QListView("filename %i" % i)]) NameError: global name 'QListView' is not defined I am getting this error regarding this line.. self.listView([QLi

[PyQt] defining QlistViewitem in python

2009-02-04 Thread klia
hello folks i have this problems in my codes. i am try to link qfiledailoug with qlistviewitem so that whenever i chose a file it would be loaded in qlistview item using this function self.item.append(QlistViewitem(self.tree, 'filename')) but whenever i try that it gives me an attribute error so,

[PyQt] building file dialoug

2009-01-21 Thread klia
hello folks; i am trying to build to a file dialog that i can use to brows through my home directory and files and be able to chose multiple photos and load them to the application front.. i am stuck with theses codes,,,any ideas Thanks in advance import sys from PyQt4 import QtGui fr