Hi,
i want to make a full screen app window(without titlebar & commands bar)
and set an image as ad banner in the top of the window
how to do that
thanks
Ram
Hi,
i want to make a full screen app window(without titlebar & commands bar)
and set an image as ad banner in the top of the window
how to do that
thanks
Ram
Start reading about Window Flags:
http://doc.qt.nokia.com/4.6/widgets-windowflags.html
hi ram,
you can use setWindowFlags(Qt::FramelessWindowHint) for frameless window.
you can use QLabel to set the ad-image.
For windows maximization use setWindowState(Qt::WindowMaximized);
hope it helps
Bala
thanks guys for reply,
but i still have no luck, although i tried more windows flags
i'm targeting C7 symbian device and i created new qmainwindow based app
and write this to remove the title and command bar
but that didn't solveQt Code:
{ setWindowFlags((Qt::FramelessWindowHint); setWindowState(Qt::WindowMaximized); // setWindowFlags(windowFlags() | Qt::WindowCloseButtonHint | //Qt::CustomizeWindowHint); setWindowState(Qt::WindowMaximized); }To copy to clipboard, switch view to plain text mode
I solved it,
the problem was in the 'main.cpp' i replaced bythanksQt Code:
mainwindow.showFullScreen()To copy to clipboard, switch view to plain text mode
Ram
Bookmarks