#include <berryQtItemSelection.h>
Definition at line 25 of file berryQtItemSelection.h.
◆ QtItemSelection() [1/2]
berry::QtItemSelection::QtItemSelection |
( |
| ) |
|
◆ QtItemSelection() [2/2]
berry::QtItemSelection::QtItemSelection |
( |
const QItemSelection & |
sel | ) |
|
◆ Begin()
iterator berry::QtItemSelection::Begin |
( |
| ) |
const |
|
overridevirtual |
Returns an iterator to the beginning of the elements of this selection.
- Returns
- an iterator over the selected elements
Implements berry::IStructuredSelection.
◆ berryObjectMacro()
◆ End()
iterator berry::QtItemSelection::End |
( |
| ) |
const |
|
overridevirtual |
Returns an iterator to the end of the elements of this selection.
- Returns
- an iterator over the selected elements
Implements berry::IStructuredSelection.
◆ GetFirstElement()
Returns the first element in this selection, or null
if the selection is empty.
- Returns
- an element, or
null
if none
Implements berry::IStructuredSelection.
◆ GetQItemSelection()
QItemSelection berry::QtItemSelection::GetQItemSelection |
( |
| ) |
const |
◆ IsEmpty()
bool berry::QtItemSelection::IsEmpty |
( |
| ) |
const |
|
overridevirtual |
Returns whether this selection is empty.
- Returns
true
if this selection is empty, and false
otherwise
Implements berry::ISelection.
◆ operator==()
bool berry::QtItemSelection::operator== |
( |
const Object * |
| ) |
const |
|
overridevirtual |
A generic comparison method. Override this method in subclasses and cast to your derived class to provide a more detailed comparison.
Reimplemented from berry::Object.
◆ Size()
int berry::QtItemSelection::Size |
( |
| ) |
const |
|
overridevirtual |
Returns the number of elements selected in this selection.
- Returns
- the number of elements selected
Implements berry::IStructuredSelection.
◆ ToVector()
The documentation for this class was generated from the following file: