当前位置:网站首页>QT's user-defined interface (borderless and movable)
QT's user-defined interface (borderless and movable)
2022-07-29 10:57:00 【51CTO】
sketch
UI Design refers to the human-computer interaction of software 、 Operation logic 、 The overall design with beautiful interface . well UI Design is not just about personalizing Software 、 Good taste , And make the operation of the software comfortable and simple 、 free , Fully reflect the positioning and characteristics of the software .
The heart of beauty is in everyone's heart . In fact, the software interface is like industrial modeling , Is an important selling point of the product . A product with a beautiful interface will bring people comfortable visual enjoyment , Narrow the distance between people and products , It is an art design based on Science .
Criteria for testing an interface - It is not the opinion of the leader of a project development team , Nor is it the result of the vote of project members , It's how the end user feels .
therefore , For most commercial software or professional products ,Qt The localized style of has obviously not met the expectations , We need a lot of style beautification , To make it more personalized 、 Good taste .
| Copyright notice : Go to 、 Two or three li , No reprint without the permission of the blogger .
Now let's implement such an interface .

no border
Set the window flag to borderless
About WindowFlags There are many enumeration values , One of them WindowStaysOnTopHint, You can put the form on top of all interfaces , Be similar to QQ Main panel , On top of all software as soon as it is opened - More domineering .
After setting no border , Forms cannot be moved , Now we introduce two ways to move .
Movable
Qt event
Win API
Contains the header file and the required Library
Sending system messages , For mobile
边栏推荐
- How to synchronize when the primary and sub warehouses are modified?
- VMware: use commands to update or upgrade VMware esxi hosts
- Use R-Pack skimr to collect the beautiful display of President measurement
- Getting started with pytoch
- R包pedquant实现股票下载和金融量化分析
- golang 实现文件上传下载
- Regular expression matching URL
- 带你浅聊一下PHP搭建的电商商城系统
- 【图像检测】基于灰度图像的积累加权边缘检测方法研究附matlab代码
- 1.MySQL数据库的介绍
猜你喜欢
随机推荐
为什么应该在开发环境中使用 Kubernetes
浅谈string中的compareTo方法
8. Interleave - understand ThreadPoolExecutor thread pool from architecture design to practice
什么是 Kubernetes 自定义资源定义 (CRD)?
暑假集训week1
会议OA项目(五)---- 会议通知、反馈详情
DoD 和 DoR,消减「认知偏差」的两大神器
Kunlunbase instruction manual (I) quick installation manual
Add: create Ou structure using PowerShell
重磅 | 基金会为白金、黄金、白银捐赠人授牌
通过tidymodels使用XGBOOST
如何使用 grep 跨多行查找模式匹配
R package pedquant realizes stock download and financial quantitative analysis
会议OA项目----我的审批
Pyqt5 rapid development and practice 6.6 qformlayout & 6.7 nested layout & 6.8 qsplitter
QWidget、QDialog、QMainWindow 的异同点
Site data collection -scrapy usage notes
从零开始Blazor Server(3)--添加cookie授权
2.安装MySQL
JS two array objects for merging and de duplication









