fwGeneral  8.4.1
fwWebBrowser.ctl File Reference

Functions

void fwWebBrowser_showStandaloneWindow (string sLink, dyn_string &exceptionInfo, string sLabel="", string sWindowName="", bool bNavigationButton=1, bool bUrlBarVisibility=1, bool bAdressEditable=1, bool bNewTabButton=1, string sDefaultPage="http://home.cern", bool bOpenInNewModule=1)
 

Variables

private const bool _fwViewerLoaded = fwGeneral_loadCtrlLib("fwViewer/fwViewer_API.ctl",false)
 

Detailed Description

This library provides functions for opening the fwWebBrowser: a web browser based on the WinCCOA's (and Qt's) built-in webview widget. This browser has basic navigation functionality and features tabbed view.

Function Documentation

void fwWebBrowser_showStandaloneWindow ( string  sLink,
dyn_string &  exceptionInfo,
string  sLabel = "",
string  sWindowName = "",
bool  bNavigationButton = 1,
bool  bUrlBarVisibility = 1,
bool  bAdressEditable = 1,
bool  bNewTabButton = 1,
string  sDefaultPage = "http://home.cern",
bool  bOpenInNewModule = 1 
)

Opens a new web browser as a child panel, with a specified URL

Parameters
sLinkspecifies the URL to open
sLabel(optional) allows to define the name of the tab in which the URL is open
sWindowName(optional) allows to define the window name (it will appear in the task bar)
bNavigationButton(optional) if true, navigation buttons will be shown
bUrlBarVisibility(optional) if true, URL bar will be displayed
bAddressEditable(optional) if true, the address in URL bar may be edited
bNewTabButton(optional) if true, a button to open a new tab will be shown
sDefaultPage(optional) declares the default (home) page

Variable Documentation

private const bool _fwViewerLoaded = fwGeneral_loadCtrlLib("fwViewer/fwViewer_API.ctl",false)

Load fwViewer/fwViewer_API, if it is present in the system ignore if it is not...