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

All Samples(321)  |  Call(270)  |  Derive(1)  |  Import(50)

src/p/y/pyqt5-HEAD/examples/multimediawidgets/player.py   pyqt5(Download)
        QMediaMetaData, QMediaPlayer, QMediaPlaylist, QVideoFrame, QVideoProbe)
from PyQt5.QtMultimediaWidgets import QVideoWidget
from PyQt5.QtWidgets import (QApplication, QComboBox, QDialog, QFileDialog,
        QFormLayout, QHBoxLayout, QLabel, QListView, QMessageBox, QPushButton,
        QSizePolicy, QSlider, QStyle, QToolButton, QVBoxLayout, QWidget)
        self.probe.setSource(self.player)
 
        openButton = QPushButton("Open", clicked=self.open)
 
        controls = PlayerControls()
        self.player.mutedChanged.connect(controls.setMuted)
 
        self.fullScreenButton = QPushButton("FullScreen")
        self.fullScreenButton.setCheckable(True)
 
        self.colorButton = QPushButton("Color Options...")
            layout.addRow("Saturation", saturationSlider)
 
            button = QPushButton("Close")
            layout.addRow(button)
 

src/p/y/pyqt5-HEAD/examples/multimedia/audiooutput.py   pyqt5(Download)
from PyQt5.QtMultimedia import (QAudio, QAudioDeviceInfo, QAudioFormat,
        QAudioOutput)
from PyQt5.QtWidgets import (QApplication, QComboBox, QHBoxLayout, QLabel,
        QMainWindow, QPushButton, QSlider, QVBoxLayout, QWidget)
 
        layout.addWidget(self.m_deviceBox)
 
        self.m_modeButton = QPushButton(clicked=self.toggleMode)
        self.m_modeButton.setText(self.PUSH_MODE_LABEL)
 
        layout.addWidget(self.m_modeButton)
 
        self.m_suspendResumeButton = QPushButton(
                clicked=self.toggleSuspendResume)

