PyQt event recognition

2010-01-13 Thread Zabin
appreciated. Cheers! Zabin -- http://mail.python.org/mailman/listinfo/python-list

Re: PyQt event recognition

2010-01-13 Thread Zabin
On Jan 14, 9:00 am, Zabin zabin.faris...@gmail.com wrote: Hey Everyone! I am a new pyqt programmer. I have a tab widget with lots of line edits, radiobuttons and combo boxes. I want to trigger a single sub the moment any one of these widgets listed are modified. I tried using the clicked

Re: PyQt event recognition

2010-01-13 Thread Zabin
On Jan 14, 10:22 am, Jonathan Gardner jgard...@jonathangardner.net wrote: On Jan 13, 12:21 pm, Zabin zabin.faris...@gmail.com wrote: On Jan 14, 9:00 am, Zabin zabin.faris...@gmail.com wrote: I am a new pyqt programmer. I have a tab widget with lots of line edits, radiobuttons and combo

Undo/Redo in PyQt

2010-01-12 Thread Zabin
is used to update a text file as soon as the user leaves the field- so i essentially need to undo the text in that field as well as the file. I am puzzled as to how to approach this. Any help will be much appreciated! Cheers Zabin -- http://mail.python.org/mailman/listinfo/python-list

os.system function

2010-01-11 Thread Zabin
asked whether i want to replace the files on the command prompt. Is there some way of getting this question into a dialog box? Also is there someway of avoiding or programmatically setting the response to the command prompt? Cheers Zabin -- http://mail.python.org/mailman/listinfo/python-list

Re: os.system function

2010-01-11 Thread Zabin
On Jan 12, 10:23 am, Chris Rebert c...@rebertia.com wrote: On Mon, Jan 11, 2010 at 12:43 PM, Zabin zabin.faris...@gmail.com wrote: Hey everyone! I am a new python programmer. I am trying to get the general file functionality with options of save and save as working. These save functions

Re: os.system function

2010-01-11 Thread Zabin
On Jan 12, 11:31 am, Jeremy Sanders jeremy +complangpyt...@jeremysanders.net wrote: Zabin wrote: Thanks for the pointersi had a look around and found the site: http://www.microsoft.com/resources/documentation/windows/xp/all/prodd... us/xcopy.mspx?mfr=true to disable the prompt- i

Linking Python to multiple qt forms

2010-01-11 Thread Zabin
will function if there are two such .ui files. Thanks in advance for any advice! Cheers Zabin -- http://mail.python.org/mailman/listinfo/python-list

setTextAlignment function Qtablewidget PyQt

2010-01-10 Thread Zabin
Hey! I am trying to align contents of some table cells but find the code below working for some fields and not for others. I am stuck as to why this is happening. Help will be gretly appreciated! setTextAlignment(QtCore.Qt.AlignVCenter) Cheers Zabin -- http://mail.python.org/mailman/listinfo

Re: setTextAlignment function Qtablewidget PyQt

2010-01-10 Thread Zabin
On Jan 11, 1:10 pm, Zabin zabin.faris...@gmail.com wrote: Hey! I am trying to align contents of some table cells but find the code below working for some fields and not for others. I am stuck as to why this is happening. Help will be gretly appreciated! setTextAlignment

QDoubleValidator

2010-01-06 Thread Zabin
Hey! I am new PyQt programmer and want to restrict users to allow only numeric values into a table and lineedit boxes. I found the QDoubleValidator class but am unsure as to how to implement it. (I am a little shaky on the concept of parent and how to define them). Any help would be much

Re: QDoubleValidator

2010-01-06 Thread Zabin
On Jan 7, 10:23 am, Zabin zabin.faris...@gmail.com wrote: Hey! I am new PyQt programmer and want to restrict users to allow only numeric values into a table and lineedit boxes. I found the QDoubleValidator class but am unsure as to how to implement it. (I am a little shaky on the concept

Validating cells of a table PyQt

2010-01-06 Thread Zabin
Hey! I am new PyQT programmer. I am trying to create a table in which cells only take in numeric data. I am unable to use setValidator on table cells. Looking around i found some material on the editor attribute but I dont know how to apply this. Any help will be appreciated Cheers! --

PyQt Signals and multiple sources

2009-12-20 Thread Zabin
I am beginner in programming in pyqt. I have been trying to call the same function from multiple events- but each event results in a different instance of the function. I am just unable to figure out how to retrieve the source which calls the function: My source signal declarations are as below:

Re: PyQt Signals and multiple sources

2009-12-20 Thread Zabin
On Dec 21, 11:15 am, John Posner jjpos...@optimum.net wrote: On Sun, 20 Dec 2009 16:59:11 -0500, Zabin zabin.faris...@gmail.com wrote: I am beginner in programming in pyqt. I have been trying to call the same function from multiple events- but each event results in a different instance