Classes | Enumerations

Model/view system

Classes that implement Wt's model/view system. More...

Classes

class  Wt::Ext::ComboBox
 A widget that provides a drop-down combo-box control. More...
class  Wt::WAbstractItemDelegate
 Abstract delegate class for rendering a view item. More...
class  Wt::WAbstractItemModel
 An abstract model for use with Wt's view classes. More...
class  Wt::WAbstractListModel
 An abstract list model for use with Wt's view classes. More...
class  Wt::WAbstractProxyModel
 An abstract proxy model for Wt's item models. More...
class  Wt::WAbstractTableModel
 An abstract table model for use with Wt's view classes. More...
class  Wt::WAggregateProxyModel
 A proxy model for Wt's item models that provides column aggregation. More...
class  Wt::WComboBox
 A widget that provides a drop-down combo-box control. More...
class  Wt::WItemDelegate
 Standard delegate class for rendering a view item. More...
class  Wt::WItemSelectionModel
 A class that represents a selection for a WAbstractItemView. More...
class  Wt::WModelIndex
 An index to a data item in a data model. More...
class  Wt::WSelectionBox
 A selection box allows selection from a list of options. More...
class  Wt::WSortFilterProxyModel
 A proxy model for Wt's item models that provides filtering and/or sorting. More...
class  Wt::WStandardItem
 An item in a WStandardItemModel. More...
class  Wt::WStandardItemModel
 A standard data model, which stores its data in memory. More...
class  Wt::WStringListModel
 An model that manages a list of strings. More...
class  Wt::WSuggestionPopup
 A widget which popups to assist in editing a textarea or lineedit. More...
class  Wt::WTreeView
 A view class that displays a model as a tree or tree table. More...

Enumerations

enum  Wt::MatchFlag {
  Wt::MatchExactly = 0x0, Wt::MatchStringExactly = 0x1, Wt::MatchStartsWith = 0x2, Wt::MatchEndsWith = 0x3,
  Wt::MatchRegExp = 0x4, Wt::MatchWildCard = 0x5, Wt::MatchCaseSensitive = 0x10, Wt::MatchWrap = 0x20
}
 

Flags that specify how to match two values.

More...
enum  Wt::HeaderFlag { Wt::ColumnIsCollapsed = 0x1, Wt::ColumnIsExpandedLeft = 0x2, Wt::ColumnIsExpandedRight = 0x4 }
 

Flags that indicate header options.

More...
enum  Wt::ItemDataRole {
  Wt::DisplayRole = 0, Wt::DecorationRole = 1, Wt::EditRole = 2, Wt::StyleClassRole = 3,
  Wt::CheckStateRole = 4, Wt::ToolTipRole = 5, Wt::InternalPathRole = 6, Wt::UrlRole = 7,
  Wt::LevelRole = 8, Wt::MarkerPenColorRole = 16, Wt::MarkerBrushColorRole = 17, Wt::UserRole = 32
}
 

Enumeration that indicates a role for a data item.

More...
enum  Wt::ItemFlag {
  Wt::ItemIsSelectable = 0x1, Wt::ItemIsEditable = 0x2, Wt::ItemIsUserCheckable = 0x4, Wt::ItemIsDragEnabled = 0x8,
  Wt::ItemIsDropEnabled = 0x10, Wt::ItemIsTristate = 0x20, Wt::ItemIsXHTMLText = 0x40
}
 

Flags that indicate data item options.

More...
enum  Wt::SortOrder { Wt::AscendingOrder, Wt::DescendingOrder }
 

Enumeration that indicates a sort order.

More...
enum  Wt::DropAction { Wt::CopyAction = 0x1, Wt::MoveAction = 0x2 }
 

Enumeration that indicates a drop action.

More...

Detailed Description

Classes that implement Wt's model/view system.


Enumeration Type Documentation

Enumeration that indicates a drop action.

See also:
WAbstractItemModel::dropEvent()
Enumerator:
CopyAction 

Copy the selection.

MoveAction 

Move the selection (deleting originals)

Flags that indicate header options.

See also:
WAbstractItemModel::headerFlags()
Enumerator:
ColumnIsCollapsed 

Flag that indicates that the column can be expanded.

See also:
WAbstractItemModel::expandColumn()
ColumnIsExpandedLeft 

Flag that indicates that the column was expanded to the left.

See also:
WAbstractItemModel::collapseColumn()
ColumnIsExpandedRight 

Flag that indicates that the column was expanded to the right.

See also:
WAbstractItemModel::collapseColumn()

Enumeration that indicates a role for a data item.

A single data item can have data associated with it corresponding to different roles. Each role may be used by the corresponding view class in a different way.

See also:
WModelIndex::data()
Enumerator:
DisplayRole 

Role for textual representation.

DecorationRole 

Role for the url of an icon.

EditRole 

Role for the edited value.

StyleClassRole 

Role for the style class.

CheckStateRole 

Role that indicates the check state. Is of type bool, unless the Wt::ItemIsTristate flag is set, then is of type Wt::CheckState.

ToolTipRole 

Role for a tooltip.

InternalPathRole 

Role for an internal path activated when clicked.

UrlRole 

Role for a url activated when clicked.

LevelRole 

Level in aggregation, for header data.

MarkerPenColorRole 

Marker pen color (for Chart::WCartesianChart)

MarkerBrushColorRole 

Marker brush color (for Chart::WCartesianChart)

UserRole 

First role reserved for user purposes.

Flags that indicate data item options.

See also:
WModelIndex::flags()
Enumerator:
ItemIsSelectable 

Item can be selected.

ItemIsEditable 

Item can be edited.

ItemIsUserCheckable 

Item can be checked.

ItemIsDragEnabled 

Item can be dragged.

ItemIsDropEnabled 

Item can be a drop target.

ItemIsTristate 

Item has tree states. When set, Wt::CheckStateRole data is of type Wt::CheckState

ItemIsXHTMLText 

Item's textual is HTML.

Flags that specify how to match two values.

Except when MatchExactly, the lexical matching is done (by comparing string representations of the value with the query). This is by default case insensitive, unless MatchCaseSensitive is OR'ed.

Enumerator:
MatchExactly 

Same type and value.

MatchStringExactly 

Lexical match.

MatchStartsWith 

Match start with query.

MatchEndsWith 

Match end with query.

MatchRegExp 

Regular expression match.

MatchWildCard 

Wildcard match.

MatchCaseSensitive 

Case sensitive.

MatchWrap 

Wrap around whole model.

Enumeration that indicates a sort order.

Enumerator:
AscendingOrder 

Ascending sort order.

DescendingOrder 

Descending sort order.


Generated on Sat Dec 4 2010 06:32:34 for Wt by doxygen 1.7.2