3 #include <QAbstractItemModel>
15 class DeviceExplorerFilterProxyModel;
16 class DeviceExplorerModel;
25 void setModel(QAbstractItemModel* model)
override;
31 void setSelectedIndex(
const QModelIndex& index);
33 QModelIndexList selectedIndexes()
const override;
34 QModelIndex selectedIndex()
const;
36 bool hasProxy()
const;
39 void selectionChanged() W_SIGNAL(selectionChanged, ());
40 void created(QModelIndex parent,
int start,
int end)
41 W_SIGNAL(created, parent, start, end);
44 void selectionChanged(
45 const QItemSelection& selected,
const QItemSelection& deselected)
override;
46 W_SLOT(selectionChanged, (
const QItemSelection&,
const QItemSelection&));
48 void headerMenuRequested(
const QPoint& pos);
49 W_SLOT(headerMenuRequested);
50 void columnVisibilityChanged(
bool shown);
51 W_SLOT(columnVisibilityChanged);
54 void keyPressEvent(QKeyEvent*)
override;
56 QModelIndexList selectedDraggableIndexes()
const;
57 void startDrag(Qt::DropActions supportedActions)
override;
58 void rowsInserted(
const QModelIndex& parent,
int start,
int end)
override;
60 void restoreSettings();
61 void setInitialColumnsSizes();
65 QList<QAction*> m_actions;
71 void paintEvent(QPaintEvent* event)
override;
Definition: DeviceExplorerFilterProxyModel.hpp:13
Definition: DeviceExplorerModel.hpp:67
Definition: DeviceExplorerView.hpp:18