上一页 1 ··· 43 44 45 46 47 48 49 50 51 ··· 96 下一页
摘要: qResultCharts->setQWebEngineViewMaxHeight(this->frameGeometry().height()); ###### 阅读全文
posted @ 2021-05-24 21:18 西北逍遥 阅读(312) 评论(0) 推荐(0)
摘要: ffmpeg中未定义av_image_get_buffer_size 引入: #include <libavutil/imgutils.h> ############# 阅读全文
posted @ 2021-05-24 12:20 西北逍遥 阅读(1434) 评论(0) 推荐(0)
摘要: AVPixelFormat enum AVPixelFormat { AV_PIX_FMT_NONE = -1, AV_PIX_FMT_YUV420P, ///< planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples) AV_PIX 阅读全文
posted @ 2021-05-24 12:00 西北逍遥 阅读(728) 评论(0) 推荐(0)
摘要: Header: #include <QGeoPolygon>qmake: QT += positioning Since: Qt 5.10Inherits: QGeoShape QGeoPolygon类定义地理多边形。多边形由表示其周长的QGeoCoordinates的有序列表定义。此列表中的每两个 阅读全文
posted @ 2021-05-23 20:14 西北逍遥 阅读(310) 评论(0) 推荐(0)
摘要: Matlab Eckert4 landareas = shaperead('landareas.shp','UseGeoCoords',true); axesm ('eckert4', 'Frame', 'on', 'Grid', 'on'); geoshow(landareas,'FaceColo 阅读全文
posted @ 2021-05-22 20:22 西北逍遥 阅读(50) 评论(0) 推荐(0)
摘要: IfcBenchmarkEnum is an enumeration used to identify the logical comparators that can be applied in conjunction with constraint values. HISTORY New enu 阅读全文
posted @ 2021-05-21 13:44 西北逍遥 阅读(60) 评论(0) 推荐(0)
摘要: Ubuntu20 ros 1、安装terminal uo@luo-ThinkPad-T440p:~$ luo@luo-ThinkPad-T440p:~$ luo@luo-ThinkPad-T440p:~$ sudo apt-get install terminator正在读取软件包列表... 完成正 阅读全文
posted @ 2021-05-20 15:42 西北逍遥 阅读(2225) 评论(0) 推荐(0)
摘要: Matlab获取矩阵几行几列 >> >> File_Data File_Data = 15.0000 1.0000 0.6341 0.9451 0.8784 0.5112 0.7295 0.5434 0.5559 0.3106 0.5248 0.6037 0.4813 0.6232 15.0000 阅读全文
posted @ 2021-05-20 09:42 西北逍遥 阅读(1007) 评论(0) 推荐(0)
摘要: Matlab kmeans聚类 rng('default') % For reproducibility X = [randn(100,2)*0.75+ones(100,2); randn(100,2)*0.5-ones(100,2); randn(100,2)*0.75]; [idx,C] = k 阅读全文
posted @ 2021-05-20 09:03 西北逍遥 阅读(182) 评论(0) 推荐(0)
摘要: python k-means F:\PythonProject\K-Means import pandas as pd import numpy as np from sklearn.preprocessing import StandardScaler from sklearn.model_sel 阅读全文
posted @ 2021-05-19 14:58 西北逍遥 阅读(108) 评论(0) 推荐(0)
摘要: 引发了异常: 读取访问权限冲突。this-> 是 0xFFFFFFFFFFFFFE97。 程序“[4824] HGD_Project_202101.exe”已退出,返回值为 0 (0x0)。 阅读全文
posted @ 2021-05-18 22:14 西北逍遥 阅读(209) 评论(0) 推荐(0)
摘要: QApplication类管理GUI应用程序的控制流和主要设置。 QApplication专门为qgui应用程序提供基于QWidget的应用程序所需的一些功能。它处理特定于小部件的初始化、终结。 对于任何使用Qt的GUI应用程序,无论应用程序在任何给定时间是否有0、1、2或更多窗口,都只有一个QAp 阅读全文
posted @ 2021-05-17 13:09 西北逍遥 阅读(1052) 评论(0) 推荐(0)
摘要: 将此QWidget设置为活动窗口。 活动窗口是具有键盘输入焦点的可见顶级窗口。 此函数执行与在顶级窗口的标题栏上单击鼠标相同的操作。在X11上,结果取决于窗口管理器。如果要确保窗口也堆叠在顶部,还应该调用raise()。请注意,窗口必须可见,否则activateWindow()无效。 在Window 阅读全文
posted @ 2021-05-16 13:08 西北逍遥 阅读(1574) 评论(0) 推荐(0)
摘要: z = 3*(1-x).^2.*exp(-(x.^2) - (y+1).^2) - 10*(x/5 - x.^3 - y.^5).*exp(-x.^2-y.^2) - 1/3*exp(-(x+1).^2 - y.^2) ########################### 阅读全文
posted @ 2021-05-15 19:12 西北逍遥 阅读(227) 评论(0) 推荐(0)
摘要: [x2,y2,z2] = sphere; c2 = z2; surf(x2,y2,z2,c2) caxis([-1 3]) ###################### 阅读全文
posted @ 2021-05-14 13:19 西北逍遥 阅读(360) 评论(0) 推荐(0)
摘要: 测试 clc; clear; M2=[]; TIME2={}; %fid = fopen('2020-12-27-16-19-52.txt'); %fid = fopen('2020-12-17-09-21-11-1.txt'); %fid = fopen('2020-12-17-09-21-11- 阅读全文
posted @ 2021-05-13 22:14 西北逍遥 阅读(39) 评论(0) 推荐(0)
摘要: QCamera Header: #include <QCamera>qmake: QT += multimediaInherits: QMediaObject Public Types class FrameRateRangeenum CaptureMode { CaptureViewfinder, 阅读全文
posted @ 2021-05-12 22:12 西北逍遥 阅读(716) 评论(0) 推荐(0)
摘要: Header: #include <QSize>qmake: QT += core Public Functions QSize() QSize(int width, int height) QSize boundedTo(const QSize &otherSize) const QSize ex 阅读全文
posted @ 2021-05-11 19:48 西北逍遥 阅读(246) 评论(0) 推荐(0)
摘要: QPainter Class The QPainter class performs low-level painting on widgets and other paint devices. Header: #include <QPainter> qmake: QT += gui Inherit 阅读全文
posted @ 2021-05-10 08:50 西北逍遥 阅读(184) 评论(0) 推荐(0)
摘要: enum PenStyle { // pen style NoPen, SolidLine, DashLine, DotLine, DashDotLine, DashDotDotLine, CustomDashLine#ifndef Q_MOC_RUN , MPenStyle = 0x0f#endi 阅读全文
posted @ 2021-05-08 20:31 西北逍遥 阅读(317) 评论(0) 推荐(0)
摘要: Qt绘制虚线 QPainter painterObj; QPen tmp; QVector<qreal>dashes; qreal space = 4; dashes << 3 << space << 3 << space << 3 << space << 3 << space << 3 << sp 阅读全文
posted @ 2021-05-07 17:11 西北逍遥 阅读(3342) 评论(0) 推荐(0)
摘要: Qt报错报错 #1. 打开Visual Studio Installer(一般在C:\Program Files (x86)\Microsoft Visual Studio\Installer这个路径下),找到Visual Studio 2019选择并升级到最新版本。 #2. 尝试登出账号再重新登入 阅读全文
posted @ 2021-05-06 22:04 西北逍遥 阅读(652) 评论(0) 推荐(0)
摘要: QString list2 = "1,4,6,9"; QScriptValueList args3; //调用js方法时传入的参数 args3 << list2; QScriptValue func3; func3 = engine.globalObject().property("addNums" 阅读全文
posted @ 2021-05-05 21:42 西北逍遥 阅读(71) 评论(0) 推荐(0)
摘要: gl-matrix.js /** * @fileoverview gl-matrix - High performance matrix and vector operations * @author Brandon Jones * @author Colin MacKenzie IV * @ver 阅读全文
posted @ 2021-05-04 17:10 西北逍遥 阅读(256) 评论(0) 推荐(0)
摘要: Qt 3d basicshapes-cpp.pro android|ios|tvos|winrt { warning( "This example is not supported for android, ios, tvos, or winrt." ) } !include( ../example 阅读全文
posted @ 2021-05-04 16:22 西北逍遥 阅读(356) 评论(0) 推荐(0)
摘要: yolov5 检测图片里面的对象 这是比较早的代码,偶尔碰见了打开看看,运行结果如下: import argparse import time from pathlib import Path import cv2 import torch import torch.backends.cudnn a 阅读全文
posted @ 2021-05-04 11:10 西北逍遥 阅读(1167) 评论(0) 推荐(0)
摘要: QTreeWidget双击事件 #include <QtWidgets/QWidget> public slots: void OnlineTreeViewDoubleClick(QTreeWidgetItem*,int); private: QTreeWidget* treeWidget_set; 阅读全文
posted @ 2021-05-03 16:45 西北逍遥 阅读(2454) 评论(0) 推荐(0)
摘要: Qt QPainter QBrush 填充区域 QBrush brush; brush.setColor(Qt::red);//设置颜色 brush.setStyle(Qt::SolidPattern); painter.setBrush(brush); painter.drawRect(rect3 阅读全文
posted @ 2021-05-02 20:41 西北逍遥 阅读(1644) 评论(0) 推荐(0)
摘要: Qt QWidget保存为图片 QPixmap pixmap = QPixmap::grabWidget(this); pixmap.save("D://1.jpg","JPG"); ################################### 阅读全文
posted @ 2021-05-01 21:48 西北逍遥 阅读(957) 评论(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 西北逍遥 阅读(765) 评论(0) 推荐(0)
上一页 1 ··· 43 44 45 46 47 48 49 50 51 ··· 96 下一页