Adding a method to a class within a class
<p>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?</p>

<p>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.</p>

<p>So basically I have the below, and I want to add a method to 'aButton'.</p>

<p><strong>qtDesignerFile.py</strong></p>

<pre><code>class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        self.aButton = QtGui.QPushButton()
</code></pre>

<p><strong>myPythonFile.py</strong></p>

<pre><code>import qtDesignerFile

class slidingAppView(QMainWindow,slidingGuiUi.Ui_MainWindow):
    def __init__(self,parent=None):
        super(slidingAppView,self).__init__(parent)
</code></pre>
