#include <llpanelgroupvoting.h>
Inheritance diagram for LLPanelGroupVoting:
Public Member Functions | |
LLPanelGroupVoting (const std::string &name, const LLUUID &group_id) | |
virtual | ~LLPanelGroupVoting () |
virtual BOOL | postBuild () |
virtual BOOL | isVisibleByAgent (LLAgent *agentp) |
virtual void | activate () |
virtual bool | needsApply (LLString &mesg) |
virtual bool | apply (LLString &mesg) |
virtual void | update (LLGroupChange gc) |
Static Public Member Functions | |
static void * | createTab (void *data) |
Protected Attributes | |
impl * | mImpl |
Classes | |
class | impl |
Definition at line 37 of file llpanelgroupvoting.h.
LLPanelGroupVoting::LLPanelGroupVoting | ( | const std::string & | name, | |
const LLUUID & | group_id | |||
) |
Definition at line 1275 of file llpanelgroupvoting.cpp.
References mImpl.
Referenced by createTab().
LLPanelGroupVoting::~LLPanelGroupVoting | ( | ) | [virtual] |
void LLPanelGroupVoting::activate | ( | ) | [virtual] |
Reimplemented from LLPanelGroupTab.
Definition at line 1425 of file llpanelgroupvoting.cpp.
References GC_ALL, gGroupMgr, LLPanelGroupTab::mGroupID, mImpl, LLGroupMgr::sendGroupPropertiesRequest(), LLPanelGroupVoting::impl::setEnableHistoryList(), LLPanelGroupVoting::impl::setEnableListProposals(), and update().
bool LLPanelGroupVoting::apply | ( | LLString & | mesg | ) | [virtual] |
Reimplemented from LLPanelGroupTab.
Definition at line 1269 of file llpanelgroupvoting.cpp.
References LLPanelGroupVoting().
Referenced by LLPanelGroup::LLPanelGroup().
Reimplemented from LLPanelGroupTab.
Definition at line 1287 of file llpanelgroupvoting.cpp.
References LLAgent::isInGroup(), LLPanelGroupTab::mAllowEdit, and LLPanelGroupTab::mGroupID.
bool LLPanelGroupVoting::needsApply | ( | LLString & | mesg | ) | [virtual] |
BOOL LLPanelGroupVoting::postBuild | ( | ) | [virtual] |
Reimplemented from LLPanelGroupTab.
Definition at line 1293 of file llpanelgroupvoting.cpp.
References _PREHASH_GroupActiveProposalItemReply, _PREHASH_GroupVoteHistoryItemReply, LLPanel::getChildByName(), gMessageSystem, LLPanelGroupVoting::impl::mBtnAbstain, LLPanelGroupVoting::impl::mBtnCancelProposal, LLPanelGroupVoting::impl::mBtnCreateProposal, LLPanelGroupVoting::impl::mBtnNo, LLPanelGroupVoting::impl::mBtnSubmitProposal, LLPanelGroupVoting::impl::mBtnViewHistoryItem, LLPanelGroupVoting::impl::mBtnViewHistoryList, LLPanelGroupVoting::impl::mBtnViewProposalItem, LLPanelGroupVoting::impl::mBtnViewProposalList, LLPanelGroupVoting::impl::mBtnYes, LLPanelGroupVoting::impl::mDuration, LLPanelGroupVoting::impl::mDurationLbl, LLPanelGroupVoting::impl::mDurationText, LLPanelGroupVoting::impl::mEndDate, LLPanelGroupVoting::impl::mEndLbl, mImpl, LLPanelGroupVoting::impl::mMajority, LLPanelGroupVoting::impl::mMajorityLbl, LLPanelGroupVoting::impl::mProposals, LLPanelGroupVoting::impl::mProposalText, LLPanelGroupVoting::impl::mQuorum, LLPanelGroupVoting::impl::mQuorumLbl, LLPanelGroupVoting::impl::mStartDate, LLPanelGroupVoting::impl::mStartLbl, LLPanelGroupVoting::impl::mVoteHistoryText, LLPanelGroupVoting::impl::mVoteHistoryTextLbl, LLPanelGroupVoting::impl::mVotesHistory, LLPanelGroupVoting::impl::mVotesHistoryLbl, LLPanelGroupVoting::impl::onClickAbstain(), LLPanelGroupVoting::impl::onClickCancelProposal(), LLPanelGroupVoting::impl::onClickCreateProposal(), LLPanelGroupVoting::impl::onClickNo(), LLPanelGroupVoting::impl::onClickSubmitProposal(), LLPanelGroupVoting::impl::onClickViewHistoryItem(), LLPanelGroupVoting::impl::onClickViewHistoryList(), LLPanelGroupVoting::impl::onClickViewProposalItem(), LLPanelGroupVoting::impl::onClickViewProposalList(), LLPanelGroupVoting::impl::onClickYes(), LLPanelGroupVoting::impl::onDoubleClickHistoryItem(), LLPanelGroupVoting::impl::onDoubleClickProposal(), LLPanelGroupTab::postBuild(), LLPanelGroupVoting::impl::processGroupActiveProposalItemReply(), LLPanelGroupVoting::impl::processGroupVoteHistoryItemReply(), LLUICtrl::setCallbackUserData(), LLButton::setClickedCallback(), LLScrollListCtrl::setDoubleClickCallback(), LLMessageSystem::setHandlerFuncFast(), and LLPanelGroupVoting::impl::updateQuorumText().
void LLPanelGroupVoting::update | ( | LLGroupChange | gc | ) | [virtual] |
Reimplemented from LLPanelGroupTab.
Definition at line 1444 of file llpanelgroupvoting.cpp.
References LLGroupMgr::getGroupData(), gGroupMgr, LLPanelGroupTab::mGroupID, mImpl, LLGroupMgrGroupData::mMemberCount, LLPanelGroupVoting::impl::mNumGroupMembers, NULL, S32, LLPanelGroupVoting::impl::sendGroupProposalsRequest(), LLPanelGroupVoting::impl::sendGroupVoteHistoryRequest(), and LLPanelGroupVoting::impl::updateQuorumText().
Referenced by activate().
impl* LLPanelGroupVoting::mImpl [protected] |
Definition at line 54 of file llpanelgroupvoting.h.
Referenced by activate(), LLPanelGroupVoting(), postBuild(), update(), and ~LLPanelGroupVoting().