[Qt-creator] MainWindow::paintEvent() constantly called

Mike mdurhamesq at gmail.com
Thu Jun 18 13:00:36 CEST 2009


Eike Ziller wrote:
> Hi,
>
> On Jun 18, 2009, at 2:00 AM, ext Mike wrote:
>
>   
>> Greetings all,
>> I'm using QtCreator 1.0.0 on Linux Ubuntu 9.04 Jaunty.
>> I have a very simple first project that has a main window containing
>> only one Lable which I use to display a picture from my web-cam. This
>> works fine, except, the paintEvent() is constantly called. It seems  
>> that
>> updating the Lable causes a trigger to re-call the paintEvent()
>> function. If I ignore the re-call each time after I update the Lable,
>> then everything works fine. Is this a known feature/problem?
>> BTW thanks for a great IDE, it was just what I was looking for.
>> Cheers, Mike
>>     
>
> Since this list is more for discussions about the IDE itself, and not  
> so much about the Qt framework in general, you might have better  
> chances for usefull answers if you pose this question on the qt- 
> interest list :)
>
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
> Best regards, Eike
>
>
>   
Okay, sorry about that.





More information about the Qt-creator-old mailing list