def METHOD_NAME(self):
    if self._exporter:
        return
    ofile = self._ofile_text.text()
    width = self._spinbox_width.value()
    height = self._spinbox_height.value()
    extra_enc_args = self._encopts_text.text().split()
    self._pgd = QtWidgets.QProgressDialog("Exporting to %s" % ofile, "Stop", 0, 100, self)
    self._pgd.setWindowModality(QtCore.Qt.WindowModal)
    self._pgd.setMinimumDuration(100)
    self._exporter = Exporter(self._get_scene_func, ofile, width, height, extra_enc_args)
    self._pgd.canceled.connect(self._cancel)
    self._exporter.progressed.connect(self._progress)
    self._exporter.failed.connect(self._fail)
    self._exporter.export_finished.connect(self._finish)
    self._exporter.start()