コード例 #1
0
 def accept(self):
     """
     Completes the data import.
     """
     self.accepted = True
     from nexpy.gui.consoleapp import _mainwindow
     _mainwindow.import_data()
     super(BaseImportDialog, self).accept()
コード例 #2
0
 def accept(self):
     """
     Completes the data import.
     """
     self.accepted = True
     from nexpy.gui.consoleapp import _mainwindow
     _mainwindow.import_data()
     super(BaseImportDialog, self).accept()
コード例 #3
0
ファイル: importdialog.py プロジェクト: ufo-kit/nexpy
 def accept(self):
     """
     Completes the data import.
     """
     self.accepted = True
     from nexpy.gui.consoleapp import _mainwindow
     _mainwindow.import_data()
     QtGui.QDialog.accept(self)