Pyqt4 Model View - Adding Slider , CheckBox Line Edit in Table model
I am working on a ui as shown in the image below. In the First columns i have a Check Box, Second columns i have a Slider, Third just text the slider value applied to a function. the result will be shown in the third column. I am not not able to see the slider not the checkbox Output is shown in the image Code: from PyQt4 import QtGui, QtCore, uic import sys from PyQt4.QtCore import * from PyQt4.QtGui import * class PaletteTableModel(QtCore.QAbstractTableModel): def __init__(self, colors = [[]], parent = None): QtCore.QAbstractTableModel.__init__(self, parent) self.__colors = colors def