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"..
:)

Thanks

Recommended Answers

All 2 Replies

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.

But now there is not timestamp or something like that.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.