Wt: Wt Namespace Reference

Wt 3.3.0

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Namespace List
- Namespace Members

Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
Wt Namespace Reference

The namespace for Wt. More...

## Namespaces
namespace | Auth
| Namespace for the Authentication module (Wt::Auth).
namespace | Chart
| Namespace for the Charts (Wt::Chart).
namespace | Dbo
| Namespace for the Database Objects (Wt::Dbo).
namespace | Ext
| Namespace for Ext widgets (Wt::Ext, deprecated).
namespace | Http
| Namespace for HTTP protocol (Wt::Http) handling.
namespace | Json
| Namespace for the JSON Library (Wt::Json).
namespace | Mail
| Namespace for the SMTP client library (Wt::Mail).
namespace | Payment
| Namespace for the Payment.
namespace | Render
| Namespace for the XHTML Rendering (Wt::Render).
namespace | Utils
| Namespace with utility functions.
## Classes
class | PopupWindow
| Internal class that provides a JavaScript popup window managing function. More...
class | WAbstractArea
| Abstract base class for interactive areas in a widget. More...
class | WAbstractItemDelegate
| Abstract delegate class for rendering an item in an item view. More...
class | WAbstractItemModel
| An abstract model for use with Wt's view classes. More...
class | WAbstractItemView
| An abstract base class for item Views. More...
class | WAbstractListModel
| An abstract list model for use with Wt's view classes. More...
class | WAbstractMedia
| Abstract baseclass for native media elements. More...
class | WAbstractProxyModel
| An abstract proxy model for Wt's item models. More...
class | WAbstractSpinBox
| An abstract spin box. More...
class | WAbstractTableModel
| An abstract table model for use with Wt's view classes. More...
class | WAbstractToggleButton
| An abstract base class for radio buttons and check boxes. More...
class | WAccordionLayout
| A layout manager which shows one item at a time. More...
class | WAggregateProxyModel
| A proxy model for Wt's item models that provides column aggregation. More...
class | WAnchor
| A widget that represents an HTML anchor (to link to other documents). More...
class | WAnimation
| A value class that defines a transition effect. More...
class | WApplication
| Represents an application instance for a single session. More...
class | WAudio
| A widget that plays audio. More...
class | WBatchEditProxyModel
| A proxy model for Wt's item models that provides batch editing. More...
struct | boost_any_traits
| A traits class for a type stored in a boost::any. More...
class | WBootstrapTheme
| Theme based on the Twitter Bootstrap CSS framework. More...
class | WBorder
| A value class that defines the CSS border style of a widget. More...
class | WBorderLayout
| A layout manager which divides the container region in five regions. More...
class | WBoxLayout
| A layout manager which arranges widgets horizontally or vertically. More...
class | WBreak
| A widget that provides a line break between inline widgets. More...
class | WBrush
| A value class that defines the style for filling a path. More...
class | WButtonGroup
| A class for grouping radio buttons logically together. More...
class | WCalendar
| A calendar. More...
class | WCanvasPaintDevice
| A paint device for rendering using the HTML 5 <canvas> element. More...
class | WCheckBox
| A user control that represents a check box. More...
class | WCircleArea
| A interactive area in a widget, specified by a circle. More...
class | WColor
| A value class that defines a color. More...
class | WCombinedLocalizedStrings
| A localized string resolver that bundles multiple string resolvers. More...
class | WComboBox
| A widget that provides a drop-down combo-box control. More...
class | WCompositeWidget
| A widget that hides the implementation of composite widgets. More...
class | WContainerWidget
| A widget that holds and manages child widgets. More...
class | WCssDecorationStyle
| A style class for a single widget or style sheet rule. More...
class | WCssRule
| Abstract rule in a CSS style sheet. More...
class | WCssTemplateRule
| A CSS rule based on a template widget. More...
class | WCssTextRule
| A CSS rule specified directly using CSS declarations. More...
class | WCssStyleSheet
| A CSS style sheet. More...
class | WCssTheme
class | InvalidDateException
| Exception thrown when calculating with an invalid date. More...
class | WDate
| A value class that represents a date on the Gregorian calendar. More...
class | WDateEdit
| A date edit. More...
class | WDatePicker
| A date picker. More...
class | InvalidDateTimeException
| Exception thrown when calculating with an invalid date. More...
class | WDateTime
| A calendar date and clock time. More...
class | WDateValidator
| A validator for date input. More...
class | WDefaultLayout
| A default layout manager. More...
class | WDefaultLoadingIndicator
| A default loading indicator. More...
class | WDialog
| A WDialog shows a dialog. More...
class | WDoubleSpinBox
| An input control for fixed point numbers. More...
class | WDoubleValidator
| A validator for validating floating point user input. More...
class | WEnvironment
| A class that captures information on the application environment. More...
struct | Coordinates
| A coordinate. More...
class | Touch
| A single finger touch of a touch event. More...
class | WEvent
| An application event. More...
class | WMouseEvent
| A class providing details for a mouse event. More...
class | WKeyEvent
| A class providing details for a keyboard event. More...
class | WDropEvent
| A class providing details for a drop event. More...
class | WScrollEvent
| A class providing details for a scroll event. More...
class | WTouchEvent
| A class providing details for a touch event. More...
class | WGestureEvent
| A class providing details for a gesture event. More...
class | WException
| Base class for exceptions thrown by Wt. More...
class | WFileResource
| A resource which streams the data from a local file. More...
class | WFileUpload
| A widget that allows a file to be uploaded. More...
class | WFitLayout
| A layout manager which spans a single widget to all available space. More...
class | WFlashObject
| A widget that renders a Flash object (also known as Flash movie). More...
class | WFont
| A value class that describes a font. More...
class | WFontMetrics
| A value class that describes font metrics for a font. More...
class | WFormModel
| A basic model class for forms. More...
class | WFormWidget
| An abstract widget that corresponds to an HTML form element. More...
class | WGenericMatrix
| A value class that describes a matrix. More...
class | WGLWidget
| WebGL support class. More...
class | WGoogleMap
| A widget that displays a google map. More...
class | WGridLayout
| A layout manager which arranges widgets in a grid. More...
class | WGroupBox
| A widget which group widgets into a frame with a title. More...
class | WHBoxLayout
| A layout manager which arranges widgets horizontally. More...
class | WIconPair
| A widget that shows one of two icons depending on its state. More...
class | WImage
| A widget that displays an image. More...
class | WInPlaceEdit
| A widget that provides in-place-editable text. More...
class | WInteractWidget
| An abstract widget that can receive user-interface interaction. More...
class | WIntValidator
| A validator that validates integer user input. More...
class | WIOService
| An I/O service. More...
class | WItemDelegate
| Standard delegate class for rendering a view item. More...
class | WItemSelectionModel
| A class that represents a selection for a WAbstractItemView. More...
class | JSignal
| A signal to relay JavaScript to C++ calls. More...
class | JSlot
| A slot that is only implemented in client side JavaScript code. More...
class | WLabel
| A label for a form field. More...
class | WLayout
| An abstract base class for layout managers. More...
class | WLayoutItem
| An abstract base class for items that can participate in a layout. More...
class | WLayoutItemImpl
| An abstract base class for implementing layout managers. More...
class | WLength
| A value class that describes a CSS length. More...
class | WLengthValidator
| A validator that checks the string length of user input. More...
class | WLineEdit
| A widget that provides a single line edit. More...
class | WLineF
| Utility class that defines a single line. More...
class | WLink
| A value class that defines a hyperlink target. More...
class | WLoadingIndicator
| An abstract interface for a loading indicator. More...
class | WLocale
| A locale. More...
class | WLocalizedStrings
| An abstract class that provides support for localized strings. More...
class | WLogger
| A simple logging class. More...
class | WLogEntry
| A stream-like object for creating an entry in a log file. More...
class | WMatrix4x4
| A value class that describes a 3D affine transformation matrix. More...
class | WMediaPlayer
| A media player. More...
class | WMemoryResource
| A resource which streams data from memory. More...
class | WMenu
| A widget that shows a menu of options. More...
class | WMenuItem
| A single item in a menu. More...
class | WMessageBox
| A standard dialog for confirmation or to get simple user input. More...
class | WMessageResourceBundle
| Support for localized strings using XML files. More...
class | WModelIndex
| A value class that describes an index to an item in a data model. More...
class | WNavigationBar
| A navigation bar. More...
class | WObject
| A base class for objects that participate in the signal/slot system. More...
class | WOverlayLoadingIndicator
| A more obvious loading indicator that grays the window. More...
class | WTextItem
| The result of a font metrics computation. More...
class | WPaintDevice
| The abstract base class for a paint device. More...
class | WPaintedWidget
| A widget that is painted using vector graphics. More...
class | WPainter
| Vector graphics painting class. More...
class | WPainterPath
| A path defining a shape. More...
class | WPanel
| A WPanel provides a container with a title bar. More...
class | WPdfImage
| A paint device for rendering to a PDF. More...
class | WPen
| A value class that defines the style for pen strokes. More...
class | WPoint
| A value class that defines a 2D point with integer coordinates. More...
class | WPointF
| A value class that defines a 2D point. More...
class | WPolygonArea
| An interactive area in a widget, specified by a polygon. More...
class | WPopupMenu
| A menu presented in a popup window. More...
class | WPopupWidget
| Base class for popup widgets. More...
class | WProgressBar
| A progress bar. More...
class | WPushButton
| A widget that represents a push button. More...
class | WRadioButton
| A user control that represents a radio button. More...
class | WRandom
| Random number generator. More...
class | WRasterImage
| A paint device for rendering to a raster image. More...
class | WReadOnlyProxyModel
| A read-only wrapper for a source model. More...
class | WRectArea
| A interactive area in a widget, specified by a rectangle. More...
class | WRectF
| A value class that defines a rectangle. More...
class | WRegExpValidator
| A validator that checks user input against a regular expression. More...
class | WResource
| An object which can be rendered in the HTTP protocol. More...
class | WScrollArea
| A widget that adds scrolling capabilities to its content. More...
class | WScrollBar
| A scrollbar attached to a scroll area. More...
class | WSelectionBox
| A selection box allows selection from a list of options. More...
class | WServer
| A class encapsulating a web application server. More...
class | WShadow
| A value class that defines a shadow style. More...
class | SignalBase
| Abstract base class of a signal. More...
class | Signal
| A signal that propagates events to listeners. More...
class | EventSignalBase
| Abstract base class of an event signal. More...
class | EventSignal
| A signal that conveys user-interface events. More...
class | WSignalMapper
| A utility class to connect multiple senders to a single slot. More...
class | WSlider
| A horizontal or vertical slider control. More...
class | WSocketNotifier
| A utility class for asynchronous notification of socket activity. More...
class | WSortFilterProxyModel
| A proxy model for Wt's item models that provides filtering and/or sorting. More...
class | WSound
| A value class to play a sound effect. More...
class | WSpinBox
| An input control for integer numbers. More...
class | WSplitButton
| A split button. More...
class | WSslCertificate
| An interface to an SSL certificate. More...
class | WSslInfo
| Provides SSL information about the current session. More...
class | WStackedWidget
| A container widget that stacks its widgets on top of each other. More...
class | WStandardItem
| An item in a WStandardItemModel. More...
class | WStandardItemModel
| A standard data model, which stores its data in memory. More...
class | WStreamResource
| An object which streams the data from a std::istream. More...
class | WString
| A value class which describes a locale-aware unicode string. More...
class | WStringListModel
| An model that manages a list of strings. More...
class | WStringStream
class | WSuggestionPopup
| A widget which popups to assist in editing a textarea or lineedit. More...
class | WSvgImage
| A paint device for rendering using Scalable Vector Graphics (SVG). More...
class | WTable
| A container widget which provides layout of children in a table grid. More...
class | WTableCell
| A container widget that represents a cell in a table. More...
class | WTableColumn
| A table column. More...
class | WTableRow
| A table row. More...
class | WTableView
| An MVC View widget for tabular data. More...
class | WTabWidget
| A widget that organizes contents in tab panes. More...
class | WTemplate
| A widget that renders an XHTML template. More...
class | WTemplateFormView
| A template-based View class form models. More...
class | WText
| A widget that renders (XHTML) text. More...
class | WTextArea
| A widget that provides a multi-line edit. More...
class | WTextEdit
| A rich-text XHTML editor. More...
class | WTheme
class | InvalidTimeException
| Exception thrown when calculating with an invalid time. More...
class | WTime
| A value class that defines a clock time. More...
class | WTimer
| A utility class which provides timer signals and single-shot timers. More...
class | WToolBar
| A toolbar. More...
class | WTransform
| A value class that defines a 2D affine transformation matrix. More...
class | WTree
| A widget that represents a navigatable tree. More...
class | WTreeNode
| A single node in a tree. More...
class | WTreeTable
| A table with a navigatable tree in the first column. More...
class | WTreeTableNode
| A specialized tree node which allows additional data to be associated with each node. More...
class | WTreeView
| A view class that displays a model as a tree or tree table. More...
class | WValidationStatus
| A widget that keeps track of the validation status of a form widget. More...
class | WValidator
| A validator is used to validate user input according to pre-defined rules. More...
class | WVBoxLayout
| A layout manager which arranges widgets vertically. More...
class | WVectorImage
| An abstract paint device for rendering using native vector graphics. More...
class | WVideo
| A video-playing widget. More...
class | WViewWidget
| An abstract base class for an MVC view that is rendered using a widget. More...
class | WStaticModelView
| A widget that implements a view for a non-changing model. More...
class | WVirtualImage
| An abstract widget that shows a viewport to a virtually large image. More...
class | WVmlImage
| A paint device for rendering using the VML pseudo-standard. More...
class | WWebWidget
| A base class for widgets with an HTML counterpart. More...
class | WWidget
| The abstract base class for a user-interface component. More...
class | WWidgetItem
| A layout item that holds a single widget. More...
## Typedefs
typedef WAudio | WHTML5Audio
| < Typedef for compatibility with Wt < 3.1.11 (deprecated).
typedef WVideo | WHTML5Video
| < Typedef for compatibility with Wt < 3.1.11 (deprecated).
typedef std::vector< WModelIndex > | WModelIndexList
| List of indexes.
## Enumerations
enum | ViewItemRenderFlag { RenderSelected = 0x1, RenderEditing = 0x2, RenderFocused = 0x4, RenderInvalid = 0x8 }
| Enumeration that specifies an option for rendering a view item. More...
enum | Orientation { Horizontal = 0x1, Vertical = 0x2 }
| Enumeration that indicates a direction. More...
enum | StandardButton { NoButton = 0x00, Ok = 0x01, Cancel = 0x02, Yes = 0x04, No = 0x08, Abort = 0x10, Retry = 0x20, Ignore = 0x40, YesAll = 0x80, NoAll = 0x100 }
| Enumeration that indicates a standard button. More...
enum | Icon { NoIcon = 0, Information = 1, Warning = 2, Critical = 3, Question = 4 }
| Enumeration that indiciates a standard icon. More...
enum | SelectionMode { NoSelection = 0, SingleSelection = 1, ExtendedSelection = 3 }
| Enumeration that indicates how items may be selected. More...
enum | SelectionBehavior { SelectItems = 0, SelectRows = 1 }
| Enumeration that indicates what is being selected. More...
enum | SelectionFlag { Select = 1, Deselect = 2, ToggleSelect = 3, ClearAndSelect = 4 }
| Enumeration that indicates how to change a selection. More...
enum | Side { Top = 0x1, Bottom = 0x2, Left = 0x4, Right = 0x8, CenterX = 0x10, CenterY = 0x20 }
| Enumeration that indicates a relative location. More...
enum | AlignmentFlag { AlignLeft = 0x1, AlignRight = 0x2, AlignCenter = 0x4, AlignJustify = 0x8, AlignBaseline = 0x10, AlignSub = 0x20, AlignSuper = 0x40, AlignTop = 0x80, AlignTextTop = 0x100, AlignMiddle = 0x200, AlignBottom = 0x400, AlignTextBottom = 0x800 }
| Enumeration that specifies a horizontal or a vertical alignment. More...
enum | TextFlag { TextSingleLine, TextWordWrap }
| Enumeration that specifies the way text should be printed. More...
enum | PositionScheme { Static, Relative, Absolute, Fixed }
| Enumeration that specifies a layout mechanism for a widget. More...
enum | Cursor { ArrowCursor, AutoCursor, CrossCursor, PointingHandCursor, OpenHandCursor, WaitCursor, IBeamCursor, WhatsThisCursor }
| Enumeration for a cursor style. More...
enum | CharEncoding { LocalEncoding, UTF8 }
| Enumeration that indicates a character encoding. More...
enum | PenStyle { NoPen, SolidLine, DashLine, DotLine, DashDotLine, DashDotDotLine }
| Enumeration that indicates a pen style. More...
enum | PenCapStyle { FlatCap, SquareCap, RoundCap }
| Enumeration that indicates how line end points are rendered. More...
enum | PenJoinStyle { MiterJoin, BevelJoin, RoundJoin }
| Enumeration that indicates how line joins are rendered. More...
enum | BrushStyle { NoBrush, SolidPattern }
| Enumeration that indicates a fill style. More...
enum | AnchorTarget { TargetSelf, TargetThisWindow, TargetNewWindow }
| Enumeration that specifies where the target of an anchor should be displayed. More...
enum | TextFormat { XHTMLText, XHTMLUnsafeText, PlainText }
| Enumeration that indicates the text format. More...
enum | GlobalColor { white, black, red, darkRed, green, darkGreen, blue, darkBlue, cyan, darkCyan, magenta, darkMagenta, yellow, darkYellow, gray, darkGray, lightGray, transparent }
| Enumeration for predefined colors. More...
enum | KeyboardModifier { NoModifier = 0x0, ShiftModifier = 0x1, ControlModifier = 0x2, AltModifier = 0x4, MetaModifier = 0x8 }
| Enumeration for keyboard modifiers. More...
enum | Key { Key_unknown = 0, Key_Enter = 13, Key_Tab = 9, Key_Backspace = 8, Key_Shift = 16, Key_Control = 17, Key_Alt = 18, Key_PageUp = 33, Key_PageDown = 34, Key_End = 35, Key_Home = 36, Key_Left = 37, Key_Up = 38, Key_Right = 39, Key_Down = 40, Key_Insert = 45, Key_Delete = 46, Key_Escape = 27, Key_F1 = 112, Key_F2 = 113, Key_F3 = 114, Key_F4 = 115, Key_F5 = 116, Key_F6 = 117, Key_F7 = 118, Key_F8 = 119, Key_F9 = 120, Key_F10 = 121, Key_F11 = 122, Key_F12 = 123, Key_Space = ' ', Key_A = 'A', Key_B = 'B', Key_C = 'C', Key_D = 'D', Key_E = 'E', Key_F = 'F', Key_G = 'G', Key_H = 'H', Key_I = 'I', Key_J = 'J', Key_K = 'K', Key_L = 'L', Key_M = 'M', Key_N = 'N', Key_O = 'O', Key_P = 'P', Key_Q = 'Q', Key_R = 'R', Key_S = 'S', Key_T = 'T', Key_U = 'U', Key_V = 'V', Key_W = 'W', Key_X = 'X', Key_Y = 'Y', Key_Z = 'Z' }
| Enumeration for key codes. More...
enum | CheckState { Unchecked, PartiallyChecked, Checked }
| Enumeration for the check state of a check box. More...
enum | PaintFlag { PaintUpdate = 0x1 }
| Enumeration that indicates how to change a selection. More...
enum | RegExpFlag { MatchCaseInsensitive = 0x1 }
| Enumeration that indicates a regular expression option. More...
enum | EntryPointType { Application, WidgetSet, StaticResource }
| Enumeration that indicates a Wt entrypoint type. More...
enum | RenderFlag
| Enum for internal use.
enum | MatchFlag { MatchExactly = 0x0, MatchStringExactly = 0x1, MatchStartsWith = 0x2, MatchEndsWith = 0x3, MatchRegExp = 0x4, MatchWildCard = 0x5, MatchCaseSensitive = 0x10, MatchWrap = 0x20 }
| Flags that specify how to match two values. More...
enum | HeaderFlag { ColumnIsCollapsed = 0x1, ColumnIsExpandedLeft = 0x2, ColumnIsExpandedRight = 0x4, HeaderIsUserCheckable = 0x8, HeaderIsTristate = 0x10 }
| Flags that indicate table header options. More...
enum | MetaHeaderType { MetaName, MetaProperty, MetaHttpHeader }
| Enumeration that indicates a meta header type. More...
enum | EventType { OtherEvent, UserEvent, TimerEvent }
| An enumeration describing an event's type. More...
enum | LayoutDirection { LeftToRight, RightToLeft }
| An enumeration describing a layout direction. More...
enum | ItemDataRole { DisplayRole = 0, DecorationRole = 1, EditRole = 2, StyleClassRole = 3, CheckStateRole = 4, ToolTipRole = 5, LinkRole = 6, MimeTypeRole = 7, LevelRole = 8, MarkerPenColorRole = 16, MarkerBrushColorRole = 17, MarkerScaleFactorRole = 20, BarPenColorRole = 18, BarBrushColorRole = 19, UserRole = 32 }
| Enumeration that indicates a role for a data item. More...
enum | ItemFlag { ItemIsSelectable = 0x1, ItemIsEditable = 0x2, ItemIsUserCheckable = 0x4, ItemIsDragEnabled = 0x8, ItemIsDropEnabled = 0x10, ItemIsTristate = 0x20, ItemIsXHTMLText = 0x40, ItemIsDirty = 0x80 }
| Flags that indicate data item options. More...
enum | SortOrder { AscendingOrder, DescendingOrder }
| Enumeration that indicates a sort order. More...
enum | DropAction { CopyAction = 0x1, MoveAction = 0x2 }
| Enumeration that indicates a drop action. More...
enum | WidgetThemeRole
| Enumeration for the role of a subwidget (for theme support) More...
enum | ElementThemeRole
| Enumeration for the role of a DOM element (for theme support) More...
enum | ValidationStyleFlag
| Enumeration that indicates what validation styles are to be applie. More...
enum | DomElementType
| Enumeration for a DOM element type. More...
## Functions
WString | asString (const boost::any &v, const WString &formatString=WString())
| Interprets a boost::any as a string value.
double | asNumber (const boost::any &v)
| Interprets a boost::any as a number value.
template<typename Type >
void | registerType ()
| Registers MVC-support for a type passed in a boost::any.
template<typename T , std::size_t A, std::size_t B, std::size_t C>
WGenericMatrix< T, A, C > | operator* (const WGenericMatrix< T, A, B > &l, const WGenericMatrix< T, B, C > &r)
| Multiply two matrices.
template<typename T , std::size_t Rows, std::size_t Cols>
std::ostream & | operator<< (std::ostream &os, const WGenericMatrix< T, Rows, Cols > &m)
| Print the matrix to an ostream.
template<typename T , std::size_t Rows, std::size_t Cols>
WGenericMatrix< T, Rows, Cols > | operator* (const T &factor, const WGenericMatrix< T, Rows, Cols > &m)
| Multiply every element in the matrix with the given factor.
template<typename T , std::size_t Rows, std::size_t Cols>
WGenericMatrix< T, Rows, Cols > | operator* (const WGenericMatrix< T, Rows, Cols > &m, const T &factor)
| Multiply every element in the matrix with the given factor.
template<typename T , std::size_t Rows, std::size_t Cols>
WGenericMatrix< T, Rows, Cols > | operator/ (const WGenericMatrix< T, Rows, Cols > &m, const T &factor)
| Divide every element in the matrix by the given factor.
template<typename T , std::size_t Rows, std::size_t Cols>
WGenericMatrix< T, Rows, Cols > | operator+ (const WGenericMatrix< T, Rows, Cols > &l, const WGenericMatrix< T, Rows, Cols > &r)
| Add two matrices together.
template<typename T , std::size_t Rows, std::size_t Cols>
WGenericMatrix< T, Rows, Cols > | operator- (const WGenericMatrix< T, Rows, Cols > &l, const WGenericMatrix< T, Rows, Cols > &r)
| Substract two matrices.
template<typename T , std::size_t Rows, std::size_t Cols>
WGenericMatrix< T, Rows, Cols > | operator- (const WGenericMatrix< T, Rows, Cols > &m)
| Negate every element in the matrix.
## Variables
static const WFlags< Side > | None = 0
| No side.
static const WFlags< Side > | CenterXY = CenterX | CenterY
| (CenterX | CenterY)
static const WFlags< Side > | Horizontals = Left | Right
| (Left | Right)
static const WFlags< Side > | Verticals = Top | Bottom
| (Top | Bottom)
static const WFlags< Side > | All = Top | Bottom | Left | Right
| All sides.
static const WFlags < AlignmentFlag > | AlignHorizontalMask = AlignLeft | AlignRight | AlignCenter | AlignJustify
| Combination of all horizontal alignment flags.
static const WFlags < AlignmentFlag > | AlignVerticalMask
| Combination of all vertical alignment flags.
static const WFlags< MatchFlag > | MatchTypeMask
| Type part of MatchFlags.
static const WFlags < ValidationStyleFlag > | ValidationNoStyle = 0
| Remove validation styles.
static const WFlags < ValidationStyleFlag > | ValidationAllStyles = ValidationInvalidStyle | ValidationValidStyle
| All validation styles.

## Detailed Description

The namespace for Wt.

## Typedef Documentation

typedef std::vector<WModelIndex> Wt::WModelIndexList

List of indexes.

The list is defined as std::vector<WModelIndex>.

## Enumeration Type Documentation

enum Wt::AlignmentFlag

Enumeration that specifies a horizontal or a vertical alignment.

The vertical alignment flags are AlignBaseline, AlignSub, AlignSuper, AlignTop, AlignTextTop, AlignMiddle, AlignBottom and AlignTextBottom. The horizontal alignment flags are AlignLeft, AlignRight, AlignCenter and AlignJustify.

When used with setVerticalAlignment(), this applies only to inline widgets and determines how to position itself on the current line, with respect to sibling inline widgets.

When used with WTableCell::setContentAlignment(), this determines the vertical alignment of contents within the table cell.

When used with WPainter::drawText(), this determines the horizontal and vertical alignment of the text with respect to the bounding rectangle.

When used with WContainerWidget::setContentAlignment(), this specifies how contents should be aligned horizontally within the container.

Not all values are applicable in all situations. The most commonly used values are AlignLeft, AlignCenter, AlignRight, AlignBottom, AlignMiddle and AlignTop.

Enumerator:

  AlignLeft | Align to the left.
  AlignRight | Align to the right.
  AlignCenter | Align horizontally in the center.
  AlignJustify | Justify left and right.
  AlignBaseline | Align at baseline (default alignment).
  AlignSub | Align below the baseline (as if subscript).
  AlignSuper | Align above the baseline (as if superscript).
  AlignTop | Align top of widget with top of tallest sibling widget.
  AlignTextTop | Align top of widget with the top of the parent widget's font.
  AlignMiddle | Align vertically the middle to the middle of the parent widget.
  AlignBottom | Align bottom of widget to the bottom of the lowest sigling widget.
  AlignTextBottom | Align bottom of widget to the bottom of parent widget's font.

