随笔分类 -  Qt

1 2 3 4 5 ··· 40 下一页
摘要:void MainWindow::paintEvent(QPaintEvent *event){ QMainWindow::paintEvent(event); QPainter painter(this); QPen pen(Qt::blue,8); pen.setCapStyle(Qt::Rou 阅读全文
posted @ 2025-12-08 13:53 我不是萧海哇~~~ 阅读(28) 评论(0) 推荐(0)
摘要:char *request_buf="485454502f312e3120323030204f4b0d0a4163636570742d52616e6765733a2062797465730d0a43616368652d436f6e74726f6c3a206e6f2d63616368650d0a436 阅读全文
posted @ 2025-12-08 11:49 我不是萧海哇~~~ 阅读(17) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2025-12-05 17:12 我不是萧海哇~~~ 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2025-12-04 13:45 我不是萧海哇~~~ 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2025-11-28 09:34 我不是萧海哇~~~ 阅读(0) 评论(0) 推荐(0)
摘要:ui->pushButton->setStyleSheet(R"(QPushButton{background-color:transparent;})"); ui->pushButton->setStyleSheet(R"(QPushButton{background:red;})"); 阅读全文
posted @ 2025-11-19 18:30 我不是萧海哇~~~ 阅读(17) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2025-11-12 09:52 我不是萧海哇~~~ 阅读(0) 评论(0) 推荐(0)
摘要:class QRollLabel:public QLabel { Q_OBJECT public: QRollLabel(QWidget *parent=nullptr):QLabel(parent){ mRollingText="我不是萧海哇111111111111111111111111111" 阅读全文
posted @ 2025-09-08 21:53 我不是萧海哇~~~ 阅读(15) 评论(0) 推荐(0)
摘要:#include "mainwindow.h" #include <QApplication> #include<QMessageBox> #include<QAbstractButton> #include"lvglfontwidget.h" #include<QFile> int main(in 阅读全文
posted @ 2025-09-08 10:56 我不是萧海哇~~~ 阅读(8) 评论(0) 推荐(0)
摘要:#ifndef APPINIT_H #define APPINIT_H #include <QApplication> #include <QMouseEvent> #include <QMoveEvent> #include <QMutex> #include <QObject> #include 阅读全文
posted @ 2025-09-07 21:36 我不是萧海哇~~~ 阅读(21) 评论(0) 推荐(0)
摘要:class QRollLabel:public QLabel { Q_OBJECT public: QRollLabel(QWidget *parent=nullptr):QLabel(parent){ mRollingText="我不是萧海哇111111111111111111111111111" 阅读全文
posted @ 2025-09-07 17:08 我不是萧海哇~~~ 阅读(28) 评论(0) 推荐(0)
摘要:问题,vtable for 编译类型报错: 原因是因为你定义的类接口声明和定义都在.cpp当中 解决办法: 放到头文件当中即可 阅读全文
posted @ 2025-09-07 16:52 我不是萧海哇~~~ 阅读(9) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2025-08-22 15:15 我不是萧海哇~~~ 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2025-08-22 14:52 我不是萧海哇~~~ 阅读(0) 评论(0) 推荐(0)
摘要:Qt5.14.2+mingw64编译OpenCV3.4.14一次成功记录 上一文中编译opencv4.5成功了,但是使用过程中没有成功,网上很多的代码没法跑起来,所以才有了此文来编译一个低版本的opencv3的过程记录,全程截图。 一、软件安装 1.1 Python3.8版本安装路径:C:\User 阅读全文
posted @ 2025-04-02 15:02 我不是萧海哇~~~ 阅读(309) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2024-11-06 11:58 我不是萧海哇~~~ 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2024-08-23 09:56 我不是萧海哇~~~ 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2024-07-18 10:47 我不是萧海哇~~~ 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2024-06-18 13:54 我不是萧海哇~~~ 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2024-06-12 17:13 我不是萧海哇~~~ 阅读(0) 评论(0) 推荐(0)

1 2 3 4 5 ··· 40 下一页