Public Member Functions | |
def | __init__ |
def | restore_settings |
def | save_settings |
def | set_show_url_input |
def | set_url |
Private Member Functions | |
def | _add_completer_list_item |
def | _handle_link_clicked |
def | _handle_load_finished |
def | _handle_reload_clicked |
def | _handle_url_change |
def | _handle_url_changed |
Static Private Member Functions | |
def | _pack |
def | _unpack |
Private Attributes | |
_completer | |
_completer_word_list | |
_loading | |
_reload_icon | |
_show_url_input | |
_stop_icon | |
_url | |
_view | |
_working_icon |
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 62 of file web_widget.py.
def rqt_web.web_widget.WebWidget._add_completer_list_item | ( | self, | |
url | |||
) | [private] |
Definition at line 161 of file web_widget.py.
def rqt_web.web_widget.WebWidget._handle_link_clicked | ( | self, | |
url | |||
) | [private] |
Definition at line 131 of file web_widget.py.
def rqt_web.web_widget.WebWidget._handle_load_finished | ( | self, | |
ok | |||
) | [private] |
Definition at line 150 of file web_widget.py.
def rqt_web.web_widget.WebWidget._handle_reload_clicked | ( | self | ) | [private] |
Definition at line 134 of file web_widget.py.
def rqt_web.web_widget.WebWidget._handle_url_change | ( | self | ) | [private] |
Definition at line 128 of file web_widget.py.
def rqt_web.web_widget.WebWidget._handle_url_changed | ( | self, | |
url | |||
) | [private] |
Definition at line 144 of file web_widget.py.
def rqt_web.web_widget.WebWidget._pack | ( | data | ) | [static, private] |
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 170 of file web_widget.py.
def rqt_web.web_widget.WebWidget._unpack | ( | data | ) | [static, private] |
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 183 of file web_widget.py.
def rqt_web.web_widget.WebWidget.restore_settings | ( | self, | |
settings | |||
) |
Definition at line 121 of file web_widget.py.
def rqt_web.web_widget.WebWidget.save_settings | ( | self, | |
settings | |||
) |
Definition at line 117 of file web_widget.py.
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 104 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 93 of file web_widget.py.
Definition at line 161 of file web_widget.py.
Definition at line 66 of file web_widget.py.
rqt_web::web_widget.WebWidget::_loading [private] |
Definition at line 66 of file web_widget.py.
Definition at line 66 of file web_widget.py.
Definition at line 107 of file web_widget.py.
Definition at line 66 of file web_widget.py.
rqt_web::web_widget.WebWidget::_url [private] |
Definition at line 97 of file web_widget.py.
rqt_web::web_widget.WebWidget::_view [private] |
Definition at line 66 of file web_widget.py.
Definition at line 66 of file web_widget.py.