enum Wt::AnchorTarget

Enumeration that specifies where the target of an anchor should be displayed.

See also:
  WAnchor::setTarget()

Enumerator:

  TargetSelf | Show Instead of the application.
  TargetThisWindow | Show in the top level frame of the application window.
  TargetNewWindow | Show in a separate new tab or window.

enum CharEncoding`[related]`

Enumeration that indicates a character encoding.

Character encodings are used to represent characters in a stream of bytes.

Enumerator:

  LocalEncoding | The (server) system locale. Each byte represents a character, according to the locale of the server-side system.
  UTF8 | UTF-8 unicode encoding. The byte stream represents unicode characters encoded using UTF-8.

enum Wt::CheckState

Enumeration for the check state of a check box.

See also:
  WCheckBox

Enumerator:

  Unchecked | Unchecked.
  PartiallyChecked | Partially checked (for a tri-state checkbox)
  Checked | Checked.

enum Wt::Cursor

Enumeration for a cursor style.

See also:
  WCssDecorationStyle::setCursor(), WAbstractArea::setCursor()

Enumerator:

  ArrowCursor | Arrow, CSS 'default' cursor.
  AutoCursor | Cursor chosen by the browser, CSS 'auto' cursor.
  CrossCursor | Crosshair, CSS 'cross' cursor.
  PointingHandCursor | Pointing hand, CSS 'pointer' cursor.
  OpenHandCursor | Open hand, CSS 'move' cursor.
  WaitCursor | Wait, CSS 'wait' cursor.
  IBeamCursor | Text edit, CSS 'text' cursor.
  WhatsThisCursor | Help, CSS 'help' cursor.

