当前位置:网站首页>QT creator shape
QT creator shape
2022-07-06 11:04:00 【it_ xiangqiang】
Qt Creator shape
- shape
- Rectangle
shape
You can use Rectangle Type in the “ form editor ” Draw basic shapes in .
Most visual types in the library are based on project types . Even if it has no visual appearance ( for example , Similar to the mouse area ), It also defines all attributes common to all visual types , Such as the location , Size and visibility .
Besides , Each type has a set of attributes that specify its visual appearance and behavior . You can modify the attribute values to set the fill and border colors , Stroke width and other characteristics of shape .
The following sections describe the available shapes and their properties in more detail . You can go to “ attribute ” Modify the value of the attribute in the view .
Rectangle
Basic rectangle QML Type is used to draw a shape with four edges and corners and a solid border .
It can be used in “ Color ” Field to fill the rectangle with a solid color or a linear gradient . You can also use the color selector to select a color , And use the gradient selector from the predefined WebGradients Centralized selection gradient .
By setting “ Border color ” and “ Frame ” Value of field , You can add an optional solid border to a rectangle with its own color and thickness . To create a border without a fill color , Please select the button that sets the color to transparent .
By setting “ radius ” Value of field , You can create shapes with rounded corners . Use rectangular width,height and radius Correct combination of attribute values , You can create ellipses and circles . for example , To draw a complete circle , Please draw a rectangle first , Make all four sides equal , Then set its radius to half the side length .
When drawing curved edges , Consider enabling “ attribute ” View's “ senior ” Tab “ Anti-Aliasing ” Check box , To improve the appearance of the shape .
边栏推荐
- MySQL主從複制、讀寫分離
- Navicat 导出表生成PDM文件
- [recommended by bloggers] background management system of SSM framework (with source code)
- CSDN问答模块标题推荐任务(二) —— 效果优化
- 记一次某公司面试题:合并有序数组
- @Controller, @service, @repository, @component differences
- CSDN question and answer module Title Recommendation task (II) -- effect optimization
- Mysql23 storage engine
- Ansible实战系列二 _ Playbook入门
- MySQL other hosts cannot connect to the local database
猜你喜欢
[C language foundation] 04 judgment and circulation
Win10: how to modify the priority of dual network cards?
CSDN问答模块标题推荐任务(二) —— 效果优化
A brief introduction to the microservice technology stack, the introduction and use of Eureka and ribbon
Other new features of mysql18-mysql8
[Thesis Writing] how to write function description of jsp online examination system
Mysql24 index data structure
【博主推荐】C#生成好看的二维码(附源码)
CSDN博文摘要(一) —— 一个简单的初版实现
图像识别问题 — pytesseract.TesseractNotFoundError: tesseract is not installed or it‘s not in your path
随机推荐
Ansible实战系列三 _ task常用命令
CSDN-NLP:基于技能树和弱监督学习的博文难度等级分类 (一)
MySQL20-MySQL的数据目录
Global and Chinese market of transfer switches 2022-2028: Research Report on technology, participants, trends, market size and share
Invalid default value for 'create appears when importing SQL_ Time 'error reporting solution
Kubesphere - deploy the actual combat with the deployment file (3)
Valentine's Day is coming, are you still worried about eating dog food? Teach you to make a confession wall hand in hand. Express your love to the person you want
C language advanced pointer Full Version (array pointer, pointer array discrimination, function pointer)
Ansible practical series I_ introduction
FRP intranet penetration
Redis的基础使用
API learning of OpenGL (2002) smooth flat of glsl
MySQL主從複制、讀寫分離
Swagger、Yapi接口管理服务_SE
MySQL flush operation
MySQL23-存儲引擎
Postman uses scripts to modify the values of environment variables
Global and Chinese market for intravenous catheter sets and accessories 2022-2028: Research Report on technology, participants, trends, market size and share
TCP/IP协议(UDP)
Installation and use of MySQL under MySQL 19 Linux