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

#include <WsModImagesGallery.h>

Inheritance diagram for WsImagesGallery:
Inheritance graph
Collaboration diagram for WsImagesGallery:
Collaboration graph

Public Slots

void doTimeoutThumb ()
 
void doTimeoutImage ()
 
void doPrevious (Wt::WPushButton *pButton)
 
void doPlay (Wt::WPushButton *pButton)
 
void doNext (Wt::WPushButton *pButton)
 
void doThumbClicked (int nImageId)
 

Public Member Functions

 WsImagesGallery (Wt::WContainerWidget *parent=0)
 CTor. More...
 
 ~WsImagesGallery ()
 
void load ()
 
void buildVector ()
 
void buildThumbnails ()
 
void renderButtons ()
 
void renderThumb ()
 
void renderImage ()
 
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_vImages
 
std::vector< Magick::Blob > m_vThumbnails
 
std::vector< std::string > m_vDisplayNames
 
int m_nStartImage
 
int m_nMaxImages
 
int m_nCurrentImage
 
Wt::WTimer * m_pTimerThumb
 
Wt::WTimer * m_pTimerImage
 
WsImages2m_pImages2
 
Wt::WText * m_pImages2Text
 
WContainerWidget * m_cwThumb
 

Detailed Description

Definition at line 39 of file WsModImagesGallery.h.

Constructor & Destructor Documentation

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

CTor.

Definition at line 41 of file WsModImagesGallery.cpp.

WsImagesGallery::~WsImagesGallery ( )

Definition at line 47 of file WsModImagesGallery.cpp.

Member Function Documentation

void WsImagesGallery::buildThumbnails ( )

Definition at line 107 of file WsModImagesGallery.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void WsImagesGallery::buildVector ( )

Definition at line 82 of file WsModImagesGallery.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void WsImagesGallery::doNext ( Wt::WPushButton *  pButton)
slot

Definition at line 258 of file WsModImagesGallery.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void WsImagesGallery::doPlay ( Wt::WPushButton *  pButton)
slot

Definition at line 246 of file WsModImagesGallery.cpp.

Here is the caller graph for this function:

void WsImagesGallery::doPrevious ( Wt::WPushButton *  pButton)
slot

Definition at line 238 of file WsModImagesGallery.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void WsImagesGallery::doThumbClicked ( int  nImageId)
slot

Definition at line 231 of file WsModImagesGallery.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void WsImagesGallery::doTimeoutImage ( )
slot

Definition at line 133 of file WsModImagesGallery.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void WsImagesGallery::doTimeoutThumb ( )
slot

Definition at line 126 of file WsModImagesGallery.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void WsImagesGallery::load ( )

Definition at line 51 of file WsModImagesGallery.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 WsImagesGallery::renderButtons ( )

Definition at line 140 of file WsModImagesGallery.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void WsImagesGallery::renderImage ( )

Definition at line 192 of file WsModImagesGallery.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void WsImagesGallery::renderThumb ( )

Definition at line 156 of file WsModImagesGallery.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void WsImagesGallery::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 226 of file WsModImagesGallery.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

WContainerWidget* WsImagesGallery::m_cwThumb
private

Definition at line 74 of file WsModImagesGallery.h.

int WsImagesGallery::m_nCurrentImage
private

Definition at line 69 of file WsModImagesGallery.h.

int WsImagesGallery::m_nMaxImages
private

Definition at line 68 of file WsModImagesGallery.h.

int WsImagesGallery::m_nStartImage
private

Definition at line 67 of file WsModImagesGallery.h.

WsImages2* WsImagesGallery::m_pImages2
private

Definition at line 72 of file WsModImagesGallery.h.

Wt::WText* WsImagesGallery::m_pImages2Text
private

Definition at line 73 of file WsModImagesGallery.h.

Wt::WTimer* WsImagesGallery::m_pTimerImage
private

Definition at line 71 of file WsModImagesGallery.h.

Wt::WTimer* WsImagesGallery::m_pTimerThumb
private

Definition at line 70 of file WsModImagesGallery.h.

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

Definition at line 66 of file WsModImagesGallery.h.

std::vector<std::string> WsImagesGallery::m_vImages
private

Definition at line 63 of file WsModImagesGallery.h.

std::vector<Magick::Blob> WsImagesGallery::m_vThumbnails
private

Definition at line 65 of file WsModImagesGallery.h.


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