Re: PyQt event recognition

2010-01-13 Thread Zabin
On Jan 14, 10:22 am, Jonathan Gardner wrote: > On Jan 13, 12:21 pm, Zabin wrote: > > > On Jan 14, 9:00 am, Zabin wrote: > > > > 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 singl

Re: PyQt event recognition

2010-01-13 Thread Zabin
On Jan 14, 9:00 am, Zabin 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 sig

PyQt event recognition

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

Undo/Redo in PyQt

2010-01-12 Thread Zabin
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

Linking Python to multiple qt forms

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

Re: os.system function

2010-01-11 Thread Zabin
On Jan 12, 11:31 am, Jeremy Sanders 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

Re: os.system function

2010-01-11 Thread Zabin
On Jan 12, 10:23 am, Chris Rebert wrote: > On Mon, Jan 11, 2010 at 12:43 PM, Zabin 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 > > functio

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: setTextAlignment function Qtablewidget PyQt

2010-01-10 Thread Zabin
On Jan 11, 1:10 pm, Zabin 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(QtCore.Qt.Ali

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

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! -- http://ma

Re: QDoubleValidator

2010-01-06 Thread Zabin
On Jan 7, 10:23 am, Zabin 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 of

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 appreciat

Re: PyQt Signals and multiple sources

2009-12-20 Thread Zabin
On Dec 21, 11:15 am, "John Posner" wrote: > On Sun, 20 Dec 2009 16:59:11 -0500, Zabin 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 of th

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: Q