enum Wt::DomElementType

Enumeration for a DOM element type.

For internal use only.

enum Wt::ElementThemeRole

Enumeration for the role of a DOM element (for theme support)

See also:
  WTheme::apply()

enum Wt::EntryPointType

Enumeration that indicates a Wt entrypoint type.

An entry point binds a behavior to a public URL. Only the wthttpd connector currently supports multiple entry points.

Enumerator:

  Application | Specifies a full-screen application. A full screen application manages the entire browser window and provides its own HTML page. See also: WServer::addEntryPoint(), WApplication::root()
  WidgetSet | Specifies an application that manages one or more widgets. A widget set application is part of an existing HTML page. One or more HTML elements in that web page may be bound to widgets managed by the application. The application presents itself as a JavaScript file, and therefore should be embedded in the web page using a <script> tag, from within the <body> (since it needs access to the <body>). Note: A WidgetSet application requires JavaScript support See also: WServer::addEntryPoint(), WApplication::bindWidget()
  StaticResource | Specifies a static resource. A static resource binds a WResource to a public URL, and is not bound to a specific session. See also: WServer::addResource()

enum Wt::EventType

An enumeration describing an event's type.

See also:
  WEvent::eventType()

Enumerator:

  OtherEvent | An event which is not user- or timer-initiated.
  UserEvent | A user-initiated event.
  TimerEvent | A timer-initiated event.

