LLPanelGroupSubTab Class Reference

#include <llpanelgrouproles.h>

Inheritance diagram for LLPanelGroupSubTab:

Inheritance graph
[legend]
Collaboration diagram for LLPanelGroupSubTab:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLPanelGroupSubTab (const std::string &name, const LLUUID &group_id)
virtual ~LLPanelGroupSubTab ()
virtual BOOL postBuild ()
virtual BOOL postBuildSubTab (LLView *root)
void handleSearchKeystroke (LLLineEditor *caller)
void handleClickSearch ()
void handleClickShowAll ()
virtual void setSearchFilter (const LLString &filter)
virtual void activate ()
virtual void deactivate ()
bool matchesActionSearchFilter (std::string action)
void buildActionsList (LLScrollListCtrl *ctrl, U64 allowed_by_some, U64 allowed_by_all, icon_map_t &icons, void(*commit_callback)(LLUICtrl *, void *), BOOL show_all, BOOL filter, BOOL is_owner_role)
void buildActionCategory (LLScrollListCtrl *ctrl, U64 allowed_by_some, U64 allowed_by_all, LLRoleActionSet *action_set, icon_map_t &icons, void(*commit_callback)(LLUICtrl *, void *), BOOL show_all, BOOL filter, BOOL is_owner_role)
void setFooterEnabled (BOOL enable)

Static Public Member Functions

static void onSearchKeystroke (LLLineEditor *caller, void *user_data)
static void onClickSearch (void *)
static void onClickShowAll (void *)

Protected Member Functions

void setOthersVisible (BOOL b)

Protected Attributes

LLPanelmHeader
LLPanelmFooter
LLLineEditormSearchLineEditor
LLButtonmSearchButton
LLButtonmShowAllButton
LLString mSearchFilter
icon_map_t mActionIcons


Detailed Description

Definition at line 104 of file llpanelgrouproles.h.


Constructor & Destructor Documentation

LLPanelGroupSubTab::LLPanelGroupSubTab ( const std::string &  name,
const LLUUID group_id 
)

Definition at line 488 of file llpanelgrouproles.cpp.

LLPanelGroupSubTab::~LLPanelGroupSubTab (  )  [virtual]

Definition at line 498 of file llpanelgrouproles.cpp.


Member Function Documentation

BOOL LLPanelGroupSubTab::postBuild ( void   )  [virtual]

virtual BOOL LLPanelGroupSubTab::postBuildSubTab ( LLView root  )  [inline, virtual]

Reimplemented in LLPanelGroupMembersSubTab, LLPanelGroupRolesSubTab, and LLPanelGroupActionsSubTab.

Definition at line 113 of file llpanelgrouproles.h.

References TRUE.

Referenced by LLPanelGroupRoles::postBuild().

Here is the caller graph for this function:

void LLPanelGroupSubTab::onSearchKeystroke ( LLLineEditor caller,
void *  user_data 
) [static]

Definition at line 556 of file llpanelgrouproles.cpp.

Referenced by postBuild().

Here is the caller graph for this function:

void LLPanelGroupSubTab::handleSearchKeystroke ( LLLineEditor caller  ) 

Definition at line 562 of file llpanelgrouproles.cpp.

References FALSE, LLLineEditor::getText(), mSearchButton, NULL, LLPanel::setDefaultBtn(), LLView::setEnabled(), and TRUE.

Here is the call graph for this function:

void LLPanelGroupSubTab::onClickSearch ( void *  user_data  )  [static]

Definition at line 577 of file llpanelgrouproles.cpp.

Referenced by postBuild().

Here is the caller graph for this function:

void LLPanelGroupSubTab::handleClickSearch (  ) 

Definition at line 583 of file llpanelgrouproles.cpp.

References FALSE, LLLineEditor::getText(), lldebugs, llendl, llwarns, mSearchButton, mSearchLineEditor, mShowAllButton, LLView::setEnabled(), setSearchFilter(), and TRUE.

Here is the call graph for this function:

void LLPanelGroupSubTab::onClickShowAll ( void *  user_data  )  [static]

