摘要: xml 代码 <Page x:Class="ContentControlWithTemplateSelector.TestPage1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http:// 阅读全文
posted @ 2021-01-10 23:53 MaxBruce 阅读(101) 评论(0) 推荐(0)
摘要: 主页面 <Page x:Class="CheckMemoryLeak.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/w 阅读全文
posted @ 2021-01-10 23:21 MaxBruce 阅读(575) 评论(0) 推荐(0)
摘要: xml code <Page x:Class="AdaptiveLayout.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.c 阅读全文
posted @ 2021-01-10 22:44 MaxBruce 阅读(55) 评论(0) 推荐(0)
摘要: 【UWP开发】自定义锁屏&桌面壁纸 mtobeiyf关注 2015.11.01 00:16:55字数 394阅读 1,249 调用通用的API来设置桌面壁纸,可以实现很多有趣的功能。在Windows通用平台中,可以使Windows.System.UserProfile命名空间下的类UserProfi 阅读全文
posted @ 2021-01-10 19:56 MaxBruce 阅读(118) 评论(0) 推荐(0)
摘要: 记录一下QT5 动态链接库的创建和使用 在文章的最后有完成的代码供下载 1.创建动态链接库 先新建一个库项目 选择chose进入下一下页面,类型选择共享库,输入一个名称:我输入的是sld 再点击下一步到 如果这里我们需要QtGui所以也勾选上了 再点击下一步直到完成 我们在.pro文件里加上 DES 阅读全文
posted @ 2021-01-10 13:25 MaxBruce 阅读(297) 评论(0) 推荐(0)
摘要: 初学Qt,用了Qt自带的事件,然后想怎么才能定义自己的事件呢?又如何使用自定义事件呢?看了篇文章,说先要子类化QEvent,然后定义自己的QEvent::Type,然后重写QWidget::event()函数,然后就可以调用QCoreApplication::sendEvent()或者QCoreAp 阅读全文
posted @ 2021-01-10 10:49 MaxBruce 阅读(405) 评论(0) 推荐(0)