Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-1110

Embrace Python types and modules in PySide

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • 6.2.9
    • None
    • PySide
    • None
    • Adopt Python types in Pyside

      Create tutorials or specialized API to interact with common Python types:

      • Numpy The project has support already for NumPy arrays, so one could generate a QMatrix from a 2D-numpy array, for example:
        num_mat = numpy.eye(4)                                                                         
        num_mat.shape = 16                                                                          
        unit = QtGui.QMatrix4x4(num_mat)                                                            
        assert unit == QtGui.QMatrix4x4()
        

      There are currently more ideas to provide support for other types from different modules, but that will be followed up on a different EPIC.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            crmaurei Cristian Maureira-Fredes
            ablasche Alex Blasche
            Maurice Kalinowski Maurice Kalinowski
            Alex Blasche Alex Blasche
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes