How can I make a window same as Mac's Textured window and remove resizable mark on right bottom of the window?
-
I know setAttribute(Qt::WA_MacBrushedMetal, true); method can make my window look similar to Mac's Textured window but it is not exactly same.
Created by Qt with setAttribute(Qt::WA_MacBrushedMetal, true);
!http://cross-platform-jabber-messenger.googlecode.com/svn/trunk/images/texture1.png!Mac's textured window
!http://cross-platform-jabber-messenger.googlecode.com/svn/trunk/images/texture2.png!As you can see, the metallic brush painted on the Qt's window has different gradation when we compare to Mac's pure textured window.
Can I make Qt Window exactly same as the Mac's textured window?
And I have one more question, can I remove the image on the right bottom of the window which usually means the window is resizable? -
BTW ... disabling the size grip is highly annoying. One cannot enlarge a dialog to see all the input in a line edit, for example. See your dialog as a bad example.
Regarding the metal brush: this could be a Carbon/Cocoa issue (Qt is delivered/can be compiled for both OS X flavors) - I didn't test it myself, though it's just a guess.
-
Thank you Volker.
In fact, what I'm doing now is moving native win32 or COCOA based applications (including some of wxWidgets based) into Qt to identify what kinds of things Qt can do without native win32 or COCOA APIs.
I agree to you about resizing dialogs, but my designers usually offer guide lines contain fixed-sized windows thus it is important to know how to remove the size grip to me.