54 this->
SetSelection(selection, QItemSelectionModel::ClearAndSelect);
58 QItemSelectionModel::SelectionFlags flags)
73 return QItemSelection();
98 this->connect(
qSelectionModel, SIGNAL(selectionChanged(
const QItemSelection&,
const QItemSelection&)),
this, SLOT(
FireSelectionChanged(
const QItemSelection&,
const QItemSelection&)));
berry::SmartPointer< const Self > ConstPointer
QItemSelectionModel * qSelectionModel
QItemSelection GetQItemSelection() const
ISelection::ConstPointer GetSelection() const override
void AddSelectionChangedListener(ISelectionChangedListener *listener) override
void SetItemSelectionModel(QItemSelectionModel *combo)
void RemoveListener(ISelectionChangedListener *listener)
ISelectionChangedListener::Events selectionEvents
void SetSelection(const ISelection::ConstPointer &selection) override
void SetQItemSelection(const QItemSelection &selection)
virtual void FireSelectionChanged(const QItemSelection &selected, const QItemSelection &deselected)
QItemSelectionModel * GetItemSelectionModel() const
void AddListener(ISelectionChangedListener *listener)
SmartPointer< Other > Cast() const
void RemoveSelectionChangedListener(ISelectionChangedListener *listener) override
Message1< const SelectionChangedEvent::Pointer & > selectionChanged