上一页 1 ··· 97 98 99 100 101 102 103 104 105 ··· 133 下一页
摘要: 阅读全文
posted @ 2021-01-11 23:42 MaxBruce 阅读(79) 评论(0) 推荐(0)
摘要: void MainWindow::on_pushButton_clicked() { //模态 QDialog dlg(this); dlg.resize(100,100); dlg.exec(); qDebug()<<"hello world"; //非模态 QDialog *dlg2=new Q 阅读全文
posted @ 2021-01-11 22:36 MaxBruce 阅读(184) 评论(0) 推荐(0)
摘要: 1, 将图片资源复制到项目文件夹。 1. 鼠标点击工程文件目录右键选择 "添加新文件..." 2. 在模板中选择 Qt-->Qt Resource File 3. 资源名称,不要有中文, 路径默认保持工程目录即可 4. 选中 res.qrc 资源文件鼠标右键选择 "Open in Editor" 打 阅读全文
posted @ 2021-01-11 22:06 MaxBruce 阅读(476) 评论(0) 推荐(0)
摘要: C++ 信号处理 信号是由操作系统传给进程的中断,会提早终止一个程序。在 UNIX、LINUX、Mac OS X 或 Windows 系统上,可以通过按 Ctrl+C 产生中断。 有些信号不能被程序捕获,但是下表所列信号可以在程序中捕获,并可以基于信号采取适当的动作。这些信号是定义在 C++ 头文件 阅读全文
posted @ 2021-01-11 17:12 MaxBruce 阅读(559) 评论(0) 推荐(0)
摘要: #include <iostream> class A { public: A(); ~ A(); virtualvoid say() { std::cout << "Hello this is class A!\n"; } static void test() { std::cout << "He 阅读全文
posted @ 2021-01-11 17:08 MaxBruce 阅读(1243) 评论(0) 推荐(0)
摘要: 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 阅读(117) 评论(0) 推荐(0)
摘要: 记录一下QT5 动态链接库的创建和使用 在文章的最后有完成的代码供下载 1.创建动态链接库 先新建一个库项目 选择chose进入下一下页面,类型选择共享库,输入一个名称:我输入的是sld 再点击下一步到 如果这里我们需要QtGui所以也勾选上了 再点击下一步直到完成 我们在.pro文件里加上 DES 阅读全文
posted @ 2021-01-10 13:25 MaxBruce 阅读(297) 评论(0) 推荐(0)
上一页 1 ··· 97 98 99 100 101 102 103 104 105 ··· 133 下一页