当前位置:网站首页>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
边栏推荐
- Survival analysis using rtcga clinical data
- Meeting OA project (V) -- meeting notice and feedback details
- 通过tidymodels使用XGBOOST
- Alibaba architects spent a year sorting out the "Lucene advanced document", and you are also a big factory employee!
- ES6 arrow function this points to
- JS two array objects for merging and de duplication
- 报表控件FastReport与StimulSoft功能对比
- Luogu p1816 loyalty solution
- Pyqt5 rapid development and practice 6.6 qformlayout & 6.7 nested layout & 6.8 qsplitter
- 【图像检测】基于灰度图像的积累加权边缘检测方法研究附matlab代码
猜你喜欢

ECCV 2022 | SSP: 自支持匹配的小样本任务新思想

重磅 | 基金会为白金、黄金、白银捐赠人授牌

Understand what a binary tree is (types, traversal methods, definitions of binary trees)

Alibaba P8 broke out this interview guide for big factories. After reading it, the salary soared by 30K!

One click blog building: how to use WordPress plug-in to build a dedicated blog

LeetCode二叉树系列——144.二叉树的前序遍历

Learning R language these ebooks are enough!

Watch the open source summit first | quick view of the sub Forum & Activity agenda on July 29

WPF 截图控件之绘制方框与椭圆(四) 「仿微信」

QWidget、QDialog、QMainWindow 的异同点
随机推荐
Error: Protobuf syntax version should be first thing in file
Software testing dry goods
Svn revision keyword
R language brca MRNA data set analysis
LeetCode_278_第一个错误的版本
牛客网刷题
ES6-箭头函数this指向
Review of the 16th issue of HMS core discovery | play with the new "sound" state of AI with tiger pier
幸运抽奖系统带后台源码
Analysis of QT basic engineering
AI model risk assessment Part 2: core content
The 2022 open atom global open source summit opened in Beijing
Detailed arrangement of JVM knowledge points (long text warning)
Niuke net brush questions
暑假集训week1
基本.分块
【Unity,C#】Character键盘输入转向与旋转
大伟 GBase8s游标稳定性读ESQL测试用例
js两个数组对象进行合并去重
Luogu p4185 [usaco18jan]mootube g problem solution