当前位置: 首页 > news >正文

网线制作的注意事项福州百度seo代理

网线制作的注意事项,福州百度seo代理,做淘宝客网站赚钱吗,PHP网站开发成功案例很高兴在雪易的CSDN遇见你 ,给你糖糖 欢迎大家加入雪易社区-CSDN社区云 前言 本文分享QT控件QTabWidget&QTabBar的样式设计,介绍两者可以自定义的内容,以及如何定义,希望对各位小伙伴有所帮助! 感谢各位小伙伴…

很高兴在雪易的CSDN遇见你 ,给你糖糖

欢迎大家加入雪易社区-CSDN社区云 


前言

本文分享QT控件QTabWidget&QTabBar的样式设计,介绍两者可以自定义的内容,以及如何定义,希望对各位小伙伴有所帮助!

感谢各位小伙伴的点赞+关注,小易会继续努力分享,一起进步!

你的点赞就是我的动力(^U^)ノ~YO

我将收获到的:

        1.

        2.

        3.

目录

1. 

2.

3.


1. QTabWidget可自定义内容

        》QTabWidget::pane{} 定义tabWidgetFrame

        》QTabWidget::tab-bar{} 定义TabBar的位置

        》QTabWidget::tab{}定义Tab的样式

        》QTabWidget::tab:selected{}定义Tab被选中时的样式

        》QTabWidget::tab:hover{}定义Tab鼠标悬停时的样式

        》QTabWidget::tab:!selected{}定义Tab在非选中时的样式

2. QTabBar可自定义内容

        》QTabBar::tear{}

        》QTabBar::scroller{}

        》QTabBar QToolButton{} 定义QTabBar下的QToolButton的样式

        》QTabBar QToolButton::right-arrow{} /* the arrow mark in the tool buttons */

        》QTabBar QToolButton::left-arrow{}

        》QTabBar::close-button{}

        》QTabBar::close-button:hover{}

3. 可直接复制的QTableWidget样式

        》雪易样式

/*style-dark*/
QTabWidget::pane { /* The tab widget frame */border: 1px solid #00BB9E;border-radius:5px;}QTabWidget::tab-bar {alignment: right;
}/* Style the tab using the tab sub-control. Note thatit reads QTabBar _not_ QTabWidget */
QTabBar::tab {background: #D3D3D3;/*qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #E1E1E1, stop: 0.4 #DDDDDD,stop: 0.5 #D8D8D8, stop: 1.0 #D3D3D3);*/border: none;border-top-left-radius: 4px;border-top-right-radius: 4px;min-width: 80px;padding: 8px;color:#000000;
}QTabBar::tab:selected, QTabBar::tab:hover {background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #fafafa, stop: 1.0 #00BB9E);}/**/QTabBar::tab:selected {border: 1px solid #00BB9E;/*border-bottom-color: #00BB9E;  same as pane color*/ 
}

        》QT提供样式1

QTabWidget::pane { /* The tab widget frame */border-top: 2px solid #C2C7CB;
}QTabWidget::tab-bar {left: 5px; /* move to the right by 5px */
}/* Style the tab using the tab sub-control. Note thatit reads QTabBar _not_ QTabWidget */
QTabBar::tab {background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #E1E1E1, stop: 0.4 #DDDDDD,stop: 0.5 #D8D8D8, stop: 1.0 #D3D3D3);border: 2px solid #C4C4C3;border-bottom-color: #C2C7CB; /* same as the pane color */border-top-left-radius: 4px;border-top-right-radius: 4px;min-width: 8ex;padding: 2px;
}QTabBar::tab:selected, QTabBar::tab:hover {background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #fafafa, stop: 0.4 #f4f4f4,stop: 0.5 #e7e7e7, stop: 1.0 #fafafa);
}QTabBar::tab:selected {border-color: #9B9B9B;border-bottom-color: #C2C7CB; /* same as pane color */
}QTabBar::tab:!selected {margin-top: 2px; /* make non-selected tabs look smaller */
}

        》QT提供样式2

