for z in range(tensor_data.partitions[2]): sub_x, sub_y, sub_z = tensor_data.sub_size(x, y, z) z_child = QTreeWidgetItem(["z:{}".format(z) , "{}".format(tensor_data.rank(x, y, z)) , "{}x{}x{}".format(sub_x, sub_y, sub_z) ])...
(edgeLen, bbox.LengthZ()); QString label = QString::fromUtf8((*it)->Label.getValue()); QString name = QString::fromAscii((*it)->getNameInDocument()); QTreeWidgetItem* child = new QTreeWidgetItem(); child->setText(0, label); child->setToolTip(0, label); ...
Python QTreeWidget.clear - 60 examples found. These are the top rated real world Python examples of PyQt4.QtGui.QTreeWidget.clear extracted from open source projects. You can rate examples to help us improve the quality of examples.
In order to do that, first we need to remove it from its old location case QMwStructuresWidget::DragMode_Resource: { unsigned int sourceItemAddress; if (!MwString(event->mimeData()->data("application/twitem").data()).ToUInt(sourceItemAddress)) break; QTreeWidgetItem *source...
(lambda x, z=st_int: self.change_status(z)) statuses.addAction(action) priority = QMenu("Изменитьприоритет") priority.setIcon(QIcon(get_icon("edit.png"))) menu.addMenu(priority) for pr_int in sorted(TODO_PRIORITYES.keys()): pr_str...
(False) # Set tab order self.setTabOrder(hostname_combobox, repo_treewidget) self.setTabOrder(repo_treewidget, node_listwidget) self.setTabOrder(node_listwidget, buttonbox) # Save instance members self._hostinfo_table = hostinfo_table self._data_groupbox = data_...
(edgeLen, bbox.LengthZ()); QString label = QString::fromUtf8((*it)->Label.getValue()); QString name = QString::fromAscii((*it)->getNameInDocument()); QTreeWidgetItem* child = new QTreeWidgetItem(); child->setText(0, label); child->setToolTip(0, label); child->setData...
().sortIndicatorOrder()) return def __createDiffButton(self): " Creates a diff button for a path " button = DiffButton() self.connect(button, SIGNAL('CustomClick'), self.onDiff) return button @staticmethod def __setLightPalette(frame): " Creates a lighter paletter for ...
().sortIndicatorOrder()) return def __createDiffButton(self): " Creates a diff button for a path " button = DiffButton() self.connect(button, SIGNAL('CustomClick'), self.onDiff) return button @staticmethod def __setLightPalette(frame): " Creates a lighter paletter for the w...
Python QTreeWidget.resizeColumnToContents - 28件のコード例が見つかりました。すべてオープンソースプロジェクトから抽出されたPythonのPyQt5.QtWidgets.QTreeWidget.resizeColumnToContentsの実例で、最も評価が高いものを厳選しています。コード例の評価を行って...