#include <llfloaterland.h>
Definition at line 127 of file llfloaterland.h.
LLPanelLandGeneral::LLPanelLandGeneral | ( | LLSafeHandle< LLParcelSelection > & | parcelp | ) |
Definition at line 327 of file llfloaterland.cpp.
LLPanelLandGeneral::~LLPanelLandGeneral | ( | ) | [virtual] |
Definition at line 434 of file llfloaterland.cpp.
void LLPanelLandGeneral::refresh | ( | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 439 of file llfloaterland.cpp.
References LLAgent::canManageEstate(), FALSE, formatted_time(), gAgent, LLParcel::getAllowDeedToGroup(), LLParcel::getAuctionID(), LLParcel::getClaimDate(), LLParcel::getContributeWithDeed(), LLParcel::getDesc(), LLViewerParcelMgr::getDisplayInfo(), LLParcel::getForSale(), LLAgent::getGodLevel(), LLParcel::getGroupID(), LLAgent::getID(), LLSingleton< LLViewerParcelMgr >::getInstance(), LLParcel::getIsGroupOwned(), LLParcel::getName(), LLViewerRegion::getOwner(), LLParcel::getOwnerID(), LLParcel::getOwnershipStatus(), LLParcel::getParcelFlag(), LLViewerRegion::getRegionFlags(), LLParcel::getSalePrice(), LLViewerParcelMgr::getSelectionRegion(), LLParcel::getSellWithObjects(), LLUIString::getString(), LLPanel::getString(), GOD_LIAISON, GOVERNOR_LINDEN_ID, GP_LAND_CHANGE_IDENTITY, GP_LAND_DEED, GP_LAND_RELEASE, GP_LAND_SET_SALE_INFO, GP_NO_POWERS, LLAgent::hasPowerInGroup(), LLViewerParcelMgr::isCollisionBanned(), LLAgent::isGodlike(), LLAgent::isInGroup(), LLUUID::isNull(), LLViewerParcelMgr::isParcelModifiableByAgent(), LLViewerParcelMgr::isParcelOwnedByAgent(), LLParcel::isPublic(), llformat(), mBtnBuyGroupLand, mBtnBuyLand, mBtnBuyPass, mBtnDeedToGroup, mBtnProfile, mBtnReclaimLand, mBtnReleaseLand, mBtnSellLand, mBtnSetGroup, mBtnStartAuction, mBtnStopSellLand, mCheckContributeWithDeed, mCheckDeedToGroup, mEditDesc, mEditName, mParcel, mSaleInfoForSale1, mSaleInfoForSale2, mSaleInfoForSaleNoObjects, mSaleInfoForSaleObjects, mSaleInfoNotForSale, mTextClaimDate, mTextDwell, mTextGroup, mTextOwner, mTextPrice, mTextPriceLabel, mTextSalePending, LLUUID::notNull(), LLStringBase< char >::null, LLParcel::OS_LEASED, PF_USE_PASS_LIST, refreshNames(), REGION_FLAGS_BLOCK_LAND_RESELL, S32, LLCheckBoxCtrl::set(), LLUIString::setArg(), LLCheckBoxCtrl::setEnabled(), LLView::setEnabled(), LLTextEditor::setEnabled(), LLLineEditor::setEnabled(), LLButton::setLabel(), LLTextBox::setText(), LLTextEditor::setText(), LLLineEditor::setText(), LLTextBox::setTextArg(), LLView::setVisible(), TIME_STR_LENGTH, and TRUE.
Referenced by onCommitAny(), LLFloaterLand::refresh(), and setGroup().
void LLPanelLandGeneral::refreshNames | ( | ) |
Definition at line 716 of file llfloaterland.cpp.
References gCacheName, LLParcel::getAuthorizedBuyerID(), LLCacheName::getFullName(), LLParcel::getGroupID(), LLCacheName::getGroupName(), LLParcel::getIsGroupOwned(), LLParcel::getOwnerID(), LLParcel::getOwnershipStatus(), LLPanel::getString(), LLUUID::isNull(), mParcel, mSaleInfoForSale2, mTextGroup, mTextOwner, LLUUID::notNull(), LLStringBase< char >::null, LLParcel::OS_LEASE_PENDING, LLTextBox::setText(), and LLTextBox::setTextArg().
Referenced by draw(), and refresh().
void LLPanelLandGeneral::draw | ( | void | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 764 of file llfloaterland.cpp.
References LLPanel::draw(), and refreshNames().
void LLPanelLandGeneral::setGroup | ( | const LLUUID & | group_id | ) |
Definition at line 816 of file llfloaterland.cpp.
References LLSingleton< LLViewerParcelMgr >::getInstance(), mParcel, refresh(), LLViewerParcelMgr::sendParcelPropertiesUpdate(), and LLParcel::setGroupID().
void LLPanelLandGeneral::onClickProfile | ( | void * | data | ) | [static] |
Definition at line 790 of file llfloaterland.cpp.
References LLParcel::getGroupID(), LLParcel::getIsGroupOwned(), LLParcel::getOwnerID(), mParcel, LLFloaterAvatarInfo::showFromObject(), and LLFloaterGroupInfo::showFromUUID().
Referenced by postBuild().
void LLPanelLandGeneral::onClickSetGroup | ( | void * | userdata | ) | [static] |
Definition at line 771 of file llfloaterland.cpp.
References LLFloater::addDependentFloater(), cbGroupID(), LLFloaterView::findNeighboringPosition(), gAgent, LLAgent::getID(), LLFloaterView::getParentFloater(), gFloaterView, LLRectBase< Type >::mBottom, LLRectBase< Type >::mLeft, LLView::setOrigin(), LLFloaterGroupPicker::setSelectCallback(), and LLUIFactory< LLFloaterGroupPicker, LLFloaterGroupPicker, VisibilityPolicy< LLFloater > >::showInstance().
Referenced by postBuild().
void LLPanelLandGeneral::cbGroupID | ( | LLUUID | group_id, | |
void * | userdata | |||
) | [static] |
Definition at line 809 of file llfloaterland.cpp.
Referenced by onClickSetGroup().
BOOL LLPanelLandGeneral::enableDeedToGroup | ( | void * | data | ) | [static] |
Definition at line 840 of file llfloaterland.cpp.
References LLParcel::getParcelFlag(), mParcel, NULL, and PF_ALLOW_DEED_TO_GROUP.
void LLPanelLandGeneral::onClickDeed | ( | void * | ) | [static] |
Definition at line 848 of file llfloaterland.cpp.
References LLSingleton< LLViewerParcelMgr >::getInstance(), and LLViewerParcelMgr::startDeedLandToGroup().
Referenced by postBuild().
void LLPanelLandGeneral::onClickBuyLand | ( | void * | data | ) | [static] |
Definition at line 834 of file llfloaterland.cpp.
References LLSingleton< LLViewerParcelMgr >::getInstance(), and LLViewerParcelMgr::startBuyLand().
Referenced by postBuild().
void LLPanelLandGeneral::onClickRelease | ( | void * | ) | [static] |
Definition at line 858 of file llfloaterland.cpp.
References LLSingleton< LLViewerParcelMgr >::getInstance(), and LLViewerParcelMgr::startReleaseLand().
Referenced by postBuild().
void LLPanelLandGeneral::onClickReclaim | ( | void * | ) | [static] |
Definition at line 864 of file llfloaterland.cpp.
References LLSingleton< LLViewerParcelMgr >::getInstance(), lldebugs, llendl, and LLViewerParcelMgr::reclaimParcel().
Referenced by postBuild().
void LLPanelLandGeneral::onClickBuyPass | ( | void * | deselect_when_done | ) | [static] |
Definition at line 880 of file llfloaterland.cpp.
References LLViewerWindow::alertXml(), cbBuyPass(), LLFloater::getHandle(), LLSingleton< LLViewerParcelMgr >::getInstance(), LLParcel::getName(), LLViewerParcelMgr::getParcelSelection(), LLParcel::getPassHours(), LLParcel::getPassPrice(), gViewerWindow, mParcel, NULL, S32, and sBuyPassDialogHandle.
Referenced by LLLandBuyPass::handleEvent(), LLToolPie::pickAndShowMenu(), and postBuild().
BOOL LLPanelLandGeneral::enableBuyPass | ( | void * | data | ) | [static] |
Definition at line 871 of file llfloaterland.cpp.
References LLSingleton< LLViewerParcelMgr >::getInstance(), LLParcel::getParcelFlag(), LLViewerParcelMgr::getParcelSelection(), LLViewerParcelMgr::isCollisionBanned(), mParcel, NULL, and PF_USE_PASS_LIST.
Referenced by LLMenuParcelObserver::changed(), and LLLandEnableBuyPass::handleEvent().
void LLPanelLandGeneral::onCommitAny | ( | LLUICtrl * | ctrl, | |
void * | userdata | |||
) | [static] |
Definition at line 938 of file llfloaterland.cpp.
References LLCheckBoxCtrl::get(), LLSingleton< LLViewerParcelMgr >::getInstance(), LLTextEditor::getText(), LLLineEditor::getText(), mCheckContributeWithDeed, mCheckDeedToGroup, mEditDesc, mEditName, mParcel, PF_ALLOW_DEED_TO_GROUP, refresh(), LLViewerParcelMgr::sendParcelPropertiesUpdate(), LLParcel::setContributeWithDeed(), LLParcel::setDesc(), LLParcel::setName(), and LLParcel::setParcelFlag().
Referenced by postBuild().
static void LLPanelLandGeneral::finalizeCommit | ( | void * | userdata | ) | [static] |
static void LLPanelLandGeneral::onForSaleChange | ( | LLUICtrl * | ctrl, | |
void * | userdata | |||
) | [static] |
static void LLPanelLandGeneral::finalizeSetSellChange | ( | void * | userdata | ) | [static] |
static void LLPanelLandGeneral::onSalePriceChange | ( | LLUICtrl * | ctrl, | |
void * | userdata | |||
) | [static] |
void LLPanelLandGeneral::cbBuyPass | ( | S32 | option, | |
void * | data | |||
) | [static] |
Definition at line 922 of file llfloaterland.cpp.
References LLViewerParcelMgr::buyPass(), and LLSingleton< LLViewerParcelMgr >::getInstance().
Referenced by onClickBuyPass().
BOOL LLPanelLandGeneral::buyPassDialogVisible | ( | ) | [static] |
Definition at line 932 of file llfloaterland.cpp.
References LLHandle< T >::get(), NULL, and sBuyPassDialogHandle.
void LLPanelLandGeneral::onClickSellLand | ( | void * | data | ) | [static] |
Definition at line 972 of file llfloaterland.cpp.
References LLSingleton< LLViewerParcelMgr >::getInstance(), and LLViewerParcelMgr::startSellLand().
Referenced by postBuild().
void LLPanelLandGeneral::onClickStopSellLand | ( | void * | data | ) | [static] |
Definition at line 978 of file llfloaterland.cpp.
References FALSE, LLSingleton< LLViewerParcelMgr >::getInstance(), mParcel, LLUUID::null, PF_FOR_SALE, LLViewerParcelMgr::sendParcelPropertiesUpdate(), LLParcel::setAuthorizedBuyerID(), LLParcel::setParcelFlag(), and LLParcel::setSalePrice().
Referenced by postBuild().
static void LLPanelLandGeneral::onClickSet | ( | void * | data | ) | [static] |
static void LLPanelLandGeneral::onClickClear | ( | void * | data | ) | [static] |
static void LLPanelLandGeneral::onClickShow | ( | void * | data | ) | [static] |
static void LLPanelLandGeneral::callbackAvatarPick | ( | const std::vector< std::string > & | names, | |
const std::vector< LLUUID > & | ids, | |||
void * | data | |||
) | [static] |
static void LLPanelLandGeneral::finalizeAvatarPick | ( | void * | data | ) | [static] |
static void LLPanelLandGeneral::callbackHighlightTransferable | ( | S32 | option, | |
void * | userdata | |||
) | [static] |
void LLPanelLandGeneral::onClickStartAuction | ( | void * | data | ) | [static] |
Definition at line 904 of file llfloaterland.cpp.
References LLViewerWindow::alertXml(), LLParcel::getForSale(), gViewerWindow, mParcel, and LLFloaterAuction::show().
Referenced by postBuild().
static void LLPanelLandGeneral::confirmSaleChange | ( | S32 | landSize, | |
S32 | salePrice, | |||
std::string | authorizedName, | |||
void(*)(void *) | callback, | |||
void * | userdata | |||
) | [static] |
static void LLPanelLandGeneral::callbackConfirmSaleChange | ( | S32 | option, | |
void * | userdata | |||
) | [static] |
BOOL LLPanelLandGeneral::postBuild | ( | void | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 334 of file llfloaterland.cpp.
References BUY_GROUP_LAND, BUY_PERSONAL_LAND, LLPanel::childSetCommitCallback(), LLPanel::childSetPrevalidate(), LLPanel::childSetUserData(), mBtnBuyGroupLand, mBtnBuyLand, mBtnBuyPass, mBtnDeedToGroup, mBtnProfile, mBtnReclaimLand, mBtnReleaseLand, mBtnSellLand, mBtnSetGroup, mBtnStartAuction, mBtnStopSellLand, mCheckContributeWithDeed, mCheckDeedToGroup, mEditDesc, mEditName, mSaleInfoForSale1, mSaleInfoForSale2, mSaleInfoForSaleNoObjects, mSaleInfoForSaleObjects, mSaleInfoNotForSale, mTextClaimDate, mTextClaimDateLabel, mTextDwell, mTextGroup, mTextGroupLabel, mTextOwner, mTextOwnerLabel, mTextPrice, mTextPriceLabel, mTextSalePending, NULL, onClickBuyLand(), onClickBuyPass(), onClickDeed(), onClickProfile(), onClickReclaim(), onClickRelease(), onClickSellLand(), onClickSetGroup(), onClickStartAuction(), onClickStopSellLand(), onCommitAny(), LLLineEditor::prevalidatePrintableNotPipe(), LLButton::setClickedCallback(), LLUICtrl::setCommitCallback(), LLTextEditor::setCommitOnFocusLost(), and TRUE.
BOOL LLPanelLandGeneral::mUncheckedSell [protected] |
Definition at line 173 of file llfloaterland.h.
LLTextBox* LLPanelLandGeneral::mLabelName [protected] |
Definition at line 175 of file llfloaterland.h.
LLLineEditor* LLPanelLandGeneral::mEditName [protected] |
Definition at line 176 of file llfloaterland.h.
Referenced by onCommitAny(), postBuild(), and refresh().
LLTextBox* LLPanelLandGeneral::mLabelDesc [protected] |
Definition at line 177 of file llfloaterland.h.
LLTextEditor* LLPanelLandGeneral::mEditDesc [protected] |
Definition at line 178 of file llfloaterland.h.
Referenced by onCommitAny(), postBuild(), and refresh().
LLTextBox* LLPanelLandGeneral::mTextSalePending [protected] |
LLButton* LLPanelLandGeneral::mBtnDeedToGroup [protected] |
LLButton* LLPanelLandGeneral::mBtnSetGroup [protected] |
LLTextBox* LLPanelLandGeneral::mTextOwnerLabel [protected] |
LLTextBox* LLPanelLandGeneral::mTextOwner [protected] |
Definition at line 186 of file llfloaterland.h.
Referenced by postBuild(), refresh(), and refreshNames().
LLButton* LLPanelLandGeneral::mBtnProfile [protected] |
LLTextBox* LLPanelLandGeneral::mTextGroup [protected] |
Definition at line 189 of file llfloaterland.h.
Referenced by postBuild(), refresh(), and refreshNames().
LLTextBox* LLPanelLandGeneral::mTextGroupLabel [protected] |
LLTextBox* LLPanelLandGeneral::mTextClaimDateLabel [protected] |
LLTextBox* LLPanelLandGeneral::mTextClaimDate [protected] |
LLTextBox* LLPanelLandGeneral::mTextPriceLabel [protected] |
LLTextBox* LLPanelLandGeneral::mTextPrice [protected] |
LLCheckBoxCtrl* LLPanelLandGeneral::mCheckDeedToGroup [protected] |
Definition at line 197 of file llfloaterland.h.
Referenced by onCommitAny(), postBuild(), and refresh().
Definition at line 198 of file llfloaterland.h.
Referenced by onCommitAny(), postBuild(), and refresh().
LLTextBox* LLPanelLandGeneral::mSaleInfoForSale1 [protected] |
LLTextBox* LLPanelLandGeneral::mSaleInfoForSale2 [protected] |
Definition at line 201 of file llfloaterland.h.
Referenced by postBuild(), refresh(), and refreshNames().
LLTextBox* LLPanelLandGeneral::mSaleInfoForSaleObjects [protected] |
LLTextBox* LLPanelLandGeneral::mSaleInfoForSaleNoObjects [protected] |
LLTextBox* LLPanelLandGeneral::mSaleInfoNotForSale [protected] |
LLButton* LLPanelLandGeneral::mBtnSellLand [protected] |
LLButton* LLPanelLandGeneral::mBtnStopSellLand [protected] |
LLTextBox* LLPanelLandGeneral::mTextDwell [protected] |
LLButton* LLPanelLandGeneral::mBtnBuyLand [protected] |
LLButton* LLPanelLandGeneral::mBtnBuyGroupLand [protected] |
LLButton* LLPanelLandGeneral::mBtnReleaseLand [protected] |
LLButton* LLPanelLandGeneral::mBtnReclaimLand [protected] |
LLButton* LLPanelLandGeneral::mBtnBuyPass [protected] |
LLButton* LLPanelLandGeneral::mBtnStartAuction [protected] |
LLSafeHandle<LLParcelSelection>& LLPanelLandGeneral::mParcel [protected] |
Definition at line 223 of file llfloaterland.h.
Referenced by enableBuyPass(), enableDeedToGroup(), onClickBuyPass(), onClickProfile(), onClickStartAuction(), onClickStopSellLand(), onCommitAny(), refresh(), refreshNames(), and setGroup().
LLHandle< LLFloater > LLPanelLandGeneral::sBuyPassDialogHandle [static, protected] |
Definition at line 225 of file llfloaterland.h.
Referenced by buyPassDialogVisible(), and onClickBuyPass().