[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: PyQt6: QTreeView missing clicked signal
From: Gottfried_Müller <gottfried.mueller () gmx ! de>
Date: 2022-03-28 11:29:10
Message-ID: fc8d24c6-e402-006d-0876-3c3ad25b3cf7 () gmx ! de
[Download RAW message or body]
Thank you Florian. I understand this.
Am 28.03.22 um 10:56 schrieb Florian Bruhin:
> Hey,
>
> On Sun, Mar 27, 2022 at 01:23:45PM +0200, Gottfried M=C3=BCller wrote:
>> is there a reason? In QAbstractItemView "clicked" is defined as signal.
>> I could use it in pyqt5. At the moment I am using the "activated"
>> signal=C2=A0 and setExpandsOnDoubleClick(False).
> Define "missing"? It at least seems to be defined for me:
>
> >>> from PyQt6.QtWidgets import QTreeView
> >>> from PyQt6.QtCore import PYQT_VERSION_STR
> >>> PYQT_VERSION_STR
> '6.2.3'
> >>> QTreeView.clicked
> <unbound PYQT_SIGNAL clicked(QModelIndex)>
>
> If it's not getting emitted, that sounds more like a Qt issue, rather
> than a PyQt one.
>
> Florian
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic