Complete brain fart here and not even sure I am asking the right question. How do I add/change a method of a class that exists within a class?
I am building a QT GUI designed in QtDesigner. My Python program imports and makes a new class subclassed to the GUI file class. I want to change a method to a button within that class.
So basically I have the below, and I want to add a method to 'aButton'.
qtDesignerFile.py
class Ui_MainWindow(object): def setupUi(self, MainWindow): self.aButton = QtGui.QPushButton() myPythonFile.py
import qtDesignerFile class slidingAppView(QMainWindow,slidingGuiUi.Ui_MainWindow): def __init__(self,parent=None): super(slidingAppView,self).__init__(parent)