fwViewer
8.4.1
|
Functions | |
void | fwViewer_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) |
void | fwViewer_initFunction (shape sPanel, bool bNewTabButton, bool bNavigationButton, bool bAdressEditable, bool bUrlBarVisibility, string sDefaultPage) |
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.
void fwViewer_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
sLink | specifies 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 |
void fwViewer_initFunction | ( | shape | sPanel, |
bool | bNewTabButton, | ||
bool | bNavigationButton, | ||
bool | bAdressEditable, | ||
bool | bUrlBarVisibility, | ||
string | sDefaultPage | ||
) |
Initializes the fwWebBrowser shape. Internal.