The namespace for Wt. More...
Namespaces | |
namespace | Chart |
Namespace for the Chart library. | |
namespace | Dbo |
Namespace for the Database Objects library (Dbo). | |
namespace | Ext |
Namespace for Ext widgets. | |
namespace | Http |
Namespace for objects directly related to HTTP. | |
Classes | |
class | WAbstractArea |
Abstract base class for interactive areas in a widget. More... | |
class | WAbstractItemDelegate |
Abstract delegate class for rendering a view item. 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 | WAbstractProxyModel |
An abstract proxy model for Wt's item models. 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 | WApplication |
Represents an application instance for a single session. More... | |
class | WBorder |
A style class for the border 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 |
Class that defines the style for filling areas. 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 class that specifies 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 | InvalidDateException |
Exception thrown when calculating with an invalid date. More... | |
class | WDate |
A gregorian calendar date. 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 | WDoubleValidator |
A validator for validating floating point user input. More... | |
class | WEnvironment |
A class that captures information on the application environment. 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 | WFileResource |
A resource which streams 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 style class describing a font. More... | |
class | WFormWidget |
An abstract widget that corresponds to an HTML form element. 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 | 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 class that specifies 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 | WLoadingIndicator |
An abstract interface for a loading indicator. 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 | 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 |
An index to a data item in a data model. 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 | WPaintDevice |
The abstract base class for a paint device. More... | |
class | WPaintedWidget |
A widget that is painted using vector graphics. More... | |
class | WPainter |
Helper class for painting on a WPaintDevice. More... | |
class | WPainterPath |
A path defining a shape. More... | |
class | WPanel |
A WPanel provides a container with a title bar. More... | |
class | WPen |
Class that defines the style for pen strokes. More... | |
class | WPoint |
Utility class that defines a 2D point with integer coordinates. More... | |
class | WPointF |
Utility 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 | WPopupMenuItem |
An item in a popup menu. More... | |
class | WPushButton |
A widget that represents a push button. More... | |
class | WRadioButton |
A user control that represents a radio button. More... | |
class | WRectArea |
A interactive area in a widget, specified by a rectangle. More... | |
class | WRectF |
Utility 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 an application server. More... | |
class | WShadow |
Class that defines a shadow style. More... | |
class | Signal |
A signal that propagates events to listeners. 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 |
Utility class to play a sound. 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 | WString |
A unicode string class, with support for localization. More... | |
class | WStringListModel |
An model that manages a list of strings. More... | |
class | WSubMenuItem |
A menu item that contains a nested sub menu. More... | |
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 |
A container widget which provides a view implementation of a WTable. More... | |
class | WTabWidget |
A widget that organizes contents in tab panes. More... | |
class | WTemplate |
A widget that renders an XHTML template. 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 | InvalidTimeException |
Exception thrown when calculating with an invalid time. More... | |
class | WTime |
A clock time. More... | |
class | WTimer |
A utility class which provides timer signals and single-shot timers. More... | |
class | WTransform |
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 | 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... | |
Enumerations | |
enum | ViewItemRenderFlag { RenderSelected = 0x1, RenderEditing = 0x2 } |
Enumeration that specifies an option for rendering a view item. More... | |
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 } |
Flags that indicate header options. 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 | 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 | WBrushStyle { NoBrush = 0, SolidPattern = 1 } |
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 | EntryPointType { Application, WidgetSet, StaticResource } |
Enumeration that indicates a Wt entrypoint type. More... | |
enum | ItemDataRole { DisplayRole = 0, DecorationRole = 1, EditRole = 2, StyleClassRole = 3, CheckStateRole = 4, ToolTipRole = 5, InternalPathRole = 6, UrlRole = 7, LevelRole = 8, MarkerPenColorRole = 16, MarkerBrushColorRole = 17, 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 } |
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... | |
Functions | |
WTransform | operator* (const WTransform &lhs, const WTransform &rhs) |
Multiply 2 transform objects. | |
Variables | |
static const WFlags< MatchFlag > | MatchTypeMask |
Type part of MatchFlags. | |
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 = AlignBaseline | AlignSub | AlignSuper | AlignTop | AlignTextTop | AlignMiddle | AlignBottom | AlignTextBottom | AlignLength |
Combination of all vertical alignment flags. |
The namespace for Wt.
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. Functions expecting either horizontal or vertical alignment flags throw an exception when they are called with the wrong alignment flag.
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.
enum Wt::AnchorTarget |
Enumeration that specifies where the target of an anchor should be displayed.
enum CharEncoding [related, inherited] |
enum Wt::CheckState |
Enumeration for the check state of a check box.
enum Wt::Cursor |
Enumeration for a cursor style.
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.
Application |
Specifies a full-screen application. A full screen application manages the entire browser window and provides its own HTML page.
|
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. A widgetset 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>).
|
StaticResource |
Specifies a static resource. A static resource binds a WResource to a public URL.
|
enum Wt::Icon |
enum Wt::Orientation |
enum Wt::PaintFlag |
Enumeration that indicates how to change a selection.
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.
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:
|
Fixed |
Fixed position scheme. The widget is positioned at fixed position with respect to the browser's view-pane. |
Enumeration that indicates what is being selected.
enum Wt::SelectionFlag |
Enumeration that indicates how to change a selection.
enum Wt::SelectionMode |
Enumeration that indicates how items may be selected.
enum Wt::Side |
Enumeration that indicates a relative location.
Values of CenterX, CenterY, and CenterXY are only valid for WCssDecorationStyle::setBackgroundImage()
enum Wt::StandardButton |
Enumeration that indicates a standard button.
Multiple buttons may be specified by logically or'ing these values together, e.g.
enum Wt::TextFormat |
Enumeration that indicates the text format.
Enumeration that specifies an option for rendering a view item.