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

茶叶网站模板 html做网站赚谁的钱

茶叶网站模板 html,做网站赚谁的钱,金华网站建设优化技术,昆明网站搭建多少钱很高兴在雪易的CSDN遇见你 #xff0c;给你糖糖 欢迎大家加入雪易社区-CSDN社区云 前言 本文分享QT控件QTabWidgetQTabBar的样式设计#xff0c;介绍两者可以自定义的内容#xff0c;以及如何定义#xff0c;希望对各位小伙伴有所帮助#xff01; 感谢各位小伙伴…很高兴在雪易的CSDN遇见你 给你糖糖 欢迎大家加入雪易社区-CSDN社区云  前言 本文分享QT控件QTabWidgetQTabBar的样式设计介绍两者可以自定义的内容以及如何定义希望对各位小伙伴有所帮助 感谢各位小伙伴的点赞关注小易会继续努力分享一起进步 你的点赞就是我的动力()ノ~ 我将收获到的 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 dont 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在进行样式设计时可设置的选项并给出了几个示例各位小伙伴可以自行选择 感谢各位小伙伴的点赞关注小易会继续努力分享一起进步 你的赞赏是我的最最最最大的动力()ノ~
http://www.dnsts.com.cn/news/13450.html

相关文章:

  • 可口可乐网站建设想做一个自己的网站怎么做
  • 南京百度网站推广百度竞价个人开户
  • 站内推广方式网站如何注册微信公众平台 类型
  • 做调像什么网站找活中国包装创意设计网
  • 成都网站建设时代汇创域名年费价格表
  • 建设银行e房通网站建设网站怎么备案
  • 三网合一网站开发wordpress 教材主题
  • 宁波网站建设rswl网站建设 朝阳区
  • 哪里提供邢台做网站临汾网站建设电话
  • 大红门做网站的公司wordpress多媒体mp4
  • 西安网站建设中企建站网架公司推荐
  • wordpress 网站图标设置网站设计板块
  • 贵阳公司官方网站建设html5英文视频网站建设
  • 直接用ip访问网站做进出口外贸网站
  • 合肥专业做淘宝网站php 7.0 wordpress
  • asp 网站源码 下载网站建设规划申请
  • 外语网站开发如何改进网站
  • 北京网站设计公司哪家公司好视觉设计师作品集
  • lol视频网站模板创一个公司要多少钱
  • 有没有做网站的多少钱佛山网站建设的首选
  • 公司建立网站谷歌怎么推广自己的网站
  • 佛山网站域名过期网店运营推广方式
  • 优秀策划设计网站微网站开发微网站建设
  • 南宁网站建设官网在线制作图片的软件
  • 怎样设立网站株洲新站seo
  • 做网站有什么市场风险什么是网站设计与运营
  • 冒用网站备案号建设网站wordpress支付即展示
  • 网站建设的征求意见稿工程公司管理系统
  • 济南网站建设群网站建设实习任务完成情况
  • 洛阳网站建设seo招工网