#include <TxqHelpWindow.h>
Inheritance diagram for TxqHelpWindow::

Public Methods | |
| TxqHelpWindow (const QString &home_, const QString &path, QWidget *parent=0, const char *name=0) | |
| The contstuctor takes the following arguements:. More... | |
| ~TxqHelpWindow () | |
| The destructor. More... | |
| void | setMimeSource (QString filetype, QString type="text/plain") |
| Set the file type to be able to parse. More... | |
| void | start () |
| show the browser and set its source to home. More... | |
| void | setEditable (bool e) |
| Set the browswer to be editable if true. More... | |
| void | enableSaveMenu (bool enable) |
| Enable or disable the save menu. More... | |
Private Slots | |
| void | setBackwardAvailable (bool) |
| Enable the Backward button. More... | |
| void | setForwardAvailable (bool) |
| Enable the Forward button. More... | |
| void | textChanged () |
| slot used when a new document is needed. More... | |
| void | about () |
| slot to print out the about message. More... | |
| void | aboutQt () |
| slot used to print the about Qt message. More... | |
| void | openFile () |
| slot to open a file and set the browser source. More... | |
| void | saveFile () |
| slot to save a file. More... | |
| void | newWindow () |
| slot to open a new browswer. More... | |
| void | print () |
| slot to print the text. More... | |
| void | pathSelected (const QString &) |
| slot to set the new path. More... | |
| void | histChosen (int) |
| slot to set the source to selected history. More... | |
| void | bookmChosen (int) |
| slot to set the source to selected bookmark. More... | |
| void | addBookmark () |
| slot to add a new bookmark. More... | |
Private Methods | |
| void | readHistory () |
| read the history file. More... | |
| void | readBookmarks () |
| read the book mark file. More... | |
Private Attributes | |
| QTextBrowser* | browser |
| the data member browser. More... | |
| QComboBox* | pathCombo |
| The path box on the browser. More... | |
| int | forwardId |
| The forward button id number. More... | |
| int | backwardId |
| The backward button id number. More... | |
| QString | selectedURL |
| The URL selected by the user. More... | |
| QDir | path |
| The directory path. More... | |
| QStringList | fileList |
| The list of files in the path. More... | |
| QStringList | history |
| The history list. More... | |
| QStringList | bookmarks |
| The bookmark list. More... | |
| QMap<int, QString> | mHistory |
| The map of history and bookmarks. More... | |
| QMap<int, QString> | mBookmarks |
| The map of history and bookmarks. More... | |
| QPopupMenu* | hist |
| The menu for history. More... | |
| QPopupMenu* | bookm |
| The menu for Add bookmark. More... | |
| QString | home |
| The class data member for home. More... | |
| int | saveId |
| The save menu id. More... | |
| QPopupMenu* | file |
| The file menu. More... | |
This class is derived work from the qt/examples/helpviewer and is not copyrighted.
Definition at line 63 of file TxqHelpWindow.h.
|
|
The contstuctor takes the following arguements:.
|
|
|
The destructor.
|
|
|
slot to print out the about message.
|
|
|
slot used to print the about Qt message.
|
|
|
slot to add a new bookmark.
|
|
|
slot to set the source to selected bookmark.
|
|
|
Enable or disable the save menu.
|
|
|
slot to set the source to selected history.
|
|
|
slot to open a new browswer.
|
|
|
slot to open a file and set the browser source.
|
|
|
slot to set the new path.
|
|
|
slot to print the text.
|
|
|
read the book mark file.
|
|
|
read the history file.
|
|
|
slot to save a file.
|
|
|
Enable the Backward button.
|
|
|
Set the browswer to be editable if true.
|
|
|
Enable the Forward button.
|
|
|
Set the file type to be able to parse.
|
|
|
show the browser and set its source to home.
|
|
|
slot used when a new document is needed.
|
|
|
The backward button id number.
Definition at line 203 of file TxqHelpWindow.h. |
|
|
The menu for Add bookmark.
Definition at line 242 of file TxqHelpWindow.h. |
|
|
The bookmark list.
Definition at line 227 of file TxqHelpWindow.h. |
|
|
the data member browser.
Definition at line 189 of file TxqHelpWindow.h. |
|
|
The file menu.
Definition at line 257 of file TxqHelpWindow.h. |
|
|
The list of files in the path.
Definition at line 218 of file TxqHelpWindow.h. |
|
|
The forward button id number.
Definition at line 199 of file TxqHelpWindow.h. |
|
|
The menu for history.
Definition at line 237 of file TxqHelpWindow.h. |
|
|
The history list.
Definition at line 223 of file TxqHelpWindow.h. |
|
|
The class data member for home.
Definition at line 247 of file TxqHelpWindow.h. |
|
|
The map of history and bookmarks.
Definition at line 232 of file TxqHelpWindow.h. |
|
|
The map of history and bookmarks.
Definition at line 232 of file TxqHelpWindow.h. |
|
|
The directory path.
Definition at line 213 of file TxqHelpWindow.h. |
|
|
The path box on the browser.
Definition at line 194 of file TxqHelpWindow.h. |
|
|
The save menu id.
Definition at line 252 of file TxqHelpWindow.h. |
|
|
The URL selected by the user.
Definition at line 208 of file TxqHelpWindow.h. |
Copyright Tech-X Corporation, all rights reserved.