Definition at line 600 of file llpanelgrouproles.cpp.

Referenced by postBuild().

Here is the caller graph for this function:

void LLPanelGroupSubTab::handleClickShowAll (  ) 

Definition at line 606 of file llpanelgrouproles.cpp.

References FALSE, lldebugs, llendl, mShowAllButton, LLStringBase< char >::null, LLView::setEnabled(), and setSearchFilter().

Here is the call graph for this function:

void LLPanelGroupSubTab::setSearchFilter ( const LLString filter  )  [virtual]

Definition at line 613 of file llpanelgrouproles.cpp.

References GC_ALL, lldebugs, llendl, mSearchFilter, LLStringBase< char >::toLower(), and LLPanelGroupTab::update().

Referenced by handleClickSearch(), and handleClickShowAll().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelGroupSubTab::activate (  )  [virtual]

Reimplemented from LLPanelGroupTab.

Reimplemented in LLPanelGroupMembersSubTab, LLPanelGroupRolesSubTab, and LLPanelGroupActionsSubTab.

Definition at line 621 of file llpanelgrouproles.cpp.

References lldebugs, llendl, setOthersVisible(), and TRUE.

Referenced by LLPanelGroupActionsSubTab::activate(), LLPanelGroupRolesSubTab::activate(), and LLPanelGroupMembersSubTab::activate().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelGroupSubTab::deactivate (  )  [virtual]

Reimplemented from LLPanelGroupTab.

Reimplemented in LLPanelGroupMembersSubTab, LLPanelGroupRolesSubTab, and LLPanelGroupActionsSubTab.

Definition at line 627 of file llpanelgrouproles.cpp.

References FALSE, lldebugs, llendl, and setOthersVisible().

Referenced by LLPanelGroupActionsSubTab::deactivate(), LLPanelGroupRolesSubTab::deactivate(), and LLPanelGroupMembersSubTab::deactivate().

Here is the call graph for this function:

Here is the caller graph for this function:

bool LLPanelGroupSubTab::matchesActionSearchFilter ( std::string  action  ) 

Definition at line 654 of file llpanelgrouproles.cpp.

References mSearchFilter, and LLStringBase< char >::toLower().

Referenced by buildActionCategory().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelGroupSubTab::buildActionsList ( LLScrollListCtrl ctrl,
U64  allowed_by_some,
U64  allowed_by_all,
icon_map_t icons,
void(*)(LLUICtrl *, void *)  commit_callback,
BOOL  show_all,
BOOL  filter,
BOOL  is_owner_role 
)

void LLPanelGroupSubTab::buildActionCategory ( LLScrollListCtrl ctrl,
U64  allowed_by_some,
U64  allowed_by_all,
LLRoleActionSet action_set,
icon_map_t icons,
void(*)(LLUICtrl *, void *)  commit_callback,
BOOL  show_all,
BOOL  filter,
BOOL  is_owner_role 
)

void LLPanelGroupSubTab::setFooterEnabled ( BOOL  enable  ) 

Definition at line 862 of file llpanelgrouproles.cpp.

References mFooter, and LLView::setAllChildrenEnabled().

Referenced by LLPanelGroupRolesSubTab::activate(), LLPanelGroupRolesSubTab::handleRoleSelect(), LLPanelGroupRolesSubTab::postBuildSubTab(), and LLPanelGroupRolesSubTab::update().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelGroupSubTab::setOthersVisible ( BOOL  b  )  [protected]

Definition at line 633 of file llpanelgrouproles.cpp.

References llendl, llwarns, mFooter, mHeader, and LLView::setVisible().

Referenced by activate(), and deactivate().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 153 of file llpanelgrouproles.h.

Referenced by handleClickSearch(), and postBuild().

Definition at line 154 of file llpanelgrouproles.h.

Referenced by handleClickSearch(), handleSearchKeystroke(), and postBuild().

Definition at line 155 of file llpanelgrouproles.h.

Referenced by handleClickSearch(), handleClickShowAll(), and postBuild().


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

Generated on Fri May 16 08:57:09 2008 for SecondLife by  doxygen 1.5.5