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

All Samples(46)  |  Call(29)  |  Derive(1)  |  Import(16)

src/p/y/pyqt5-HEAD/examples/widgets/styles.py   pyqt5(Download)
 
from PyQt5.QtCore import QDateTime, Qt, QTimer
from PyQt5.QtWidgets import (QApplication, QCheckBox, QComboBox, QDateTimeEdit,
        QDial, QDialog, QGridLayout, QGroupBox, QHBoxLayout, QLabel, QLineEdit,
        QProgressBar, QPushButton, QRadioButton, QScrollBar, QSizePolicy,
        lineEdit.setEchoMode(QLineEdit.Password)
 
        spinBox = QSpinBox(self.bottomRightGroupBox)
        spinBox.setValue(50)
 

src/p/y/pyqt5-HEAD/examples/widgets/stylesheet/ui_mainwindow.py   pyqt5(Download)
        self.femaleRadioButton.setObjectName("femaleRadioButton")
        self.gridlayout.addWidget(self.femaleRadioButton, 1, 2, 1, 2)
        self.ageSpinBox = QtWidgets.QSpinBox(self.mainFrame)
        self.ageSpinBox.setMinimum(12)
        self.ageSpinBox.setProperty("value", 22)

src/p/y/pyqt5-HEAD/examples/graphicsview/padnavigator/ui_form.py   pyqt5(Download)
        self.horizontalSlider.setObjectName("horizontalSlider")
        self.horizontalLayout.addWidget(self.horizontalSlider)
        self.spinBox = QtWidgets.QSpinBox(self.groupBox)
        self.spinBox.setProperty("value", 42)
        self.spinBox.setObjectName("spinBox")

src/p/y/pyqt5-HEAD/examples/designer/calculatorform/ui_calculatorform.py   pyqt5(Download)
        self.label_2.setObjectName("label_2")
        self.vboxlayout1.addWidget(self.label_2)
        self.inputSpinBox2 = QtWidgets.QSpinBox(CalculatorForm)
        self.inputSpinBox2.setGeometry(QtCore.QRect(1, 26, 46, 25))
        self.inputSpinBox2.setObjectName("inputSpinBox2")
        self.label.setObjectName("label")
        self.vboxlayout2.addWidget(self.label)
        self.inputSpinBox1 = QtWidgets.QSpinBox(CalculatorForm)
        self.inputSpinBox1.setGeometry(QtCore.QRect(1, 26, 46, 25))
        self.inputSpinBox1.setObjectName("inputSpinBox1")

src/p/y/pyqt5-HEAD/examples/widgets/icons/icons.py   pyqt5(Download)
from PyQt5.QtCore import QFileInfo, QRegExp, QSize, Qt
from PyQt5.QtGui import QIcon, QImage, QPalette, QPixmap
from PyQt5.QtWidgets import (QAbstractItemView, QAction, QActionGroup,
        QApplication, QComboBox, QFileDialog, QFrame, QGridLayout, QGroupBox,
        QHBoxLayout, QHeaderView, QItemDelegate, QLabel, QMainWindow,
        QMessageBox, QRadioButton, QSizePolicy, QSpinBox, QStyle,
        QStyleFactory, QTableWidget, QTableWidgetItem, QVBoxLayout, QWidget)
 
 
class IconSizeSpinBox(QSpinBox):

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
 
 
class SpinBoxDelegate(QItemDelegate):
    def createEditor(self, parent, option, index):
        editor = QSpinBox(parent)

src/p/y/pyqt5-HEAD/examples/dialogs/configdialog/configdialog.py   pyqt5(Download)
from PyQt5.QtCore import QDate, QSize, Qt
from PyQt5.QtGui import QIcon
from PyQt5.QtWidgets import (QApplication, QCheckBox, QComboBox, QDateTimeEdit,
        QDialog, QGridLayout, QGroupBox, QHBoxLayout, QLabel, QLineEdit,
        QListView, QListWidget, QListWidgetItem, QPushButton, QSpinBox,
        upgradesCheckBox = QCheckBox("Upgrades")
 
        hitsSpinBox = QSpinBox()
        hitsSpinBox.setPrefix("Return up to ")
        hitsSpinBox.setSuffix(" results")

src/p/y/pyqt5-HEAD/examples/desktop/systray/systray.py   pyqt5(Download)
 
from PyQt5.QtGui import QIcon
from PyQt5.QtWidgets import (QAction, QApplication, QCheckBox, QComboBox,
        QDialog, QGridLayout, QGroupBox, QHBoxLayout, QLabel, QLineEdit,
        QMessageBox, QMenu, QPushButton, QSpinBox, QStyle, QSystemTrayIcon,
        self.durationLabel = QLabel("Duration:")
 
        self.durationSpinBox = QSpinBox()
        self.durationSpinBox.setRange(5, 60)
        self.durationSpinBox.setSuffix(" s")

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,
 
        pixelSizeLabel = QLabel("Pixel size:")
        pixelSizeSpinBox = QSpinBox()
        pixelSizeSpinBox.setMinimum(4)
        pixelSizeSpinBox.setMaximum(32)

src/p/y/pyqt5-HEAD/examples/layouts/basiclayouts.py   pyqt5(Download)
 
 
from PyQt5.QtWidgets import (QApplication, QComboBox, QDialog,
        QDialogButtonBox, QFormLayout, QGridLayout, QGroupBox, QHBoxLayout,
        QLabel, QLineEdit, QMenu, QMenuBar, QPushButton, QSpinBox, QTextEdit,
        layout.addRow(QLabel("Line 1:"), QLineEdit())
        layout.addRow(QLabel("Line 2, long text:"), QComboBox())
        layout.addRow(QLabel("Line 3:"), QSpinBox())
        self.formGroupBox.setLayout(layout)
 

  1 | 2 | 3  Next