from PySide.QtCore import * from PySide.QtGui import * import sys import stackwid class Dialog(QDialog,stackwid.Ui_Dialog): def __init__(self,parent = None):
You don't connect the signal to your set()-function, but to it's return value. You just need to remove the parenthesis, then it should work:
set()
self.camButton.clicked.connect(self.set)