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) |
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 () |
Public Member Functions inherited from IndexIntf |
Static Public Member Functions | |
static void | generateTreeViewImages () |
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 119 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. |
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 184 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 153 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 133 of file ftvhelp.cpp.
References generateTreeView().
void FTVHelp::generateTreeView | ( | ) |
Definition at line 936 of file ftvhelp.cpp.
References generateTreeViewImages(), and generateTreeViewScripts().
Referenced by finalize().
|
static |
Definition at line 851 of file ftvhelp.cpp.
References Config_getString, ResourceMgr::copyResource(), and ResourceMgr::instance().
Referenced by generateOutput(), and generateTreeView().
void FTVHelp::generateTreeViewInline | ( | TextStream & | t | ) |
Definition at line 875 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 866 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 142 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 125 of file ftvhelp.cpp.
|
private |
Definition at line 69 of file ftvhelp.h.
Referenced by addContentsItem(), decContentsDepth(), FTVHelp(), generateTreeViewInline(), generateTreeViewScripts(), and incContentsDepth().