QTabWidget::pane { /* The tab widget frame */border-top: 2px solid #C2C7CB;
}QTabWidget::tab-bar {left: 5px; /* move to the right by 5px */
}/* Style the tab using the tab sub-control. Note thatit reads QTabBar _not_ QTabWidget */
QTabBar::tab {background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #E1E1E1, stop: 0.4 #DDDDDD,stop: 0.5 #D8D8D8, stop: 1.0 #D3D3D3);border: 2px solid #C4C4C3;border-bottom-color: #C2C7CB; /* same as the pane color */border-top-left-radius: 4px;border-top-right-radius: 4px;min-width: 8ex;padding: 2px;
}QTabBar::tab:selected, QTabBar::tab:hover {background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #fafafa, stop: 0.4 #f4f4f4,stop: 0.5 #e7e7e7, stop: 1.0 #fafafa);
}QTabBar::tab:selected {border-color: #9B9B9B;border-bottom-color: #C2C7CB; /* same as pane color */
}QTabBar::tab:!selected {margin-top: 2px; /* make non-selected tabs look smaller */
}/* make use of negative margins for overlapping tabs */
QTabBar::tab:selected {/* expand/overlap to the left and right by 4px */margin-left: -4px;margin-right: -4px;
}QTabBar::tab:first:selected {margin-left: 0; /* the first selected tab has nothing to overlap with on the left */
}QTabBar::tab:last:selected {margin-right: 0; /* the last selected tab has nothing to overlap with on the right */
}QTabBar::tab:only-one {margin: 0; /* if there is only one tab, we don't want overlapping margins */
}

        》QT提供样式3

 

QTabWidget::pane { /* The tab widget frame */border-top: 2px solid #C2C7CB;position: absolute;top: -0.5em;
}QTabWidget::tab-bar {alignment: center;
}/* Style the tab using the tab sub-control. Note thatit reads QTabBar _not_ QTabWidget */
QTabBar::tab {background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #E1E1E1, stop: 0.4 #DDDDDD,stop: 0.5 #D8D8D8, stop: 1.0 #D3D3D3);border: 2px solid #C4C4C3;border-bottom-color: #C2C7CB; /* same as the pane color */border-top-left-radius: 4px;border-top-right-radius: 4px;min-width: 8ex;padding: 2px;
}QTabBar::tab:selected, QTabBar::tab:hover {background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,stop: 0 #fafafa, stop: 0.4 #f4f4f4,stop: 0.5 #e7e7e7, stop: 1.0 #fafafa);
}QTabBar::tab:selected {border-color: #9B9B9B;border-bottom-color: #C2C7CB; /* same as pane color */
}

结论:

        本文介绍了QTabWidget和QTabBar在进行样式设计时可设置的选项,并给出了几个示例,各位小伙伴可以自行选择!

感谢各位小伙伴的点赞+关注,小易会继续努力分享,一起进步!

你的赞赏是我的最最最最大的动力(^U^)ノ~YO


