Hi. I have a very very easy problem in my program.
The problem is that i want to load another page via press a button.
It till work like any webbrowser. First och gonna write in the URL in a textbox, then press a button named Go or Enter or just have a cursor as icon.
The problem is that i don't know how to do.

I will post a print screen...

Here http://img718.imageshack.us/i/201107052008051280x1024.png

You know. With QT designer, you DON'T need to code by you self. Just drag and dropp and tell "if I press that button...then this thing show up and then that thing goning down"..


6 Years
Discussion Span
Last Post by heavy.is.happy

A button press is associated with a callback, also called signals and slots, which call a function or class to do the actual work. See how the "self.log" button is connected to the "self.log_timestamp" function in Listing3: logger-qt.py here Another PyQt tutorial for signals and slots.

Edited by woooee: n/a

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.