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

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

src/p/y/pyqt5-HEAD/examples/graphicsview/diagramscene/diagramscene.py   pyqt5(Download)
 
        self.fontColorToolButton = QToolButton()
        self.fontColorToolButton.setPopupMode(QToolButton.MenuButtonPopup)
        self.fontColorToolButton.setMenu(
                self.createColorMenu(self.textColorChanged, Qt.black))
 
        self.fillColorToolButton = QToolButton()
        self.fillColorToolButton.setPopupMode(QToolButton.MenuButtonPopup)
        self.fillColorToolButton.setMenu(
                self.createColorMenu(self.itemColorChanged, Qt.white))
 
        self.lineColorToolButton = QToolButton()
        self.lineColorToolButton.setPopupMode(QToolButton.MenuButtonPopup)
        self.lineColorToolButton.setMenu(
                self.createColorMenu(self.lineColorChanged, Qt.black))

src/d/u/dupeguru-HEAD/qtlib/search_edit.py   dupeguru(Download)
        self.setIconSize(pixmap.size())
        self.setCursor(Qt.ArrowCursor)
        self.setPopupMode(QToolButton.InstantPopup)
        stylesheet = "QToolButton { border: none; padding: 0px; }"
        self.setStyleSheet(stylesheet)

src/x/w/XwareDesktop-HEAD/src/frontend/CustomStatusBar/CStatusButton.py   XwareDesktop(Download)
    def __init__(self, parent):
        super().__init__(parent)
        self.setStyleSheet("::menu-indicator { image: none }")
        self.setToolButtonStyle(Qt.ToolButtonFollowStyle)
        self.setPopupMode(QToolButton.InstantPopup)