LLPanelGroupLandMoney::impl Class Reference

Collaboration diagram for LLPanelGroupLandMoney::impl:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 impl (LLPanelGroupLandMoney &panel, const LLUUID &group_id)
virtual ~impl ()
void requestGroupLandInfo ()
int getStoredContribution ()
void setYourContributionTextField (int contrib)
void setYourMaxContributionTextBox (int max)
virtual void onMapButton ()
virtual bool applyContribution ()
virtual void processGroupLand (LLMessageSystem *msg)

Static Public Member Functions

static void mapCallback (void *data)
static void contributionCommitCallback (LLUICtrl *ctrl, void *userdata)
static void contributionKeystrokeCallback (LLLineEditor *caller, void *userdata)

Public Attributes

LLPanelGroupLandMoneymPanel
LLTextBoxmGroupOverLimitTextp
LLIconCtrlmGroupOverLimitIconp
LLLineEditormYourContributionEditorp
LLButtonmMapButtonp
LLGroupMoneyTabEventHandlermMoneyDetailsTabEHp
LLGroupMoneyTabEventHandlermMoneyPlanningTabEHp
LLGroupMoneyTabEventHandlermMoneySalesTabEHp
LLScrollListCtrlmGroupParcelsp
LLUUID mGroupID
LLUUID mTransID
bool mBeenActivated
bool mNeedsSendGroupLandRequest
bool mNeedsApply
std::string mCantViewParcelsText
std::string mCantViewAccountsText

Detailed Description

Definition at line 138 of file llpanelgrouplandmoney.cpp.


Constructor & Destructor Documentation

LLPanelGroupLandMoney::impl::impl ( LLPanelGroupLandMoney panel,
const LLUUID group_id 
)

Definition at line 189 of file llpanelgrouplandmoney.cpp.

References mBeenActivated, mGroupOverLimitIconp, mGroupOverLimitTextp, mGroupParcelsp, mMapButtonp, mMoneyDetailsTabEHp, mMoneyPlanningTabEHp, mMoneySalesTabEHp, mNeedsApply, mNeedsSendGroupLandRequest, mTransID, mYourContributionEditorp, NULL, and LLUUID::null.

LLPanelGroupLandMoney::impl::~impl (  )  [virtual]

Definition at line 210 of file llpanelgrouplandmoney.cpp.

References mMoneyDetailsTabEHp, mMoneyPlanningTabEHp, and mMoneySalesTabEHp.


Member Function Documentation

bool LLPanelGroupLandMoney::impl::applyContribution (  )  [virtual]

Definition at line 252 of file llpanelgrouplandmoney.cpp.

References gAgent, LLStatusBar::getSquareMetersLeft(), getStoredContribution(), LLLineEditor::getText(), gStatusBar, llendl, llwarns, mGroupID, mYourContributionEditorp, S32, LLAgent::setGroupContribution(), and setYourContributionTextField().

Referenced by LLPanelGroupLandMoney::apply().

void LLPanelGroupLandMoney::impl::contributionCommitCallback ( LLUICtrl ctrl,
void userdata 
) [static]

Definition at line 331 of file llpanelgrouplandmoney.cpp.

References getStoredContribution(), LLLineEditor::getText(), LLPanelGroupLandMoney::mImplementationp, and LLPanelGroupTab::notifyObservers().

Referenced by contributionKeystrokeCallback(), and LLPanelGroupLandMoney::postBuild().

void LLPanelGroupLandMoney::impl::contributionKeystrokeCallback ( LLLineEditor caller,
void userdata 
) [static]

Definition at line 355 of file llpanelgrouplandmoney.cpp.

References contributionCommitCallback().

Referenced by LLPanelGroupLandMoney::postBuild().

int LLPanelGroupLandMoney::impl::getStoredContribution (  ) 

Definition at line 296 of file llpanelgrouplandmoney.cpp.

References gAgent, LLAgent::getGroupData(), LLGroupData::mContribution, and mGroupID.

Referenced by LLPanelGroupLandMoney::activate(), applyContribution(), LLPanelGroupLandMoney::cancel(), contributionCommitCallback(), and LLPanelGroupLandMoney::update().

void LLPanelGroupLandMoney::impl::mapCallback ( void data  )  [static]

Definition at line 324 of file llpanelgrouplandmoney.cpp.

Referenced by LLPanelGroupLandMoney::postBuild().

void LLPanelGroupLandMoney::impl::onMapButton (  )  [virtual]

Definition at line 227 of file llpanelgrouplandmoney.cpp.

References gAgent, LLScrollListItem::getColumn(), LLScrollListCtrl::getFirstSelected(), LLAgent::getPositionGlobal(), LLScrollListCell::getText(), gFloaterWorldMap, LLVector3d::mdV, mGroupParcelsp, NULL, LLFloaterWorldMap::show(), LLFloaterWorldMap::trackLocation(), TRUE, and VZ.

void LLPanelGroupLandMoney::impl::processGroupLand ( LLMessageSystem msg  )  [virtual]

Definition at line 362 of file llpanelgrouplandmoney.cpp.

References ADD_SORTED, LLScrollListCtrl::addElement(), LLPanel::childSetTextArg(), count, gAgent, LLMessageSystem::getF32(), LLMessageSystem::getNumberOfBlocks(), LLMessageSystem::getS32(), LLMessageSystem::getString(), LLMessageSystem::getU8(), LLMessageSystem::getUUID(), i, LLAgent::isInGroup(), LLUUID::isNull(), llformat(), llround(), MAX_STRING, mGroupID, mGroupOverLimitIconp, mGroupOverLimitTextp, mGroupParcelsp, mMapButtonp, mPanel, mTransID, REGION_WIDTH_UNITS, S32, LLView::setEnabled(), LLView::setVisible(), and TRUE.

