Un modèle de table pour des séries de clés USB. Plus de détails...
Fonctions membres publiques | |
def | __init__ |
def | rowCount |
un QModelIndex | |
def | columnCount |
un QModelIndex | |
def | setData |
def | data |
def | headerData |
def | sort |
Sort table by given column number. | |
Attributs publics | |
header | |
donnees | |
checkable | |
pere |
Un modèle de table pour des séries de clés USB.
Définition à la ligne 399 du fichier mainWindow.py.
def mainWindow.usbTableModel.__init__ | ( | self, | ||
parent = None , |
||||
header = [] , |
||||
donnees = None , |
||||
checkable = False | ||||
) |
parent | un QObject | |
header | les en-têtes de colonnes | |
donnees | les données | |
checkable | vrai si la première colonne est composée de boîtes à cocher. Faux par défaut |
Définition à la ligne 408 du fichier mainWindow.py.
def mainWindow.usbTableModel.columnCount | ( | self, | ||
parent | ||||
) |
un QModelIndex
Définition à la ligne 426 du fichier mainWindow.py.
def mainWindow.usbTableModel.data | ( | self, | ||
index, | ||||
role | ||||
) |
Définition à la ligne 436 du fichier mainWindow.py.
def mainWindow.usbTableModel.headerData | ( | self, | ||
section, | ||||
orientation, | ||||
role | ||||
) |
Définition à la ligne 465 du fichier mainWindow.py.
def mainWindow.usbTableModel.rowCount | ( | self, | ||
parent | ||||
) |
un QModelIndex
Définition à la ligne 419 du fichier mainWindow.py.
def mainWindow.usbTableModel.setData | ( | self, | ||
index, | ||||
value, | ||||
role | ||||
) |
Définition à la ligne 429 du fichier mainWindow.py.
def mainWindow.usbTableModel.sort | ( | self, | ||
Ncol, | ||||
order = Qt.DescendingOrder | ||||
) |
Sort table by given column number.
Ncol | numéro de la colonne de tri | |
order | l'odre de tri, Qt.DescendingOrder par défaut |
Définition à la ligne 477 du fichier mainWindow.py.
Définition à la ligne 412 du fichier mainWindow.py.
Définition à la ligne 411 du fichier mainWindow.py.
Définition à la ligne 410 du fichier mainWindow.py.
Définition à la ligne 413 du fichier mainWindow.py.