PDA

View Full Version : Mouse events for the window itself instead of widgets, or if anything is updated.



darkstarbyte
10th August 2012, 07:12
I was building a calculator for a game (d&d like game) that allows to you make moves. The bad part, is it requires so much time, to do the calculations.

I finished the function that totals everything, if worst comes to worst I suppose I could write an event for all of the 70 spin boxes.

high_flyer
10th August 2012, 15:15
What is the question?

darkstarbyte
10th August 2012, 18:41
It seems that my last message did not go through from my word processor completely. I was wondering of an event that says if anything in the window is clicked, call this function.

high_flyer
12th August 2012, 13:49
QWidget::mousePressEvent() ?