21 #include <QTableWidget>
22 #include <QItemDelegate>
23 #include <QStringListModel>
24 #include <QAbstractTableModel>
26 #include <QStyledItemDelegate>
33 void paint(QPainter * painter,
const QStyleOptionViewItem & option,
const QModelIndex & index)
const;
43 void selectionChanged(
const QItemSelection & selected,
const QItemSelection & deselected);
59 int rowCount(
const QModelIndex & parent = QModelIndex() )
const;
60 int columnCount (
const QModelIndex & parent = QModelIndex() )
const;
61 bool setData(
const QModelIndex & index,
const QVariant & value,
int role = Qt::EditRole );
62 QVariant
data(
const QModelIndex &index,
int role)
const;
63 QVariant
headerData (
int section, Qt::Orientation orientation,
int role = Qt::DisplayRole )
const;
65 bool setCurrentItems(
const QStringList& dts,
const QStringList& its,
const QStringList& tts);