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

All Samples(51)  |  Call(33)  |  Derive(3)  |  Import(15)

src/p/y/pyqt5-HEAD/examples/itemviews/pixelator/pixelator.py   pyqt5(Download)
from PyQt5.QtGui import QBrush, qGray, QImage, QPainter
from PyQt5.QtPrintSupport import QPrinter
from PyQt5.QtWidgets import (QAbstractItemDelegate, QApplication, QDialog,
        QFileDialog, QHBoxLayout, QLabel, QMainWindow, QMessageBox, QMenu,
        QProgressDialog, QSpinBox, QStyle, QStyleOptionViewItem, QTableView,
        centralWidget = QWidget()
 
        self.view = QTableView()
        self.view.setShowGrid(False)
        self.view.horizontalHeader().hide()

src/p/y/pyqt5-HEAD/examples/itemviews/chart/chart.py   pyqt5(Download)
from PyQt5.QtGui import (QBrush, QColor, QFontMetrics, QPainter, QPainterPath,
        QPalette, QPen, QRegion, QStandardItemModel)
from PyQt5.QtWidgets import (QAbstractItemView, QApplication, QFileDialog,
        QMainWindow, QMenu, QRubberBand, QSplitter, QStyle, QTableView)
 
    def setupViews(self):
        splitter = QSplitter()
        table = QTableView()
        self.pieChart = PieView()
        splitter.addWidget(table)

src/p/y/pyqt5-HEAD/examples/sql/cachedtable.py   pyqt5(Download)
 
from PyQt5.QtCore import Qt
from PyQt5.QtWidgets import (QApplication, QDialog, QDialogButtonBox,
        QHBoxLayout, QMessageBox, QPushButton, QTableView)
from PyQt5.QtSql import QSqlTableModel
        self.model.setHeaderData(2, Qt.Horizontal, "Last name")
 
        view = QTableView()
        view.setModel(self.model)
 

src/p/y/pyqt5-HEAD/examples/itemviews/spinboxdelegate.py   pyqt5(Download)
from PyQt5.QtCore import QModelIndex, Qt
from PyQt5.QtGui import QStandardItemModel
from PyQt5.QtWidgets import QApplication, QItemDelegate, QSpinBox, QTableView
 
 
 
    model = QStandardItemModel(4, 2)
    tableView = QTableView()
    tableView.setModel(model)
 

src/p/y/pyqt5-HEAD/examples/sql/tablemodel.py   pyqt5(Download)
 
from PyQt5.QtCore import Qt
from PyQt5.QtWidgets import QApplication, QTableView
from PyQt5.QtSql import QSqlTableModel
 
def createView(title, model):
    view = QTableView()
    view.setModel(model)
    view.setWindowTitle(title)
    return view

src/p/y/pyqt5-HEAD/examples/sql/relationaltablemodel.py   pyqt5(Download)
 
from PyQt5.QtCore import Qt
from PyQt5.QtWidgets import QApplication, QTableView
from PyQt5.QtSql import (QSqlQuery, QSqlRelation, QSqlRelationalDelegate,
        QSqlRelationalTableModel, QSqlTableModel)
def createView(title, model):
    view = QTableView()
    view.setModel(model)
    view.setItemDelegate(QSqlRelationalDelegate(view))
    view.setWindowTitle(title)

src/p/y/pyqt5-HEAD/examples/sql/querymodel.py   pyqt5(Download)
from PyQt5.QtCore import Qt
from PyQt5.QtGui import QColor
from PyQt5.QtWidgets import QApplication, QTableView
from PyQt5.QtSql import QSqlQuery, QSqlQueryModel
 
def createView(title, model):
    global offset, views
 
    view = QTableView()
    views.append(view)

src/p/y/pyqt5-HEAD/examples/itemviews/spreadsheet/printview.py   pyqt5(Download)
 
from PyQt5.QtCore import Qt
from PyQt5.QtWidgets import QTableView
 
 
class PrintView(QTableView):

src/p/q/PQt5_cs_cv_cc-HEAD/Vista/windowPrincipal.py   PQt5_cs_cv_cc(Download)
        self.cbFilterCliente_t.addItem("")
        self.cbFilterCliente_t.addItem("")
        self.tvProductos_t = QtWidgets.QTableView(self.tab_Transacciones)
        self.tvProductos_t.setGeometry(QtCore.QRect(470, 130, 681, 111))
        font = QtGui.QFont()
        self.sbCantidadProducto_t.setStyleSheet("font: 9pt \"MS Shell Dlg 2\";")
        self.sbCantidadProducto_t.setObjectName("sbCantidadProducto_t")
        self.tvDetalleTransaccion_t = QtWidgets.QTableView(self.tab_Transacciones)
        self.tvDetalleTransaccion_t.setGeometry(QtCore.QRect(10, 310, 1141, 131))
        font = QtGui.QFont()
        self.label5_t.setFont(font)
        self.label5_t.setObjectName("label5_t")
        self.tvClientes_t = QtWidgets.QTableView(self.tab_Transacciones)
        self.tvClientes_t.setGeometry(QtCore.QRect(10, 130, 431, 111))
        font = QtGui.QFont()
        self.tab_Pagos = QtWidgets.QWidget()
        self.tab_Pagos.setObjectName("tab_Pagos")
        self.tvCuentaCorriente_pag = QtWidgets.QTableView(self.tab_Pagos)
        self.tvCuentaCorriente_pag.setGeometry(QtCore.QRect(10, 50, 1141, 211))
        font = QtGui.QFont()
        self.tvCuentaCorriente_pag.setFont(font)
        self.tvCuentaCorriente_pag.setObjectName("tvCuentaCorriente_pag")
        self.tvDetalleTransaccion_pag = QtWidgets.QTableView(self.tab_Pagos)
        self.tvDetalleTransaccion_pag.setGeometry(QtCore.QRect(585, 301, 571, 161))
        font = QtGui.QFont()

src/p/q/PQt5_cs_cv_cc-HEAD/Vista/mainwin.py   PQt5_cs_cv_cc(Download)
        self.cbFilterCliente_t.addItem("")
        self.cbFilterCliente_t.addItem("")
        self.tvProductos_t = QtWidgets.QTableView(self.tab_Transacciones)
        self.tvProductos_t.setGeometry(QtCore.QRect(470, 130, 681, 111))
        font = QtGui.QFont()
        self.sbCantidadProducto_t.setStyleSheet("font: 9pt \"MS Shell Dlg 2\";")
        self.sbCantidadProducto_t.setObjectName("sbCantidadProducto_t")
        self.tvDetalleTransaccion_t = QtWidgets.QTableView(self.tab_Transacciones)
        self.tvDetalleTransaccion_t.setGeometry(QtCore.QRect(10, 310, 1141, 131))
        font = QtGui.QFont()
        self.label5_t.setFont(font)
        self.label5_t.setObjectName("label5_t")
        self.tvClientes_t = QtWidgets.QTableView(self.tab_Transacciones)
        self.tvClientes_t.setGeometry(QtCore.QRect(10, 130, 431, 111))
        font = QtGui.QFont()
        self.tab_Pagos = QtWidgets.QWidget()
        self.tab_Pagos.setObjectName("tab_Pagos")
        self.tvCuentaCorriente_pag = QtWidgets.QTableView(self.tab_Pagos)
        self.tvCuentaCorriente_pag.setGeometry(QtCore.QRect(10, 50, 1141, 211))
        font = QtGui.QFont()
        self.tvCuentaCorriente_pag.setFont(font)
        self.tvCuentaCorriente_pag.setObjectName("tvCuentaCorriente_pag")
        self.tvDetalleTransaccion_pag = QtWidgets.QTableView(self.tab_Pagos)
        self.tvDetalleTransaccion_pag.setGeometry(QtCore.QRect(585, 301, 571, 161))
        font = QtGui.QFont()

  1 | 2  Next