(self.cacheViewPage, i18nc('@title:tab', 'CMake Cache Viewer')) # Make a page w/ cmake help splitter = QSplitter(Qt.Horizontal, tabs) self.vewHelpPage = uic.loadUi( os.path.join(os.path.dirname(__file__), settings.CMAKE_TOOLVIEW_HELP_UI) ) self.vew...
是指在异步编程中,当使用Future对象获取异步操作的结果时,如果在Future对象已经完成的情况下仍然尝试获取结果,就会出现颤动错误。这种错误通常是由于并发操作或不正确的Future使用导致的。 Future是一种表示异步操作结果的对象,它可以在后台执行任务并返回结果。在编写异步代码时,我们可以使用Future来处理并发操作,提高程序的...
self._file_selection_model = QItemSelectionModel(self._file_model) self._file_selection_model.currentChanged.connect(self._on_current_file_changed) self._file_tree = QTreeView(parent=self) self._file_tree.collapsed.connect(self._on_tree_expanded_collapsed) self._file_tree.expanded.connect(self...
self.toolView.installEventFilter(self)# By default, the toolview has box layout, which is not easy to delete.# For now, just add an extra widget.tabs = QTabWidget(self.toolView)# Make a page to view cmake cacheself.cacheViewPage = uic.loadUi( os.path.join(os.path.dirname(__file_...
self.label.setText(utils.tr('MicroHex version {0}, (c) 2013 zenwarr{1}') .format(QCoreApplication.applicationVersion(), QCoreApplication.organizationDomain())) self.label.setOpenExternalLinks(True) self.tabWidget = QTabWidget(self) self.copyingText = QTextBrowser...