随笔分类 - C++
摘要:Qt QWidget保存为图片 QPixmap pixmap = QPixmap::grabWidget(this); pixmap.save("D://1.jpg","JPG"); ###################################
阅读全文
摘要:Qt绘图面板中的对象拖拽 qdrawwidget.h #ifndef QDRAWWIDGET_H #define QDRAWWIDGET_H #include <QObject> #include <QWidget> #include <QFrame> #include <QPainter> #in
阅读全文
摘要:Qt绘制网格 mainwindow.h #ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> #include <QPainter> #include <QDebug> namespace Ui { class MainWi
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要:opencv3 lib opencv_aruco346d.lib opencv_bgsegm346d.lib opencv_bioinspired346d.lib opencv_calib3d346d.lib opencv_ccalib346d.lib opencv_core346d.lib ope
阅读全文
摘要:win10 openpose vs2015 cmake build Selecting Windows SDK version 10.0.14393.0 to target Windows 10.0.19042. CMAKE_VERSION = 3.20.0 Building with CUDA.
阅读全文
摘要:PCL point cloud #include<pcl/visualization/cloud_viewer.h> #include<iostream> #include<pcl/io/io.h> #include<pcl/io/pcd_io.h> #include<pcl/io/ply_io.h
阅读全文
摘要:QPainter /**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https:
阅读全文
摘要:opencv读取网络图片 #include <iostream> #include <opencv2/opencv.hpp> using namespace std; using namespace cv; int main() { VideoCapture videoCapture("https:
阅读全文
摘要:基站数据格式说明 01 49 00 05 04 01 14 00 200A0000 23010000 24020000 01 49 00 06 04 01 14 00 95090000 83010000 88010000 01 43 00 23 04 01 0C 00 FF080000 290200
阅读全文
摘要:Error log Qt VS Tools: QML debug: Debugging project 'RealsenseProject202101'... Qt VS Tools: QML debug: DISABLED: Non-Qt/MSBuild project Qt VS Tools:
阅读全文
摘要:qwidgetresizehandler_p.h /**************************************************************************** ** ** Copyright (C) 2012 Nokia Corporation and/
阅读全文
摘要:DockWidgetArea enum DockWidgetArea { LeftDockWidgetArea = 0x1, RightDockWidgetArea = 0x2, TopDockWidgetArea = 0x4, BottomDockWidgetArea = 0x8, DockWid
阅读全文
摘要:Public Functions QTableWidget(QWidget *parent = nullptr) QTableWidget(int rows, int columns, QWidget *parent = nullptr) virtual ~QTableWidget() QWidge
阅读全文
摘要:QList删除元素 int removeAll(const T &value) void removeAt(int i) void removeFirst() void removeLast() bool removeOne(const T &value)
阅读全文
摘要:删除 if (esProjectObj !=nullptr) { delete esProjectObj; esProjectObj = nullptr; }
阅读全文
摘要:编译日志 1> 已启动全部重新生成: 项目: ES_project2, 配置: Debug x64 1> Moc'ing es_project2.h... 1> Uic'ing es_project2.ui... 1> Moc'ing essystemconfig.h... 1> Moc'ing e
阅读全文