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

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

src/p/y/pyqt5-HEAD/examples/widgets/movie/movie.py   pyqt5(Download)
        openButton = QToolButton()
        openButton.setIcon(self.style().standardIcon(QStyle.SP_DialogOpenButton))
        openButton.setIconSize(iconSize)
        openButton.setToolTip("Open File")
        openButton.clicked.connect(self.open)
 
        self.playButton = QToolButton()
        self.playButton.setIcon(self.style().standardIcon(QStyle.SP_MediaPlay))
        self.playButton.setIconSize(iconSize)
        self.pauseButton.setCheckable(True)
        self.pauseButton.setIcon(self.style().standardIcon(QStyle.SP_MediaPause))
        self.pauseButton.setIconSize(iconSize)
        self.pauseButton.setToolTip("Pause")
        self.pauseButton.clicked.connect(self.movie.setPaused)
 
        self.stopButton = QToolButton()
        self.stopButton.setIcon(self.style().standardIcon(QStyle.SP_MediaStop))
        self.stopButton.setIconSize(iconSize)
        quitButton = QToolButton()
        quitButton.setIcon(self.style().standardIcon(QStyle.SP_DialogCloseButton))
        quitButton.setIconSize(iconSize)
        quitButton.setToolTip("Quit")
        quitButton.clicked.connect(self.close)

src/p/y/pyqt5-HEAD/examples/graphicsview/diagramscene/diagramscene.py   pyqt5(Download)
        self.buttonGroup.addButton(textButton, self.InsertTextButton)
        textButton.setIcon(QIcon(QPixmap(':/images/textpointer.png').scaled(30, 30)))
        textButton.setIconSize(QSize(50, 50))
 
        textLayout = QGridLayout()
    def createBackgroundCellWidget(self, text, image):
        button = QToolButton()
        button.setText(text)
        button.setIcon(QIcon(image))
        button.setIconSize(QSize(50, 50))
        button = QToolButton()
        button.setIcon(icon)
        button.setIconSize(QSize(50, 50))
        button.setCheckable(True)
        self.buttonGroup.addButton(button, diagramType)

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.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")
        self.toolBar.addWidget(self.newItemButton)
        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")
        self.toolBar.addWidget(self.newActionButton)
        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")
        self.toolBar.addWidget(self.reportButton)
        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")
        self.toolBar.addWidget(self.mainHelpButton)
        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")
        self.statusBar.addWidget(self.alertsButton, 0, 10, 1, 1)

src/e/t/etm_qt-2.3.27/etmQt/ui5/ui_etmEditor.py   etm_qt(Download)
        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")
        self.editBar.addWidget(self.quitButton)
        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")
        self.editBar.addWidget(self.saveButton)
        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")
        self.editBar.addWidget(self.cutButton)
        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")
        self.editBar.addWidget(self.copyButton)
        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")
        self.editBar.addWidget(self.pasteButton)

src/e/t/etm_qt-2.3.27/etmQt/ui5/ui_etmDetails.py   etm_qt(Download)
        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")
        self.horizontalLayout.addWidget(self.closeButton)
        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")
        self.horizontalLayout.addWidget(self.fileButton)
        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")
        self.horizontalLayout.addWidget(self.itemButton)
        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")
        self.horizontalLayout.addWidget(self.cloneItemButton)
        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")
        self.horizontalLayout.addWidget(self.cloneActionButton)

src/e/t/etm_qt-2.3.27/etmQt/ui5/ui_etmReport.py   etm_qt(Download)
        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")
        self.horizontalLayout_2.addWidget(self.closeButton)
        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")
        self.horizontalLayout_2.addWidget(self.printButton)
        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")
        self.horizontalLayout_2.addWidget(self.exportButton)
        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")
        self.horizontalLayout_2.addWidget(self.mailButton)
        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")
        self.horizontalLayout_2.addWidget(self.previous)

src/e/t/etm_qt-2.3.27/etmQt/ui5/ui_etmSearch.py   etm_qt(Download)
        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)
        self.previous.setAutoRaise(True)
        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)
        self.next.setAutoRaise(True)

src/e/t/etm_qt-2.3.27/etmQt/ui5/ui_etmHelp.py   etm_qt(Download)
        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")
        self.gridLayout.addWidget(self.previous, 1, 1, 1, 1)
        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")
        self.gridLayout.addWidget(self.next, 1, 3, 1, 1)

src/e/t/etm_qt-2.3.27/etmQt/ui5/ui_etmList.py   etm_qt(Download)
        icon.addPixmap(QtGui.QPixmap(":/info.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.infoButton.setIcon(icon)
        self.infoButton.setIconSize(QtCore.QSize(20, 20))
        self.infoButton.setObjectName("infoButton")
        self.horizontalLayout.addWidget(self.infoButton)

  1 | 2  Next