随笔分类 -  Qt

上一页 1 ··· 5 6 7 8 9 10 11 12 13 14 下一页
摘要:Qt QWidget保存为图片 QPixmap pixmap = QPixmap::grabWidget(this); pixmap.save("D://1.jpg","JPG"); ################################### 阅读全文
posted @ 2021-05-01 21:48 西北逍遥 阅读(954) 评论(0) 推荐(0)
摘要:Qt绘图面板中的对象拖拽 qdrawwidget.h #ifndef QDRAWWIDGET_H #define QDRAWWIDGET_H #include <QObject> #include <QWidget> #include <QFrame> #include <QPainter> #in 阅读全文
posted @ 2021-05-01 21:22 西北逍遥 阅读(756) 评论(0) 推荐(0)
摘要:Qt绘制网格 mainwindow.h #ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> #include <QPainter> #include <QDebug> namespace Ui { class MainWi 阅读全文
posted @ 2021-05-01 15:47 西北逍遥 阅读(2121) 评论(0) 推荐(0)
摘要:ubuntu中编译好的Qt程序运行 luo@luo-ThinkPad-W540:QtProject$ luo@luo-ThinkPad-W540:QtProject$ cd build-HGD_ES-Desktop_Qt_5_12_0_GCC_64bit-Debug luo@luo-ThinkPad 阅读全文
posted @ 2021-04-30 16:05 西北逍遥 阅读(660) 评论(0) 推荐(0)
摘要:ubuntu qt5 编译libqsqlmysql.so 首先确保已经安装了mysql, 然后打开 /opt/Qt5.12.0/5.12.0/Src/qtbase/src/plugins/sqldrivers/mysql 目录查看是否存在 如果存在,进行libmysql.so文件的编译 root@l 阅读全文
posted @ 2021-04-29 15:29 西北逍遥 阅读(1015) 评论(0) 推荐(0)
摘要:Qt mysql 确保mysql已经安装 luo@luo-ThinkPad-W540:~$ luo@luo-ThinkPad-W540:~$ whereis mysql.h mysql: /usr/bin/mysql /usr/lib/mysql /etc/mysql /usr/include/my 阅读全文
posted @ 2021-04-29 08:31 西北逍遥 阅读(185) 评论(0) 推荐(0)
摘要:Error 1> 已启动生成: 项目: HGD_Project_202101, 配置: Debug x64 1> Reading Qt configuration (E:/Qt/Qt5.12.2/5.12.2/msvc2017_64/bin/qmake) 1>HGD_Project_202101.v 阅读全文
posted @ 2021-04-20 20:02 西北逍遥 阅读(143) 评论(0) 推荐(0)
摘要:pyqt5 yolov5运行日志 img = img.half() img = img.float() 阅读全文
posted @ 2021-04-02 13:59 西北逍遥 阅读(733) 评论(0) 推荐(0)
摘要:anaconda pyqt5 (base) F:\> (base) F:\> (base) F:\>dir 驱动器 F 中的卷是 新加卷 卷的序列号是 12DB-F948 F:\ 的目录 2021/03/31 20:27 <DIR> EclipseCSWorkspace 2021/03/31 19: 阅读全文
posted @ 2021-04-02 11:11 西北逍遥 阅读(147) 评论(0) 推荐(0)
摘要:QPainter /**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https: 阅读全文
posted @ 2021-02-04 10:52 西北逍遥 阅读(271) 评论(0) 推荐(0)
摘要:realsense d435i qt 2.1863804 -1.0416172 5.268 -0.9421689 -1.1718271 2.25 detection time. (0.346s) 2.1863804 -1.0416172 5.268 -0.94886875 -1.18016 2.26 阅读全文
posted @ 2021-01-13 19:04 西北逍遥 阅读(328) 评论(0) 推荐(0)
摘要:save img void CameraProject2021::OnPhotoButtonClick() { if (!cameraMat.empty()) { QString picName = getImgName(); qDebug() << picName; bool isSavePic 阅读全文
posted @ 2021-01-09 09:51 西北逍遥 阅读(191) 评论(0) 推荐(0)
摘要:graphPath->addRect(0, 0, rect_width, rect_height);p.drawRect(2, 2, rect_width - 5, rect_height - 4); 阅读全文
posted @ 2021-01-01 06:24 西北逍遥 阅读(114) 评论(0) 推荐(0)
摘要:模仿matlab界面 阅读全文
posted @ 2020-12-31 15:52 西北逍遥 阅读(132) 评论(0) 推荐(0)
摘要:qwidgetresizehandler_p.h /**************************************************************************** ** ** Copyright (C) 2012 Nokia Corporation and/ 阅读全文
posted @ 2020-12-30 19:58 西北逍遥 阅读(232) 评论(0) 推荐(0)
摘要:qt6安装 https://www.qt.io/ 阅读全文
posted @ 2020-12-14 15:59 西北逍遥 阅读(757) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2020-12-09 20:59 西北逍遥 阅读(73) 评论(0) 推荐(0)
摘要:DockWidgetArea enum DockWidgetArea { LeftDockWidgetArea = 0x1, RightDockWidgetArea = 0x2, TopDockWidgetArea = 0x4, BottomDockWidgetArea = 0x8, DockWid 阅读全文
posted @ 2020-12-08 11:20 西北逍遥 阅读(227) 评论(0) 推荐(0)
摘要:qt windeployqt G:\software\ifc_project_2020\20201120401-debug> G:\software\ifc_project_2020\20201120401-debug>windeployqt ES_ifc_2020.exe G:\software\ 阅读全文
posted @ 2020-12-04 17:00 西北逍遥 阅读(465) 评论(0) 推荐(0)
摘要:Public Functions QTableWidget(QWidget *parent = nullptr) QTableWidget(int rows, int columns, QWidget *parent = nullptr) virtual ~QTableWidget() QWidge 阅读全文
posted @ 2020-12-01 17:17 西北逍遥 阅读(232) 评论(0) 推荐(0)

上一页 1 ··· 5 6 7 8 9 10 11 12 13 14 下一页