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 42 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 43 of file web_widget.py.
def rqt_web.web_widget.WebWidget._add_completer_list_item | ( | self, | |
url | |||
) | [private] |
Definition at line 142 of file web_widget.py.
def rqt_web.web_widget.WebWidget._handle_link_clicked | ( | self, | |
url | |||
) | [private] |
Definition at line 112 of file web_widget.py.
def rqt_web.web_widget.WebWidget._handle_load_finished | ( | self, | |
ok | |||
) | [private] |
Definition at line 131 of file web_widget.py.
def rqt_web.web_widget.WebWidget._handle_reload_clicked | ( | self | ) | [private] |
Definition at line 115 of file web_widget.py.
def rqt_web.web_widget.WebWidget._handle_url_change | ( | self | ) | [private] |
Definition at line 109 of file web_widget.py.
def rqt_web.web_widget.WebWidget._handle_url_changed | ( | self, | |
url | |||
) | [private] |
Definition at line 125 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 151 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 164 of file web_widget.py.
def rqt_web.web_widget.WebWidget.restore_settings | ( | self, | |
settings | |||
) |
Definition at line 102 of file web_widget.py.
def rqt_web.web_widget.WebWidget.save_settings | ( | self, | |
settings | |||
) |
Definition at line 98 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 85 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 74 of file web_widget.py.
Definition at line 142 of file web_widget.py.
Definition at line 47 of file web_widget.py.
rqt_web::web_widget.WebWidget::_loading [private] |
Definition at line 47 of file web_widget.py.
Definition at line 47 of file web_widget.py.
Definition at line 88 of file web_widget.py.
Definition at line 47 of file web_widget.py.
rqt_web::web_widget.WebWidget::_url [private] |
Definition at line 78 of file web_widget.py.
rqt_web::web_widget.WebWidget::_view [private] |
Definition at line 47 of file web_widget.py.
Definition at line 47 of file web_widget.py.