LLPanelGroupGeneral Class Reference

#include <llpanelgroupgeneral.h>

Inheritance diagram for LLPanelGroupGeneral:

Inheritance graph
[legend]
Collaboration diagram for LLPanelGroupGeneral:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLPanelGroupGeneral (const std::string &name, const LLUUID &group_id)
virtual ~LLPanelGroupGeneral ()
virtual void activate ()
virtual bool needsApply (LLString &mesg)
virtual bool apply (LLString &mesg)
virtual void cancel ()
virtual void update (LLGroupChange gc)
virtual BOOL postBuild ()
virtual void draw ()

Static Public Member Functions

static void * createTab (void *data)
static void createGroupCallback (S32 option, void *user_data)
static void callbackConfirmMatureApply (S32 option, void *data)

Private Member Functions

void updateMembers ()
void updateChanged ()
void confirmMatureApply (S32 option)

Static Private Member Functions

static void onFocusEdit (LLFocusableElement *ctrl, void *data)
static void onCommitAny (LLUICtrl *ctrl, void *data)
static void onCommitUserOnly (LLUICtrl *ctrl, void *data)
static void onCommitTitle (LLUICtrl *ctrl, void *data)
static void onCommitEnrollment (LLUICtrl *ctrl, void *data)
static void onClickJoin (void *userdata)
static void onClickInfo (void *userdata)
static void onReceiveNotices (LLUICtrl *ctrl, void *data)
static void openProfile (void *data)
static void joinDlgCB (S32 which, void *userdata)

Private Attributes

BOOL mPendingMemberUpdate
BOOL mChanged
BOOL mFirstUse
std::string mIncompleteMemberDataStr
std::string mConfirmGroupCreateStr
LLUUID mDefaultIconID
LLLineEditormGroupNameEditor
LLTextBoxmGroupName
LLNameBoxmFounderName
LLTextureCtrlmInsignia
LLTextEditormEditCharter
LLButtonmBtnJoinGroup
LLButtonmBtnInfo
LLNameListCtrlmListVisibleMembers
LLCheckBoxCtrlmCtrlShowInGroupList
LLCheckBoxCtrlmCtrlOpenEnrollment
LLCheckBoxCtrlmCtrlEnrollmentFee
LLSpinCtrlmSpinEnrollmentFee
LLCheckBoxCtrlmCtrlReceiveNotices
LLCheckBoxCtrlmCtrlListGroup
LLTextBoxmActiveTitleLabel
LLComboBoxmComboActiveTitle
LLComboBoxmComboMature
LLGroupMgrGroupData::member_list_t::iterator mMemberProgress


Detailed Description

Definition at line 48 of file llpanelgroupgeneral.h.


Constructor & Destructor Documentation

LLPanelGroupGeneral::LLPanelGroupGeneral ( const std::string &  name,
const LLUUID group_id 
)

Definition at line 70 of file llpanelgroupgeneral.cpp.

Referenced by createTab().

Here is the caller graph for this function:

LLPanelGroupGeneral::~LLPanelGroupGeneral (  )  [virtual]

Definition at line 96 of file llpanelgroupgeneral.cpp.


Member Function Documentation

void * LLPanelGroupGeneral::createTab ( void *  data  )  [static]

Reimplemented from LLPanelGroupTab.

Definition at line 63 of file llpanelgroupgeneral.cpp.

References LLPanelGroupGeneral().

Referenced by LLPanelGroup::LLPanelGroup().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelGroupGeneral::activate (  )  [virtual]

bool LLPanelGroupGeneral::needsApply ( LLString mesg  )  [virtual]

Reimplemented from LLPanelGroupTab.

Definition at line 397 of file llpanelgroupgeneral.cpp.

References LLPanel::getUIString(), LLUUID::isNull(), mChanged, and LLPanelGroupTab::mGroupID.

Here is the call graph for this function:

bool LLPanelGroupGeneral::apply ( LLString mesg  )  [virtual]

void LLPanelGroupGeneral::cancel (  )  [virtual]

Reimplemented from LLPanelGroupTab.

Definition at line 537 of file llpanelgroupgeneral.cpp.

