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

All Samples(5)  |  Call(5)  |  Derive(0)  |  Import(0)

src/e/t/etm_qt-2.3.27/etmQt/ui5/ui_etmView.py   etm_qt(Download)
        self.dayTree.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.dayTree.setAutoScroll(True)
        self.dayTree.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
        self.dayTree.setSelectionMode(QtWidgets.QAbstractItemView.SingleSelection)
        self.dayTree.setUniformRowHeights(True)
        self.nowTree.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.nowTree.setFrameShadow(QtWidgets.QFrame.Plain)
        self.nowTree.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
        self.nowTree.setIndentation(20)
        self.nowTree.setUniformRowHeights(True)
        self.nextTree.setFrameShape(QtWidgets.QFrame.NoFrame)
        self.nextTree.setFrameShadow(QtWidgets.QFrame.Plain)
        self.nextTree.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
        self.nextTree.setUniformRowHeights(True)
        self.nextTree.setHeaderHidden(True)
        self.folderTree.setFrameShadow(QtWidgets.QFrame.Plain)
        self.folderTree.setLineWidth(0)
        self.folderTree.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
        self.folderTree.setUniformRowHeights(True)
        self.folderTree.setHeaderHidden(True)

src/d/u/dupeguru-HEAD/qt/base/directories_dialog.py   dupeguru(Download)
        triggers = QAbstractItemView.DoubleClicked|QAbstractItemView.EditKeyPressed\
            |QAbstractItemView.SelectedClicked
        self.treeView.setEditTriggers(triggers)
        self.treeView.setDragDropOverwriteMode(True)
        self.treeView.setDragDropMode(QAbstractItemView.DropOnly)