Doxygen
|
A class that generates a dynamic tree view side panel. More...
#include <src/ftvhelp.h>
Classes | |
struct | Private |
Public Member Functions | |
FTVHelp (bool LTI) | |
~FTVHelp () | |
void | initialize () |
void | finalize () |
void | incContentsDepth () |
void | decContentsDepth () |
void | addContentsItem (bool isDir, const QCString &name, const QCString &ref, const QCString &file, const QCString &anchor, bool separateIndex, bool addToNavIndex, const Definition *def, const QCString &nameAsHtml=QCString()) |
void | addIndexItem (const Definition *, const MemberDef *, const QCString &, const QCString &) |
void | addIndexFile (const QCString &) |
void | addImageFile (const QCString &) |
void | addStyleSheetFile (const QCString &) |
void | generateTreeView () |
void | generateTreeViewInline (TextStream &t) |
void | generateTreeViewScripts () |
Private Attributes | |
std::unique_ptr< Private > | p |
FTVHelp::FTVHelp | ( | bool | TLI | ) |
Constructs an ftv help object. The object has to be initialized before it can be used.
Definition at line 120 of file ftvhelp.cpp.
References p.
Referenced by ~FTVHelp().
|
default |
References FTVHelp().
|
virtual |
Add a list item to the contents file.
isDir | TRUE if the item is a directory, FALSE if it is a text |
name | the name of the item. |
nameAsHtml | the name of the item in HTML format. |
ref | the URL of to the item. |
file | the file containing the definition of the item |
anchor | the anchor within the file. |
separateIndex | put the entries in a separate index file |
addToNavIndex | add this entry to the quick navigation index |
def | Definition corresponding to this entry |
Implements IndexIntf.
Definition at line 186 of file ftvhelp.cpp.
Referenced by writeClassTree(), writeClassTreeForList(), writeClassTreeInsideNamespaceElement(), writeClassTreeToOutput(), writeConceptList(), writeConceptRootList(), writeConceptTreeInsideNamespaceElement(), writeDirHierarchy(), writeDirTreeNode(), writeGroupTreeNode(), writeModuleTreeNode(), writeNamespaceTreeElement(), and writePages().
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
Decrease the level of the contents hierarchy. This will end the current sublist.
Implements IndexIntf.
Definition at line 154 of file ftvhelp.cpp.
References ASSERT, p, and parent().
Referenced by writeClassTree(), writeClassTreeInsideNamespaceElement(), writeClassTreeToOutput(), writeConceptTreeInsideNamespaceElement(), writeDirTreeNode(), writeGroupTreeNode(), writeNamespaceTreeElement(), and writePages().
|
virtual |
Finalizes the FTV help. This will finish and close the contents file (index.js).
Implements IndexIntf.
Definition at line 134 of file ftvhelp.cpp.
References generateTreeView().
void FTVHelp::generateTreeView | ( | ) |
Definition at line 931 of file ftvhelp.cpp.
References generateTreeViewScripts().
Referenced by finalize().
void FTVHelp::generateTreeViewInline | ( | TextStream & | t | ) |
Definition at line 870 of file ftvhelp.cpp.
References Config_getInt, p, and theTranslator.
Referenced by writeAnnotatedIndexGeneric(), writeConceptIndex(), writeFileIndex(), writeHierarchicalExceptionIndex(), writeHierarchicalIndex(), writeHierarchicalInterfaceIndex(), writeModuleIndex(), writeNamespaceIndex(), writePageIndex(), and writeTopicIndex().
void FTVHelp::generateTreeViewScripts | ( | ) |
Definition at line 861 of file ftvhelp.cpp.
References Config_getString, generateJSNavTree(), and p.
Referenced by generateTreeView().
|
virtual |
Increase the level of the contents hierarchy. This will start a new sublist in contents file.
Implements IndexIntf.
Definition at line 143 of file ftvhelp.cpp.
References p.
Referenced by writeClassTree(), writeClassTreeInsideNamespaceElement(), writeClassTreeToOutput(), writeConceptTreeInsideNamespaceElement(), writeDirTreeNode(), writeGroupTreeNode(), writeNamespaceTreeElement(), and writePages().
|
virtual |
This will create a folder tree view table of contents file (tree.js).
Implements IndexIntf.
Definition at line 126 of file ftvhelp.cpp.
|
private |
Definition at line 69 of file ftvhelp.h.
Referenced by addContentsItem(), decContentsDepth(), FTVHelp(), generateTreeViewInline(), generateTreeViewScripts(), and incContentsDepth().