GNU Octave  3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Slots | Public Member Functions | Private Member Functions | Private Attributes | List of all members
webinfo Class Reference

#include "webinfo.h"

Inheritance diagram for webinfo:
Inheritance graph
[legend]
Collaboration diagram for webinfo:
Collaboration graph
[legend]

Public Slots

void close_tab (int index)
void copyClipboard ()
void current_tab_changed (int index)
void link_clicked (const QUrl &link)
void pasteClipboard ()
void search ()
void zoom_in ()
void zoom_out ()

Public Member Functions

 webinfo (QWidget *parent=0)
void load_node (const QString &node_name)
void load_ref (const QString &ref_name)
void set_info_path (const QString &info_path)

Private Member Functions

QTextBrowser * addNewTab (const QString &name)

Private Attributes

QFont _font_web
parser _parser
QCheckBox * _search_check_box
QLineEdit * _search_line_edit
QStackedWidget * _stacked_widget
QTabBar * _tab_bar
QTextBrowser * _text_browser
QToolButton * _zoom_in_button
QToolButton * _zoom_out_button

Detailed Description

Definition at line 36 of file webinfo.h.

Constructor & Destructor Documentation

webinfo::webinfo ( QWidget parent = 0)

Member Function Documentation

QTextBrowser * webinfo::addNewTab ( const QString &  name)
private

Definition at line 161 of file webinfo.cc.

References _font_web, _stacked_widget, _tab_bar, _text_browser, current_tab_changed(), and link_clicked().

Referenced by load_node(), and search().

void webinfo::close_tab ( int  index)
slot

Definition at line 192 of file webinfo.cc.

References _stacked_widget, _tab_bar, and Faddeeva::w().

Referenced by webinfo().

void webinfo::copyClipboard ( void  )
slot

Definition at line 255 of file webinfo.cc.

References _search_line_edit, and _text_browser.

Referenced by documentation_dock_widget::copyClipboard().

void webinfo::current_tab_changed ( int  index)
slot

Definition at line 147 of file webinfo.cc.

References _font_web, _stacked_widget, _tab_bar, and _text_browser.

Referenced by addNewTab(), and webinfo().

void webinfo::link_clicked ( const QUrl &  link)
slot

Definition at line 137 of file webinfo.cc.

References _text_browser, and load_node().

Referenced by addNewTab().

void webinfo::load_node ( const QString &  node_name)
void webinfo::load_ref ( const QString &  ref_name)

Definition at line 206 of file webinfo.cc.

References _parser, _text_browser, parser::find_ref(), and load_node().

Referenced by documentation_dock_widget::showDoc().

void webinfo::pasteClipboard ( void  )
slot

Definition at line 270 of file webinfo.cc.

References _search_line_edit.

Referenced by documentation_dock_widget::pasteClipboard().

void webinfo::search ( )
slot

Definition at line 224 of file webinfo.cc.

References _parser, _search_check_box, _search_line_edit, _text_browser, addNewTab(), and parser::global_search().

Referenced by webinfo().

void webinfo::set_info_path ( const QString &  info_path)

Definition at line 102 of file webinfo.cc.

References _parser, load_node(), and parser::set_info_path().

Referenced by webinfo().

void webinfo::zoom_in ( )
slot

Definition at line 241 of file webinfo.cc.

References _font_web, and _text_browser.

Referenced by webinfo().

void webinfo::zoom_out ( )
slot

Definition at line 248 of file webinfo.cc.

References _font_web, and _text_browser.

Referenced by webinfo().

Member Data Documentation

QFont webinfo::_font_web
private

Definition at line 67 of file webinfo.h.

Referenced by addNewTab(), current_tab_changed(), webinfo(), zoom_in(), and zoom_out().

parser webinfo::_parser
private

Definition at line 66 of file webinfo.h.

Referenced by load_node(), load_ref(), search(), and set_info_path().

QCheckBox* webinfo::_search_check_box
private

Definition at line 62 of file webinfo.h.

Referenced by search(), and webinfo().

QLineEdit* webinfo::_search_line_edit
private

Definition at line 61 of file webinfo.h.

Referenced by copyClipboard(), pasteClipboard(), search(), and webinfo().

QStackedWidget* webinfo::_stacked_widget
private

Definition at line 60 of file webinfo.h.

Referenced by addNewTab(), close_tab(), current_tab_changed(), and webinfo().

QTabBar* webinfo::_tab_bar
private

Definition at line 59 of file webinfo.h.

Referenced by addNewTab(), close_tab(), current_tab_changed(), load_node(), and webinfo().

QTextBrowser* webinfo::_text_browser
private
QToolButton* webinfo::_zoom_in_button
private

Definition at line 63 of file webinfo.h.

Referenced by webinfo().

QToolButton* webinfo::_zoom_out_button
private

Definition at line 64 of file webinfo.h.

Referenced by webinfo().


The documentation for this class was generated from the following files: