ken brockman
ken brockman

Reputation: 31

Qt and Python, where to configure signals and slots

Howdo, I've just started getting into Python and QT. I have a very simplistic question. I wanted to create a Qt window to display the output and accept input from a program that I am attempting.

My question is, in Qt Designer I have made said window, but I'm not sure if I have to set the signals and slots in designer or in python. For the output I had used a QtextBroswer widget and a QPlainTextEdit for the input. Are those the correct choices for my uses.

Also do I need to muck about with setting slots and signals in Designer, or no?

Any and all help would be greatly appreciated.

Upvotes: 2

Views: 355

Answers (1)

forivall
forivall

Reputation: 9901

Set the signals and slots in Python. When you export the ui to Python using pyuic4 or pyside-uic, the signals and slots are set using python anyways.

Upvotes: 2

Related Questions