zoukankan      html  css  js  c++  java
  • QT5:类总结

    一.QObject 类

    QObject::d_ptr
    
    QObject::staticMetaObject
    
    QObject::staticQtMetaObject
    QObject::tr()
    
    QObject::event()
    
    QObject::parent()
    
    QObject::thread()
    
    QObject::connect()
    
    QObject::children()
    
    QObject::inherits()
    
    QObject::property()
    
    QObject::userData()
    
    QObject::findChild()
    
    QObject::killTime()
    
    QObject::setParent()
    
    QObject::disconnect()
    
    QObject::objectName()
    
    QObject::startTimer()
    
    QObject::deleteLater()
    
    QObject::eventFilter()
    
    QObject::setProperty()
    
    QObject::setUserData()
    
    QObject::blockSignals()
    
    QObject::findChildren()
    
    QObject::isWidgetType
    
    QObject::moveToThread()
    
    QObject::setObjectName()
    
    QObject::dumpObjectInfo()
    
    QObject::dumpObjectTree()
    
    QObject::signalsBlocked()
    
    QObject::registerUserData()
    
    QObject::removeEventFilter()
    
    QObject::installEventFilter()
    
    QObject::dynamicPropertyNames()
    
    QObject::metaObject()
    
    QObject::d_func()
    
    QObject::sender()
    
    QObject::trUtf8()
    
    QObject::destoryed()
    
    QObject::receivers()
    
    QObject::childEvent()
    
    QObject::timerEvent()
    
    QObject::connectImpl()
    
    QObject::customEvent()
    
    QObject::qt_metacall()
    
    QObject::qt_metacast()
    
    QObject::connectNotify()
    
    QObject::disconnectImpl()
    
    QObject::disconnectNotify()
    
    QObject::isSignalConnected()
    
    QObject::objectNameChanged()
    
    QObject::senderSignalIndex()
    
    QObject::~QObject()
    
    QObject::qt_static_metacall()
    
    QObject::operator = ()

    二.QLabel 类

    QLabel 类继承于 QFrame 类
    QLabel::move()
    
    QLabel::setText()

    三.QFrame 类

    QFrame 类继承于 QWidget 类

    四.QAction 类

    QAction可以添加到菜单栏 工具栏 状态栏上

    五.QPaintDevice 类

    QPaintDevice::painters
    
    QPaintDevice::reserved
    
     
    
    PdmDpiX
    
    PdmDpiY
    
    ...
    QPaintDevice::depth()
    
    QPaintDevice::width()
    
    QPaintDevice::height()
    
    QPaintDevice::devType()
    
    QPaintDevice::widthMM()
    
    QPaintDevice::heightMM()
    
    QPaintDevice::colorCount()
    
    QPaintDevice::logicalDpiX()
    
    QPaintDevice::logicalDpiY()
    
    QPaintDevice::physicalDpiX()
    
    QPaintDevice::physicalDpiY()
    
    QPaintDevice::paintingActive()
    
    QPaintDevice::devicePixelRatio()
    
    QPaintDevice::devicePixeRatioF()
    
    QPaintDevice::devicePixelRatioFScale()
    
    QPaintDevice::metric()
    
    QPaintDevice::redirected()
    
    QPaintDevice::initPainter()
    
    QPaintDevice::sharedPainter()
    
    QPaintDevice::~QPaintDevice()
    
    QPaintDevice::operator = ()

    六.QMessageBox 类 

    #include <QMessageBox>
    
    QMessageBox::warning(this, tr("警告"), tr("用户名和密码错误!"), QMessageBox::Yes);

    七.QApplication QGuiApplication QCoreApplication 类

    QCoreApplication是针对控制台的(基类)
    
    QGuiApplication有简单的界面,没有widget模块(基类+GUI)
    
    QApplication是针对Widget的(基类+GUI+Widget)
  • 相关阅读:
    更新安装xcode7插件
    提交自己的插件包(package)
    数组包含字典-根据key排序
    primeng 中 pickList组件的使用
    tomcat的启动和部署
    css中如何把鼠标变成手
    angular2新建组件
    Angular2的笔记
    idea 创建springboot工程
    jfinal excel表导出
  • 原文地址:https://www.cnblogs.com/k5bg/p/15588906.html
Copyright © 2011-2022 走看看