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

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

src/p/y/pyqt5-HEAD/examples/graphicsview/diagramscene/diagramscene.py   pyqt5(Download)
        textButton.setCheckable(True)
        self.buttonGroup.addButton(textButton, self.InsertTextButton)
        textButton.setIcon(QIcon(QPixmap(':/images/textpointer.png').scaled(30, 30)))
        textButton.setIconSize(QSize(50, 50))
 
        self.textAction = self.fontColorToolButton.menu().defaultAction()
        self.fontColorToolButton.setIcon(
                self.createColorToolButtonIcon(':/images/textpointer.png',
                        Qt.black))
        self.fontColorToolButton.setAutoFillBackground(True)
        self.fillAction = self.fillColorToolButton.menu().defaultAction()
        self.fillColorToolButton.setIcon(
                self.createColorToolButtonIcon(':/images/floodfill.png',
                        Qt.white))
        self.fillColorToolButton.clicked.connect(self.fillButtonTriggered)
        self.lineAction = self.lineColorToolButton.menu().defaultAction()
        self.lineColorToolButton.setIcon(
                self.createColorToolButtonIcon(':/images/linecolor.png',
                        Qt.black))
        self.lineColorToolButton.clicked.connect(self.lineButtonTriggered)
        pointerButton.setCheckable(True)
        pointerButton.setChecked(True)
        pointerButton.setIcon(QIcon(':/images/pointer.png'))
        linePointerButton = QToolButton()
        linePointerButton.setCheckable(True)

src/p/y/pyqt5-HEAD/examples/widgets/movie/movie.py   pyqt5(Download)
    def createButtons(self):
        iconSize = QSize(36, 36)
 
        openButton = QToolButton()
        openButton.setIcon(self.style().standardIcon(QStyle.SP_DialogOpenButton))
 
        self.playButton = QToolButton()
        self.playButton.setIcon(self.style().standardIcon(QStyle.SP_MediaPlay))
        self.playButton.setIconSize(iconSize)
        self.playButton.setToolTip("Play")
        self.playButton.clicked.connect(self.movie.start)
 
        self.pauseButton = QToolButton()
        self.pauseButton.setCheckable(True)
        self.pauseButton.setIcon(self.style().standardIcon(QStyle.SP_MediaPause))
 
        self.stopButton = QToolButton()
        self.stopButton.setIcon(self.style().standardIcon(QStyle.SP_MediaStop))
        self.stopButton.setIconSize(iconSize)
        self.stopButton.setToolTip("Stop")
        self.stopButton.clicked.connect(self.movie.stop)
 
        quitButton = QToolButton()
        quitButton.setIcon(self.style().standardIcon(QStyle.SP_DialogCloseButton))

