[PyQt] Got error with QSplitterHandle

Maurizio Berti maurizio.berti at gmail.com
Sun Jul 14 20:02:39 BST 2019


Il giorno dom 14 lug 2019 alle ore 09:33 Gottfried Müller <
gottfried.mueller at gmx.de> ha scritto:

> thanks also to Maurizio. Now it works fine. But there is a small
> question again. Why  is "createHandle" in MySplitter called two times?
>

A QSplitterHandle is always created whenever a new widget is added, but the
*first* handle (at index 0) is hidden.
See: https://doc.qt.io/archives/qt-4.8/qsplitter.html#handle

Maurizio

-- 
È difficile avere una convinzione precisa quando si parla delle ragioni del
cuore. - "Sostiene Pereira", Antonio Tabucchi
http://www.jidesk.net


More information about the PyQt mailing list