probelm in keypress event
if i press e in keyboard,,my application should close,,i tried (this.close) bt my application was not closed,
my code below:
Code:
widget.cpp
{
if(event->key()==Qt::Key_E)
{
this->close();
}
}
what am doing wrong?? please give me suggestion for this:confused:
Thanks in advance:o
Re: probelm in keypress event
Have you verified that the call to close is reached?
Cheers,
_
Re: probelm in keypress event
if my wiget in normal its executing...suppose if my widget in full screen keypress event not executing jus nw i tested
Quote:
Originally Posted by
anda_skoa
Have you verified that the call to close is reached?
Cheers,
_