#include <llpanelgrouproles.h>
Inheritance diagram for LLPanelGroupSubTab:
Definition at line 104 of file llpanelgrouproles.h.
LLPanelGroupSubTab::LLPanelGroupSubTab | ( | const std::string & | name, | |
const LLUUID & | group_id | |||
) |
Definition at line 500 of file llpanelgrouproles.cpp.
LLPanelGroupSubTab::~LLPanelGroupSubTab | ( | ) | [virtual] |
Definition at line 510 of file llpanelgrouproles.cpp.
void LLPanelGroupSubTab::activate | ( | ) | [virtual] |
Reimplemented from LLPanelGroupTab.
Reimplemented in LLPanelGroupMembersSubTab, LLPanelGroupRolesSubTab, and LLPanelGroupActionsSubTab.
Definition at line 633 of file llpanelgrouproles.cpp.
References lldebugs, llendl, setOthersVisible(), and TRUE.
Referenced by LLPanelGroupActionsSubTab::activate(), LLPanelGroupRolesSubTab::activate(), and LLPanelGroupMembersSubTab::activate().
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 | |||
) |
Definition at line 717 of file llpanelgrouproles.cpp.
References ADD_BOTTOM, LLScrollListCtrl::addElement(), gAgent, GP_ROLE_CHANGE_ACTIONS, LLAgent::hasPowerInGroup(), lldebugs, llendl, LLRoleActionSet::mActions, LLRoleActionSet::mActionSetData, matchesActionSearchFilter(), LLPanelGroupTab::mGroupID, LLRoleAction::mName, and LLRoleAction::mPowerBit.
Referenced by buildActionsList().
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 | |||
) |
Definition at line 685 of file llpanelgrouproles.cpp.
References buildActionCategory(), gGroupMgr, llendl, llwarns, and LLGroupMgr::mRoleActionSets.
Referenced by LLPanelGroupMembersSubTab::handleMemberSelect(), LLPanelGroupMembersSubTab::handleRoleCheck(), LLPanelGroupRolesSubTab::handleRoleSelect(), and LLPanelGroupActionsSubTab::update().
void LLPanelGroupSubTab::deactivate | ( | ) | [virtual] |
Reimplemented from LLPanelGroupTab.
Reimplemented in LLPanelGroupMembersSubTab, LLPanelGroupRolesSubTab, and LLPanelGroupActionsSubTab.
Definition at line 639 of file llpanelgrouproles.cpp.
References FALSE, lldebugs, llendl, and setOthersVisible().
Referenced by LLPanelGroupActionsSubTab::deactivate(), LLPanelGroupRolesSubTab::deactivate(), and LLPanelGroupMembersSubTab::deactivate().
void LLPanelGroupSubTab::handleClickSearch | ( | ) |
Definition at line 595 of file llpanelgrouproles.cpp.
References FALSE, LLLineEditor::getText(), lldebugs, llendl, llwarns, mSearchButton, mSearchLineEditor, mShowAllButton, LLView::setEnabled(), setSearchFilter(), and TRUE.
void LLPanelGroupSubTab::handleClickShowAll | ( | ) |
Definition at line 618 of file llpanelgrouproles.cpp.
References FALSE, lldebugs, llendl, mShowAllButton, LLStringBase< char >::null, LLView::setEnabled(), and setSearchFilter().
void LLPanelGroupSubTab::handleSearchKeystroke | ( | LLLineEditor * | caller | ) |
Definition at line 574 of file llpanelgrouproles.cpp.
References FALSE, LLLineEditor::getText(), mSearchButton, NULL, LLPanel::setDefaultBtn(), LLView::setEnabled(), and TRUE.
bool LLPanelGroupSubTab::matchesActionSearchFilter | ( | std::string | action | ) |
Definition at line 666 of file llpanelgrouproles.cpp.
References mSearchFilter, and LLStringBase< char >::toLower().
Referenced by buildActionCategory().
void LLPanelGroupSubTab::onSearchKeystroke | ( | LLLineEditor * | caller, | |
void * | user_data | |||
) | [static] |
BOOL LLPanelGroupSubTab::postBuild | ( | ) | [virtual] |
Reimplemented from LLPanelGroupTab.
Definition at line 514 of file llpanelgrouproles.cpp.
References FALSE, LLPanel::getChildByName(), LLIconCtrl::getImage(), mActionIcons, mSearchButton, mSearchLineEditor, mShowAllButton, LLUUID::notNull(), onClickSearch(), onClickShowAll(), onSearchKeystroke(), LLPanelGroupTab::postBuild(), LLView::removeChild(), LLUICtrl::setCallbackUserData(), LLButton::setClickedCallback(), LLView::setEnabled(), LLLineEditor::setKeystrokeCallback(), and TRUE.
Reimplemented in LLPanelGroupMembersSubTab, LLPanelGroupRolesSubTab, and LLPanelGroupActionsSubTab.
Definition at line 113 of file llpanelgrouproles.h.
References TRUE.
Definition at line 875 of file llpanelgrouproles.cpp.
References mFooter, and LLView::setAllChildrenEnabled().
Referenced by LLPanelGroupRolesSubTab::activate(), LLPanelGroupRolesSubTab::handleRoleSelect(), LLPanelGroupRolesSubTab::postBuildSubTab(), and LLPanelGroupRolesSubTab::update().
Definition at line 645 of file llpanelgrouproles.cpp.
References llendl, llwarns, mFooter, mHeader, and LLView::setVisible().
Referenced by activate(), and deactivate().
Definition at line 625 of file llpanelgrouproles.cpp.
References GC_ALL, lldebugs, llendl, mSearchFilter, LLStringBase< char >::toLower(), and LLPanelGroupTab::update().
Referenced by handleClickSearch(), and handleClickShowAll().
icon_map_t LLPanelGroupSubTab::mActionIcons [protected] |
Definition at line 159 of file llpanelgrouproles.h.
Referenced by LLPanelGroupMembersSubTab::handleMemberSelect(), LLPanelGroupMembersSubTab::handleRoleCheck(), LLPanelGroupRolesSubTab::handleRoleSelect(), postBuild(), and LLPanelGroupActionsSubTab::update().
LLPanel* LLPanelGroupSubTab::mFooter [protected] |
Definition at line 151 of file llpanelgrouproles.h.
Referenced by LLPanelGroupActionsSubTab::postBuildSubTab(), LLPanelGroupRolesSubTab::postBuildSubTab(), LLPanelGroupMembersSubTab::postBuildSubTab(), setFooterEnabled(), and setOthersVisible().
LLPanel* LLPanelGroupSubTab::mHeader [protected] |
Definition at line 150 of file llpanelgrouproles.h.
Referenced by LLPanelGroupActionsSubTab::postBuildSubTab(), LLPanelGroupRolesSubTab::postBuildSubTab(), LLPanelGroupMembersSubTab::postBuildSubTab(), and setOthersVisible().
LLButton* LLPanelGroupSubTab::mSearchButton [protected] |
Definition at line 154 of file llpanelgrouproles.h.
Referenced by handleClickSearch(), handleSearchKeystroke(), and postBuild().
LLString LLPanelGroupSubTab::mSearchFilter [protected] |
Definition at line 157 of file llpanelgrouproles.h.
Referenced by matchesActionSearchFilter(), LLPanelGroupRolesSubTab::matchesSearchFilter(), LLPanelGroupMembersSubTab::matchesSearchFilter(), and setSearchFilter().
LLLineEditor* LLPanelGroupSubTab::mSearchLineEditor [protected] |
Definition at line 153 of file llpanelgrouproles.h.
Referenced by handleClickSearch(), and postBuild().
LLButton* LLPanelGroupSubTab::mShowAllButton [protected] |
Definition at line 155 of file llpanelgrouproles.h.
Referenced by handleClickSearch(), handleClickShowAll(), and postBuild().