Inherits from QskScrollView
Inherited by QskSimpleListBox
| Name | |
|---|---|
| enum | SelectionMode { NoSelection, SingleSelection, MultiSelection} |
| Name | |
|---|---|
| void | setSelectedRow(int row) |
| Name | |
|---|---|
| void | selectedRowChanged(int row) |
| void | selectionModeChanged() |
| void | alternatingRowColorsChanged() |
| void | preferredWidthFromColumnsChanged() |
| void | textOptionsChanged() |
| Name | |
|---|---|
| QskListView(QQuickItem * parent =nullptr) | |
| ~QskListView() override | |
| void | setPreferredWidthFromColumns(bool on) |
| bool | preferredWidthFromColumns() const |
| void | setAlternatingRowColors(bool on) |
| bool | alternatingRowColors() const |
| void | setSelectionMode(SelectionMode mode) |
| SelectionMode | selectionMode() const |
| void | setTextOptions(const QskTextOptions & textOptions) |
| QskTextOptions | textOptions() const |
| Q_INVOKABLE int | selectedRow() const |
| virtual int | rowCount() const =0 |
| virtual int | columnCount() const =0 |
| virtual qreal | columnWidth(int col) const =0 |
| virtual qreal | rowHeight() const =0 |
| virtual Q_INVOKABLE QVariant | valueAt(int row, int col) const =0 |
| virtual QskColorFilter | graphicFilterAt(int row, int col) const |
| virtual QskAspect::Subcontrol | textSubControlAt(int row, int col) const |
| Name | |
|---|---|
| void | keyPressEvent(QKeyEvent * event) override |
| void | keyReleaseEvent(QKeyEvent * event) override |
| void | mousePressEvent(QMouseEvent * event) override |
| void | mouseReleaseEvent(QMouseEvent * event) override |
| void | updateScrollableSize() |
| void | componentComplete() override |
| Name | |
|---|---|
| bool | alternatingRowColors |
| SelectionMode | selectionMode |
| int | selectedRow |
| QskTextOptions | textOptions |
| bool | preferredWidthFromColumns |
| Name | |
|---|---|
| const QskAspect::Subcontrol | Cell |
| const QskAspect::Subcontrol | Text |
| const QskAspect::Subcontrol | CellSelected |
| const QskAspect::Subcontrol | TextSelected |
| Enumerator | Value | Description |
|---|---|---|
| NoSelection | ||
| SingleSelection | ||
| MultiSelection |
void setSelectedRow(
int row
)
void selectedRowChanged(
int row
)
void selectionModeChanged()
void alternatingRowColorsChanged()
void preferredWidthFromColumnsChanged()
void textOptionsChanged()
QskListView(
QQuickItem * parent =nullptr
)
~QskListView() override
void setPreferredWidthFromColumns(
bool on
)
bool preferredWidthFromColumns() const
void setAlternatingRowColors(
bool on
)
bool alternatingRowColors() const
void setSelectionMode(
SelectionMode mode
)
SelectionMode selectionMode() const
void setTextOptions(
const QskTextOptions & textOptions
)
QskTextOptions textOptions() const
Q_INVOKABLE int selectedRow() const
virtual int rowCount() const =0
virtual int columnCount() const =0
virtual qreal columnWidth(
int col
) const =0
virtual qreal rowHeight() const =0
virtual Q_INVOKABLE QVariant valueAt(
int row,
int col
) const =0
virtual QskColorFilter graphicFilterAt(
int row,
int col
) const
virtual QskAspect::Subcontrol textSubControlAt(
int row,
int col
) const
void keyPressEvent(
QKeyEvent * event
) override
void keyReleaseEvent(
QKeyEvent * event
) override
void mousePressEvent(
QMouseEvent * event
) override
void mouseReleaseEvent(
QMouseEvent * event
) override
void updateScrollableSize()
void componentComplete() override
bool alternatingRowColors;
SelectionMode selectionMode;
int selectedRow;
QskTextOptions textOptions;
bool preferredWidthFromColumns;
static const QskAspect::Subcontrol Cell;
static const QskAspect::Subcontrol Text;
static const QskAspect::Subcontrol CellSelected;
static const QskAspect::Subcontrol TextSelected;
Updated on 28 July 2023 at 14:02:28 CEST