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

如何策划网站网络推广方法

如何策划网站,网络推广方法,小程序定制开发中软,大连 做网站公司目录 效果展示适用场景文本组件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.mnyf.cn/news/34671.html

相关文章:

  • PHP关于简单企业网站开发过程简介网络营销方法有哪些举例
  • 3.15网站建设aso优化推广公司
  • 怎么自己的电脑做网站服务器seo关键字优化技巧
  • 中国做网站磁力兔子搜索引擎
  • b2c网站技术架构在线刷关键词网站排名
  • 帮做装修设计的网站济南网站建设老威
  • 绵阳最有实力的公司网站建设2022当下社会热点话题
  • 长春专业网站建设web成品网站源码免费
  • 网站建设工具品牌有惠州seo网站排名
  • 怎么看网站做没做优化网络服务平台
  • 快递网站制作宁德市市长
  • 建设一个公司的网站需要多少钱做网站推广
  • c2c商城网站建设关键词分析工具有哪些
  • 网站建设:上海珍岛百度题库
  • 手机 网站开发软件有哪些app排名优化公司
  • 手机网站关闭窗口代码看网站搜索什么关键词
  • 网站建设推广文案河南企业站seo
  • 青峰集团响应式网站郑州网站建设制作公司
  • nodejs 如何做网站后端百度seo排名优化公司推荐
  • 娱乐网站后缀是什么有人百度看片吗
  • 网站ico图标 代码网络安全培训机构排名
  • 深圳外贸网站定制加快实施创新驱动发展战略
  • 上海网站建设品牌百度官方下载
  • 广东网站建设人员搜索引擎优化的目标
  • 互联网门户网站有哪些市场营销策略有哪些
  • 让网站建设便宜到底seo学堂
  • 做网站注册35类哪几个小项东营网站建设制作
  • 官方网站手机专卖店谷歌seo推广公司
  • ui设计和网站开发百度搜索链接入口
  • 设计单网站建设seo高端培训