Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(21)  |  Call(15)  |  Derive(0)  |  Import(6)

src/p/y/pyqt5-HEAD/examples/itemviews/editabletreemodel/ui_mainwindow.py   pyqt5(Download)
        self.vboxlayout.setSpacing(0)
        self.vboxlayout.setObjectName("vboxlayout")
        self.view = QtWidgets.QTreeView(self.centralwidget)
        self.view.setAlternatingRowColors(True)
        self.view.setSelectionBehavior(QtWidgets.QAbstractItemView.SelectItems)

src/p/y/pyqt5-HEAD/examples/itemviews/simpledommodel.py   pyqt5(Download)
 
from PyQt5.QtCore import QAbstractItemModel, QFile, QIODevice, QModelIndex, Qt
from PyQt5.QtWidgets import QApplication, QFileDialog, QMainWindow, QTreeView
from PyQt5.QtXml import QDomDocument
 
        self.xmlPath = ""
        self.model = DomModel(QDomDocument(), self)
        self.view = QTreeView(self)
        self.view.setModel(self.model)
 

src/p/y/pyqt5-HEAD/examples/itemviews/customsortfiltermodel.py   pyqt5(Download)
        QTime)
from PyQt5.QtGui import QStandardItemModel
from PyQt5.QtWidgets import (QApplication, QCheckBox, QComboBox, QDateEdit,
        QGridLayout, QGroupBox, QHBoxLayout, QLabel, QLineEdit, QTreeView,
        QVBoxLayout, QWidget)
        self.proxyModel.setDynamicSortFilter(True)
 
        self.sourceView = QTreeView()
        self.sourceView.setRootIsDecorated(False)
        self.sourceView.setAlternatingRowColors(True)
        self.toDateEdit.dateChanged.connect(self.dateFilterChanged)
 
        self.proxyView = QTreeView()
        self.proxyView.setRootIsDecorated(False)
        self.proxyView.setAlternatingRowColors(True)

src/p/y/pyqt5-HEAD/examples/itemviews/basicsortfiltermodel.py   pyqt5(Download)
        QTime)
from PyQt5.QtGui import QStandardItemModel
from PyQt5.QtWidgets import (QApplication, QCheckBox, QComboBox, QGridLayout,
        QGroupBox, QHBoxLayout, QLabel, QLineEdit, QTreeView, QVBoxLayout,
        QWidget)
        self.proxyGroupBox = QGroupBox("Sorted/Filtered Model")
 
        self.sourceView = QTreeView()
        self.sourceView.setRootIsDecorated(False)
        self.sourceView.setAlternatingRowColors(True)
 
        self.proxyView = QTreeView()

src/p/y/pyqt5-HEAD/examples/itemviews/dirview.py   pyqt5(Download)
import sys
 
from PyQt5.QtWidgets import QApplication, QFileSystemModel, QTreeView
 
 
app = QApplication(sys.argv)
 
model = QFileSystemModel()
model.setRootPath('')
tree = QTreeView()

src/p/y/pyqt5-HEAD/examples/itemviews/simpletreemodel/simpletreemodel.py   pyqt5(Download)
 
from PyQt5.QtCore import QAbstractItemModel, QFile, QIODevice, QModelIndex, Qt
from PyQt5.QtWidgets import QApplication, QTreeView
 
import simpletreemodel_rc
    f.close()
 
    view = QTreeView()
    view.setModel(model)
    view.setWindowTitle("Simple Tree Model")

src/d/u/dupeguru-HEAD/qt/base/directories_dialog.py   dupeguru(Download)
 
from PyQt5.QtCore import QRect
from PyQt5.QtWidgets import (QWidget, QFileDialog, QHeaderView, QVBoxLayout, QHBoxLayout, QTreeView,
    QAbstractItemView, QSpacerItem, QSizePolicy, QPushButton, QMainWindow, QMenuBar, QMenu, QLabel,
    QApplication)
        self.promptLabel = QLabel(tr("Select folders to scan and press \"Scan\"."), self.centralwidget)
        self.verticalLayout.addWidget(self.promptLabel)
        self.treeView = QTreeView(self.centralwidget)
        self.treeView.setSelectionMode(QAbstractItemView.ExtendedSelection)
        self.treeView.setSelectionBehavior(QAbstractItemView.SelectRows)

src/e/t/etm_qt-2.3.27/etmQt/ui5/ui_etmView.py   etm_qt(Download)
        self.gridLayout_3.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.dayTree = QtWidgets.QTreeView(self.dayPage)
        self.dayTree.setMinimumSize(QtCore.QSize(0, 0))
        self.dayTree.setFocusPolicy(QtCore.Qt.StrongFocus)
        self.gridLayout_2.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.nowTree = QtWidgets.QTreeView(self.nowPage)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        self.gridLayout_4.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.nextTree = QtWidgets.QTreeView(self.nextPage)
        self.nextTree.setStyleSheet("font-size: 13px")
        self.nextTree.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.gridLayout_5.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_5.setObjectName("gridLayout_5")
        self.folderTree = QtWidgets.QTreeView(self.folderPage)
        self.folderTree.setMinimumSize(QtCore.QSize(0, 0))
        self.folderTree.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.gridLayout_10.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_10.setObjectName("gridLayout_10")
        self.keywordTree = QtWidgets.QTreeView(self.keywordPage)
        self.keywordTree.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.keywordTree.setFrameShadow(QtWidgets.QFrame.Plain)