• QT类的继承结构


    QT类的继承结构

    QT的类

         core

                数据集合

                          QString

                

                几何类

                                                     QPoint

                                                     QSize

                                                     QRectangle

                                       系统类

                                                     QColor 

                                                     QFont

                                                     QImage

                                                     QIcon

                                                     QCursor

                                                     QBitmap

                                                     ...   

         

           gui

                                              窗体类

                                                            |-框架窗体     QMainWindow(SDI/MDI)[菜单/工具条/状态条/带文档与视图]

                                                            |-对话框窗体QDialog[模式对话框/非模式]

                                              组件

                                                            显示组件

                                                            输入组件

                                                            按钮

                                                            容器

                                                            菜单

                                                            布局组件

                                                            高级数据组件

                                                                   表格/树型

                          窗体类的结构                                                                       

                         QObject                       QPaintDevice

                           |------|-------|

                                QWidget

                                  |

                          |--------------------|------------------|------------------------------------|

                         QMainWindow                                   QDialog            控件

                   QObject:

                               非静态

                         connect

                         disconnect

                         静态

                         connect

                         disconnect

                         tr

                         维护子对象的关系

                         定时器事件

                        

                         析构器中发出信号:

                                       destroy.

                        

           QPaintDevice(所有可视化控件都是绘制设备)

                         可视化组件高度height() width();

                         屏幕分辨率等相关信息

           QWidget

                         常规属性                           

                                       几何属性:

                                       图标

                                       光标

                                       标题

                  基本事件(绘制/鼠标事件/键盘事件)                                         

  • 相关阅读:
    mysql生成随机时间
    使用JEECG心得
    嵌入式linux------ffmpeg移植 解码H264(am335x解码H264到yuv420并通过SDL显示)
    svn 的使用(二)
    Java的几个有用小Util函数(日期处理和http)
    设置UITableViewCell高度的问题
    初探排序学习笔记
    从串口设置、读取、并分析um220模块的数据
    NYOJ-47 过河问题
    Lock_sga 和 pre_page_sga 参数详解
  • 原文地址:https://www.cnblogs.com/james1207/p/3331436.html
Copyright © 2020-2023  润新知