- 博客(2)
- 资源 (6)
- 收藏
- 关注
原创 VS---QAudioDeviceInfo 使用注意事项
1、项目中需要使用多媒体 音频功能 添加头文件#include <QAudioDeviceInfo> #include <QAudioOutput> #include <QIODevice> #include <QAudioFormat> 根本就打不开于是添加目录,编译通过,但是当我们使用的时候却编译不过了(注:在QT:creator中不会出现)这是...
2018-04-27 16:58:41 2921 2
原创 QT widget宽高比
1、首先想到的是---重载resizeEvenntvoid resizeEvent(QResizeEvent * event) { //当前宽高 int nWidth = event->size().width(); int nHeight = event->size().height(); //太宽了 if (nWidth * 9 > nHeight * 16) {...
2018-04-27 11:51:51 4537
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人