« Grands principes » : différence entre les versions

De wiki_pcwiki2
Aller à la navigationAller à la recherche
Page créée avec « Dans '''Qt''', tout hérite de '''QObject''': Qobject +----------------------------------+-------------------------+ |... »
 
Aucun résumé des modifications
 
Ligne 1 : Ligne 1 :
Dans '''Qt''', tout hérite de '''QObject''':
Dans '''Qt''', tout hérite de '''QObject''':
 
                                      Qobject
                                      Qobject
       +----------------------------------+-------------------------+
       +----------------------------------+-------------------------+
       |                                  |                        |
       |                                  |                        |
QCoreApplication                      QWidget                    QLayout
QCoreApplication                      QWidget                    QLayout
       |                                  |                        |
       |                                  |                        |
   QApplication                          |                      QBoxLayout
   QApplication                          |                      QBoxLayout
Ligne 10 : Ligne 10 :
       +----------------+-----------------+-----------+        QHBoxLayout
       +----------------+-----------------+-----------+        QHBoxLayout
       |                |                |          |
       |                |                |          |
QAbstractButton  QAbstractSpinbox QAbstractSlider  QFrame
QAbstractButton  QAbstractSpinbox QAbstractSlider  QFrame
       |                |                |          |
       |                |                |          |
  QPushButton        QSpinBox          QSlider    QLabel
  QPushButton        QSpinBox          QSlider    QLabel

Dernière version du 24 janvier 2019 à 16:47

Dans Qt, tout hérite de QObject:

                                      Qobject
     +----------------------------------+-------------------------+
     |                                  |                         |
QCoreApplication                      QWidget                    QLayout
     |                                  |                         |
 QApplication                           |                      QBoxLayout
                                        |                         |
     +----------------+-----------------+-----------+         QHBoxLayout
     |                |                 |           |
QAbstractButton  QAbstractSpinbox QAbstractSlider  QFrame
     |                |                 |           |
QPushButton        QSpinBox           QSlider     QLabel