当前位置:网站首页>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 .
边栏推荐
- Development of C language standard
- 引入了junit为什么还是用不了@Test注解
- Remember a company interview question: merge ordered arrays
- API learning of OpenGL (2001) gltexgen
- Swagger、Yapi接口管理服务_SE
- Navicat 導出錶生成PDM文件
- [free setup] asp Net online course selection system design and Implementation (source code +lunwen)
- SSM integrated notes easy to understand version
- Principes JDBC
- npm一个错误 npm ERR code ENOENT npm ERR syscall open
猜你喜欢
35 is not a stumbling block in the career of programmers
Mysql24 index data structure
La table d'exportation Navicat génère un fichier PDM
[Li Kou 387] the first unique character in the string
CSDN question and answer module Title Recommendation task (I) -- Construction of basic framework
解决:log4j:WARN Please initialize the log4j system properly.
【博主推荐】SSM框架的后台管理系统(附源码)
CSDN问答标签技能树(五) —— 云原生技能树
API learning of OpenGL (2003) gl_ TEXTURE_ WRAP_ S GL_ TEXTURE_ WRAP_ T
[Thesis Writing] how to write function description of jsp online examination system
随机推荐
FRP intranet penetration
MySQL主从复制、读写分离
MySQL22-逻辑架构
A brief introduction to the microservice technology stack, the introduction and use of Eureka and ribbon
February 13, 2022 - Maximum subarray and
Data dictionary in C #
Global and Chinese markets of static transfer switches (STS) 2022-2028: Research Report on technology, participants, trends, market size and share
Remember the interview algorithm of a company: find the number of times a number appears in an ordered array
【博主推荐】C# Winform定时发送邮箱(附源码)
Ansible实战系列三 _ task常用命令
Ansible practical series I_ introduction
Ansible practical Series II_ Getting started with Playbook
[untitled]
打开浏览器的同时会在主页外同时打开芒果TV,抖音等网站
NPM an error NPM err code enoent NPM err syscall open
[Li Kou 387] the first unique character in the string
Esp8266 at+cipstart= "", "", 8080 error closed ultimate solution
[recommended by bloggers] asp Net WebService background data API JSON (with source code)
1. Mx6u learning notes (VII): bare metal development (4) -- master frequency and clock configuration
CSDN Q & a tag skill tree (V) -- cloud native skill tree