src/p/y/pyqt5-HEAD/examples/itemviews/spreadsheet/spreadsheet.py   pyqt5(Download)
from PyQt5.QtCore import QDate, QPoint, Qt
from PyQt5.QtGui import QColor, QIcon, QKeySequence, QPainter, QPixmap
from PyQt5.QtWidgets import (QAction, QActionGroup, QApplication, QColorDialog,
        QComboBox, QDialog, QFontDialog, QGroupBox, QHBoxLayout, QLabel,
        QLineEdit, QMainWindow, QMessageBox, QPushButton, QTableWidget,
        outColInput.setCurrentIndex(outCol)
 
        cancelButton = QPushButton("Cancel", addDialog)
        cancelButton.clicked.connect(addDialog.reject)
        okButton = QPushButton("OK", addDialog)

src/p/y/pyqt5-HEAD/examples/dialogs/extension.py   pyqt5(Download)
 
from PyQt5.QtCore import Qt
from PyQt5.QtWidgets import (QApplication, QCheckBox, QDialog,
        QDialogButtonBox, QGridLayout, QHBoxLayout, QLabel, QLayout, QLineEdit,
        QPushButton, QVBoxLayout, QWidget)
        fromStartCheckBox.setChecked(True)
 
        findButton = QPushButton("&Find")
        findButton.setDefault(True)
 
        moreButton = QPushButton("&More")

src/p/y/pyqt5-HEAD/examples/tutorials/addressbook/part7.py   pyqt5(Download)
 
from PyQt5.QtCore import QFile, QIODevice, Qt, QTextStream
from PyQt5.QtWidgets import (QDialog, QFileDialog, QGridLayout, QHBoxLayout,
        QLabel, QLineEdit, QMessageBox, QPushButton, QTextEdit, QVBoxLayout,
        QWidget)
        self.addressText.setReadOnly(True)
 
        self.addButton = QPushButton("&Add")
        self.addButton.show()
        self.editButton = QPushButton("&Edit")
        self.editButton.setEnabled(False)
        self.removeButton = QPushButton("&Remove")
        self.removeButton.setEnabled(False)
        self.findButton = QPushButton("&Find")

src/p/y/pyqt5-HEAD/examples/tutorials/addressbook/part6.py   pyqt5(Download)
 
from PyQt5.QtCore import Qt
from PyQt5.QtWidgets import (QDialog, QFileDialog, QGridLayout, QHBoxLayout,
        QLabel, QLineEdit, QMessageBox, QPushButton, QTextEdit, QVBoxLayout,
        QWidget)
        self.addressText.setReadOnly(True)
 
        self.addButton = QPushButton("&Add")
        self.addButton.show()
        self.editButton = QPushButton("&Edit")
        self.editButton.setEnabled(False)
        self.removeButton = QPushButton("&Remove")
        self.removeButton.setEnabled(False)
        self.findButton = QPushButton("&Find")

src/p/y/pyqt5-HEAD/examples/multimediawidgets/camera/ui_camera.py   pyqt5(Download)
        self.stackedWidget.addWidget(self.previewPage)
        self.gridLayout_3.addWidget(self.stackedWidget, 0, 0, 3, 1)
        self.lockButton = QtWidgets.QPushButton(self.centralwidget)
        self.lockButton.setObjectName("lockButton")
        self.gridLayout_3.addWidget(self.lockButton, 1, 1, 1, 2)
        self.gridLayout = QtWidgets.QGridLayout(self.tab_2)
        self.gridLayout.setObjectName("gridLayout")
        self.takeImageButton = QtWidgets.QPushButton(self.tab_2)
        self.takeImageButton.setObjectName("takeImageButton")
        self.gridLayout.addWidget(self.takeImageButton, 0, 0, 1, 1)
        self.gridLayout_2 = QtWidgets.QGridLayout(self.tab)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.recordButton = QtWidgets.QPushButton(self.tab)
        self.recordButton.setObjectName("recordButton")
        self.gridLayout_2.addWidget(self.recordButton, 0, 0, 1, 1)
        self.pauseButton = QtWidgets.QPushButton(self.tab)
        self.pauseButton.setObjectName("pauseButton")
        self.gridLayout_2.addWidget(self.pauseButton, 1, 0, 1, 1)
        self.stopButton = QtWidgets.QPushButton(self.tab)

src/p/y/pyqt5-HEAD/examples/tutorials/addressbook/part5.py   pyqt5(Download)
 
from PyQt5.QtCore import Qt
from PyQt5.QtWidgets import (QDialog, QGridLayout, QHBoxLayout, QLabel,
        QLineEdit, QMessageBox, QPushButton, QTextEdit, QVBoxLayout, QWidget)
 
        self.addressText.setReadOnly(True)
 
        self.addButton = QPushButton("&Add")
        self.addButton.show()
        self.editButton = QPushButton("&Edit")
        self.editButton.setEnabled(False)
        self.removeButton = QPushButton("&Remove")
        self.removeButton.setEnabled(False)
        self.findButton = QPushButton("&Find")

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,
    def createTopRightGroupBox(self):
        self.topRightGroupBox = QGroupBox("Group 2")
 
        defaultPushButton = QPushButton("Default Push Button")
        defaultPushButton.setDefault(True)
 
        togglePushButton = QPushButton("Toggle Push Button")
        togglePushButton.setChecked(True)
 
        flatPushButton = QPushButton("Flat Push Button")
        flatPushButton.setFlat(True)
 

src/p/y/pyqt5-HEAD/examples/tutorials/addressbook/part4.py   pyqt5(Download)
 
from PyQt5.QtCore import Qt
from PyQt5.QtWidgets import (QGridLayout, QHBoxLayout, QLabel, QLineEdit,
        QMessageBox, QPushButton, QTextEdit, QVBoxLayout, QWidget)
 
        self.addressText.setReadOnly(True)
 
        self.addButton = QPushButton("&Add")
        self.addButton.show()
        self.editButton = QPushButton("&Edit")
        self.editButton.setEnabled(False)
        self.removeButton = QPushButton("&Remove")
        self.removeButton.setEnabled(False)
        self.submitButton = QPushButton("&Submit")

  1 | 2 | 3 | 4 | 5 | 6 | 7  Next