I have an issue and I can't to solve it. It's look simple, but I can't find an answer.
I have created MainWidget which I call in main.cpp. It looks like
MainWidget mw;
mw.showMaximized();
And I see maximized widget. But when I'm trying to get size of mw, I get QSize(800, 600), which is obviously wrong. It looks like widget didn't change his size, just looks bigger (?) when I called showMaximized() method?
Is there any chance to get ACTUAL SIZE of widget? It will be different, depending on screen resolution, which I want to use to resize properly widgets inside MainWindow.
Is there any change to do that? Any help will be good.