Class QTag
QTag Code that encapsulates the rendering of an HTML tag. This can be used to render simple tags without the overhead of the QControl mechanism.
This class outputs the HTML for one HTML tag, including the attributes inside the tag and the inner html between the opening and closing tags. If it represents a void element, which is self closing, no inner html or closing tag will be printed, and the tag will be correctly terminated.
It will normally print the opening and closing tags on their own lines, with the inner html indented once and in-between the two tags. If you define the MINIMIZE constant or set QApplication::$Minimize variable, it will all be printed on one line with no indents.
This control can be used as a drawing aid to draw complex QControls.
public
|
|
protected
string
|
|
protected
string
|
#
getInnerHtml( )
Returns the html that sits between the tags. Do NOT escape the html, that will be handled at render time. |
OverrideAttributes(),
__call()
|
protected
string
|
$strTag
The tag |
|
protected
boolean
|
$blnIsVoidElement
True to render without a closing tag or inner html |
#
false
|
$attributes,
$styles
|
$AccessKey,
$AltText,
$BackColor,
$BorderCollapse,
$BorderColor,
$BorderStyle,
$BorderWidth,
$CssClass,
$Cursor,
$Data,
$Display,
$DisplayStyle,
$Enabled,
$FontBold,
$FontItalic,
$FontNames,
$FontOverline,
$FontSize,
$FontStrikeout,
$FontUnderline,
$ForeColor,
$Height,
$HorizontalAlign,
$Left,
$Margin,
$NoWrap,
$Opacity,
$OrderedListType,
$Overflow,
$Padding,
$Position,
$ReadOnly,
$TabIndex,
$ToolTip,
$Top,
$UnorderedListStyle,
$VerticalAlign,
$Width
|