enum Wt::Icon

Enumeration that indiciates a standard icon.

Note:
  Not used yet.

Enumerator:

  NoIcon | No icon.
  Information | An information icon (not implemented)
  Warning | An warning icon (not implemented)
  Critical | An critical icon (not implemented)
  Question | An question icon (not implemented)

enum Wt::LayoutDirection

An enumeration describing a layout direction.

Enumerator:

  LeftToRight | Left-to-Right (Western and other languages)
  RightToLeft | Right-to-Left (Many Middle Eastern and Arabic languages)

enum Wt::MetaHeaderType

Enumeration that indicates a meta header type.

See also:
  WApplication::addMetaHeader()

Enumerator:

  MetaName | Of the form <meta name=... content=... >.
  MetaProperty | Of the form <meta property=... content=... >.
  MetaHttpHeader | Of the form <meta http-equiv=... content=... >.

enum Wt::Orientation

Enumeration that indicates a direction.

Enumerator:

  Horizontal | Horizontal.
  Vertical | Vertical.

enum Wt::PaintFlag

Enumeration that indicates how to change a selection.

See also:
  WPaintedWidget::update(), WPaintDevice::paintFlags()

Enumerator:

  PaintUpdate | The canvas is not cleared, but further painted on.

enum Wt::PositionScheme

