Results 1 to 2 of 2

Thread: Concerning the look and feel customization via CSS from the Qt’s widgets

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2008
    Location
    Germany
    Posts
    80
    Qt products
    Qt4
    Platforms
    MacOS X Windows
    Thanks
    6
    Thanked 1 Time in 1 Post

    Default Concerning the look and feel customization via CSS from the Qt’s widgets

    I found the style sheet reference at http://doc.trolltech.com/4.4-snapsho...reference.html somehow confusing about the possibilities to customize the sub-controls of a widget.

    I would like to remove the dashed border of the text surrounding a QAbstractItemView, used in a QTreeWidget, when selected. The style sheet reference tells to use the ::item subcontrol for more fine grained control over the items in the QTreeView but also that ::text is the text of a QAbstractItemView.

    So I’ve tried (without success) the following both possibilities:

    QTreeView::text:selected:active {
    border: 0px;
    }

    QTreeView::item::text:selected:active {
    border: 0px;
    }

    Does someone has an idea ?
    Attached Images Attached Images

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.