随笔分类 -  Qt

上一页 1 2 3 4 5 6 7 ··· 14 下一页
摘要:QJsonObject #include <QJsonObject> Public Types class const_iterator class iterator typedef ConstIterator typedef Iterator typedef key_type typedef ma 阅读全文
posted @ 2023-07-13 19:59 西北逍遥 阅读(293) 评论(0) 推荐(0)
摘要:QJSEngine #include <QJSEngine> Public Types enum Extension { TranslationExtension, ConsoleExtension, GarbageCollectionExtension, AllExtensions } flags 阅读全文
posted @ 2023-07-11 18:41 西北逍遥 阅读(167) 评论(0) 推荐(0)
摘要:QLibrary #include <QLibrary> Public Types enum LoadHint { ResolveAllSymbolsHint, ExportExternalSymbolsHint, LoadArchiveMemberHint, PreventUnloadHint, 阅读全文
posted @ 2023-07-03 21:51 西北逍遥 阅读(310) 评论(0) 推荐(0)
摘要:QOAuth1 #include <QOAuth1> Public Functions QOAuth1(QObject *parent = nullptr) QOAuth1(QNetworkAccessManager *manager, QObject *parent = nullptr) QOAu 阅读全文
posted @ 2023-07-02 19:30 西北逍遥 阅读(32) 评论(0) 推荐(0)
摘要:QUuid #include <QUuid> Public Types enum StringFormat { WithBraces, WithoutBraces, Id128 } enum Variant { VarUnknown, NCS, DCE, Microsoft, Reserved } 阅读全文
posted @ 2023-06-30 21:35 西北逍遥 阅读(332) 评论(0) 推荐(0)
摘要:QVideoFrame #include <QVideoFrame> Public Types enum FieldType { ProgressiveFrame, TopField, BottomField, InterlacedFrame } enum PixelFormat { Format_ 阅读全文
posted @ 2023-06-29 20:55 西北逍遥 阅读(782) 评论(0) 推荐(0)
摘要:QVoice #include <QVoice> Public Types enum Age { Child, Teenager, Adult, Senior, Other } enum Gender { Male, Female, Unknown } Public Functions QVoice 阅读全文
posted @ 2023-06-28 20:32 西北逍遥 阅读(62) 评论(0) 推荐(0)
摘要:QVulkanWindow #include <QVulkanWindow> Public Functions QVulkanWindow(QWindow *parent = nullptr) virtual ~QVulkanWindow() int availablePhysicalDevices 阅读全文
posted @ 2023-06-27 21:32 西北逍遥 阅读(211) 评论(0) 推荐(0)
摘要:QDateTime #include <QDateTime> Public Functions QDateTime() QDateTime(const QDate &date) QDateTime(const QDate &date, const QTime &time, Qt::TimeSpec  阅读全文
posted @ 2023-06-22 19:46 西北逍遥 阅读(420) 评论(0) 推荐(0)
摘要:QCamera #include <QCamera> Public Types class FrameRateRange enum CaptureMode { CaptureViewfinder, CaptureStillImage, CaptureVideo } flags CaptureMode 阅读全文
posted @ 2023-06-21 20:10 西北逍遥 阅读(63) 评论(0) 推荐(0)
摘要:QException #include <QException> Public Functions virtual ~QException() virtual QException * clone() const virtual void raise() const Detailed Descrip 阅读全文
posted @ 2023-06-20 19:47 西北逍遥 阅读(460) 评论(0) 推荐(0)
摘要:QGLWidget #include <QGLWidget> Public Functions QGLWidget(QWidget *parent = nullptr, const QGLWidget *shareWidget = nullptr, Qt::WindowFlags f = ...) 阅读全文
posted @ 2023-06-19 20:27 西北逍遥 阅读(85) 评论(0) 推荐(0)
摘要:QGeoPolygon #include <QGeoPolygon> Public Functions QGeoPolygon() QGeoPolygon(const QList<QGeoCoordinate> &path) QGeoPolygon(const QGeoPolygon &other) 阅读全文
posted @ 2023-06-18 20:03 西北逍遥 阅读(43) 评论(0) 推荐(0)
摘要:widget->setStyleSheet("background-color: rgba(255,255,255,0.3);"); #################### 阅读全文
posted @ 2023-06-03 18:52 西北逍遥 阅读(78) 评论(0) 推荐(0)
摘要:PyQt 中访问 HTTP 接口并传递数据,您可以使用 PyQt 的 QTcpServer 类和 QTcpSocket 类。以下是一个简单的示例代码,演示如何使用 QTcpServer 类和 QTcpSocket 类来访问 HTTP 接口并传递数据: import sys from PyQt5.Qt 阅读全文
posted @ 2023-05-08 07:29 西北逍遥 阅读(555) 评论(0) 推荐(0)
摘要:Qt执行ping命令 #include <QCoreApplication> #include <QDebug> #include <QProcess> int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); QStrin 阅读全文
posted @ 2023-04-30 19:42 西北逍遥 阅读(683) 评论(0) 推荐(0)
摘要:#include <QtWidgets/QApplication> #include <QtWidgets/QGraphicsScene> #include <QtWidgets/QGraphicsView> #include <QtCore/QPointF> #include <QtCore/QD 阅读全文
posted @ 2023-04-26 19:30 西北逍遥 阅读(22) 评论(0) 推荐(0)
摘要:QHBoxLayout清空子控件 layout = QHBoxLayout() widget1 = QLabel("Widget 1") widget2 = QLabel("Widget 2") widget3 = QLabel("Widget 3") layout.addWidget(widget 阅读全文
posted @ 2023-04-05 22:50 西北逍遥 阅读(517) 评论(0) 推荐(0)
摘要:QLabel 显示opencv Mat import cv2 from PyQt5.QtGui import QImage, QPixmap from PyQt5.QtWidgets import QLabel label = QLabel() # Load the image using Open 阅读全文
posted @ 2023-04-03 13:02 西北逍遥 阅读(124) 评论(0) 推荐(0)
摘要:QDateTime计算时间差 from PyQt5.QtCore import QDateTime # Create two QDateTime objects dt1 = QDateTime.currentDateTime() dt2 = QDateTime(2022, 1, 1, 0, 0) # 阅读全文
posted @ 2023-04-02 17:55 西北逍遥 阅读(293) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 ··· 14 下一页