Definition at line 61 of file web_widget.py.
def rqt_web.web_widget.WebWidget.__init__ |
( |
|
self, |
|
|
|
url = None |
|
) |
| |
Class to load a webpage in a widget.
:param url: If url is empty then a navigation bar is shown otherwise the url is loaded and the navigation bar is hidden, ''str''
Definition at line 63 of file web_widget.py.
def rqt_web.web_widget.WebWidget._add_completer_list_item |
( |
|
self, |
|
|
|
url |
|
) |
| |
|
private |
def rqt_web.web_widget.WebWidget._handle_link_clicked |
( |
|
self, |
|
|
|
url |
|
) |
| |
|
private |
def rqt_web.web_widget.WebWidget._handle_load_finished |
( |
|
self, |
|
|
|
ok |
|
) |
| |
|
private |
def rqt_web.web_widget.WebWidget._handle_reload_clicked |
( |
|
self | ) |
|
|
private |
def rqt_web.web_widget.WebWidget._handle_url_change |
( |
|
self | ) |
|
|
private |
def rqt_web.web_widget.WebWidget._handle_url_changed |
( |
|
self, |
|
|
|
url |
|
) |
| |
|
private |
def rqt_web.web_widget.WebWidget._pack |
( |
|
data | ) |
|
|
staticprivate |
Packs 'data' into a form that can be easily and readably written to an ini file
:param data: A list of strings to be flattened into a string ''list''
:return: A string suitable for output to ini files ''str''
Definition at line 172 of file web_widget.py.
def rqt_web.web_widget.WebWidget._unpack |
( |
|
data | ) |
|
|
staticprivate |
Unpacks the values read from an ini file
:param data: An entry taken from an ini file ''list or string''
:return: A list of strings ''list''
Definition at line 185 of file web_widget.py.
def rqt_web.web_widget.WebWidget.restore_settings |
( |
|
self, |
|
|
|
settings |
|
) |
| |
def rqt_web.web_widget.WebWidget.save_settings |
( |
|
self, |
|
|
|
settings |
|
) |
| |
def rqt_web.web_widget.WebWidget.set_show_url_input |
( |
|
self, |
|
|
|
showinput |
|
) |
| |
Sets the value of the show_url_input flag and hides/shows the widgets as required
:param showinput: true - show inputbar false - hide , ''bool''
Definition at line 105 of file web_widget.py.
def rqt_web.web_widget.WebWidget.set_url |
( |
|
self, |
|
|
|
url, |
|
|
|
showinput = False |
|
) |
| |
Sets the url and begins loading that page
:param url: url to load in the webview, ''str or QUrl''
:param showinput: if true the input bar will be shown, else hidden, ''bool''
Definition at line 94 of file web_widget.py.
rqt_web.web_widget.WebWidget._completer |
|
private |
rqt_web.web_widget.WebWidget._completer_word_list |
|
private |
rqt_web.web_widget.WebWidget._loading |
|
private |
rqt_web.web_widget.WebWidget._reload_icon |
|
private |
rqt_web.web_widget.WebWidget._show_url_input |
|
private |
rqt_web.web_widget.WebWidget._stop_icon |
|
private |
rqt_web.web_widget.WebWidget._url |
|
private |
rqt_web.web_widget.WebWidget._view |
|
private |
rqt_web.web_widget.WebWidget._working_icon |
|
private |
The documentation for this class was generated from the following file: