Crossfire Server, Trunk
HelpManager Class Reference

#include <HelpManager.h>

+ Inheritance diagram for HelpManager:
+ Collaboration diagram for HelpManager:

Public Slots

void displayHelp ()
 

Public Member Functions

 HelpManager (const QString &helpRoot)
 
virtual ~HelpManager ()
 

Static Public Member Functions

static void setHelpId (QWidget *widget, const QString &id)
 

Static Public Attributes

static const char * assetTreeProperty
 
static const char * helpIdProperty = "cre_help_id"
 

Protected Member Functions

QUrl computeUrlForWidget (QWidget *widget) const
 
QUrl computeUrlToDisplay () const
 

Protected Attributes

HelpBrowsermyBrowser
 
QDialog * myDisplay
 

Detailed Description

Definition at line 23 of file HelpManager.h.

Constructor & Destructor Documentation

◆ HelpManager()

HelpManager::HelpManager ( const QString &  helpRoot)

Definition at line 26 of file HelpManager.cpp.

References myBrowser, and myDisplay.

◆ ~HelpManager()

HelpManager::~HelpManager ( )
virtual

Definition at line 46 of file HelpManager.cpp.

References myDisplay.

Member Function Documentation

◆ computeUrlForWidget()

QUrl HelpManager::computeUrlForWidget ( QWidget *  widget) const
protected

Definition at line 63 of file HelpManager.cpp.

References helpIdProperty.

Referenced by computeUrlToDisplay().

+ Here is the caller graph for this function:

◆ computeUrlToDisplay()

QUrl HelpManager::computeUrlToDisplay ( ) const
protected

Definition at line 77 of file HelpManager.cpp.

References computeUrlForWidget().

Referenced by displayHelp().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ displayHelp

void HelpManager::displayHelp ( )
slot

Definition at line 50 of file HelpManager.cpp.

References computeUrlToDisplay(), myBrowser, and myDisplay.

Referenced by CREMainWindow::createMenus().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setHelpId()

void HelpManager::setHelpId ( QWidget *  widget,
const QString &  id 
)
static

Definition at line 58 of file HelpManager.cpp.

References helpIdProperty.

Referenced by CREQuestPanel::CREQuestPanel(), and TreasurePanel::TreasurePanel().

+ Here is the caller graph for this function:

Field Documentation

◆ assetTreeProperty

const char* HelpManager::assetTreeProperty
static

Definition at line 26 of file HelpManager.h.

◆ helpIdProperty

const char * HelpManager::helpIdProperty = "cre_help_id"
static

Definition at line 27 of file HelpManager.h.

Referenced by computeUrlForWidget(), and setHelpId().

◆ myBrowser

HelpBrowser* HelpManager::myBrowser
protected

Definition at line 42 of file HelpManager.h.

Referenced by displayHelp(), and HelpManager().

◆ myDisplay

QDialog* HelpManager::myDisplay
protected

Definition at line 41 of file HelpManager.h.

Referenced by displayHelp(), HelpManager(), and ~HelpManager().


The documentation for this class was generated from the following files: