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

All Samples(66)  |  Call(31)  |  Derive(4)  |  Import(31)

src/p/y/pyqt5-HEAD/examples/xmlpatterns/schema/ui_schema.py   pyqt5(Download)
        self.instanceSelection.setObjectName("instanceSelection")
        self.gridLayout.addWidget(self.instanceSelection, 2, 2, 1, 2)
        self.instanceEdit = QtWidgets.QTextEdit(self.centralwidget)
        self.instanceEdit.setObjectName("instanceEdit")
        self.gridLayout.addWidget(self.instanceEdit, 3, 0, 1, 4)

src/p/y/pyqt5-HEAD/examples/widgets/stylesheet/ui_stylesheeteditor.py   pyqt5(Download)
        self.hboxlayout.addWidget(self.applyButton)
        self.gridlayout.addLayout(self.hboxlayout, 2, 0, 1, 7)
        self.styleTextEdit = QtWidgets.QTextEdit(StyleSheetEditor)
        self.styleTextEdit.setObjectName("styleTextEdit")
        self.gridlayout.addWidget(self.styleTextEdit, 1, 0, 1, 7)

src/p/y/pyqt5-HEAD/examples/richtext/textedit/textedit.py   pyqt5(Download)
        QPixmap, QTextBlockFormat, QTextCharFormat, QTextCursor,
        QTextDocumentWriter, QTextListFormat)
from PyQt5.QtWidgets import (QAction, QActionGroup, QApplication, QColorDialog,
        QComboBox, QFileDialog, QFontComboBox, QMainWindow, QMenu, QMessageBox,
        QTextEdit, QToolBar)
        helpMenu.addAction("About &Qt", QApplication.instance().aboutQt)
 
        self.textEdit = QTextEdit(self)
        self.textEdit.currentCharFormatChanged.connect(
                self.currentCharFormatChanged)

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,
 
        tab2 = QWidget()
        textEdit = QTextEdit()
 
        textEdit.setPlainText("Twinkle, twinkle, little star,\n"

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,
        self.createFormGroupBox()
 
        bigEditor = QTextEdit()
        bigEditor.setPlainText("This widget takes up all the remaining space "
                "in the top-level layout.")
            layout.addWidget(lineEdit, i + 1, 1)
 
        self.smallEditor = QTextEdit()
        self.smallEditor.setPlainText("This widget takes up about two thirds "
                "of the grid layout.")

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,
        bodyLabel = QLabel("Body:")
 
        self.bodyEdit = QTextEdit()
        self.bodyEdit.setPlainText("Don't believe me. Honestly, I don't have "
                "a clue.\nClick this balloon for details.")

src/p/y/pyqt5-HEAD/examples/tools/codecs/codecs.py   pyqt5(Download)
 
from PyQt5.QtCore import QFile, QRegExp, QTextCodec, QTextStream
from PyQt5.QtWidgets import (QAction, QApplication, QComboBox, QDialog,
        QDialogButtonBox, QFileDialog, QGridLayout, QLabel, QMainWindow, QMenu,
        QMessageBox, QTextEdit)
    def __init__(self):
        super(MainWindow, self).__init__()
 
        self.textEdit = QTextEdit()
        self.textEdit.setLineWrapMode(QTextEdit.NoWrap)
        encodingLabel.setBuddy(self.encodingComboBox)
 
        self.textEdit = QTextEdit()
        self.textEdit.setLineWrapMode(QTextEdit.NoWrap)
        self.textEdit.setReadOnly(True)

src/p/y/pyqt5-HEAD/examples/richtext/orderform.py   pyqt5(Download)
from PyQt5.QtGui import (QFont, QTextCharFormat, QTextCursor, QTextFrameFormat,
        QTextLength, QTextTableFormat)
from PyQt5.QtWidgets import (QApplication, QCheckBox, QDialog,
        QDialogButtonBox, QGridLayout, QLabel, QLineEdit, QMainWindow,
        QMessageBox, QMenu, QTableWidget, QTableWidgetItem, QTabWidget,
    def createLetter(self, name, address, orderItems, sendOffers):
        editor = QTextEdit()
        tabIndex = self.letters.addTab(editor, name)
        self.letters.setCurrentIndex(tabIndex)
 
 
        self.nameEdit = QLineEdit()
        self.addressEdit = QTextEdit()
        self.offersCheckBox = QCheckBox(
                "Send information about products and special offers:")

src/p/y/pyqt5-HEAD/examples/animation/states/states.py   pyqt5(Download)
        QSequentialAnimationGroup, QSizeF, QState, QStateMachine, Qt)
from PyQt5.QtGui import QPixmap
from PyQt5.QtWidgets import (QApplication, QGraphicsLinearLayout,
        QGraphicsObject, QGraphicsProxyWidget, QGraphicsScene, QGraphicsView,
        QGraphicsWidget, QGroupBox, QPushButton, QRadioButton, QTextEdit,
 
    # Text edit and button.
    edit = QTextEdit()
    edit.setText("asdf lkjha yuoiqwe asd iuaysd u iasyd uiy "
                 "asdf lkjha yuoiqwe asd iuaysd u iasyd uiy "

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)
 
        addressLabel = QLabel("Address:")
        self.addressText = QTextEdit()
        self.addressText.setReadOnly(True)
 

  1 | 2 | 3 | 4  Next