Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
doxygen-1.8.11
src
ftvhelp.h
Go to the documentation of this file.
1
/******************************************************************************
2
*
3
* Copyright (C) 1997-2015 by Dimitri van Heesch.
4
*
5
* Permission to use, copy, modify, and distribute this software and its
6
* documentation under the terms of the GNU General Public License is hereby
7
* granted. No representations are made about the suitability of this software
8
* for any purpose. It is provided "as is" without express or implied warranty.
9
* See the GNU General Public License for more details.
10
*
11
* Documents produced by Doxygen are derivative works derived from the
12
* input used in their production; they are not affected by this license.
13
*
14
*/
15
16
/******************************************************************************
17
* ftvhelp.h,v 1.0 2000/09/06 16:09:00
18
*
19
* Kenney Wong <kwong@ea.com>
20
*
21
* Folder Tree View for offline help on browsers that do not support HTML Help.
22
*/
23
24
#ifndef FTVHELP_H
25
#define FTVHELP_H
26
27
#include <
qlist.h
>
28
#include "
index.h
"
29
30
class
QFile
;
31
class
Definition
;
32
struct
FTVNode
;
33
class
FTextStream
;
34
35
/** A class that generates a dynamic tree view side panel.
36
*/
37
class
FTVHelp
:
public
IndexIntf
38
{
39
public
:
40
FTVHelp
(
bool
LTI);
41
~FTVHelp
();
42
void
initialize
();
43
void
finalize
();
44
void
incContentsDepth
();
45
void
decContentsDepth
();
46
void
addContentsItem
(
bool
isDir,
47
const
char
*
name
,
48
const
char
*ref,
49
const
char
*
file
,
50
const
char
*anchor,
51
bool
separateIndex,
52
bool
addToNavIndex,
53
Definition
*def);
54
void
addIndexItem
(
Definition
*,
MemberDef
*,
const
char
*,
const
char
*) {}
55
void
addIndexFile
(
const
char
*) {}
56
void
addImageFile
(
const
char
*) {}
57
void
addStyleSheetFile
(
const
char
*) {}
58
void
generateTreeView
();
59
void
generateTreeViewInline
(
FTextStream
&
t
);
60
static
void
generateTreeViewImages
();
61
void
generateTreeViewScripts
();
62
private
:
63
void
generateTree
(
FTextStream
&t,
const
QList<FTVNode>
&
nl
,
int
level
,
int
maxLevel,
int
&
index
);
64
//bool generateJSTree(FTextStream &tidx,FTextStream &t,const QList<FTVNode> &nl,int level,bool &first);
65
//bool generateJSTreeTopLevel(FTextStream &tidx,FTextStream &t,const QList<FTVNode> &nl,int level,bool &first);
66
QCString
generateIndentLabel
(
FTVNode
*
n
,
int
level);
67
void
generateIndent
(
FTextStream
&t,
FTVNode
*n,
bool
opened);
68
void
generateLink
(
FTextStream
&t,
FTVNode
*n);
69
//void generateJSLink(FTextStream &t,FTVNode *n);
70
QList<FTVNode>
*
m_indentNodes
;
71
int
m_indent
;
72
bool
m_topLevelIndex
;
73
};
74
75
76
#endif
/* FTVHELP_H */
77
name
static QCString name
Definition:
declinfo.cpp:673
FTVHelp::generateIndent
void generateIndent(FTextStream &t, FTVNode *n, bool opened)
Definition:
ftvhelp.cpp:253
Definition
Definition:
definition.h:92
index.h
MemberDef
Definition:
memberdef.h:43
FTVHelp::addImageFile
void addImageFile(const char *)
Definition:
ftvhelp.h:56
FTVHelp::finalize
void finalize()
Definition:
ftvhelp.cpp:132
FTVHelp::generateTree
void generateTree(FTextStream &t, const QList< FTVNode > &nl, int level, int maxLevel, int &index)
Definition:
ftvhelp.cpp:325
FTVHelp::initialize
void initialize()
Definition:
ftvhelp.cpp:124
FTVHelp::m_indentNodes
QList< FTVNode > * m_indentNodes
Definition:
ftvhelp.h:70
FTextStream
Simplified and optimized version of QTextStream.
Definition:
ftextstream.h:11
FTVHelp::generateTreeViewInline
void generateTreeViewInline(FTextStream &t)
Definition:
ftvhelp.cpp:716
FTVHelp::addIndexFile
void addIndexFile(const char *)
Definition:
ftvhelp.h:55
FTVNode
Definition:
ftvhelp.cpp:45
FTVHelp::addIndexItem
void addIndexItem(Definition *, MemberDef *, const char *, const char *)
Definition:
ftvhelp.h:54
FTVHelp::generateTreeView
void generateTreeView()
Definition:
ftvhelp.cpp:779
cet::n
std::void_t< T > n
Definition:
metaprogramming.h:28
reco_momentum_tuples.t
t
Definition:
reco_momentum_tuples.py:25
cache_state.file
file
Definition:
cache_state.py:421
FTVHelp::FTVHelp
FTVHelp(bool LTI)
Definition:
ftvhelp.cpp:106
generate_datataset.level
level
Definition:
generate_datataset.py:30
FTVHelp::generateIndentLabel
QCString generateIndentLabel(FTVNode *n, int level)
Definition:
ftvhelp.cpp:242
FTVHelp::generateTreeViewScripts
void generateTreeViewScripts()
Definition:
ftvhelp.cpp:703
FTVHelp::generateLink
void generateLink(FTextStream &t, FTVNode *n)
Definition:
ftvhelp.cpp:273
FTVHelp::addContentsItem
void addContentsItem(bool isDir, const char *name, const char *ref, const char *file, const char *anchor, bool separateIndex, bool addToNavIndex, Definition *def)
Definition:
ftvhelp.cpp:183
FTVHelp::generateTreeViewImages
static void generateTreeViewImages()
Definition:
ftvhelp.cpp:690
QFile
The QFile class is an I/O device that operates on files.
Definition:
qfile.h:50
IndexIntf
Abstract interface for index generators.
Definition:
index.h:30
FTVHelp::m_indent
int m_indent
Definition:
ftvhelp.h:71
FTVHelp
Definition:
ftvhelp.h:37
FTVHelp::~FTVHelp
~FTVHelp()
Definition:
ftvhelp.cpp:116
ValidateOpDetReco.index
index
Definition:
ValidateOpDetReco.py:379
FTVHelp::decContentsDepth
void decContentsDepth()
Definition:
ftvhelp.cpp:152
FTVHelp::incContentsDepth
void incContentsDepth()
Definition:
ftvhelp.cpp:141
qlist.h
QCString
Definition:
qcstring.h:131
fhicl::detail::nl
std::string nl(std::size_t i=1)
Definition:
printing_helpers.h:18
QList< FTVNode >
FTVHelp::m_topLevelIndex
bool m_topLevelIndex
Definition:
ftvhelp.h:72
FTVHelp::addStyleSheetFile
void addStyleSheetFile(const char *)
Definition:
ftvhelp.h:57
Generated by
1.8.11