casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Slots | Private Attributes | List of all members
casa::TBHelp Class Reference

Widget for displaying and updating the browser help files. More...

#include <TBHelp.qo.h>

Inheritance diagram for casa::TBHelp:

Public Member Functions

 TBHelp ()
 Default Constructor. More...
 
 ~TBHelp ()
 
bool rebuild ()
 Rebuilds the HTML files based on the XML file. More...
 

Private Slots

void rebuildClicked ()
 Slot for when the rebuild button is clicked. More...
 

Private Attributes

casacore::String helpdir
 Location of the directory holding the help files. More...
 

Detailed Description

Widget for displaying and updating the browser help files.

Synopsis

TBHelp first finds the help files (which should be located under casadir%/code/casaqt/implement/QtBrowser/help/) and checks the modification date. The meta help information is located in help.xml, which is then converted into html files (like browsing.html) if help.xml has been modified after the html files. The HTML is then displayed using a QTextBrowser, allowing the user to browse.

Definition at line 51 of file TBHelp.qo.h.

Constructor & Destructor Documentation

casa::TBHelp::TBHelp ( )

Default Constructor.

casa::TBHelp::~TBHelp ( )

Member Function Documentation

bool casa::TBHelp::rebuild ( )

Rebuilds the HTML files based on the XML file.

Returns true if the rebuild succeeded, false otherwise.

void casa::TBHelp::rebuildClicked ( )
privateslot

Slot for when the rebuild button is clicked.

If the rebuild is successful, the help browser is reloaded to display the most recent version.

Member Data Documentation

casacore::String casa::TBHelp::helpdir
private

Location of the directory holding the help files.

Definition at line 73 of file TBHelp.qo.h.


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