//videoCodec = avcodec_find_decoder_by_name("h264_qsv"); if (videoCodec == NULL) { qDebug() << TIMEMS << "video decoder not found"; return false; } //设置加速解码 videoCodec->lowres = videoDecoder->max_lowres; videoCodec->flags2 |= AV_CODEC_FLAG2_FAST; videoCodecCtx->low...
DataGenerator.DESTINATIONS_MAX = self.params['dest_max']# if input_graph_file is not None:# data.load_saved_graph(input_graph_file)## else:#TODO ilosc lotniskdata.load_new_data(10) data.create_graph()# if graph_save_file is not None:# data.save_graph(graph_save_file)testsuite_air...
# 需要导入模块: from PyQt5.QtWidgets import QWidget [as 别名]# 或者: from PyQt5.QtWidgets.QWidget importsetFixedHeight[as 别名]class_ToolsDock(QWidget):__WIDGETS = {} __created =False__index =0# SignalsexecuteFile = pyqtSignal() executeProject = pyqtSignal() executeSelection = pyqtSign...
https://codebrowser.dev/qt5/qtbase/src/corelib/global/qnamespace.h.html#QInternal::Pixmap The only location where BiT is directly using and rendering a Pixmap is in the qtsystrayicon.py code which already was the primary suspect for this bug before (as it is called from the "show syst...
QSize baseSize() const void setBaseSize(const QSize &) void setBaseSize(int basew, int baseh)See also setSizeIncrement().childrenRect : const QRectThis property holds the bounding rectangle of the widget's children.Hidden children are excluded....
The QWidgetFactory class provides for the dynamic creation of widgets from Qt Designer .ui files. More... #include <qwidgetfactory.h> Li…
hboxLayout.addWidget(tableWidget) add = QWidget() addLayout = QHBoxLayout() addLayout.setObjectName('addLayout') add.setLayout(addLayout) addLineEdit = createLineEdit(add,None, validator) addButton = createButton(translate('MainWindow','Add'), add, add, ...
topt = QTextOption(Qt.AlignHCenter | Qt.AlignVCenter) f = QFont() f.setBold(True) p.setFont(f) p.setPen(Qt.darkBlue)#...这里部分代码省略... 开发者ID:TenKeyAngle,项目名称:manuskript,代码行数:103,代码来源:collapsibleGroupBox.py 示例14: PDFAreaSelect...
self.plot_layout.addWidget(widget,0, self.plot_layout.columnCount(),-1,1)ifshow_optionisnotNone: widget.setVisible(show_option) self.add_option('Show legend sidebar',lambdaw,s : widget.setVisible(s), show_option) 开发者ID:neurodebian,项目名称:spykeutils,代码行数:33,代码来源:dialogs.py ...
开发者ID:oldu73,项目名称:sblh,代码行数:21,代码来源:test001.py 示例14: WorkerThread ▲点赞 1▼ # 需要导入模块: from PyQt4.QtGui import QWidget [as 别名]# 或者: from PyQt4.QtGui.QWidget importsetWindowTitle[as 别名]classWorkerThread(QtCore.QThread):""" ...