Referenced by LLPanelGroupLandMoney::processPlacesReply().

void LLPanelGroupLandMoney::impl::requestGroupLandInfo (  ) 

Definition at line 217 of file llpanelgrouplandmoney.cpp.

References LLParcel::C_ANY, LLScrollListCtrl::deleteAllItems(), DFQ_GROUP_OWNED, LLUUID::generate(), mGroupID, mGroupParcelsp, mTransID, and send_places_query().

Referenced by LLPanelGroupLandMoney::update().

void LLPanelGroupLandMoney::impl::setYourContributionTextField ( int  contrib  ) 

Definition at line 307 of file llpanelgrouplandmoney.cpp.

References LLLineEditor::draw(), llformat(), mYourContributionEditorp, and LLLineEditor::setText().

Referenced by applyContribution(), LLPanelGroupLandMoney::cancel(), and LLPanelGroupLandMoney::update().

void LLPanelGroupLandMoney::impl::setYourMaxContributionTextBox ( int  max  ) 

Definition at line 318 of file llpanelgrouplandmoney.cpp.

References LLPanel::childSetTextArg(), llformat(), and mPanel.

Referenced by LLPanelGroupLandMoney::activate().


Member Data Documentation

bool LLPanelGroupLandMoney::impl::mBeenActivated

Definition at line 178 of file llpanelgrouplandmoney.cpp.

Referenced by LLPanelGroupLandMoney::activate(), and impl().

std::string LLPanelGroupLandMoney::impl::mCantViewAccountsText

Definition at line 183 of file llpanelgrouplandmoney.cpp.

Referenced by LLPanelGroupLandMoney::postBuild().

std::string LLPanelGroupLandMoney::impl::mCantViewParcelsText

Definition at line 182 of file llpanelgrouplandmoney.cpp.

Referenced by LLPanelGroupLandMoney::postBuild().

LLUUID LLPanelGroupLandMoney::impl::mGroupID

Definition at line 175 of file llpanelgrouplandmoney.cpp.

Referenced by applyContribution(), getStoredContribution(), processGroupLand(), and requestGroupLandInfo().

LLIconCtrl* LLPanelGroupLandMoney::impl::mGroupOverLimitIconp

Definition at line 163 of file llpanelgrouplandmoney.cpp.

Referenced by impl(), LLPanelGroupLandMoney::postBuild(), and processGroupLand().

LLTextBox* LLPanelGroupLandMoney::impl::mGroupOverLimitTextp

Definition at line 162 of file llpanelgrouplandmoney.cpp.

Referenced by impl(), LLPanelGroupLandMoney::postBuild(), and processGroupLand().

LLScrollListCtrl* LLPanelGroupLandMoney::impl::mGroupParcelsp

Definition at line 173 of file llpanelgrouplandmoney.cpp.

Referenced by impl(), onMapButton(), LLPanelGroupLandMoney::postBuild(), processGroupLand(), and requestGroupLandInfo().

LLButton* LLPanelGroupLandMoney::impl::mMapButtonp

Definition at line 167 of file llpanelgrouplandmoney.cpp.

Referenced by impl(), LLPanelGroupLandMoney::postBuild(), and processGroupLand().

LLGroupMoneyTabEventHandler* LLPanelGroupLandMoney::impl::mMoneyDetailsTabEHp

Definition at line 169 of file llpanelgrouplandmoney.cpp.

Referenced by impl(), LLPanelGroupLandMoney::postBuild(), and ~impl().

LLGroupMoneyTabEventHandler* LLPanelGroupLandMoney::impl::mMoneyPlanningTabEHp

Definition at line 170 of file llpanelgrouplandmoney.cpp.

Referenced by impl(), LLPanelGroupLandMoney::postBuild(), and ~impl().

LLGroupMoneyTabEventHandler* LLPanelGroupLandMoney::impl::mMoneySalesTabEHp

Definition at line 171 of file llpanelgrouplandmoney.cpp.

Referenced by impl(), LLPanelGroupLandMoney::postBuild(), and ~impl().

bool LLPanelGroupLandMoney::impl::mNeedsApply

Definition at line 180 of file llpanelgrouplandmoney.cpp.

Referenced by LLPanelGroupLandMoney::apply(), LLPanelGroupLandMoney::cancel(), impl(), and LLPanelGroupLandMoney::needsApply().

bool LLPanelGroupLandMoney::impl::mNeedsSendGroupLandRequest

Definition at line 179 of file llpanelgrouplandmoney.cpp.

Referenced by impl().

LLPanelGroupLandMoney& LLPanelGroupLandMoney::impl::mPanel

Definition at line 160 of file llpanelgrouplandmoney.cpp.

Referenced by processGroupLand(), and setYourMaxContributionTextBox().

LLUUID LLPanelGroupLandMoney::impl::mTransID

Definition at line 176 of file llpanelgrouplandmoney.cpp.

Referenced by impl(), processGroupLand(), and requestGroupLandInfo().

LLLineEditor* LLPanelGroupLandMoney::impl::mYourContributionEditorp

Definition at line 165 of file llpanelgrouplandmoney.cpp.

Referenced by applyContribution(), impl(), LLPanelGroupLandMoney::postBuild(), and setYourContributionTextField().


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