码迷,mamicode.com
首页 >  
搜索关键字:qt5 插件路径    ( 1198个结果
QT5 串口操作
Qt5 提供了两个类用于串口操作,分别是:QSerialPort和QSerialPortInfo。 最基本的操作示例代码如下: 1 #ifndef DIALOG_H 2 #define DIALOG_H 3 4 #include <QDialog> 5 6 #include <QDebug> 7 #
分类:其他好文   时间:2016-03-05 22:03:06    阅读次数:218
Qt5.6.0+OpenGL 纹理贴图首战告捷
重要的话写在前面~~通过今晚的实验,知道了EBO是不能随便release的~~~一直不要release就可以了,否则vao会失效 Display.h #ifndef DISPLAYWIDGET_H #define DISPLAYWIDGET_H #include <QGLWidget> #inclu
分类:其他好文   时间:2016-03-02 00:13:38    阅读次数:646
Qt5_选择文件对话框
1、 类似如下代码: 1 QString fileName = QFileDialog::getOpenFileName( 2 this, 3 tr("Open File"), 4 NULL,// ".", 5 tr("*.*")); 2、
分类:其他好文   时间:2016-02-29 16:36:51    阅读次数:174
QT5获取系统文件图标,文件路径
获取系统图标: QFileIconProvider icon_provider; QIcon icon = icon_provider.icon(QFileIconProvider::Folder); 其中可以获取的系统图标有: Constant Value QFileIconProvider::C
分类:其他好文   时间:2016-02-27 17:50:11    阅读次数:182
Qt5中用QLCDNumber显示时间
mydialog.h 文件 #ifndef MYDIALOG_H #define MYDIALOG_H #include <QDialog> class QLCDNumber; class QTimer; class MyDialog : public QDialog { Q_OBJECT publ
分类:其他好文   时间:2016-02-26 13:49:31    阅读次数:1209
Qt5-控件-QRadioButton-单选按钮-用于从多个选项中选取一个-单选神器
#ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> #include <QRadioButton> #include <QButtonGroup> class MainWindow : public QMainWindow
分类:其他好文   时间:2016-02-22 23:30:01    阅读次数:341
QT5-控件-QScrollArea-可以用于把一个窗口分割为多个-比如根据图片大小显示滚动条
#ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> #include <QLabel> #include <QPixmap> #include <QImage> #include <QScrollArea> class M
分类:其他好文   时间:2016-02-22 23:29:40    阅读次数:333
QT5-控件-QProgressBar-进度条-用来做下载进度,文件读取进度还不错
#ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> #include <QProgressBar> class MainWindow : public QMainWindow { Q_OBJECT public: Main
分类:其他好文   时间:2016-02-22 22:16:22    阅读次数:1137
1198条   上一页 1 ... 74 75 76 77 78 ... 120 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!