for the Qt based application i have developed does not require windows title bar, for removing this feature is their any property of the form in Qt, so as to take the visibility/activated state of window title bar to false....please help
for the Qt based application i have developed does not require windows title bar, for removing this feature is their any property of the form in Qt, so as to take the visibility/activated state of window title bar to false....please help
Qt Code:
setWindowFlags(Qt::FramelessWindowHint);To copy to clipboard, switch view to plain text mode
maverick (30th May 2013)
by setting this flag
setWindowFlags(Qt::FramelessWindowHint);
application window is not getting displayed
can you post some code ?
maverick (30th May 2013)
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
menu w;
w.show();
w.setWindowFlags(Qt::FramelessWindowHint);
I'm guessing this, but posting code more in detail only will help solving the problem quickly. I couldn't understand what menu widget is.
interchange the lines:
Qt Code:
w.setWindowFlags(Qt::FramelessWindowHint); // 1 w.show();// 2To copy to clipboard, switch view to plain text mode
As ChrisW67 says:
If you are posting code then please use tags around it. The forum will link class names to docs, add syntax highlighting, and won't mangle your code. Above all, it makes your question easier to address.
maverick (30th May 2013)
thanks ....it's working
Added after 6 minutes:
can u help me with
How to implement Qt applicationfrom taking inputs from 4x4 matrix keypad
please
Last edited by maverick; 29th May 2013 at 15:38.
Bookmarks