QTreeView: Emulating Mac’s native look
How can I emulate the background of a selected row like the one in the left of uTorrent?

4 replies
Thanks Andre
I emulated the look using the following stylesheet
- background-color: rgb(222, 228, 234);
- selection-color: white;
- selection-background-color: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 rgb(110, 165, 218), stop: 1 rgb(33, 108, 183))
Please have a look at the Mac Main Window Demo [developer.qt.nokia.com] – it shows how to create main window applications that has the same appearance as other Mac OS X applications, including customizing the item view, the splitter and a search field and should be exactly what you need
You must log in to post a reply. Not a member yet? Register here!