References FALSE, mChanged, and LLPanelGroupTab::notifyObservers().

Here is the call graph for this function:

void LLPanelGroupGeneral::createGroupCallback ( S32  option,
void *  user_data 
) [static]

Definition at line 583 of file llpanelgroupgeneral.cpp.

References LLHandle< T >::get(), LLSingleton< LLGroupMgr >::getInstance(), MATURE_CONTENT, and LLGroupMgr::sendCreateGroupRequest().

Referenced by apply().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelGroupGeneral::callbackConfirmMatureApply ( S32  option,
void *  data 
) [static]

Definition at line 548 of file llpanelgroupgeneral.cpp.

References LLHandle< T >::get().

Referenced by apply().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelGroupGeneral::update ( LLGroupChange  gc  )  [virtual]

Reimplemented from LLPanelGroupTab.

Definition at line 621 of file llpanelgroupgeneral.cpp.

References LLComboBox::add(), ADD_BOTTOM, ADD_TOP, LLNameListCtrl::addElement(), LLComboBox::clear(), LLScrollListCtrl::deleteAllItems(), FALSE, gAgent, GC_TITLES, LLAgent::getGroupData(), LLGroupMgr::getGroupData(), LLSingleton< LLGroupMgr >::getInstance(), GP_GROUP_CHANGE_IDENTITY, GP_MEMBER_OPTIONS, LLAgent::hasPowerInGroup(), LLGroupMgrGroupData::isMemberDataComplete(), LLUUID::isNull(), LLAgent::isTeen(), mActiveTitleLabel, LLPanelGroupTab::mAllowEdit, MATURE_CONTENT, mBtnInfo, mBtnJoinGroup, LLGroupMgrGroupData::mCharter, mComboActiveTitle, mComboMature, mCtrlEnrollmentFee, mCtrlOpenEnrollment, mCtrlReceiveNotices, mCtrlShowInGroupList, mDefaultIconID, mEditCharter, LLGroupMgrGroupData::mFounderID, mFounderName, LLPanelGroupTab::mGroupID, mGroupName, mGroupNameEditor, mInsignia, LLGroupMgrGroupData::mInsigniaID, mListVisibleMembers, LLGroupMgrGroupData::mMaturePublish, LLGroupMgrGroupData::mMemberCount, mMemberProgress, LLGroupMgrGroupData::mMembers, LLGroupMgrGroupData::mMembershipFee, LLGroupMgrGroupData::mName, LLGroupMgrGroupData::mOpenEnrollment, mPendingMemberUpdate, LLGroupMgrGroupData::mShowInList, mSpinEnrollmentFee, LLGroupMgrGroupData::mTitles, NON_MATURE_CONTENT, LLUUID::notNull(), LLUUID::null, LLComboBox::removeall(), S32, sAllTime, sElementTime, LLSpinCtrl::set(), LLCheckBoxCtrl::set(), LLComboBox::setCurrentByID(), LLComboBox::setCurrentByIndex(), LLScrollListCtrl::setEnabled(), LLTextEditor::setEnabled(), LLTextureCtrl::setEnabled(), LLSpinCtrl::setEnabled(), LLCheckBoxCtrl::setEnabled(), LLComboBox::setEnabled(), LLTextureCtrl::setImageAssetID(), LLButton::setLabelSelected(), LLButton::setLabelUnselected(), LLNameBox::setNameID(), LLTextEditor::setText(), LLTextBox::setText(), LLView::setVisible(), sSDTime, and TRUE.

Referenced by activate().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLPanelGroupGeneral::postBuild ( void   )  [virtual]

Reimplemented from LLPanelGroupTab.

Definition at line 100 of file llpanelgroupgeneral.cpp.

References LLView::addChild(), FALSE, gAgent, LLTextBox::getFont(), LLAgent::getGroupData(), LLView::getMouseOpaque(), LLView::getName(), LLView::getRect(), LLPanel::getString(), LLUUID::isNull(), LLAgent::isTeen(), llendl, llinfos, LLGroupData::mAcceptNotices, mActiveTitleLabel, mBtnInfo, mBtnJoinGroup, mComboActiveTitle, mComboMature, mConfirmGroupCreateStr, mCtrlEnrollmentFee, mCtrlListGroup, mCtrlOpenEnrollment, mCtrlReceiveNotices, mCtrlShowInGroupList, mDefaultIconID, mEditCharter, mFounderName, LLPanelGroupTab::mGroupID, mGroupName, mGroupNameEditor, LLGroupData::mID, mIncompleteMemberDataStr, mInsignia, LLGroupData::mListInProfile, mListVisibleMembers, mSpinEnrollmentFee, NON_MATURE_CONTENT, LLUUID::notNull(), LLUUID::null, onClickInfo(), onClickJoin(), onCommitAny(), onCommitEnrollment(), onCommitTitle(), onCommitUserOnly(), onFocusEdit(), openProfile(), LLPanelGroupTab::postBuild(), LLView::removeChild(), LLCheckBoxCtrl::set(), LLUICtrl::setCallbackUserData(), LLButton::setClickedCallback(), LLUICtrl::setCommitCallback(), LLComboBox::setCurrentByIndex(), LLScrollListCtrl::setDoubleClickCallback(), LLSpinCtrl::setEnabled(), LLComboBox::setEnabled(), LLTextEditor::setEnabled(), LLLineEditor::setEnabled(), LLCheckBoxCtrl::setEnabled(), LLFocusableElement::setFocusChangedCallback(), LLFocusableElement::setFocusReceivedCallback(), LLSpinCtrl::setPrecision(), LLView::setVisible(), and TRUE.

Here is the call graph for this function:

void LLPanelGroupGeneral::draw ( void   )  [virtual]

Reimplemented from LLPanel.

Definition at line 425 of file llpanelgroupgeneral.cpp.

References LLPanel::draw(), mPendingMemberUpdate, and updateMembers().

Here is the call graph for this function:

void LLPanelGroupGeneral::onFocusEdit ( LLFocusableElement ctrl,
void *  data 
) [static, private]

Definition at line 258 of file llpanelgroupgeneral.cpp.

References TRUE.

Referenced by postBuild().

Here is the caller graph for this function:

void LLPanelGroupGeneral::onCommitAny ( LLUICtrl ctrl,
void *  data 
) [static, private]

Definition at line 266 of file llpanelgroupgeneral.cpp.

Referenced by onCommitEnrollment(), and postBuild().

Here is the caller graph for this function:

void LLPanelGroupGeneral::onCommitUserOnly ( LLUICtrl ctrl,
void *  data 
) [static, private]

Definition at line 274 of file llpanelgroupgeneral.cpp.

References TRUE.

Referenced by postBuild().

Here is the caller graph for this function:

void LLPanelGroupGeneral::onCommitTitle ( LLUICtrl ctrl,
void *  data 
) [static, private]

Definition at line 313 of file llpanelgroupgeneral.cpp.

References GC_TITLES, LLSingleton< LLGroupMgr >::getInstance(), and LLGroupMgr::sendGroupTitleUpdate().

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelGroupGeneral::onCommitEnrollment ( LLUICtrl ctrl,
void *  data 
) [static, private]

Definition at line 283 of file llpanelgroupgeneral.cpp.

References FALSE, gAgent, GP_MEMBER_OPTIONS, LLAgent::hasPowerInGroup(), onCommitAny(), and TRUE.

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelGroupGeneral::onClickJoin ( void *  userdata  )  [static, private]

Definition at line 334 of file llpanelgroupgeneral.cpp.

References LLViewerWindow::alertXml(), can_afford_transaction(), LLGroupMgr::getGroupData(), LLSingleton< LLGroupMgr >::getInstance(), gViewerWindow, joinDlgCB(), lldebugs, llendl, llformat(), llwarns, LLGroupMgrGroupData::mMembershipFee, and S32.

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelGroupGeneral::onClickInfo ( void *  userdata  )  [static, private]

Definition at line 322 of file llpanelgroupgeneral.cpp.

References lldebugs, llendl, and LLFloaterGroupInfo::showFromUUID().

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

static void LLPanelGroupGeneral::onReceiveNotices ( LLUICtrl ctrl,
void *  data 
) [static, private]