Enumeration that specifies a layout mechanism for a widget.

The layout mechanism determines how the widget positions itself relative to the parent or sibling widgets.

See also:
  WWidget::setPositionScheme(PositionScheme scheme)

Enumerator:

  Static | Static position scheme. The widget is layed-out with other Static and Relative sibling widgets, one after another. Inline widgets are layed out in horizontal lines (like text), wrapping around at the end of the line to continue on the next line. Block widgets are stacked vertically. Static widgets may also float to the left or right border, using setFloatSide().
  Relative | Relative position scheme. The widget is first layed out according to Static layout rules, but after layout, the widget may be offset relative to where it would be in a static layout, using setOffsets(). Another common use of a Relative position scheme (even with no specified offsets) is to provide a new reference coordinate system for Absolutely positioned widgets.
  Absolute | Absolute position scheme. The widget is positioned at an absolute position with respect to the nearest ancestor widget that is either: a WTableCell or has a position scheme that is Relative or Absolute.
  Fixed | Fixed position scheme. The widget is positioned at fixed position with respect to the browser's view-pane.

enum Wt::RegExpFlag

Enumeration that indicates a regular expression option.

See also:
  WSortFilterProxyModel::setFilterOptions(), WRegExpValidator::setOptions()

Enumerator:

  MatchCaseInsensitive | Case insensitive matching.

