Source code for prettyqt.core.modelindex

# -*- coding: utf-8 -*-
"""
@author: Philipp Temminghoff
"""

from qtpy import QtCore


[docs]class ModelIndex(QtCore.QModelIndex): def __getitem__(self, flag): return self.data(flag)