I still don't quite understand what you are trying to do. Are you trying to 
open TestApp on event changes from the Calendar widget? Or are you just trying 
to open a dialog within another dialog? Because it's the same code that you 
have in your "__main__" section.

t = TestApp()
t.show()

And you shoulden't use the Qt C++ SIGNAL/SLOT implementation as it's not very 
Pythonic and can lead to some hard to find errors. 

Try something like this instead:
self.calenderWidget.selectionChanged.connect(self.Plans)


--
Regards,
 -Demetrius Cassidy

---- [email protected] wrote: 

=============
reply to addr: [email protected]

On Tue, Mar 2, 2010 at 4:44 PM, <[email protected]> wrote:

> Yea, http://patx.me/paste/28462914.html and
> http://patx.me/paste/2160335.html
>
> so i need to use paste # 28462914 to open paste # 2160335....
>
> thanks :)
>
>
> On Tue, Mar 2, 2010 at 4:36 PM, <[email protected]> wrote:
>
>> Can you post some sample code of what you are trying to do?
>> --
>> Regards,
>>  -Demetrius Cassidy
>>
>> ---- [email protected] wrote:
>>
>> =============
>> I have coded a GUI, in a .py... It is called foo.py. Then in another GUI,
>> bar.py, I need to be able to open/display/execute foo.py. So basically I
>> need to use the following:
>>
>>        self.connect(self.pb1, QtCore.SIGNAL('clicked()'),
>>            self.open_foo)
>>
>> So self.pb1 would be a PushButton and self.open_foo would be the function
>> that would open foo.py.
>>
>>
>> How would I do this?
>>
>> --
>> patx, patx.me
>>
>> _______________________________________________
>> PyQt mailing list    [email protected]
>> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>>
>
>
>
> --
> patx, python gui and web, http://patx.me, amateur skier and football
> player
>



-- 
patx, python gui and web, http://patx.me, amateur skier and football player

_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to