Wittyshare  0.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Slots | Public Member Functions | Private Attributes | List of all members
WsMenu Class Reference

#include <WsMenu.h>

Inheritance diagram for WsMenu:
Inheritance graph
Collaboration diagram for WsMenu:
Collaboration graph

Public Slots

void doPathChanged (std::string newPath)
 
void onMouseWentOver (Wt::WPushButton *pButton)
 

Public Member Functions

 WsMenu (Wt::WContainerWidget *parent=0)
 
 ~WsMenu ()
 
 WsMenu (const std::string &path, Wt::WContainerWidget *parent=0)
 
void load ()
 
void doLoadCurPath ()
 
void doSelectedMenu (std::string newPath)
 
void loadMenu (NodePtr pNodeParent, Wt::WMenu *menuParent)
 
void createMenu (NodePtr pNode, Wt::WMenu *menuParent)
 
void loadPopupMenu (NodePtr pNodeParent, Wt::WPopupMenu *menuParent)
 
Wt::WLink makeLink (const std::string &path, bool bUseIcon=false)
 
void loadImage (NodePtr pNodeParent)
 
void setOption (const std::string &attribute, boost::any value)
 Set an options if previously set, update the value. More...
 
void setOptions (const std::vector< WsOption > &vOptions)
 Set all options. More...
 
const boost::any & option (const std::string &attribute) const
 Get an options value. More...
 
const std::vector< WsOption > & options () const
 Get all options. More...
 
void outOptions (const std::string message)
 Output all options. More...
 

Private Attributes

std::string m_sCurPath
 
bool m_bDebug
 
std::vector< Wt::WPushButton * > m_vPushButton
 

Detailed Description

Definition at line 23 of file WsMenu.h.

Constructor & Destructor Documentation

WsMenu::WsMenu ( Wt::WContainerWidget *  parent = 0)

Definition at line 31 of file WsMenu.cpp.

WsMenu::~WsMenu ( )

Definition at line 42 of file WsMenu.cpp.

WsMenu::WsMenu ( const std::string &  path,
Wt::WContainerWidget *  parent = 0 
)

Definition at line 37 of file WsMenu.cpp.

Member Function Documentation

void WsMenu::createMenu ( NodePtr  pNode,
Wt::WMenu *  menuParent 
)

Definition at line 113 of file WsMenu.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void WsMenu::doLoadCurPath ( )

Definition at line 54 of file WsMenu.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void WsMenu::doPathChanged ( std::string  newPath)
slot

Definition at line 275 of file WsMenu.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void WsMenu::doSelectedMenu ( std::string  newPath)

Definition at line 284 of file WsMenu.cpp.

Here is the caller graph for this function:

void WsMenu::load ( )

Definition at line 46 of file WsMenu.cpp.

Here is the call graph for this function:

void WsMenu::loadImage ( NodePtr  pNodeParent)

Definition at line 249 of file WsMenu.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void WsMenu::loadMenu ( NodePtr  pNodeParent,
Wt::WMenu *  menuParent 
)

Definition at line 103 of file WsMenu.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void WsMenu::loadPopupMenu ( NodePtr  pNodeParent,
Wt::WPopupMenu *  menuParent 
)

Definition at line 201 of file WsMenu.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

WLink WsMenu::makeLink ( const std::string &  path,
bool  bUseIcon = false 
)

Definition at line 224 of file WsMenu.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void WsMenu::onMouseWentOver ( Wt::WPushButton *  pButton)
slot

Definition at line 190 of file WsMenu.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

const boost::any & WsOptions::option ( const std::string &  attribute) const
inherited

Get an options value.

Definition at line 62 of file WsOption.cpp.

Here is the caller graph for this function:

const std::vector< WsOption > & WsOptions::options ( ) const
inherited

Get all options.

Definition at line 70 of file WsOption.cpp.

Here is the caller graph for this function:

void WsOptions::outOptions ( const std::string  message)
inherited

Output all options.

Definition at line 75 of file WsOption.cpp.

Here is the caller graph for this function:

void WsOptions::setOption ( const std::string &  attribute,
boost::any  value 
)
inherited

Set an options if previously set, update the value.

Definition at line 47 of file WsOption.cpp.

Here is the caller graph for this function:

void WsOptions::setOptions ( const std::vector< WsOption > &  vOptions)
inherited

Set all options.

Definition at line 57 of file WsOption.cpp.

Here is the caller graph for this function:

Member Data Documentation

bool WsMenu::m_bDebug
private

Definition at line 43 of file WsMenu.h.

std::string WsMenu::m_sCurPath
private

Definition at line 42 of file WsMenu.h.

std::vector<Wt::WPushButton*> WsMenu::m_vPushButton
private

Definition at line 44 of file WsMenu.h.


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