コード例 #1
0
 def load(self):
     axSelect = QAxSelect(self)
     if axSelect.exec_() == QDialog.Accepted:
         clsid = axSelect.clsid()
         if not self.axWidget.setControl(clsid):
             QMessageBox.warning(self, "AxViewer",
                                 "Unable to load " + clsid + ".")
コード例 #2
0
ファイル: axviewer.py プロジェクト: amirkogit/QtTestGround
 def load(self):
     axSelect = QAxSelect(self)
     if axSelect.exec_() == QDialog.Accepted:
         clsid = axSelect.clsid()
         if not self.axWidget.setControl(clsid):
             QMessageBox.warning(self, "AxViewer", "Unable to load " + clsid + ".")