Class to help users. More...
#include <kockpithelp.h>
Public Member Functions | |
| KockpitHelp (const QString &path, const QString &page, QWidget *parent=0) | |
| Constructor. | |
Static Public Member Functions | |
| static void | showPage (const QString &page) |
Private Slots | |
| void | updateWindowTitle () |
| Update Window Title. | |
Private Attributes | |
| QTextBrowser * | textBrowser |
| Viewing area. | |
| QPushButton * | homeButton |
| Button to go back to the start page. | |
| QPushButton * | backButton |
| Go back to the previous site. | |
| QPushButton * | closeButton |
| Close. | |
Class to help users.
This class is based on the description of C++ GUI Programmierung with Qt 4 (page 509),
| KockpitHelp::KockpitHelp | ( | const QString & | path, | |
| const QString & | page, | |||
| QWidget * | parent = 0 | |||
| ) |
Constructor.
| path | Search paths for search ressources. | |
| page | Name of the documentation file | |
| parent | Parent object; |
| void KockpitHelp::showPage | ( | const QString & | page | ) | [static] |
| void KockpitHelp::updateWindowTitle | ( | ) | [private, slot] |
Update Window Title.
Every time the source page changes this function is called.
QPushButton* KockpitHelp::backButton [private] |
Go back to the previous site.
QPushButton* KockpitHelp::closeButton [private] |
Close.
QPushButton* KockpitHelp::homeButton [private] |
Button to go back to the start page.
QTextBrowser* KockpitHelp::textBrowser [private] |
Viewing area.
1.6.3