def inspect_DataMatrix(value): qdm = QDataMatrix(value, read_only=True) qdm.setFont(QFont(cfg.pyqode_font_name, cfg.pyqode_font_size)) return qdm