KVIrc 5.2.6
Developer APIs
HelpWidget.h
Go to the documentation of this file.
1#ifndef _HELPWIDGET_H_
2#define _HELPWIDGET_H_
3//=============================================================================
4//
5// File : HelpWidget.h
6// Creation date : Thu Aug 10 2000 17:26:20 by Szymon Stefanek
7//
8// This file is part of the KVIrc IRC client distribution
9// Copyright (C) 2000-2010 Szymon Stefanek (pragma at kvirc dot net)
10//
11// This program is FREE software. You can redistribute it and/or
12// modify it under the terms of the GNU General Public License
13// as published by the Free Software Foundation; either version 2
14// of the License, or (at your option) any later version.
15//
16// This program is distributed in the HOPE that it will be USEFUL,
17// but WITHOUT ANY WARRANTY; without even the implied warranty of
18// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
19// See the GNU General Public License for more details.
20//
21// You should have received a copy of the GNU General Public License
22// along with this program. If not, write to the Free Software Foundation,
23// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24//
25//=============================================================================
26
27#include "HelpIndex.h"
28#include "kvi_settings.h"
29
30#include <QTextBrowser>
31#include <QToolBar>
32#include <QVBoxLayout>
33#include <QProgressBar>
34
35class QToolButton;
36class QLineEdit;
37class KviMainWindow;
38
39class HelpWidget : public QWidget
40{
41 Q_OBJECT
42public:
43 HelpWidget(QWidget * par, bool bIsStandalone = false);
45
46private:
47 QVBoxLayout * m_pLayout;
48 QToolBar * m_pToolBar;
49 QAction * m_pBackAction;
51 QTextBrowser * m_pTextBrowser;
53
54protected slots:
55 void showIndex();
56public:
57 QTextBrowser * textBrowser()
58 {
59 return m_pTextBrowser;
60 }
61};
62
63#endif //_HELPWIDGET_H_
Definition HelpWidget.h:40
HelpWidget(QWidget *par, bool bIsStandalone=false)
Definition HelpWidget.cpp:48
void showIndex()
Definition HelpWidget.cpp:101
QTextBrowser * textBrowser()
Definition HelpWidget.h:57
QVBoxLayout * m_pLayout
Definition HelpWidget.h:47
QToolBar * m_pToolBar
Definition HelpWidget.h:48
QAction * m_pForwardAction
Definition HelpWidget.h:50
QTextBrowser * m_pTextBrowser
Definition HelpWidget.h:51
~HelpWidget()
Definition HelpWidget.cpp:95
bool m_bIsStandalone
Definition HelpWidget.h:52
QAction * m_pBackAction
Definition HelpWidget.h:49
Definition KviMainWindow.h:58
This file contains compile time settings.