LLPanelLandGeneral Class Reference

#include <llfloaterland.h>

Inheritance diagram for LLPanelLandGeneral:

Inheritance graph
[legend]
Collaboration diagram for LLPanelLandGeneral:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLPanelLandGeneral (LLHandle< LLParcelSelection > &parcelp)
virtual ~LLPanelLandGeneral ()
void refresh ()
void refreshNames ()
virtual void draw ()
void setGroup (const LLUUID &group_id)
virtual BOOL postBuild ()

Static Public Member Functions

static void onClickProfile (void *)
static void onClickSetGroup (void *)
static void cbGroupID (LLUUID group_id, void *userdata)
static BOOL enableDeedToGroup (void *)
static void onClickDeed (void *)
static void onClickBuyLand (void *data)
static void onClickRelease (void *)
static void onClickReclaim (void *)
static void onClickBuyPass (void *deselect_when_done)
static BOOL enableBuyPass (void *)
static void onCommitAny (LLUICtrl *ctrl, void *userdata)
static void finalizeCommit (void *userdata)
static void onForSaleChange (LLUICtrl *ctrl, void *userdata)
static void finalizeSetSellChange (void *userdata)
static void onSalePriceChange (LLUICtrl *ctrl, void *userdata)
static void cbBuyPass (S32 option, void *)
static BOOL buyPassDialogVisible ()
static void onClickSellLand (void *data)
static void onClickStopSellLand (void *data)
static void onClickSet (void *data)
static void onClickClear (void *data)
static void onClickShow (void *data)
static void callbackAvatarPick (const std::vector< std::string > &names, const std::vector< LLUUID > &ids, void *data)
static void finalizeAvatarPick (void *data)
static void callbackHighlightTransferable (S32 option, void *userdata)
static void onClickStartAuction (void *)
static void confirmSaleChange (S32 landSize, S32 salePrice, std::string authorizedName, void(*callback)(void *), void *userdata)
static void callbackConfirmSaleChange (S32 option, void *userdata)

Protected Attributes

BOOL mUncheckedSell
LLTextBoxmLabelName
LLLineEditormEditName
LLTextBoxmLabelDesc
LLTextEditormEditDesc
LLTextBoxmTextSalePending
LLButtonmBtnDeedToGroup
LLButtonmBtnSetGroup
LLTextBoxmTextOwnerLabel
LLTextBoxmTextOwner
LLButtonmBtnProfile
LLTextBoxmTextGroup
LLTextBoxmTextGroupLabel
LLTextBoxmTextClaimDateLabel
LLTextBoxmTextClaimDate
LLTextBoxmTextPriceLabel
LLTextBoxmTextPrice
LLCheckBoxCtrlmCheckDeedToGroup
LLCheckBoxCtrlmCheckContributeWithDeed
LLTextBoxmSaleInfoForSale1
LLTextBoxmSaleInfoForSale2
LLTextBoxmSaleInfoForSaleObjects
LLTextBoxmSaleInfoForSaleNoObjects
LLTextBoxmSaleInfoNotForSale
LLButtonmBtnSellLand
LLButtonmBtnStopSellLand
LLTextBoxmTextDwell
LLButtonmBtnBuyLand
LLButtonmBtnBuyGroupLand
LLButtonmBtnReleaseLand
LLButtonmBtnReclaimLand
LLButtonmBtnBuyPass
LLButtonmBtnStartAuction
LLHandle< LLParcelSelection > & mParcel

Static Protected Attributes

static LLViewHandle sBuyPassDialogHandle

Detailed Description

Definition at line 129 of file llfloaterland.h.


Constructor & Destructor Documentation

LLPanelLandGeneral::LLPanelLandGeneral ( LLHandle< LLParcelSelection > &  parcelp  ) 

Definition at line 343 of file llfloaterland.cpp.

LLPanelLandGeneral::~LLPanelLandGeneral (  )  [virtual]

Definition at line 450 of file llfloaterland.cpp.


Member Function Documentation

BOOL LLPanelLandGeneral::buyPassDialogVisible (  )  [static]

Definition at line 959 of file llfloaterland.cpp.

References LLFloater::getFloaterByHandle(), NULL, and sBuyPassDialogHandle.

static void LLPanelLandGeneral::callbackAvatarPick ( const std::vector< std::string > &  names,
const std::vector< LLUUID > &  ids,
void data 
) [static]

static void LLPanelLandGeneral::callbackConfirmSaleChange ( S32  option,
void userdata 
) [static]

