CardGrid Class

CardGrid implements card view widget. It can be added into any Qt form as a common QWidget. More...

Header: #include <CardGrid>
Inherits: GridBase

Public Types

enum GridViewType { UndefinedView, CardView, CardViewVertical }

Public Functions

void setViewType(CardGrid::GridViewType type)
CardGrid::GridViewType viewType() const

Detailed Description

Member Type Documentation

enum CardGrid::GridViewType

The enumerator describes types of views that are supported by the card grid.

ConstantValueDescription
CardGrid::UndefinedView0view is not defined.
CardGrid::CardView1Special type of view that allows each row of the table to be presented in the form of card.
CardGrid::CardViewVertical2Implements the behaviour of CardView. The rows are arranged vertically.

Member Function Documentation

void CardGrid::setViewType(CardGrid::GridViewType type)

Sets the view type for the current CardGrid.

Note: Setter function for property viewType.

See also viewType() and view().

CardGrid::GridViewType CardGrid::viewType() const

Returns the view type for the CardGrid.

Note: Getter function for property viewType.

See also setViewType().