Class QImageBrowserNav
Control for a simple image browser.
The browser can have one or two navigation bars (with 4 buttons allowing to go back and forward, and to the first and last images). It can also have a caption textbox, which can be editable. A thumbnails panel is also provided with the browser. The layout is fully controlled by css.
It is designed to allow almost every aspect of the browser to be customized. However typical defaults are provided so in a simple case it can be used "out-of-the-box" (see the example).
QImageBrowserBase is the abstract class that you may want to subclass if you need to customize some functionality (such us the source of the images or how to load/save the captions). See the comments in this class for details about how it can be customized. A concrete implementation called QImageBrowser is also provided, which loads the images from a directory.
QImageBrowserNav represents the simple 4 button navigation panel, it has getters and setters for all the buttons, so you can replace the default buttons by anything you'd like (such as image buttons).
QImageBrowserThumbnails represents the tumbnails navigation panel.
- QBaseClass
-
QHtmlAttributeManagerBase
-
QHtmlAttributeManager
-
QControlBase
-
QControl
-
QBlockControl
-
QPanel
-
QImageBrowserNav
public
|
#
__construct(
Creates a QControlBase object This constructor will generally not be used to create a QControlBase object. Instead it is used by the classes which extend the class. Only the parent object parameter is required. If the option strControlId parameter is not used, QCubed will generate the id. |
protected
|
|
public
|
|
public
|
|
public
mixed
|
|
public
mixed
|
OverrideAttributes(),
__call()
|
CommentEnd,
CommentStart
|
protected
|
$btnFirst
|
|
protected
|
$btnPrev
|
|
protected
|
$btnNext
|
|
protected
|
$btnLast
|
$blnHtmlEntities,
$blnIsBlockElement,
$strDefaultDisplayStyle,
$strTagName
|
$blnAutoRenderChildren,
$blnDropTarget,
$objDropsControlsArray,
$objDropsGroupingsArray,
$objIsDropZoneFor,
$objMovesControlsArray,
$strFormat,
$strTemplate,
$strText
|
$attributes,
$styles
|
$AutoRenderChildren,
$DropTarget,
$Format,
$HorizontalAlign,
$HtmlEntities,
$ResizeHandleDirection,
$ResizeHandleMaximum,
$ResizeHandleMinimum,
$TagName,
$Template,
$Text,
$VerticalAlign
|
$AccessKey,
$AltText,
$BackColor,
$BorderCollapse,
$BorderColor,
$BorderStyle,
$BorderWidth,
$CssClass,
$Cursor,
$Data,
$Display,
$DisplayStyle,
$Enabled,
$FontBold,
$FontItalic,
$FontNames,
$FontOverline,
$FontSize,
$FontStrikeout,
$FontUnderline,
$ForeColor,
$Height,
$Left,
$Margin,
$NoWrap,
$Opacity,
$OrderedListType,
$Overflow,
$Padding,
$Position,
$ReadOnly,
$TabIndex,
$ToolTip,
$Top,
$UnorderedListStyle,
$Width
|