当前位置:网站首页>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 .
边栏推荐
- 解决:log4j:WARN Please initialize the log4j system properly.
- Mysql26 use of performance analysis tools
- Mysql25 index creation and design principles
- [ahoi2009]chess Chinese chess - combination number optimization shape pressure DP
- CSDN question and answer module Title Recommendation task (I) -- Construction of basic framework
- Mysql22 logical architecture
- Development of C language standard
- Ansible practical Series II_ Getting started with Playbook
- The virtual machine Ping is connected to the host, and the host Ping is not connected to the virtual machine
- [untitled]
猜你喜欢

Postman Interface Association

CSDN blog summary (I) -- a simple first edition implementation

图像识别问题 — pytesseract.TesseractNotFoundError: tesseract is not installed or it‘s not in your path

【博主推荐】C#生成好看的二维码(附源码)

Invalid global search in idea/pychar, etc. (win10)

Navicat 导出表生成PDM文件

1. Mx6u learning notes (VII): bare metal development (4) -- master frequency and clock configuration

Installation and use of MySQL under MySQL 19 Linux

【博主推荐】C#MVC列表实现增删改查导入导出曲线功能(附源码)

CSDN question and answer tag skill tree (I) -- Construction of basic framework
随机推荐
项目实战-后台员工信息管理(增删改查登录与退出)
【博主推荐】C#MVC列表实现增删改查导入导出曲线功能(附源码)
Did you forget to register or load this tag 报错解决方法
JDBC原理
Django运行报错:Error loading MySQLdb module解决方法
自动机器学习框架介绍与使用(flaml、h2o)
Opencv uses freetype to display Chinese
CSDN markdown editor
Csdn-nlp: difficulty level classification of blog posts based on skill tree and weak supervised learning (I)
【博主推荐】asp.net WebService 后台数据API JSON(附源码)
The virtual machine Ping is connected to the host, and the host Ping is not connected to the virtual machine
@controller,@service,@repository,@component区别
Redis的基础使用
@Controller, @service, @repository, @component differences
Principes JDBC
CSDN-NLP:基于技能树和弱监督学习的博文难度等级分类 (一)
Armv8-a programming guide MMU (2)
Solution: log4j:warn please initialize the log4j system properly
February 13, 2022 - Maximum subarray and
Discriminant model: a discriminant model creation framework log linear model