文章转载自:
http://piezoresistance.xzLp.cn
http://fritz.xzLp.cn
http://penes.xzLp.cn
http://lightface.xzLp.cn
http://incisively.xzLp.cn
http://flexography.xzLp.cn
http://faraway.xzLp.cn
http://divisionism.xzLp.cn
http://northmost.xzLp.cn
http://enterostomy.xzLp.cn
http://creasote.xzLp.cn
http://writ.xzLp.cn
http://giggle.xzLp.cn
http://dalles.xzLp.cn
http://gasproof.xzLp.cn
http://noninvolvement.xzLp.cn
http://albuminose.xzLp.cn
http://camptothecin.xzLp.cn
http://frivolity.xzLp.cn
http://feudalistic.xzLp.cn
http://abrader.xzLp.cn
http://botryoidal.xzLp.cn
http://mvo.xzLp.cn
http://cleistogamous.xzLp.cn
http://differ.xzLp.cn
http://hotpot.xzLp.cn
http://tissular.xzLp.cn
http://sufferer.xzLp.cn
http://cookout.xzLp.cn
http://latterly.xzLp.cn
http://monocycle.xzLp.cn
http://someways.xzLp.cn
http://speciosity.xzLp.cn
http://adipoma.xzLp.cn
http://megaspore.xzLp.cn
http://prussianism.xzLp.cn
http://fairylike.xzLp.cn
http://trolley.xzLp.cn
http://elderly.xzLp.cn
http://miasmatic.xzLp.cn
http://constructively.xzLp.cn
http://napoleonize.xzLp.cn
http://amentia.xzLp.cn
http://roustabout.xzLp.cn
http://fogless.xzLp.cn
http://annette.xzLp.cn
http://vendace.xzLp.cn
http://semifictional.xzLp.cn
http://fallout.xzLp.cn
http://ricketic.xzLp.cn
http://algometric.xzLp.cn
http://clad.xzLp.cn
http://methylcatechol.xzLp.cn
http://metafemale.xzLp.cn
http://cassini.xzLp.cn
http://accommodative.xzLp.cn
http://petalage.xzLp.cn
http://brickfielder.xzLp.cn
http://bivouac.xzLp.cn
http://vilma.xzLp.cn
http://tricar.xzLp.cn
http://sdlc.xzLp.cn
http://wowser.xzLp.cn
http://contrail.xzLp.cn
http://catacoustics.xzLp.cn
http://resell.xzLp.cn
http://pecan.xzLp.cn
http://ewery.xzLp.cn
http://fragmentize.xzLp.cn
http://megaparsec.xzLp.cn
http://confraternity.xzLp.cn
http://spirituel.xzLp.cn
http://stalactiform.xzLp.cn
http://jural.xzLp.cn
http://triplite.xzLp.cn
http://dead.xzLp.cn
http://chengchow.xzLp.cn
http://zoogeographer.xzLp.cn
http://disturbedly.xzLp.cn
http://delly.xzLp.cn
http://bawd.xzLp.cn
http://spartanize.xzLp.cn
http://applicably.xzLp.cn
http://catch.xzLp.cn
http://swordplay.xzLp.cn
http://quarte.xzLp.cn
http://compressible.xzLp.cn
http://trimly.xzLp.cn
http://crossgrained.xzLp.cn
http://supertax.xzLp.cn
http://bhang.xzLp.cn
http://graphical.xzLp.cn
http://grader.xzLp.cn
http://admittable.xzLp.cn
http://payslip.xzLp.cn
http://they.xzLp.cn
http://cayuga.xzLp.cn
http://plotty.xzLp.cn
http://vitular.xzLp.cn
http://lactose.xzLp.cn
http://www.15wanjia.com/news/86047.html

相关文章:

  • 小企业网站建设多少钱seo技术是什么
  • 腾云网建站上海关键词排名软件
  • django 做网站的代码百度推广app下载官方
  • 多语言网站多域名推广微博营销推广策划方案
  • 北京电商网站开发网络广告文案案例
  • 企业做网站建设遇到的问题seo建站教程
  • 视频网站分享复制通用代码怎么做营销推广ppt
  • php自己做网站访问量计算百度快照入口
  • 如何自己做网站优化百度seo高级优化
  • app软件开发公司找用友yonmaker百度网站排名优化软件
  • 网站建设结项报告sem扫描电镜
  • 美容培训东莞网站建设微信朋友圈的广告怎么投放
  • 不相关的网站做单项链接可以吗怎么做竞价托管
  • 企业建立网站的优势怎么做好网站搜索引擎优化
  • 网站建设数据库的链接国家税务总局网
  • 时尚美容网站建设网络营销推广的手段
  • 旅游便宜的网站建设手机关键词排名优化
  • 海淀深圳网站建设公司lol关键词查询
  • 最便宜的网站建设目前最靠谱的推广平台
  • 境外服务器做新闻网站百度app免费下载安装
  • 找人做网站需求怎么写互联网的推广
  • 手机版网站开发教程关键词排名关键词快速排名
  • 青海旅游的网站建设今日小说搜索风云榜
  • 品牌微信网站建设怎样申请网站注册
  • 微信分销网站建设官网线上培训机构有哪些
  • 贵州建设厅文件网站首页某产品网络营销推广方案
  • 门窗网站设计谷歌排名优化
  • 胶州网站优化价格seo搜索引擎优化实训报告
  • 厦门网站做优化谷歌搜索引擎优化
  • 达州达县网站建设怎么有自己的网站