Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(2) | Call(1) | Derive(0) | Import(1)
src/d/u/dupeguru-HEAD/qtlib/search_edit.py dupeguru(Download)
from PyQt5.QtCore import pyqtSignal, Qt from PyQt5.QtGui import QIcon, QPixmap, QPainter, QPalette from PyQt5.QtWidgets import QToolButton, QLineEdit, QStyle, QStyleOptionFrame from hscommon.trans import trget
def paintEvent(self, event): QLineEdit.paintEvent(self, event) if not bool(self.text()) and self.inactiveText and not self.hasFocus(): panel = QStyleOptionFrame() self.initStyleOption(panel)