OESF Portal | OESF Forum | OESF Wiki | LinuxPDA | #planetgemini chat on matrix.org | #gemini-pda chat on Freenode | #zaurus and #alarmz chat on Freenode | ELSI (coming soon) | Ibiblio


Welcome Guest ( Log In | Register )

Reply to this topicStart new topic
> Double Click Event On A User Control, not reponsive or predictable
post Aug 1 2005, 12:24 PM
Post #1

Group: Members
Posts: 668
Joined: 3-December 03
From: US
Member No.: 1,034

This is for an App written in Python/PyQT...

I defined a double click event on a user created control (a cell of a QTable object).
But when I double click on it - it is sometimes responsive and brings up a sub-form on that event (as defined by a SLOT), sometimes it doesn't seem to react at all.

It seems very unpredictable. I have tried with slow taps, fast taps etc, but on the zaurus its just not predictable while on the desktop the same app behaves perfectly).

Any reasons for it, or any workarounds ???

Code snippets-----------------------------------------------

def mouseDoubleClickEvent(self, ev):
# --- dblClick event passes the currentIndex of widget dblclicked
curr_Idx = (self.currIndex(),)

and in the SIGNAL/SLOTS I defined
where self.DblClickSelect is a function to be called on double click.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 15th January 2019 - 09:59 PM