Пример #1
0
 def open_script_repository(self):
     self.script_repository = ScriptRepositoryView(self)
     self.script_repository.loadScript.connect(
         self.editor.open_file_in_new_tab)
     self.script_repository.setAttribute(Qt.WA_DeleteOnClose, True)
     self.script_repository.show()
Пример #2
0
 def test_widget_creation(self):
     display = ScriptRepositoryView()
     self.assertNotEqual(display, None)