title: PyQt4 QWizard: How to disable the back button on a single page?
body: <p>I would like to disable the "Back" button on a QWizard page.</p>
  
  <p>My Class inherits from QWizard and from a generated file. It looks somehow like this:</p>
  
  <p>from PyQt4 import QtGui</p>
  
  <pre><code>class WizardClass(QtGui.QWizard, file.Ui_Wizard):
  
      def __init__(self, model):
          # Call super constructors
          QtGui.QWizard.__init__(self)
          self.setupUi(self)
          self.model = model
  </code></pre>
  
  <p>Here <a href="http://doc.qt.digia.com/3.3/qwizard.html#backButton" rel="nofollow">http://doc.qt.digia.com/3.3/qwizard.html#backButton</a> I found the method <code>setBackEnabled()</code>.</p>
  
  <p>With <code>self.setBackEnabled(page1, False)</code> I am not able to call this method. It says:</p>
  
  <pre><code>"AttributeError: 'WizardClass' object has no attribute 'setBackEnabled'"
  </code></pre>
  
  <p>Am I doing something wrong?</p>
  
  <p>Or is this method not available in Python?</p>