yes it is possible.. use the setContentsMargin() function of the class to increase the area at the top, and do some custom painting to look like a title bar. I may implement a full function like that in future![]()
yes it is possible.. use the setContentsMargin() function of the class to increase the area at the top, and do some custom painting to look like a title bar. I may implement a full function like that in future![]()
i did not find the setContentsMargin() function in the header file of your file, also this is what i did
Qt Code:
int main(int argc, char *argv[]) { MainPage *fenetre=new MainPage; NcFramelessHelper *frame = new NcFramelessHelper; frame->activateOn( fenetre ); return app.exec(); }To copy to clipboard, switch view to plain text mode
what i get is just a windows tha i cannot resize, with the default windows7 title bar, i event compiled the example, same thing, no customm title bar as i can see in the prview here
please help! iam also impatient that you implement that function
yes.. i half implemented that function and later did not got time time to complete it. As i have not worked on it for quite some time
now, i was under impression that its already there.
it should work, i have just tested it on ubuntu. I dont have Win7 rite now so i can test it on that. But i had tested it on Windows before and it seem to work well.what i get is just a windows tha i cannot resize, with the default windows7 title bar, i event compiled the example, same thing, no customm title bar as i can see in the prview hereQt Code:
MainPage *fenetre=new MainPage; NcFramelessHelper *frame = new NcFramelessHelper; frame->activateOn( fenetre );To copy to clipboard, switch view to plain text mode
please help! iam also impatient that you implement that function
What does the status functions like widgetMovable() returns? And do you set any other flags inside your MainPage?
sorry which functions?
anyway, i am waiting impatiently that you implement that!
Bookmarks