QMainWindow not receiving QResizeEvent
Hello,
I have reimplemented the resizeEvent in a subclass (of the QMainWindow) to receive widget resize events which are passed in the event parameter. The method is not getting called. Any ideas why?
The closeEvent method is also not being called.
Code:
class cMainWindow
: public QMainWindow,
public Ui
::cMainWindow{
Q_OBJECT
public:
...
protected:
{ qDebug("Got called!!!"); }
{ qDebug("Got called!!!"); }
};
Re: QMainWindow not receiving QResizeEvent
Can you provide a minimal compilable example which reproduces the problem?