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

论述网站推广的方法与技巧公司网页邮箱

论述网站推广的方法与技巧,公司网页邮箱,1688阿里巴巴官网,自己做软件的应用目录 效果展示适用场景文本组件TextLabelText和Label的区别 单行文本输入框TextFieldTextInputTextField 和 TextInput的区别 多行文本输入框TextAreaTextArea 和 TextEdit 的区别 效果展示 适用场景 场景组件属性短文本Text长文本 末尾省略Textelide: Text.ElideRight文本设置…

目录

  • 效果展示
  • 适用场景
  • 文本组件
    • Text
    • Label
    • Text和Label的区别
  • 单行文本输入框
    • TextField
    • TextInput
    • TextField 和 TextInput的区别
  • 多行文本输入框
    • TextArea
    • TextArea 和 TextEdit 的区别

效果展示

在这里插入图片描述

适用场景

场景组件属性
短文本Text
长文本 末尾省略Textelide: Text.ElideRight
文本设置底色Labelbackground
文本输入框TextField
多行文本输入框TextArea

文本组件

Text

在这里插入图片描述

Text {text: "Text"font.pixelSize: 20
}    
 Text {text: "TextTextTextTex1TextTextTextTextTex1Text"font.pixelSize: 20width: 200//   selectByMouse     // don't have this propertyelide: Text.ElideRight  // 长文本末尾省略符ToolTip.text: "This is ToolTip"   // import QtQuick.Controls 2.15ToolTip.visible: mouseArea.containsMouseMouseArea {id: mouseAreaanchors.fill: parenthoverEnabled: true}}

Label

在这里插入图片描述

 Label {text: "Label"font.pixelSize: 20
}   
Label {text: "Label"font.pixelSize: 20background: Rectangle {color: "Green"}
}

Text和Label的区别

  • Text是最简单的文本
  • Label继承自Text, 拓展了属性,比如background

单行文本输入框

TextField

在这里插入图片描述

 TextField {placeholderText: qsTr("TextField")font.pixelSize: 20horizontalAlignment: Text.AlignLeftselectByMouse: true  // 鼠标可以选中文本
} 
 TextField {placeholderText: qsTr("TextField")font.pixelSize: 20horizontalAlignment: Text.AlignHCenter// 输入框回显方式echoMode: TextInput.Password
}

TextInput

在这里插入图片描述

TextField 和 TextInput的区别

  • 最常使用的是TextField, 界面美观,功能强大
  • TextField继承自TextInput, 主要区别是外框

多行文本输入框

TextArea

在这里插入图片描述

 ScrollView {width: 400height: 100TextArea {anchors.fill: parentwrapMode: TextEdit.WrapselectByMouse: truefont.pixelSize: 18text:"Lorem ipsum dolor sit amet, consectetur adipisicing elit, " +"sed do eiusmod tempor incididunt ut labore et dolore magna " +"aliqua. Ut enim ad minim veniam, quis nostrud exercitation " +"ullamco laboris nisi ut aliquip ex ea commodo cosnsequat. ";}
}
 ScrollView {width: 400height: 100TextArea {anchors.fill: parentwrapMode: TextEdit.WrapselectByMouse: truefont.pixelSize: 18text:"Lorem ipsum dolor sit amet, consectetur adipisicing elit, " +"sed do eiusmod tempor incididunt ut labore et dolore magna " +"aliqua. Ut enim ad minim veniam, quis nostrud exercitation " +"ullamco laboris nisi ut aliquip ex ea commodo cosnsequat. ";}// 添加边框background:  Rectangle{color: "transparent"border.color: "#626262"}
}

TextArea 和 TextEdit 的区别

  • 主要使用TextArea
  • TextArea继承自TextEdit, 拓展了属性, 尤其是background
http://www.15wanjia.com/news/187361.html

相关文章:

  • 网站建设技术课程设计建设网站需要了解些什么东西
  • vip影院自助建站系统安娜尔返利机器人怎么做网站
  • 抚养网站建设国家中职示范校建设专题网站
  • 网站建设的技术团队wordpress 移动端
  • 网站上传工具有人上相亲网站做传销燕窝
  • flash做网站通栏centos7 wordpress搭建
  • 做聚会的网站成都seo技术
  • 定制搭建网站上海建筑建材业地址
  • 外贸企业网站制作公司制作公司网站价格
  • 东莞网站建设五金建材php做网站如何架构
  • 商业网站的建设织梦网站关掉wap
  • 美食的网站建设个人总结做网站的技术体系
  • 北京建设信源官方网站wordpress小图标网站
  • 怎么做整人的网站iis7 发布静态网站
  • 建设银行网站用户txt网站推荐
  • 佛山做外贸网站咨询施工企业在施工现场搭设临时设施
  • 巢湖网站建设费用网站后台修改内容看不见了
  • 建设建设网站的网络推广方案联系昔年下拉
  • 网站域名需icp备案吗付公司网站建设费用会计分录
  • 天津营销类网站设计仓储服务 东莞网站建设 技术支持
  • 整站优化推广品牌辽宁大连建设工程信息网
  • 乐从容桂网站建设科网站建设
  • wordpress 开启多站点大连企业模板建站
  • 贵阳网站建设odenet网站seo方案案例
  • 毕业设计php做网站服装网站推广方案
  • 下载建设网站竞价外包推广
  • 用python做网站我那些互联网公司介绍
  • 网站把域名解析到新ip后做查询新生寝室的网站
  • 如何运用网站模板设计做网站哪家公司好
  • 网和网站的区别网站建设项目目标描述