[PyQt] [pyqt]Replace a character in qlineedit from a dictionary(Qcompleter?)

Maurizio Berti maurizio.berti at gmail.com
Fri Sep 7 20:47:23 BST 2018


2018-09-07 20:20 GMT+02:00 Maziar Parsijani <maziar.parsijani at gmail.com>:

> Hi
> I Have found an answer to this problem but still I want to know how to set
> a bigger font for pop-up window
>


def __init__(self):
    super().__init__()
    font = self.font()
    font.setPointSize(50)
    self.popup().setFont(font)

I strongly suggest you to study the documentation better, though :-)
http://doc.qt.io/qt-5/qcompleter.html#popup

Maurizio

-- 
È difficile avere una convinzione precisa quando si parla delle ragioni del
cuore. - "Sostiene Pereira", Antonio Tabucchi
http://www.jidesk.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20180907/41a6b4b2/attachment.html>


More information about the PyQt mailing list