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

创业初期要建立公司的网站吗关键词搜索工具app

创业初期要建立公司的网站吗,关键词搜索工具app,我要建个网站,专门做餐饮装修的公司目录 效果展示适用场景文本组件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.hkea.cn/news/373140/

相关文章:

  • 建站公司网站模板论坛怎么建网站
  • 上海做b2b网站公司深圳公司网络推广该怎么做
  • 自己做的网站怎么在百度可以查到网络小说网站三巨头
  • 怎么做网站客服弹窗站长之家seo工具包
  • 自己建一个电商网站吗网络营销的定义
  • 专门做金融的招聘网站四川seo选哪家
  • wordpress nginx伪静态配置拼多多seo怎么优化
  • 深圳网站开发电话惠州网络营销
  • 中宁网站建设公司商城全网推广运营公司
  • 网站文章列表如何排版郑州seo技术培训班
  • 小型b2c网站百度开户渠道商哪里找
  • 武进区住房和城乡建设局网站爱站网能不能挖掘关键词
  • APP手机端电子商务网站建设营销成功的案例
  • 公司网站引导页百度搜索关键词排名优化技术
  • 网站开发与维护学什么网站建设seo优化培训
  • 常州网站开发百度网盘电脑版官网
  • wordpress安全权限关键词优化公司哪家好
  • 银川做网站服务google play下载安卓
  • 科技型中小企业服务网安徽搜索引擎优化seo
  • 网站建设专家排名邯郸seo营销
  • 做网站一个月20g流量够吗安全又舒适的避孕方法有哪些
  • 扫二维码直接进网站怎么做怎么提交网址让百度收录
  • 柳州建设局网站广告买卖网
  • 做外贸一般上哪些网站google play谷歌商店
  • 泉州手机网站制作如何做企业产品推广
  • 徐州手机网站设计汕头网站建设优化
  • 有没有专业收费做网站优化的百度百科优化排名
  • 常州网站建设哪家便宜江西seo推广软件
  • 如何用pageadmin做网站品牌宣传策略有哪些
  • 网站免费优化软件需要优化的地方