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

怎么进入官方网站查询百度com打开

怎么进入官方网站查询,百度com打开,wordpress simple 主题,无锡大型网站建设公司Qml-TabBar类使用 TabBar的概述 TabBar继承于Container 由TabButton进行填充,可以与提供currentIndex属性的任何容器或布局控件一起使用,如StackLayout 或 SwipeView;contentHeight : real:TabBar的内容高度,用于计算标签栏的隐…

Qml-TabBar类使用

TabBar的概述

  1. TabBar继承于Container 由TabButton进行填充,可以与提供currentIndex属性的任何容器或布局控件一起使用,如StackLayout 或 SwipeView;
  2. contentHeight : real:TabBar的内容高度,用于计算标签栏的隐式高度
  3. contentWidth : real:TabBar的内容宽度,用于计算标签栏的隐式宽度
  4. position : enumeration:如果TabBar用于Application或Page 组件,TabBar的位置

SplitView的实例代码

import QtQuick
import QtQuick.Controls
import QtQuick.Layouts//TabBar继承于Container, 由TabButton填充,可于提供currentIndex属性的容器或者布局器使用,如StackLayout 或 SwipeViewItem {id: idTabBarRootRectangle{anchors.fill: parentTabBar{id:idTabBar//指明TabBar的高度和宽度contentHeight: 40contentWidth: parent.width//如果没有明确宽度,TabButton会均分或者由TabButton的隐式宽度的和来推导TabBar的宽度TabButton{text: ("Tab1")//width: 100implicitWidth: 100onClicked: {console.log("tabButton index = ",TabBar.index);}}TabButton{//width: 100implicitWidth: 100text: ("Tab2")}TabButton{//width: 100implicitWidth: 100text: ("Tab3")}onCurrentIndexChanged: {console.log("cur index = ",idTabBar.currentIndex,"contentWidth = ",idTabBar.contentWidth);console.log("conttentHeight = ",idTabBar.contentHeight)var child = idTabBar.contentChildren;               //返回一个list 数据console.log("child size = ",child.length);          //可以使用list 的length属性获取 list的长度}background:Rectangle{anchors.fill: parent;color:"yellow"border.width:1border.color: "red";}}//栈布局,只显示currentIndex对应的ItemStackLayout{//需要在StackLayout中做布局,控制StackLayout的区域anchors.top: idTabBar.bottomanchors.bottom: parent.bottomwidth: parent.widthcurrentIndex: idTabBar.currentIndex//插入于TabBar 中TabButton 对应的内容区域Text{text: "I am Tab1 "verticalAlignment: Text.AlignVCenterhorizontalAlignment: Text.AlignHCenter;}Text{text: "I am Tab2 "verticalAlignment: Text.AlignVCenterhorizontalAlignment: Text.AlignHCenter;}Text{text: "I am Tab3 "verticalAlignment: Text.AlignVCenterhorizontalAlignment: Text.AlignHCenter;}}}
}

TabBar实例代码运行结果如下:

在这里插入图片描述

http://www.hkea.cn/news/916605/

相关文章:

  • 河源哪有做网站网页模板设计
  • 手机网站可以做英文版本吗近三天时政热点
  • 怎么做网站游戏网络优化排名培训
  • ic外贸网站建设黑帽seo技巧
  • 实业有限公司网站怎么做百度一下了你就知道官网
  • 企业电子商务网站推广平台有哪些渠道
  • 本地用织梦做网站百度的网站网址
  • 基础展示营销型型网站新闻发稿平台有哪些
  • 做游戏赚钱的网站最新新闻热点事件2022
  • 商务网站建设哪家好推广代理公司
  • 自己做网站是否要买云主机西安百度提升优化
  • 成都注册公司哪个区好分析网站推广和优化的原因
  • 模板建站杭州seo泽成
  • 济南网站建设公司川芎网络怎么注册自己的网址
  • linux下安装wordpress关键词优化排名查询
  • wordpress手机网站怎么做中央电视台一套广告价目表
  • 百家号如何给网站做推广推广方案是什么
  • 西安三网合一网站建设产品线上推广方案
  • 2023年免费b站入口百度网站优化
  • 响应式网站建设有利于seo网站发布与推广方案
  • 网页制作教程课件seo推广排名重要吗
  • 小规模纳税人企业所得税怎么征收广州seo招聘
  • 济南企业自助建站网络营销策划公司
  • iis 新建网站 要登录温州seo推广外包
  • 个人想做企业网站备案惠州seo代理商
  • 做公务员题的网站口红的推广软文
  • 福州网站建设 联系yanktcn 04上海百网优seo优化公司
  • 网站备案号如何获得网站建设营销推广
  • 物流网站开发公司西安 做网站
  • 商务信息网站怎么做网络视频营销策略有哪些