# Path: pandasqt/compat.py



from pandasqt.compat import Qt, QtCore, QtGui, Slot, Signal
from pandasqt.models.SupportedDtypes import SupportedDtypes
import pandas
import numpy as np
# -*- coding: utf-8 -*-
"""Easy integration of DataFrame into pyqt framework

@author: Matthias Ludwig - Datalyze Solutions
"""





DTYPE_ROLE = Qt.UserRole + 1
DTYPE_CHANGE_ROLE = Qt.UserRole + 3

class ColumnDtypeModel(QtCore.QAbstractTableModel):
    """data model returning datatypes per column

    Attributes:
        dtypeChanged (Signal(columnName)): emitted after a column has changed it's data type.
        changeFailed (Signal('QString')): emitted if a column
            datatype could not be changed. An errormessage is provided.
    """

# Path: pandasqt/compat.py



# Path: pandasqt/models/ColumnDtypeModel.py
from pandasqt.compat import Qt, QtCore, QtGui, Slot, Signal
from pandasqt.models.SupportedDtypes import SupportedDtypes
import pandas
import numpy as np

# -*- coding: utf-8 -*-
"""Easy integration of DataFrame into pyqt framework

@author: Matthias Ludwig - Datalyze Solutions
"""





DTYPE_ROLE = Qt.UserRole + 1
DTYPE_CHANGE_ROLE = Qt.UserRole + 3

class ColumnDtypeModel(QtCore.QAbstractTableModel):
    """data model returning datatypes per column

    Attributes:
        dtypeChanged (Signal(columnName)): emitted after a column has changed it's data type.
        changeFailed (Signal('QString')): emitted if a column
            datatype could not be changed. An errormessage is provided.
    """

    dtypeChanged = Signal(int, object)