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
WsMenuImages Class Reference

#include <WsModMenuImages.h>

Inheritance diagram for WsMenuImages:
Inheritance graph
Collaboration diagram for WsMenuImages:
Collaboration graph

Public Slots

void doTimeout ()
 

Public Member Functions

 WsMenuImages (Wt::WContainerWidget *parent=0)
 CTor. More...
 
 ~WsMenuImages ()
 
void load ()
 
void buildVector ()
 
void buildMenu ()
 
void setMaxImages (int nMaxImages)
 Set the number of images in the menu. If the number of images is more than this value a timer rotate the images. More...
 
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::vector< std::string > m_vDirectories
 
std::vector< std::string > m_vDisplayNames
 
int m_nStartImage
 
int m_nMaxImages
 
Wt::WTimer * m_pTimer
 

Detailed Description

Definition at line 32 of file WsModMenuImages.h.

Constructor & Destructor Documentation

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

CTor.

Definition at line 42 of file WsModMenuImages.cpp.

WsMenuImages::~WsMenuImages ( )

Definition at line 48 of file WsModMenuImages.cpp.

Member Function Documentation

void WsMenuImages::buildMenu ( )

Definition at line 124 of file WsModMenuImages.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void WsMenuImages::buildVector ( )

Definition at line 70 of file WsModMenuImages.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void WsMenuImages::doTimeout ( )
slot

Definition at line 116 of file WsModMenuImages.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void WsMenuImages::load ( )

Definition at line 52 of file WsModMenuImages.cpp.

Here is the call 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 WsMenuImages::setMaxImages ( int  nMaxImages)

Set the number of images in the menu. If the number of images is more than this value a timer rotate the images.

Definition at line 155 of file WsModMenuImages.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

int WsMenuImages::m_nMaxImages
private

Definition at line 51 of file WsModMenuImages.h.

int WsMenuImages::m_nStartImage
private

Definition at line 50 of file WsModMenuImages.h.

Wt::WTimer* WsMenuImages::m_pTimer
private

Definition at line 52 of file WsModMenuImages.h.

std::vector<std::string> WsMenuImages::m_vDirectories
private

Definition at line 48 of file WsModMenuImages.h.

std::vector<std::string> WsMenuImages::m_vDisplayNames
private

Definition at line 49 of file WsModMenuImages.h.


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