Hello Friends...

I am facing some problem in viewing Window controls like Buttons, for landscape and portrait mode.

I have a background image for the Main window and the image works fine for both Landscape and portrait mode. But the controls like Buttons inside this Window are not displayed in Landscape mode...They are only visible in Portrait mode...

I am using the following code snippet for background image viewing for both Landscape and portrait mode:

void MyEventDetails::resizeEvent (QResizeEvent* event)
{
SetBackgroundImage();
// QWidget::resizeEvent(event);
QMainWindow::resizeEvent(event);
}
Any idea on this issue of displaying the Button like controls in both Portrait and landscape mode?

Thanks....