src/p/y/pyqt5-HEAD/examples/multimediawidgets/player.py   pyqt5(Download)
 
        self.playButton = QToolButton(clicked=self.playClicked)
        self.playButton.setIcon(self.style().standardIcon(QStyle.SP_MediaPlay))
 
        self.stopButton = QToolButton(clicked=self.stop)
        self.stopButton.setIcon(self.style().standardIcon(QStyle.SP_MediaStop))
        self.nextButton = QToolButton(clicked=self.next)
        self.nextButton.setIcon(
                self.style().standardIcon(QStyle.SP_MediaSkipForward))
 
        self.previousButton = QToolButton(clicked=self.previous)
        self.previousButton.setIcon(
                self.style().standardIcon(QStyle.SP_MediaSkipBackward))
        self.muteButton = QToolButton(clicked=self.muteClicked)
        self.muteButton.setIcon(
                self.style().standardIcon(QStyle.SP_MediaVolume))
 
        self.volumeSlider = QSlider(Qt.Horizontal,

src/p/y/pyqt5-HEAD/examples/widgets/tooltips/tooltips.py   pyqt5(Download)
    def createToolButton(self, toolTip, icon, member):
        button = QToolButton(self)
        button.setToolTip(toolTip)
        button.setIcon(icon)
        button.setIconSize(QSize(32, 32))

src/e/t/etm_qt-2.3.27/etmQt/ui5/ui_etmView.py   etm_qt(Download)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/editadd.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.newItemButton.setIcon(icon1)
        self.newItemButton.setIconSize(QtCore.QSize(26, 26))
        self.newItemButton.setObjectName("newItemButton")
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/action_start.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.newActionButton.setIcon(icon2)
        self.newActionButton.setIconSize(QtCore.QSize(26, 26))
        self.newActionButton.setObjectName("newActionButton")
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(":/report.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.reportButton.setIcon(icon3)
        self.reportButton.setIconSize(QtCore.QSize(24, 26))
        self.reportButton.setObjectName("reportButton")
        icon4 = QtGui.QIcon()
        icon4.addPixmap(QtGui.QPixmap(":/help.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.mainHelpButton.setIcon(icon4)
        self.mainHelpButton.setIconSize(QtCore.QSize(20, 20))
        self.mainHelpButton.setObjectName("mainHelpButton")
        icon5 = QtGui.QIcon()
        icon5.addPixmap(QtGui.QPixmap(":/bell.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.alertsButton.setIcon(icon5)
        self.alertsButton.setIconSize(QtCore.QSize(22, 22))
        self.alertsButton.setObjectName("alertsButton")

src/e/t/etm_qt-2.3.27/etmQt/ui5/ui_etmEditor.py   etm_qt(Download)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/exit.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.quitButton.setIcon(icon1)
        self.quitButton.setIconSize(QtCore.QSize(24, 24))
        self.quitButton.setObjectName("quitButton")
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/save.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.saveButton.setIcon(icon2)
        self.saveButton.setIconSize(QtCore.QSize(22, 22))
        self.saveButton.setObjectName("saveButton")
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(":/cut.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.cutButton.setIcon(icon3)
        self.cutButton.setIconSize(QtCore.QSize(22, 22))
        self.cutButton.setObjectName("cutButton")
        icon4 = QtGui.QIcon()
        icon4.addPixmap(QtGui.QPixmap(":/copy.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.copyButton.setIcon(icon4)
        self.copyButton.setIconSize(QtCore.QSize(22, 22))
        self.copyButton.setObjectName("copyButton")
        icon5 = QtGui.QIcon()
        icon5.addPixmap(QtGui.QPixmap(":/paste.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.pasteButton.setIcon(icon5)
        self.pasteButton.setIconSize(QtCore.QSize(22, 22))
        self.pasteButton.setObjectName("pasteButton")

src/e/t/etm_qt-2.3.27/etmQt/ui5/ui_etmDetails.py   etm_qt(Download)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/exit.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.closeButton.setIcon(icon1)
        self.closeButton.setIconSize(QtCore.QSize(26, 26))
        self.closeButton.setObjectName("closeButton")
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/fileopen.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.fileButton.setIcon(icon2)
        self.fileButton.setIconSize(QtCore.QSize(24, 24))
        self.fileButton.setObjectName("fileButton")
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(":/edit_item.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.itemButton.setIcon(icon3)
        self.itemButton.setIconSize(QtCore.QSize(22, 22))
        self.itemButton.setObjectName("itemButton")
        icon4 = QtGui.QIcon()
        icon4.addPixmap(QtGui.QPixmap(":/copy.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.cloneItemButton.setIcon(icon4)
        self.cloneItemButton.setIconSize(QtCore.QSize(24, 24))
        self.cloneItemButton.setObjectName("cloneItemButton")
        icon5 = QtGui.QIcon()
        icon5.addPixmap(QtGui.QPixmap(":/action_start.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.cloneActionButton.setIcon(icon5)
        self.cloneActionButton.setIconSize(QtCore.QSize(28, 28))
        self.cloneActionButton.setObjectName("cloneActionButton")

src/e/t/etm_qt-2.3.27/etmQt/ui5/ui_etmReport.py   etm_qt(Download)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/exit.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.closeButton.setIcon(icon1)
        self.closeButton.setIconSize(QtCore.QSize(24, 24))
        self.closeButton.setObjectName("closeButton")
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/print.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.printButton.setIcon(icon2)
        self.printButton.setIconSize(QtCore.QSize(24, 24))
        self.printButton.setObjectName("printButton")
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(":/export.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.exportButton.setIcon(icon3)
        self.exportButton.setIconSize(QtCore.QSize(22, 22))
        self.exportButton.setObjectName("exportButton")
        icon4 = QtGui.QIcon()
        icon4.addPixmap(QtGui.QPixmap(":/send_email.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.mailButton.setIcon(icon4)
        self.mailButton.setIconSize(QtCore.QSize(26, 26))
        self.mailButton.setObjectName("mailButton")
        icon5 = QtGui.QIcon()
        icon5.addPixmap(QtGui.QPixmap(":/previous.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.previous.setIcon(icon5)
        self.previous.setIconSize(QtCore.QSize(18, 18))
        self.previous.setObjectName("previous")

src/e/t/etm_qt-2.3.27/etmQt/ui5/ui_etmSearch.py   etm_qt(Download)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/previous.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.previous.setIcon(icon)
        self.previous.setIconSize(QtCore.QSize(18, 18))
        self.previous.setToolButtonStyle(QtCore.Qt.ToolButtonIconOnly)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/next.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.next.setIcon(icon1)
        self.next.setIconSize(QtCore.QSize(18, 18))
        self.next.setToolButtonStyle(QtCore.Qt.ToolButtonIconOnly)

src/e/t/etm_qt-2.3.27/etmQt/ui5/ui_etmHelp.py   etm_qt(Download)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/previous.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.previous.setIcon(icon1)
        self.previous.setIconSize(QtCore.QSize(18, 18))
        self.previous.setObjectName("previous")
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/next.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.next.setIcon(icon2)
        self.next.setIconSize(QtCore.QSize(18, 18))
        self.next.setObjectName("next")

  1 | 2  Next