#include <WsSiteMapView.h>
|
| WsSiteMapView (gdwtcore::viewType dlgType, gdWFileView::tbFlags flags=gdWFileView::tbDefault, Wt::WContainerWidget *parent=0) |
|
| ~WsSiteMapView () |
|
virtual void | load () |
|
std::string | path2SiteMapPath (const std::string &path) |
|
std::string | SiteMapPath2path (const std::string &siteMapPath) |
|
void | setRelativePath (const std::string &relativePath) |
|
void | init (NodePtr pNode) |
|
bool | treeTraverse (Wt::WStandardItem *rootItem, const std::vector< std::string > &vPath, int nLevel) |
|
void | treeMatchPath (NodePtr pNode) |
|
bool | loadTree (Wt::WStandardItem *currentItem, NodePtr pNode, gdWFileView::skipMode skipParentDir=gdWFileView::noSkipParent) |
|
bool | loadFolder (Wt::WStandardItem *currentItem, const std::string &newPath, NodePtr curNode, bool bEdit=false) |
|
bool | loadFile (Wt::WStandardItem *currentItem, const std::string ¤tPath, NodePtr curNode) |
|
void | setCurrentPath (const std::string ¤tPath) |
|
std::string | selectedDirectory () |
|
std::string | selectedFile () |
|
std::string | selectedPath () |
|
std::string | currentFolderPath () |
|
void | makeToolbar () |
|
Wt::Signal
< gdWFileView::signalType,
std::string > & | fileSelected () |
|
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...
|
|
Definition at line 47 of file WsSiteMapView.h.
WsSiteMapView::WsSiteMapView |
( |
gdwtcore::viewType |
dlgType, |
|
|
gdWFileView::tbFlags |
flags = gdWFileView::tbDefault , |
|
|
Wt::WContainerWidget * |
parent = 0 |
|
) |
| |
WsSiteMapView::~WsSiteMapView |
( |
| ) |
|
std::string WsSiteMapView::currentFolderPath |
( |
| ) |
|
void WsSiteMapView::doConfirmDelete |
( |
| ) |
|
|
slot |
void WsSiteMapView::doDelete |
( |
Wt::StandardButton |
button | ) |
|
|
slot |
void WsSiteMapView::doNewFolder |
( |
| ) |
|
|
slot |
void WsSiteMapView::doRename |
( |
| ) |
|
|
slot |
Wt::Signal<gdWFileView::signalType, std::string>& WsSiteMapView::fileSelected |
( |
| ) |
|
|
inline |
void WsSiteMapView::init |
( |
NodePtr |
pNode | ) |
|
void WsSiteMapView::load |
( |
| ) |
|
|
virtual |
bool WsSiteMapView::loadFile |
( |
Wt::WStandardItem * |
currentItem, |
|
|
const std::string & |
currentPath, |
|
|
NodePtr |
curNode |
|
) |
| |
bool WsSiteMapView::loadFolder |
( |
Wt::WStandardItem * |
currentItem, |
|
|
const std::string & |
newPath, |
|
|
NodePtr |
curNode, |
|
|
bool |
bEdit = false |
|
) |
| |
bool WsSiteMapView::loadTree |
( |
Wt::WStandardItem * |
currentItem, |
|
|
NodePtr |
pNode, |
|
|
gdWFileView::skipMode |
skipParentDir = gdWFileView::noSkipParent |
|
) |
| |
void WsSiteMapView::makeToolbar |
( |
| ) |
|
void WsSiteMapView::onDirectoryNameChanged |
( |
Wt::WStandardItem * |
pItem | ) |
|
|
slot |
void WsSiteMapView::onTreeExpanded |
( |
Wt::WModelIndex |
idx | ) |
|
|
slot |
void WsSiteMapView::onTreeSelectionChanged |
( |
| ) |
|
|
slot |
void WsSiteMapView::onViewDblClick |
( |
Wt::WModelIndex |
idx, |
|
|
Wt::WMouseEvent |
mouseEvent |
|
) |
| |
|
slot |
void WsSiteMapView::onViewExpanded |
( |
Wt::WModelIndex |
idx | ) |
|
|
slot |
void WsSiteMapView::onViewSelectionChanged |
( |
| ) |
|
|
slot |
const boost::any & WsOptions::option |
( |
const std::string & |
attribute | ) |
const |
|
inherited |
const std::vector< WsOption > & WsOptions::options |
( |
| ) |
const |
|
inherited |
void WsOptions::outOptions |
( |
const std::string |
message | ) |
|
|
inherited |
std::string WsSiteMapView::path2SiteMapPath |
( |
const std::string & |
path | ) |
|
std::string WsSiteMapView::selectedDirectory |
( |
| ) |
|
std::string WsSiteMapView::selectedFile |
( |
| ) |
|
std::string WsSiteMapView::selectedPath |
( |
| ) |
|
void WsSiteMapView::setCurrentPath |
( |
const std::string & |
currentPath | ) |
|
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.
void WsOptions::setOptions |
( |
const std::vector< WsOption > & |
vOptions | ) |
|
|
inherited |
void WsSiteMapView::setRelativePath |
( |
const std::string & |
relativePath | ) |
|
std::string WsSiteMapView::SiteMapPath2path |
( |
const std::string & |
siteMapPath | ) |
|
void WsSiteMapView::treeMatchPath |
( |
NodePtr |
pNode | ) |
|
bool WsSiteMapView::treeTraverse |
( |
Wt::WStandardItem * |
rootItem, |
|
|
const std::vector< std::string > & |
vPath, |
|
|
int |
nLevel |
|
) |
| |
Wt::Signal<gdWFileView::signalType, std::string> WsSiteMapView::fileSelected_ |
|
private |
bool WsSiteMapView::m_bLogSiteMap |
|
private |
bool WsSiteMapView::m_bOnDataChanged |
|
private |
bool WsSiteMapView::m_bOnRename |
|
private |
bool WsSiteMapView::m_bOnTreeSelect |
|
private |
Wt::WMessageBox* WsSiteMapView::m_pMb |
|
private |
Wt::WMenu* WsSiteMapView::m_pMenu |
|
private |
Wt::WStandardItemModel* WsSiteMapView::m_pModelTree |
|
private |
Wt::WStandardItemModel* WsSiteMapView::m_pModelView |
|
private |
gdToolbar* WsSiteMapView::m_pTb |
|
private |
NodePtr WsSiteMapView::m_pTreecurNode |
|
private |
Wt::WTreeView* WsSiteMapView::m_pTVTree |
|
private |
Wt::WTreeView* WsSiteMapView::m_pTVView |
|
private |
std::string WsSiteMapView::m_selectedDirectory |
|
private |
std::string WsSiteMapView::m_selectedFile |
|
private |
std::string WsSiteMapView::m_sRootPath |
|
private |
std::string WsSiteMapView::m_sRootSiteMap |
|
private |
std::string WsSiteMapView::m_sSiteMap |
|
private |
gdWFileView::tbFlags WsSiteMapView::m_tbFlags |
|
private |
gdToolbarItem* WsSiteMapView::m_tbiDelete |
|
private |
gdToolbarItem* WsSiteMapView::m_tbiNewFolder |
|
private |
gdToolbarItem* WsSiteMapView::m_tbiRename |
|
private |
gdwtcore::viewType WsSiteMapView::m_viewType |
|
private |
The documentation for this class was generated from the following files:
- /Users/benoitdaccache/Documents/Dropbox/Programming/Ws/wittyshare/src/Main/WsSiteMapView.h
- /Users/benoitdaccache/Documents/Dropbox/Programming/Ws/wittyshare/src/Main/WsSiteMapView.cpp