catching the anycodings_c++ click event on the title bar and anycodings_c++ determining if it happened inside one of anycodings_c++ these buttons).Īnother possible solution is to subclass anycodings_c++ QDockWidget and implement all the anycodings_c++ painting and click event handling there. anycodings_c++ Hence, you would still need to perform anycodings_c++ some tinkering to handle the clicks to anycodings_c++ those virtual buttons (e.g. To overcome this, you may use a anycodings_c++ QProxyStyle to paint the minimize and anycodings_c++ maximize buttons, but these would not be anycodings_c++ "real" buttons but just their pixmaps. Basically, QDockWidget is a anycodings_c++ borderless window, and the title bar and anycodings_c++ its structure(title, buttons, etc) is anycodings_c++ just painted using the style. ![]() ![]() I'm afraid you can't do it that way, as anycodings_c++ QDockWidget look and feel is essentially anycodings_c++ hard coded in the QStyle your anycodings_c++ application is using, as stated in the anycodings_c++ documnetation (here in the "Appearance" anycodings_c++ section).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |