当前位置:网站首页>Design of edit memory path of edit box in Gui
Design of edit memory path of edit box in Gui
2022-07-28 02:35:00 【Rabbit cloud program】
MFC The super God in EditControl
GUI The originator of MFC Although it is very inconvenient to do , But also made a lot of humanized design , Especially based on windows At the use level of the system , about UI The design of controls has many excellent user experiences . such as EditControl, This control has a memory path design , It also supports dragging files to get full path , Quite amazing .
Memory path

Drag to accept file attributes

QT Medium QLineEdit

There is no denying that ,QT stay ui Many improvements have been made , And try to provide convenience for developers , But the relative ratio MFC For controls ,QT It provides convenience for developers , It doesn't bring more experience to users . In performance , And use habits ,windows Of mfc Still worthy of being the originator .
Want to achieve and MFC The same function of memory path and drag path , We can only rely on ourselves to write some logic code to reflect . The simplest way is to record the last text to the local path every time the software runs , Then start next time exe The text will be displayed by default .
<边栏推荐
- 怎么简单实现菜单拖拽排序的功能
- Explore flex basis
- 功能测试和非功能测试区别简析,上海好口碑软件测试公司推荐
- retainface使用报错:ModuleNotFoundError: No module named 'rcnn.cython.bbox'
- [hcip] BGP features
- 软件产品第三方测试费用为什么没有统一的报价?
- JVM tuning -xms -xmx -xmn -xss
- [Star Project] small hat aircraft War (V)
- 埃睿迪再度亮相数字中国峰会 持续深化用科技守护绿水青山
- Leetcode judge whether palindrome number
猜你喜欢

MySQL explain (glory Collection Edition)

Leetcode hot topic Hot 100 - > 3. longest substring without repeated characters

How is insert locked in MySQL? (glory Collection Edition)
![[机缘参悟-53]:阳谋立身,阴谋防身](/img/93/2f61993770d93d9adc80a9fa89e71c.jpg)
[机缘参悟-53]:阳谋立身,阴谋防身
![[Yugong series] use of tabby integrated terminal in July 2022](/img/df/bf01fc77ae019200d1bf57be783cb9.png)
[Yugong series] use of tabby integrated terminal in July 2022

When iPhone copies photos to the computer, the device connection often fails and the transmission is interrupted. Here's the way

Leetcode hot topic Hot 100 - > 1. Sum of two numbers

The cooperation between starfish OS and metabell is just the beginning

ERD online 4.0.0 free private deployment scheme

Three core issues of concurrent programming (glory Collection Edition)
随机推荐
【ROS进阶篇】第十讲 基于Gazebo的URDF集成仿真流程及实例
How MySQL uses indexes (glory Collection Edition)
What problems should be avoided when using BigDecimal type? (glory Collection Edition)
网络必知题目
Common SQL statement query
正则表达式
分层图解决的一些最短路问题
Ceresdao: new endorsement of ventures Dao
The virtual host website cannot access the self-test method
Promise from introduction to mastery (Chapter 4 async and await)
Product interpretation - Design and distributed expansion of metersphere UI test module
Learn this trick and never be afraid to let the code collapse by mistake
剑指offer专项突击版第12天
The cooperation between starfish OS and metabell is just the beginning
Leetcode hot topic Hot 100 - > 3. longest substring without repeated characters
LETV responded that employees live an immortal life without internal problems and bosses; Apple refuses to store user icloud data in Russia; Dapr 1.8.0 release | geek headlines
[Yugong series] July 2022 go teaching course 019 - for circular structure
探究flex-basis
regular expression
小程序毕设作品之微信校园浴室预约小程序毕业设计成品(1)开发概要