enum Wt::SelectionBehavior

Enumeration that indicates what is being selected.

See also:
  WTreeView::setSelectionBehavior()

Enumerator:

  SelectItems | Select single items.
  SelectRows | Select only rows.

enum Wt::SelectionFlag

Enumeration that indicates how to change a selection.

See also:
  WTreeView::select()

Enumerator:

  Select | Add to selection.
  Deselect | Remove from selection.
  ToggleSelect | Toggle in selection.
  ClearAndSelect | Clear selection and add single item.

enum Wt::SelectionMode

Enumeration that indicates how items may be selected.

See also:
  WTreeView::setSelectionMode()

Enumerator:

  NoSelection | No selections.
  SingleSelection | Single selection only.
  ExtendedSelection | Multiple selection.

enum Wt::Side

Enumeration that indicates a relative location.

Values of CenterX, CenterY, and CenterXY are only valid for WCssDecorationStyle::setBackgroundImage()

See also:
  WWidget::setMargin(const WLength& x, WFlags<Side> sides)
  WWidget::setOffsets(const WLength& x, WFlags<Side> sides)
  WWidget::setFloatSide(Side s)
  WWidget::setClearSides(WFlags<Side> sides)
  WContainerWidget::setPadding(const WLength& x, WFlags<Side> sides)
  WCssDecorationStyle::setBackgroundImage()

