Definition at line 61 of file web_widget.py.
◆ __init__()
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.
◆ _add_completer_list_item()
def rqt_web.web_widget.WebWidget._add_completer_list_item |
( |
|
self, |
|
|
|
url |
|
) |
| |
|
private |
◆ _handle_link_clicked()
def rqt_web.web_widget.WebWidget._handle_link_clicked |
( |
|
self, |
|
|
|
url |
|
) |
| |
|
private |
◆ _handle_load_finished()
def rqt_web.web_widget.WebWidget._handle_load_finished |
( |
|
self, |
|
|
|
ok |
|
) |
| |
|
private |
◆ _handle_reload_clicked()
def rqt_web.web_widget.WebWidget._handle_reload_clicked |
( |
|
self | ) |
|
|
private |
◆ _handle_url_change()
def rqt_web.web_widget.WebWidget._handle_url_change |
( |
|
self | ) |
|
|
private |
◆ _handle_url_changed()
def rqt_web.web_widget.WebWidget._handle_url_changed |
( |
|
self, |
|
|
|
url |
|
) |
| |
|
private |
◆ _pack()
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.
◆ _unpack()
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.
◆ restore_settings()
def rqt_web.web_widget.WebWidget.restore_settings |
( |
|
self, |
|
|
|
settings |
|
) |
| |
◆ save_settings()
def rqt_web.web_widget.WebWidget.save_settings |
( |
|
self, |
|
|
|
settings |
|
) |
| |
◆ set_show_url_input()
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.
◆ set_url()
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.
◆ _completer
rqt_web.web_widget.WebWidget._completer |
|
private |
◆ _completer_word_list
rqt_web.web_widget.WebWidget._completer_word_list |
|
private |
◆ _loading
rqt_web.web_widget.WebWidget._loading |
|
private |
◆ _reload_icon
rqt_web.web_widget.WebWidget._reload_icon |
|
private |
◆ _show_url_input
rqt_web.web_widget.WebWidget._show_url_input |
|
private |
◆ _stop_icon
rqt_web.web_widget.WebWidget._stop_icon |
|
private |
◆ _url
rqt_web.web_widget.WebWidget._url |
|
private |
◆ _view
rqt_web.web_widget.WebWidget._view |
|
private |
◆ _working_icon
rqt_web.web_widget.WebWidget._working_icon |
|
private |
The documentation for this class was generated from the following file: