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

#include <WsImages2.h>

Inheritance diagram for WsImages2:
Inheritance graph
Collaboration diagram for WsImages2:
Collaboration graph

Public Slots

void doTimeout ()
 
void doPathChanged ()
 
void doImageClicked ()
 
void doCounterClicked (int index)
 

Public Member Functions

 WsImages2 (Wt::WContainerWidget *parent=0)
 CTor. More...
 
 ~WsImages2 ()
 DTor. More...
 
virtual void load ()
 Load the widget (traditional wt virtual function). More...
 
void loadImage ()
 Load the image with the current index. More...
 
void build ()
 Build the vector. More...
 
int count ()
 Return the number of images. More...
 
const std::string & text ()
 Return the text of the current image. 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

bool m_bDebug
 
bool m_bReactWhenPathChange
 
long m_lDelay
 
bool m_bLoaded
 
std::vector< std::string > m_sImagesVect
 
std::vector< std::string > m_sImagesText
 
std::vector< std::string > m_sImagesLink
 
std::vector< std::string > m_sImagesLinkType
 
std::vector< std::string > m_sImagesTitle
 
bool m_bOnLoad
 
int m_nCurrentImage
 
Wt::WTimer * m_pTimer
 

Detailed Description

Definition at line 59 of file WsImages2.h.

Constructor & Destructor Documentation

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

CTor.

Definition at line 62 of file WsImages2.cpp.

WsImages2::~WsImages2 ( )

DTor.

Definition at line 70 of file WsImages2.cpp.

Member Function Documentation

void WsImages2::build ( )

Build the vector.

Definition at line 96 of file WsImages2.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

int WsImages2::count ( )

Return the number of images.

Definition at line 172 of file WsImages2.cpp.

Here is the caller graph for this function:

void WsImages2::doCounterClicked ( int  index)
slot

Definition at line 276 of file WsImages2.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void WsImages2::doImageClicked ( )
slot

Definition at line 271 of file WsImages2.cpp.

Here is the caller graph for this function:

void WsImages2::doPathChanged ( )
slot

Definition at line 185 of file WsImages2.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void WsImages2::doTimeout ( )
slot

Definition at line 177 of file WsImages2.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void WsImages2::load ( )
virtual

Load the widget (traditional wt virtual function).

Definition at line 78 of file WsImages2.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void WsImages2::loadImage ( )

Load the image with the current index.

Definition at line 190 of file WsImages2.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:

const std::string & WsImages2::text ( )

Return the text of the current image.

Definition at line 266 of file WsImages2.cpp.

Here is the caller graph for this function:

Member Data Documentation

bool WsImages2::m_bDebug
private

Definition at line 87 of file WsImages2.h.

bool WsImages2::m_bLoaded
private

Definition at line 90 of file WsImages2.h.

bool WsImages2::m_bOnLoad
private

Definition at line 98 of file WsImages2.h.

bool WsImages2::m_bReactWhenPathChange
private

Definition at line 88 of file WsImages2.h.

long WsImages2::m_lDelay
private

Definition at line 89 of file WsImages2.h.

int WsImages2::m_nCurrentImage
private

Definition at line 99 of file WsImages2.h.

Wt::WTimer* WsImages2::m_pTimer
private

Definition at line 100 of file WsImages2.h.

std::vector<std::string> WsImages2::m_sImagesLink
private

Definition at line 94 of file WsImages2.h.

std::vector<std::string> WsImages2::m_sImagesLinkType
private

Definition at line 95 of file WsImages2.h.

std::vector<std::string> WsImages2::m_sImagesText
private

Definition at line 93 of file WsImages2.h.

std::vector<std::string> WsImages2::m_sImagesTitle
private

Definition at line 96 of file WsImages2.h.

std::vector<std::string> WsImages2::m_sImagesVect
private

Definition at line 92 of file WsImages2.h.


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