Enumerator:

  Top | Top side.
  Bottom | Bottom side.
  Left | Left side.
  Right | Right side.
  CenterX | Center horiziontally.
  CenterY | Center vertically.

enum Wt::StandardButton

Enumeration that indicates a standard button.

Multiple buttons may be specified by logically or'ing these values together, e.g.

     Ok | Cancel

See also:
  WMessageBox

Enumerator:

  NoButton | No button.
  Ok | An OK button.
  Cancel | A Cancel button.
  Yes | A Yes button.
  No | A No button.
  Abort | An Abort button.
  Retry | A Retry button.
  Ignore | An Ignore button.
  YesAll | A Yes-to-All button.
  NoAll | A No-to-All button.

enum Wt::TextFlag

Enumeration that specifies the way text should be printed.

See also:
  WPainter::drawText(const WRectF& rect, WFlags<AlignmentFlag> alignmentFlags, TextFlag textFlag, const WString& text)

Enumerator:

  TextSingleLine | Text will be printed on just one line.
  TextWordWrap | Lines will break at word boundaries.

enum Wt::TextFormat

Enumeration that indicates the text format.

See also:
  WText::setTextFormat()

Enumerator:

  XHTMLText | Format text as XSS-safe XHTML markup'ed text.
  XHTMLUnsafeText | Format text as XHTML markup'ed text.
  PlainText | Format text as plain text.

enum Wt::ValidationStyleFlag

Enumeration that indicates what validation styles are to be applie.

See also:
  WTheme::applyValidationStyle()

enum Wt::ViewItemRenderFlag

Enumeration that specifies an option for rendering a view item.

See also:
  WAbstractItemDelegate::update()

Enumerator:

  RenderSelected | Render as selected
  RenderEditing | Render in editing mode
  RenderFocused | Render (the editor) focused
  RenderInvalid | Render as invalid

enum Wt::WidgetThemeRole

Enumeration for the role of a subwidget (for theme support)

See also:
  WTheme::apply()

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator