27 void setModel(QAbstractItemModel* model)
override;
33 void setSelectedIndex(
const QModelIndex& index);
35 QModelIndexList selectedIndexes()
const override;
36 QModelIndex selectedIndex()
const;
38 bool hasProxy()
const;
41 void selectionChanged() W_SIGNAL(selectionChanged, ());
42 void created(QModelIndex parent,
int start,
int end)
43 W_SIGNAL(created, parent, start, end);
46 void selectionChanged(
47 const QItemSelection& selected,
const QItemSelection& deselected)
override;
48 W_SLOT(selectionChanged, (
const QItemSelection&,
const QItemSelection&));
50 void headerMenuRequested(
const QPoint& pos);
51 W_SLOT(headerMenuRequested);
52 void columnVisibilityChanged(
bool shown);
53 W_SLOT(columnVisibilityChanged);
56 void keyPressEvent(QKeyEvent*)
override;
58 QModelIndexList selectedDraggableIndexes()
const;
59 void startDrag(Qt::DropActions supportedActions)
override;
60 void rowsInserted(
const QModelIndex& parent,
int start,
int end)
override;
62 void restoreSettings();
63 void setInitialColumnsSizes();
67 QList<QAction*> m_actions;
73 void paintEvent(QPaintEvent* event)
override;