Glad you solved it Martin. Lets talk some other day. :D htoo
On Wed, Nov 24, 2010 at 9:55 PM, Martin Lopez <[email protected]>wrote: > Well, after some tests I verified that having multiple signals and slots > across different threads was the problem. In the "connection" function I > need to specify "Qt:: QueuedConnection" as the fifth parameter, and for some > reason this affected the rest of the events. With the QueuedConnection the > events work fine. > > Now I move the Connections to de same thread (copying the values of the > thread that takes the data to the thread which runs GUI), because it > solves my event problem and because on this way the GUI updates faster. > > thanks Htoo for your reply, > > Martín > > > On Wed, Nov 17, 2010 at 11:09 AM, <[email protected]> wrote: > >> I try with released event but it's the same. I was tesing again and I saw >> that the events seems to be queued, and in the second mouse event I see both >> events together. >> >> The problem happens when I try to access from or to a stackedwidget page >> with ten custom widgets. This seems to have some relationship with the >> issue. >> >> Martin >> Enviado desde mi BlackBerry® de Claro Argentina >> >> -----Original Message----- >> From: Htoo Myint Naung <[email protected]> >> Sender: [email protected] >> Date: Tue, 16 Nov 2010 22:39:27 >> To: [email protected]<[email protected]> >> Reply-To: [email protected] >> Subject: Re: [Qt-wince-interest] Issue in response to a simple "click" >> event >> >> Could u just use mousereleased event? >> >> Htoo >> >> Sent from my iPhone >> >> On 2010-11-16, at 9:48 PM, Martin Lopez <[email protected]> wrote: >> >> > Hello, >> > >> > I'm working with a WinCE device (touch screen) and Qt 4.7. I have a >> random trouble with the click() event when the application is running: >> > - at my first interaction with the GUI after I run the app, the buttons >> dont respond to the first click event, but if i try again the click takes >> effect. >> > - If I dont made a click for a few minutes (no interaction with the >> app), this issue repets (the first click dont take effect). >> > >> > The Qt I have was compiled with the plastique style option. I notices >> the following things: >> > - If I use the plastique style the problem appears. >> > - If I compile the app with no custom style everything works fine. >> > - If I use stylesheets (without plastique style option in my app) in a >> button, then the problem reoccurs with this button. >> > >> > Anyone know what could be the source of the problem? >> > >> > I hope to have made me understand, thanks in advance >> > >> > >> > Martin >> > _______________________________________________ >> > Qt-wince-interest mailing list >> > [email protected] >> > http://lists.trolltech.com/mailman/listinfo/qt-wince-interest >> _______________________________________________ >> Qt-wince-interest mailing list >> [email protected] >> http://lists.trolltech.com/mailman/listinfo/qt-wince-interest >> > > > _______________________________________________ > Qt-wince-interest mailing list > [email protected] > http://lists.trolltech.com/mailman/listinfo/qt-wince-interest > > -- **************************************************************************** The information contained in this message may be privileged and confidential and protected from disclosure. Any dissemination, blogging, posting, distribution, copying of or taking of any action in reliance upon this message, other than to/by the addressee, is strictly prohibited. If you have received this in error, please destroy it and notify us immediately. Opinions, conclusions and other information in this message that do not relate to the official business of our company shall be understood as neither given nor endorsed by it and we disclaim all liability for any such statements. And reprinting, paraphrasing, or copying of any statements made by the employee of this company made within this email message is also prohibited without express written confirmation from company in this regard. *****************************************************************************
_______________________________________________ Qt-wince-interest mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-wince-interest
