KVIrc
5.2.6
Developer APIs
src
modules
help
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
35
class
QToolButton;
36
class
QLineEdit;
37
class
KviMainWindow
;
38
39
class
HelpWidget
:
public
QWidget
40
{
41
Q_OBJECT
42
public
:
43
HelpWidget
(QWidget * par,
bool
bIsStandalone =
false
);
44
~HelpWidget
();
45
46
private
:
47
QVBoxLayout *
m_pLayout
;
48
QToolBar *
m_pToolBar
;
49
QAction *
m_pBackAction
;
50
QAction *
m_pForwardAction
;
51
QTextBrowser *
m_pTextBrowser
;
52
bool
m_bIsStandalone
;
53
54
protected
slots:
55
void
showIndex
();
56
public
:
57
QTextBrowser *
textBrowser
()
58
{
59
return
m_pTextBrowser
;
60
}
61
};
62
63
#endif
//_HELPWIDGET_H_
HelpIndex.h
HelpWidget::HelpWidget
HelpWidget(QWidget *par, bool bIsStandalone=false)
Definition
HelpWidget.cpp:48
HelpWidget::showIndex
void showIndex()
Definition
HelpWidget.cpp:101
HelpWidget::textBrowser
QTextBrowser * textBrowser()
Definition
HelpWidget.h:57
HelpWidget::m_pLayout
QVBoxLayout * m_pLayout
Definition
HelpWidget.h:47
HelpWidget::m_pToolBar
QToolBar * m_pToolBar
Definition
HelpWidget.h:48
HelpWidget::m_pForwardAction
QAction * m_pForwardAction
Definition
HelpWidget.h:50
HelpWidget::m_pTextBrowser
QTextBrowser * m_pTextBrowser
Definition
HelpWidget.h:51
HelpWidget::~HelpWidget
~HelpWidget()
Definition
HelpWidget.cpp:95
HelpWidget::m_bIsStandalone
bool m_bIsStandalone
Definition
HelpWidget.h:52
HelpWidget::m_pBackAction
QAction * m_pBackAction
Definition
HelpWidget.h:49
KviMainWindow
Definition
KviMainWindow.h:58
kvi_settings.h
This file contains compile time settings.
Generated on Mon May 5 2025 09:18:55 for KVIrc by
1.13.2