static void LLPanelLandGeneral::callbackHighlightTransferable ( S32  option,
void userdata 
) [static]

void LLPanelLandGeneral::cbBuyPass ( S32  option,
void  
) [static]

Definition at line 949 of file llfloaterland.cpp.

References LLViewerParcelMgr::buyPass(), and gParcelMgr.

Referenced by onClickBuyPass().

void LLPanelLandGeneral::cbGroupID ( LLUUID  group_id,
void userdata 
) [static]

Definition at line 836 of file llfloaterland.cpp.

Referenced by onClickSetGroup().

static void LLPanelLandGeneral::confirmSaleChange ( S32  landSize,
S32  salePrice,
std::string  authorizedName,
void(*)(void *)  callback,
void userdata 
) [static]

void LLPanelLandGeneral::draw (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 791 of file llfloaterland.cpp.

References LLPanel::draw(), and refreshNames().

BOOL LLPanelLandGeneral::enableBuyPass ( void  )  [static]

Definition at line 898 of file llfloaterland.cpp.

References LLParcel::getParcelFlag(), LLViewerParcelMgr::getParcelSelection(), gParcelMgr, LLViewerParcelMgr::isCollisionBanned(), mParcel, NULL, and PF_USE_PASS_LIST.

Referenced by LLMenuParcelObserver::changed(), and LLLandEnableBuyPass::handleEvent().

BOOL LLPanelLandGeneral::enableDeedToGroup ( void  )  [static]

Definition at line 867 of file llfloaterland.cpp.

References LLParcel::getParcelFlag(), mParcel, NULL, and PF_ALLOW_DEED_TO_GROUP.

static void LLPanelLandGeneral::finalizeAvatarPick ( void data  )  [static]

static void LLPanelLandGeneral::finalizeCommit ( void userdata  )  [static]

static void LLPanelLandGeneral::finalizeSetSellChange ( void userdata  )  [static]

void LLPanelLandGeneral::onClickBuyLand ( void data  )  [static]

Definition at line 861 of file llfloaterland.cpp.

References gParcelMgr, and LLViewerParcelMgr::startBuyLand().

Referenced by postBuild().

void LLPanelLandGeneral::onClickBuyPass ( void deselect_when_done  )  [static]

Definition at line 907 of file llfloaterland.cpp.

References LLViewerWindow::alertXml(), cbBuyPass(), LLPanel::getHandle(), LLParcel::getName(), LLViewerParcelMgr::getParcelSelection(), LLParcel::getPassHours(), LLParcel::getPassPrice(), gParcelMgr, gViewerWindow, mParcel, NULL, S32, and sBuyPassDialogHandle.

Referenced by LLLandBuyPass::handleEvent(), LLToolPie::pickAndShowMenu(), and postBuild().

static void LLPanelLandGeneral::onClickClear ( void data  )  [static]

void LLPanelLandGeneral::onClickDeed ( void  )  [static]

Definition at line 875 of file llfloaterland.cpp.

References gParcelMgr, and LLViewerParcelMgr::startDeedLandToGroup().

Referenced by postBuild().

void LLPanelLandGeneral::onClickProfile ( void  )  [static]

Definition at line 817 of file llfloaterland.cpp.

References LLParcel::getGroupID(), LLParcel::getIsGroupOwned(), LLParcel::getOwnerID(), mParcel, LLFloaterAvatarInfo::showFromObject(), and LLFloaterGroupInfo::showFromUUID().

Referenced by postBuild().

void LLPanelLandGeneral::onClickReclaim ( void  )  [static]

Definition at line 891 of file llfloaterland.cpp.

References gParcelMgr, lldebugs, llendl, and LLViewerParcelMgr::reclaimParcel().

Referenced by postBuild().

void LLPanelLandGeneral::onClickRelease ( void  )  [static]

Definition at line 885 of file llfloaterland.cpp.

References gParcelMgr, and LLViewerParcelMgr::startReleaseLand().

Referenced by postBuild().

void LLPanelLandGeneral::onClickSellLand ( void data  )  [static]

Definition at line 999 of file llfloaterland.cpp.

References gParcelMgr, and LLViewerParcelMgr::startSellLand().

Referenced by postBuild().

static void LLPanelLandGeneral::onClickSet ( void data  )  [static]

void LLPanelLandGeneral::onClickSetGroup ( void  )  [static]

Definition at line 798 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 LLUIInstanceMgr< T, INSTANCE_ADAPTOR >::showInstance().

Referenced by postBuild().

static void LLPanelLandGeneral::onClickShow ( void data  )  [static]

void LLPanelLandGeneral::onClickStartAuction ( void  )  [static]

Definition at line 931 of file llfloaterland.cpp.

References LLViewerWindow::alertXml(), LLParcel::getForSale(), gViewerWindow, mParcel, and LLFloaterAuction::show().

Referenced by postBuild().

void LLPanelLandGeneral::onClickStopSellLand ( void data  )  [static]

Definition at line 1005 of file llfloaterland.cpp.

References FALSE, gParcelMgr, mParcel, LLUUID::null, PF_FOR_SALE, LLViewerParcelMgr::sendParcelPropertiesUpdate(), LLParcel::setAuthorizedBuyerID(), LLParcel::setParcelFlag(), and LLParcel::setSalePrice().

Referenced by postBuild().

void LLPanelLandGeneral::onCommitAny ( LLUICtrl ctrl,
void userdata 
) [static]

Definition at line 965 of file llfloaterland.cpp.

References LLCheckBoxCtrl::get(), LLTextEditor::getText(), LLLineEditor::getText(), gParcelMgr, 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::onForSaleChange ( LLUICtrl ctrl,
void userdata 
) [static]

static void LLPanelLandGeneral::onSalePriceChange ( LLUICtrl ctrl,
void userdata 
) [static]

BOOL LLPanelLandGeneral::postBuild (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 350 of file llfloaterland.cpp.

References BUY_GROUP_LAND, BUY_PERSONAL_LAND, LLPanel::childSetCommitCallback(), LLPanel::childSetPrevalidate(), LLPanel::childSetUserData(), LLUICtrlFactory::getButtonByName(), LLUICtrlFactory::getCheckBoxByName(), LLUICtrlFactory::getLineEditorByName(), LLUICtrlFactory::getTextBoxByName(), LLUICtrlFactory::getTextEditorByName(), 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.

void LLPanelLandGeneral::refresh (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 455 of file llfloaterland.cpp.

References LLViewerParcelMgr::canAgentBuyParcel(), LLAgent::canManageEstate(), LLPanel::childGetText(), FALSE, formatted_time(), gAgent, LLParcel::getAllowDeedToGroup(), LLParcel::getAuctionID(), LLParcel::getClaimDate(), LLParcel::getContributeWithDeed(), LLParcel::getDesc(), LLViewerParcelMgr::getDisplayInfo(), LLParcel::getForSale(), LLAgent::getGodLevel(), LLParcel::getGroupID(), LLAgent::getID(), LLParcel::getIsGroupOwned(), LLParcel::getName(), LLViewerRegion::getOwner(), LLParcel::getOwnerID(), LLParcel::getOwnershipStatus(), LLViewerRegion::getRegionFlags(), LLParcel::getSalePrice(), LLViewerParcelMgr::getSelectionRegion(), LLParcel::getSellWithObjects(), LLUIString::getString(), GOD_LIAISON, GOVERNOR_LINDEN_ID, GP_LAND_CHANGE_IDENTITY, GP_LAND_DEED, GP_LAND_RELEASE, GP_LAND_SET_SALE_INFO, GP_NO_POWERS, gParcelMgr, 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 732 of file llfloaterland.cpp.

References LLPanel::childGetText(), gCacheName, LLParcel::getAuthorizedBuyerID(), LLParcel::getGroupID(), LLCacheName::getGroupName(), LLParcel::getIsGroupOwned(), LLCacheName::getName(), LLParcel::getOwnerID(), LLParcel::getOwnershipStatus(), LLUUID::isNull(), llformat(), MAX_STRING, 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::setGroup ( const LLUUID group_id  ) 

Definition at line 843 of file llfloaterland.cpp.

References gParcelMgr, mParcel, refresh(), LLViewerParcelMgr::sendParcelPropertiesUpdate(), and LLParcel::setGroupID().


Member Data Documentation

LLButton* LLPanelLandGeneral::mBtnBuyGroupLand [protected]

Definition at line 213 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

LLButton* LLPanelLandGeneral::mBtnBuyLand [protected]

Definition at line 212 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

LLButton* LLPanelLandGeneral::mBtnBuyPass [protected]

Definition at line 222 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

LLButton* LLPanelLandGeneral::mBtnDeedToGroup [protected]

Definition at line 184 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

LLButton* LLPanelLandGeneral::mBtnProfile [protected]

Definition at line 189 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

LLButton* LLPanelLandGeneral::mBtnReclaimLand [protected]

Definition at line 220 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

LLButton* LLPanelLandGeneral::mBtnReleaseLand [protected]

Definition at line 219 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

LLButton* LLPanelLandGeneral::mBtnSellLand [protected]

Definition at line 207 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

LLButton* LLPanelLandGeneral::mBtnSetGroup [protected]

Definition at line 185 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

LLButton* LLPanelLandGeneral::mBtnStartAuction [protected]

Definition at line 223 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

LLButton* LLPanelLandGeneral::mBtnStopSellLand [protected]

Definition at line 208 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

LLCheckBoxCtrl* LLPanelLandGeneral::mCheckContributeWithDeed [protected]

Definition at line 200 of file llfloaterland.h.

Referenced by onCommitAny(), postBuild(), and refresh().

LLCheckBoxCtrl* LLPanelLandGeneral::mCheckDeedToGroup [protected]

Definition at line 199 of file llfloaterland.h.

Referenced by onCommitAny(), postBuild(), and refresh().

LLTextEditor* LLPanelLandGeneral::mEditDesc [protected]

Definition at line 180 of file llfloaterland.h.

Referenced by onCommitAny(), postBuild(), and refresh().

LLLineEditor* LLPanelLandGeneral::mEditName [protected]

Definition at line 178 of file llfloaterland.h.

Referenced by onCommitAny(), postBuild(), and refresh().

LLTextBox* LLPanelLandGeneral::mLabelDesc [protected]

Definition at line 179 of file llfloaterland.h.

LLTextBox* LLPanelLandGeneral::mLabelName [protected]

Definition at line 177 of file llfloaterland.h.

LLHandle<LLParcelSelection>& LLPanelLandGeneral::mParcel [protected]

Definition at line 225 of file llfloaterland.h.

Referenced by enableBuyPass(), enableDeedToGroup(), onClickBuyPass(), onClickProfile(), onClickStartAuction(), onClickStopSellLand(), onCommitAny(), refresh(), refreshNames(), and setGroup().

LLTextBox* LLPanelLandGeneral::mSaleInfoForSale1 [protected]

Definition at line 202 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

LLTextBox* LLPanelLandGeneral::mSaleInfoForSale2 [protected]

Definition at line 203 of file llfloaterland.h.

Referenced by postBuild(), refresh(), and refreshNames().

LLTextBox* LLPanelLandGeneral::mSaleInfoForSaleNoObjects [protected]

Definition at line 205 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

LLTextBox* LLPanelLandGeneral::mSaleInfoForSaleObjects [protected]

Definition at line 204 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

LLTextBox* LLPanelLandGeneral::mSaleInfoNotForSale [protected]

Definition at line 206 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

LLTextBox* LLPanelLandGeneral::mTextClaimDate [protected]

Definition at line 194 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

LLTextBox* LLPanelLandGeneral::mTextClaimDateLabel [protected]

Definition at line 193 of file llfloaterland.h.

Referenced by postBuild().

LLTextBox* LLPanelLandGeneral::mTextDwell [protected]

Definition at line 210 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

LLTextBox* LLPanelLandGeneral::mTextGroup [protected]

Definition at line 191 of file llfloaterland.h.

Referenced by postBuild(), refresh(), and refreshNames().

LLTextBox* LLPanelLandGeneral::mTextGroupLabel [protected]

Definition at line 192 of file llfloaterland.h.

Referenced by postBuild().

LLTextBox* LLPanelLandGeneral::mTextOwner [protected]

Definition at line 188 of file llfloaterland.h.

Referenced by postBuild(), refresh(), and refreshNames().

LLTextBox* LLPanelLandGeneral::mTextOwnerLabel [protected]

Definition at line 187 of file llfloaterland.h.

Referenced by postBuild().

LLTextBox* LLPanelLandGeneral::mTextPrice [protected]

Definition at line 197 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

LLTextBox* LLPanelLandGeneral::mTextPriceLabel [protected]

Definition at line 196 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

LLTextBox* LLPanelLandGeneral::mTextSalePending [protected]

Definition at line 182 of file llfloaterland.h.

Referenced by postBuild(), and refresh().

BOOL LLPanelLandGeneral::mUncheckedSell [protected]

Definition at line 175 of file llfloaterland.h.

LLViewHandle LLPanelLandGeneral::sBuyPassDialogHandle [static, protected]

Definition at line 227 of file llfloaterland.h.

Referenced by buyPassDialogVisible(), and onClickBuyPass().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:37 2010 for Second Life Viewer by  doxygen 1.4.7