void LLPanelGroupGeneral::openProfile ( void *  data  )  [static, private]

Definition at line 383 of file llpanelgroupgeneral.cpp.

References LLScrollListItem::getUUID(), and LLFloaterAvatarInfo::showFromDirectory().

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelGroupGeneral::joinDlgCB ( S32  which,
void *  userdata 
) [static, private]

Definition at line 369 of file llpanelgroupgeneral.cpp.

References LLSingleton< LLGroupMgr >::getInstance(), and LLGroupMgr::sendGroupMemberJoin().

Referenced by onClickJoin().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelGroupGeneral::updateMembers (  )  [private]

void LLPanelGroupGeneral::updateChanged (  )  [private]

void LLPanelGroupGeneral::confirmMatureApply ( S32  option  )  [private]

Definition at line 560 of file llpanelgroupgeneral.cpp.

References apply(), MATURE_CONTENT, mComboMature, NON_MATURE_CONTENT, and LLComboBox::setCurrentByIndex().

Here is the call graph for this function:


Member Data Documentation

Definition at line 86 of file llpanelgroupgeneral.h.

Referenced by draw(), update(), and updateMembers().

Definition at line 87 of file llpanelgroupgeneral.h.

Referenced by activate(), apply(), cancel(), needsApply(), and updateChanged().

Definition at line 88 of file llpanelgroupgeneral.h.

Referenced by activate().

Definition at line 89 of file llpanelgroupgeneral.h.

Referenced by postBuild().

Definition at line 90 of file llpanelgroupgeneral.h.

Referenced by apply(), and postBuild().

Definition at line 91 of file llpanelgroupgeneral.h.

Referenced by postBuild(), and update().

Definition at line 94 of file llpanelgroupgeneral.h.

Referenced by apply(), postBuild(), update(), and updateChanged().

Definition at line 95 of file llpanelgroupgeneral.h.

Referenced by postBuild(), update(), and updateChanged().

Definition at line 96 of file llpanelgroupgeneral.h.

Referenced by postBuild(), update(), and updateChanged().

Definition at line 97 of file llpanelgroupgeneral.h.

Referenced by apply(), postBuild(), update(), and updateChanged().

Definition at line 98 of file llpanelgroupgeneral.h.

Referenced by apply(), postBuild(), update(), and updateChanged().

Definition at line 99 of file llpanelgroupgeneral.h.

Referenced by postBuild(), and update().

Definition at line 100 of file llpanelgroupgeneral.h.

Referenced by postBuild(), and update().

Definition at line 102 of file llpanelgroupgeneral.h.

Referenced by postBuild(), update(), and updateMembers().

Definition at line 105 of file llpanelgroupgeneral.h.

Referenced by apply(), postBuild(), update(), and updateChanged().

Definition at line 106 of file llpanelgroupgeneral.h.

Referenced by apply(), postBuild(), update(), and updateChanged().

Definition at line 107 of file llpanelgroupgeneral.h.

Referenced by apply(), postBuild(), update(), and updateChanged().

Definition at line 108 of file llpanelgroupgeneral.h.

Referenced by apply(), postBuild(), update(), and updateChanged().

Definition at line 109 of file llpanelgroupgeneral.h.

Referenced by apply(), postBuild(), update(), and updateChanged().

Definition at line 110 of file llpanelgroupgeneral.h.

Referenced by apply(), postBuild(), and updateChanged().

Definition at line 111 of file llpanelgroupgeneral.h.

Referenced by postBuild(), update(), and updateChanged().

Definition at line 112 of file llpanelgroupgeneral.h.

Referenced by postBuild(), update(), and updateChanged().

Definition at line 113 of file llpanelgroupgeneral.h.

Referenced by apply(), confirmMatureApply(), postBuild(), update(), and updateChanged().

LLGroupMgrGroupData::member_list_t::iterator LLPanelGroupGeneral::mMemberProgress [private]

Definition at line 115 of file llpanelgroupgeneral.h.

Referenced by update(), and updateMembers().


The documentation for this class was generated from the following files:

Generated on Fri May 16 08:56:46 2008 for SecondLife by  doxygen 1.5.5