1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
|
/*
Copyright (c) 2006-2009, Tom Thielicke IT Solutions
SPDX-License-Identifier: GPL-2.0-only
*/
/****************************************************************
**
** Definition of the HelpBrowser class
** File name: helpbrowser.h
**
****************************************************************/
#ifndef HELPBROWSER_H
#define HELPBROWSER_H
#include <QDialog>
#include <QLineEdit>
#include <QPushButton>
#include <QString>
#include <QTextBrowser>
#include <QWidget>
//! The HelpBrowser class provides a program settings widget.
/*!
The HelpBrowser class shows three program settings. Setting the
layout of the virtual keyboard, setting the ticker speed and font
and doing a reset of the user tables.
@author Tom Thielicke, s712715
@version 0.0.3
@date 18.06.2006
*/
class HelpBrowser : public QDialog {
Q_OBJECT
public:
//! Constructor, creates two table objects and provide it in two tabs.
/*!
In this contructor three groups are created over functions
createGroupKeyboardLayout(), createGroupUserReset() and
createGroupTickerFont(). In addition, standard settings are read,
standard font is set and connections are set.
@param parent The parent QWidget
@see createGroupKeyboardLayout(), createGroupUserReset(),
createGroupTickerFont(), readSettings(),
tickerFont
*/
HelpBrowser(QString link, QWidget* parent = 0);
public slots:
private slots:
//! Start button pressed
void clickClose();
void clickPrint();
void changePage(QUrl url);
private:
//! Creates a cancel and a save button.
void createButtons();
//! Creates the layout of the complete class.
void createLayout();
QPushButton* buttonClose;
QPushButton* buttonBack;
QPushButton* buttonHome;
QTextBrowser* textBrowser;
QPushButton* buttonPrint;
};
#endif // HELPBROWSER_H
|