Chinaunix首页 | 论坛 | 博客
  • 博客访问: 533601
  • 博文数量: 108
  • 博客积分: 3242
  • 博客等级: 中校
  • 技术积分: 916
  • 用 户 组: 普通用户
  • 注册时间: 2010-09-07 11:46
文章分类
文章存档

2012年(13)

2010年(95)

分类: C/C++

2010-12-15 13:43:47

    QTreeView::branch {
             background: palette(base);
     }
 
     QTreeView::branch:has-siblings:!adjoins-item {
             background: cyan;
     }
 
     QTreeView::branch:has-siblings:adjoins-item {
             background: red;
     }
 
     QTreeView::branch:!has-children:!has-siblings:adjoins-item {
             background: blue;
     }
 
     QTreeView::branch:closed:has-children:has-siblings {
             background: pink;
     }
 
     QTreeView::branch:has-children:!has-siblings:closed {
             background: gray;
     }
 
     QTreeView::branch:open:has-children:has-siblings {
             background: magenta;
     }
 
     QTreeView::branch:open:has-children:!has-siblings {
             background: green;
     }
阅读(4374) | 评论(1) | 转发(0) |
0

上一篇:QToolBox

下一篇:检查IP地址输入是否正确

给主人留下些什么吧!~~

chinaunix网友2010-12-16 14:28:49

很好的, 收藏了 推荐一个博客,提供很多免费软件编程电子书下载: http://free-ebooks.appspot.com