#include <llfloaterland.h>
Inheritance diagram for LLPanelLandAccess:
Public Member Functions | |
LLPanelLandAccess (LLHandle< LLParcelSelection > &parcelp) | |
virtual | ~LLPanelLandAccess () |
void | refresh () |
void | refreshNames () |
virtual void | draw () |
void | addAvatar (LLUUID id) |
virtual BOOL | postBuild () |
Static Public Member Functions | |
static void | onCommitAny (LLUICtrl *ctrl, void *userdata) |
static void | onClickAdd (void *) |
static void | onClickRemove (void *) |
static void | callbackAvatarID (const std::vector< std::string > &names, const std::vector< LLUUID > &ids, void *userdata) |
static void | onAccessLevelChange (LLUICtrl *ctrl, void *userdata) |
Protected Attributes | |
LLTextBox * | mLabelTitle |
LLCheckBoxCtrl * | mCheckGroup |
LLCheckBoxCtrl * | mCheckAccess |
LLNameListCtrl * | mListAccess |
LLButton * | mBtnAddAccess |
LLButton * | mBtnRemoveAccess |
LLCheckBoxCtrl * | mCheckPass |
LLSpinCtrl * | mSpinPrice |
LLSpinCtrl * | mSpinHours |
LLCheckBoxCtrl * | mCheckIdentified |
LLCheckBoxCtrl * | mCheckTransacted |
LLRadioGroup * | mCheckStatusLevel |
LLHandle< LLParcelSelection > & | mParcel |
Definition at line 388 of file llfloaterland.h.
LLPanelLandAccess::LLPanelLandAccess | ( | LLHandle< LLParcelSelection > & | parcelp | ) |
Definition at line 2552 of file llfloaterland.cpp.
LLPanelLandAccess::~LLPanelLandAccess | ( | ) | [virtual] |
Definition at line 2595 of file llfloaterland.cpp.
Definition at line 2789 of file llfloaterland.cpp.
References LLParcel::addToAccessList(), AL_ACCESS, gParcelMgr, mParcel, refresh(), and LLViewerParcelMgr::sendParcelAccessListUpdate().
void LLPanelLandAccess::draw | ( | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 2717 of file llfloaterland.cpp.
References LLPanel::draw(), and refreshNames().
Definition at line 2774 of file llfloaterland.cpp.
References LLFloater::addDependentFloater(), callbackAvatarID(), LLFloaterView::getParentFloater(), gFloaterView, and LLFloaterAvatarPicker::show().
Referenced by postBuild().
Definition at line 2803 of file llfloaterland.cpp.
References AL_ACCESS, LLScrollListItem::getUUID(), gParcelMgr, LLParcel::removeFromAccessList(), and LLViewerParcelMgr::sendParcelAccessListUpdate().
Referenced by postBuild().
Definition at line 2730 of file llfloaterland.cpp.
References FALSE, gParcelMgr, llfloor(), PF_USE_ACCESS_GROUP, PF_USE_ACCESS_LIST, PF_USE_PASS_LIST, S32, LLViewerParcelMgr::sendParcelPropertiesUpdate(), LLParcel::setParcelFlag(), LLParcel::setPassHours(), and LLParcel::setPassPrice().
Referenced by onAccessLevelChange(), and postBuild().
BOOL LLPanelLandAccess::postBuild | ( | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 2559 of file llfloaterland.cpp.
References LLPanel::childSetCommitCallback(), LLUICtrlFactory::getButtonByName(), LLUICtrlFactory::getCheckBoxByName(), LLUICtrlFactory::getNameListByName(), LLUICtrlFactory::getSpinnerByName(), mBtnAddAccess, mBtnRemoveAccess, mCheckAccess, mCheckGroup, mCheckPass, mListAccess, mSpinHours, mSpinPrice, onClickAdd(), onClickRemove(), onCommitAny(), LLButton::setClickedCallback(), LLScrollListCtrl::sortByColumn(), and TRUE.
void LLPanelLandAccess::refresh | ( | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 2599 of file llfloaterland.cpp.
References ADD_SORTED, LLNameListCtrl::addNameItem(), count, LLScrollListCtrl::deleteAllItems(), end, gCacheName, LLParcel::getGroupID(), LLCacheName::getGroupName(), LLParcel::getParcelFlag(), LLParcel::getPassHours(), LLParcel::getPassPrice(), GP_LAND_MANAGE_ALLOWED, GP_LAND_MANAGE_PASSES, LLViewerParcelMgr::isParcelModifiableByAgent(), llformat(), LLParcel::mAccessList, MAX_STRING, mBtnAddAccess, mBtnRemoveAccess, mCheckAccess, mCheckGroup, mCheckPass, mListAccess, mParcel, mSpinHours, mSpinPrice, NULL, PARCEL_MAX_ACCESS_LIST, PF_USE_ACCESS_GROUP, PF_USE_ACCESS_LIST, PF_USE_PASS_LIST, S32, LLSpinCtrl::set(), LLCheckBoxCtrl::set(), LLSpinCtrl::setEnabled(), LLCheckBoxCtrl::setEnabled(), LLView::setEnabled(), LLCheckBoxCtrl::setLabelArg(), and TRUE.
Referenced by addAvatar(), and LLFloaterLand::refresh().
void LLPanelLandAccess::refreshNames | ( | ) |
Definition at line 2703 of file llfloaterland.cpp.
References DB_GROUP_NAME_BUF_SIZE, gCacheName, LLParcel::getGroupID(), LLCacheName::getGroupName(), mCheckGroup, mParcel, and LLCheckBoxCtrl::setLabelArg().
Referenced by draw().
LLButton* LLPanelLandAccess::mBtnAddAccess [protected] |
LLButton* LLPanelLandAccess::mBtnRemoveAccess [protected] |
LLCheckBoxCtrl* LLPanelLandAccess::mCheckAccess [protected] |
LLCheckBoxCtrl* LLPanelLandAccess::mCheckGroup [protected] |
Definition at line 411 of file llfloaterland.h.
Referenced by postBuild(), refresh(), and refreshNames().
LLCheckBoxCtrl* LLPanelLandAccess::mCheckIdentified [protected] |
Definition at line 422 of file llfloaterland.h.
LLCheckBoxCtrl* LLPanelLandAccess::mCheckPass [protected] |
LLRadioGroup* LLPanelLandAccess::mCheckStatusLevel [protected] |
Definition at line 424 of file llfloaterland.h.
LLCheckBoxCtrl* LLPanelLandAccess::mCheckTransacted [protected] |
Definition at line 423 of file llfloaterland.h.
LLTextBox* LLPanelLandAccess::mLabelTitle [protected] |
Definition at line 409 of file llfloaterland.h.
LLNameListCtrl* LLPanelLandAccess::mListAccess [protected] |
LLHandle<LLParcelSelection>& LLPanelLandAccess::mParcel [protected] |
Definition at line 426 of file llfloaterland.h.
Referenced by addAvatar(), refresh(), and refreshNames().
LLSpinCtrl* LLPanelLandAccess::mSpinHours [protected] |
LLSpinCtrl* LLPanelLandAccess::mSpinPrice [protected] |