• 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

                         常规属性                           

                                       几何属性:

                                       图标

                                       光标

                                       标题

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

  • 相关阅读:
    冲销收货
    收货MIGO
    删除PO
    创建po
    File的功能--> 获取功能-->所有的根目录 | 创建文件功能,但是如果文件已经存在-->不再创建(新手)
    在d盘创建文件夹,里面有aaa.txt/bbb.txt/ccc.txt,然后遍历出aaa文件夹下的文件(新手)
    创建一个唱歌类集合,创建一个电影类集合,让其归类打印(新手)
    抛出异常(新手)
    Map-->HashMap练习(新手)
    JAVA-迭代器增强型for循环。(新手)
  • 原文地址:https://www.cnblogs.com/james1207/p/3331436.html
Copyright © 2020-2023  润新知