随笔分类 - Qt
摘要:void MainWindow::paintEvent(QPaintEvent *event){ QMainWindow::paintEvent(event); QPainter painter(this); QPen pen(Qt::blue,8); pen.setCapStyle(Qt::Rou
阅读全文
摘要:char *request_buf="485454502f312e3120323030204f4b0d0a4163636570742d52616e6765733a2062797465730d0a43616368652d436f6e74726f6c3a206e6f2d63616368650d0a436
阅读全文
摘要:ui->pushButton->setStyleSheet(R"(QPushButton{background-color:transparent;})"); ui->pushButton->setStyleSheet(R"(QPushButton{background:red;})");
阅读全文
摘要:class QRollLabel:public QLabel { Q_OBJECT public: QRollLabel(QWidget *parent=nullptr):QLabel(parent){ mRollingText="我不是萧海哇111111111111111111111111111"
阅读全文
摘要:#include "mainwindow.h" #include <QApplication> #include<QMessageBox> #include<QAbstractButton> #include"lvglfontwidget.h" #include<QFile> int main(in
阅读全文
摘要:#ifndef APPINIT_H #define APPINIT_H #include <QApplication> #include <QMouseEvent> #include <QMoveEvent> #include <QMutex> #include <QObject> #include
阅读全文
摘要:class QRollLabel:public QLabel { Q_OBJECT public: QRollLabel(QWidget *parent=nullptr):QLabel(parent){ mRollingText="我不是萧海哇111111111111111111111111111"
阅读全文
摘要:问题,vtable for 编译类型报错: 原因是因为你定义的类接口声明和定义都在.cpp当中 解决办法: 放到头文件当中即可
阅读全文
摘要:Qt5.14.2+mingw64编译OpenCV3.4.14一次成功记录 上一文中编译opencv4.5成功了,但是使用过程中没有成功,网上很多的代码没法跑起来,所以才有了此文来编译一个低版本的opencv3的过程记录,全程截图。 一、软件安装 1.1 Python3.8版本安装路径:C:\User
阅读全文
该文被密码保护。
该文被密码保护。

浙公网安备 33010602011771号