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

All Samples(18)  |  Call(18)  |  Derive(0)  |  Import(0)

src/p/y/pyqt5-HEAD/examples/mainwindows/sdi/sdi.py   pyqt5(Download)
    def createToolBars(self):
        self.fileToolBar = self.addToolBar("File")
        self.fileToolBar.addAction(self.newAct)
        self.fileToolBar.addAction(self.openAct)
        self.fileToolBar.addAction(self.saveAct)
 
        self.editToolBar = self.addToolBar("Edit")

src/p/y/pyqt5-HEAD/examples/mainwindows/application/application.py   pyqt5(Download)
    def createToolBars(self):
        self.fileToolBar = self.addToolBar("File")
        self.fileToolBar.addAction(self.newAct)
        self.fileToolBar.addAction(self.openAct)
        self.fileToolBar.addAction(self.saveAct)
 
        self.editToolBar = self.addToolBar("Edit")

src/p/y/pyqt5-HEAD/examples/mainwindows/mdi/mdi.py   pyqt5(Download)
    def createToolBars(self):
        self.fileToolBar = self.addToolBar("File")
        self.fileToolBar.addAction(self.newAct)
        self.fileToolBar.addAction(self.openAct)
        self.fileToolBar.addAction(self.saveAct)
 
        self.editToolBar = self.addToolBar("Edit")

src/p/y/pyqt5-HEAD/examples/itemviews/spreadsheet/spreadsheet.py   pyqt5(Download)
    def __init__(self, rows, cols, parent = None):
        super(SpreadSheet, self).__init__(parent)
 
        self.toolBar = QToolBar()
        self.addToolBar(self.toolBar)

src/p/y/pyqt5-HEAD/examples/richtext/textedit/textedit.py   pyqt5(Download)
    def setupFileActions(self):
        tb = QToolBar(self)
        tb.setWindowTitle("File Actions")
        self.addToolBar(tb)
 
    def setupEditActions(self):
        tb = QToolBar(self)
        tb.setWindowTitle("Edit Actions")
        self.addToolBar(tb)
 
    def setupTextActions(self):
        tb = QToolBar(self)
        tb.setWindowTitle("Format Actions")
        self.addToolBar(tb)
 
        tb.setWindowTitle("Format Actions")
        self.addToolBarBreak(Qt.TopToolBarArea)
        self.addToolBar(tb)
 
        comboStyle = QComboBox(tb)

src/p/y/pyqt5-HEAD/examples/mainwindows/dockwidgets/dockwidgets.py   pyqt5(Download)
    def createToolBars(self):
        self.fileToolBar = self.addToolBar("File")
        self.fileToolBar.addAction(self.newLetterAct)
        self.fileToolBar.addAction(self.saveAct)
        self.fileToolBar.addAction(self.printAct)
 
        self.editToolBar = self.addToolBar("Edit")

src/p/y/pyqt5-HEAD/examples/graphicsview/diagramscene/diagramscene.py   pyqt5(Download)
    def createToolbars(self):
        self.editToolBar = self.addToolBar("Edit")
        self.editToolBar.addAction(self.deleteAction)
        self.editToolBar.addAction(self.toFrontAction)
        self.editToolBar.addAction(self.sendBackAction)
        self.lineColorToolButton.clicked.connect(self.lineButtonTriggered)
 
        self.textToolBar = self.addToolBar("Font")
        self.textToolBar.addWidget(self.fontCombo)
        self.textToolBar.addWidget(self.fontSizeCombo)
        self.textToolBar.addAction(self.boldAction)
        self.textToolBar.addAction(self.italicAction)
        self.textToolBar.addAction(self.underlineAction)
 
        self.colorToolBar = self.addToolBar("Color")
        self.sceneScaleCombo.currentIndexChanged[str].connect(self.sceneScaleChanged)
 
        self.pointerToolbar = self.addToolBar("Pointer type")
        self.pointerToolbar.addWidget(pointerButton)
        self.pointerToolbar.addWidget(linePointerButton)

src/p/y/pyqt5-HEAD/examples/webkit/fancybrowser/fancybrowser.py   pyqt5(Download)
        self.locationEdit.returnPressed.connect(self.changeLocation)
 
        toolBar = self.addToolBar("Navigation")
        toolBar.addAction(self.view.pageAction(QWebPage.Back))
        toolBar.addAction(self.view.pageAction(QWebPage.Forward))