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

All Samples(288)  |  Call(92)  |  Derive(94)  |  Import(102)

src/p/y/pyqt5-HEAD/examples/widgets/tetrix.py   pyqt5(Download)
from PyQt5.QtCore import pyqtSignal, QBasicTimer, QSize, Qt
from PyQt5.QtGui import QColor, QPainter, QPixmap
from PyQt5.QtWidgets import (QApplication, QFrame, QGridLayout, QLabel,
        QLCDNumber, QPushButton, QWidget)
 
 
NoShape, ZShape, SShape, LineShape, TShape, SquareShape, LShape, MirroredLShape = range(8)
 
 
class TetrixWindow(QWidget):

src/p/y/pyqt5-HEAD/examples/tutorials/addressbook/part2.py   pyqt5(Download)
 
from PyQt5.QtCore import Qt
from PyQt5.QtWidgets import QGridLayout, QLabel, QLineEdit, QMessageBox, QPushButton, QTextEdit, QVBoxLayout, QWidget
 
 
class AddressBook(QWidget):
    def __init__(self, parent=None):
        super(AddressBook, self).__init__(parent)
 
        self.contacts = SortedDict()

src/p/y/pyqt5-HEAD/examples/painting/painterpaths.py   pyqt5(Download)
from PyQt5.QtGui import (QBrush, QColor, QFont, QLinearGradient, QPainter,
        QPainterPath, QPalette, QPen)
from PyQt5.QtWidgets import (QApplication, QComboBox, QGridLayout, QLabel,
        QSizePolicy, QSpinBox, QWidget)
 
 
class RenderArea(QWidget):
class Window(QWidget):
    NumRenderAreas = 9
 
    def __init__(self):
        super(Window, self).__init__()

src/p/y/pyqt5-HEAD/examples/mainwindows/mdi/mdi.py   pyqt5(Download)
        QSize, QTextStream, Qt)
from PyQt5.QtGui import QIcon, QKeySequence
from PyQt5.QtWidgets import (QAction, QApplication, QFileDialog, QMainWindow,
        QMdiArea, QMessageBox, QTextEdit, QWidget)
 

src/p/y/pyqt5-HEAD/examples/widgets/calculator.py   pyqt5(Download)
 
from PyQt5.QtCore import Qt
from PyQt5.QtWidgets import (QApplication, QGridLayout, QLayout, QLineEdit,
        QSizePolicy, QToolButton, QWidget)
 
class Calculator(QWidget):
    NumDigitButtons = 10
 
    def __init__(self, parent=None):
        super(Calculator, self).__init__(parent)

src/p/y/pyqt5-HEAD/examples/itemviews/coloreditorfactory.py   pyqt5(Download)
from PyQt5.QtCore import pyqtProperty, Qt, QVariant
from PyQt5.QtGui import QColor
from PyQt5.QtWidgets import (QApplication, QComboBox, QGridLayout,
        QItemEditorCreatorBase, QItemEditorFactory, QTableWidget,
        QTableWidgetItem, QWidget)
class Window(QWidget):
    def __init__(self, parent=None):
        super(Window, self).__init__(parent)
 
        factory = QItemEditorFactory()

src/p/y/pyqt5-HEAD/examples/network/blockingfortuneclient.py   pyqt5(Download)
        QThread, QWaitCondition)
from PyQt5.QtGui import QIntValidator
from PyQt5.QtWidgets import (QApplication, QDialogButtonBox, QGridLayout,
        QLabel, QLineEdit, QMessageBox, QPushButton, QWidget)
from PyQt5.QtNetwork import (QAbstractSocket, QHostAddress, QNetworkInterface,
class BlockingClient(QWidget):
    def __init__(self, parent=None):
        super(BlockingClient, self).__init__(parent)
 
        self.thread = FortuneThread()

src/p/y/pyqt5-HEAD/examples/itemviews/fetchmore.py   pyqt5(Download)
from PyQt5.QtCore import (pyqtSignal, QAbstractListModel, QDir, QLibraryInfo,
        QModelIndex, Qt)
from PyQt5.QtWidgets import (QApplication, QGridLayout, QLabel, QLineEdit,
        QListView, QSizePolicy, QTextBrowser, QWidget)
 
class Window(QWidget):
    def __init__(self, parent=None):
        super(Window, self).__init__(parent)
 
        model = FileListModel(self)

src/p/y/pyqt5-HEAD/examples/designer/plugins/widgets/multipagewidget.py   pyqt5(Download)
#----------------------------------------------------------------------------#
from PyQt5.QtCore import pyqtProperty, pyqtSignal, pyqtSlot, QSize
from PyQt5.QtWidgets import (QApplication, QComboBox, QLabel, QStackedWidget,
        QVBoxLayout, QWidget)
 
 
#============================================================================#
# Implementation of a MultiPageWidget using a QComboBox and a QStackedWidget #
#----------------------------------------------------------------------------#
class PyMultiPageWidget(QWidget):

src/p/y/pyqt5-HEAD/examples/graphicsview/embeddeddialogs/embeddeddialogs.py   pyqt5(Download)
from PyQt5.QtGui import (QBrush, QColor, QPainter, QPainterPath, QPixmap,
        QTransform)
from PyQt5.QtWidgets import (QApplication, QDialog, QGraphicsItem,
        QGraphicsProxyWidget, QGraphicsScene, QGraphicsView, QStyleFactory,
        QWidget)

Previous  2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10  Next