LLPanelGroupVoting::impl Class Reference

Collaboration diagram for LLPanelGroupVoting::impl:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 impl (LLPanelGroupVoting &panel, const LLUUID &group_id)
 ~impl ()
void sendGroupProposalsRequest (const LLUUID &group_id)
void sendStartGroupProposal ()
void sendGroupProposalBallot (const char *vote)
void sendGroupVoteHistoryRequest (const LLUUID &group_id)
void setEnableCreateProposal ()
void setEnableVoteProposal ()
void setEnableListProposals ()
void setEnableHistoryItem ()
void setEnableHistoryList ()
void updateQuorumText ()
void addPendingActiveScrollListItem (unsigned int current, unsigned int expected, EAddPosition pos)
void addPendingHistoryScrollListItem (unsigned int current, unsigned int expected, EAddPosition pos)
void addNoActiveScrollListItem (EAddPosition pos)
void addNoHistoryScrollListItem (EAddPosition pos)

Static Public Member Functions

static void onClickCreateProposal (void *userdata)
static void onClickYes (void *userdata)
static void onClickNo (void *userdata)
static void onClickAbstain (void *userdata)
static void onClickSubmitProposal (void *userdata)
static void onClickCancelProposal (void *userdata)
static void onClickViewProposalList (void *userdata)
static void onClickViewProposalItem (void *userdata)
static void onDoubleClickProposal (void *userdata)
static void onDoubleClickHistoryItem (void *userdata)
static void onClickViewHistoryItem (void *userdata)
static void onClickViewHistoryList (void *userdata)
static void processGroupActiveProposalItemReply (LLMessageSystem *msg, void **data)
static void processGroupVoteHistoryItemReply (LLMessageSystem *msg, void **data)

Public Attributes

LLUUID mGroupID
LLUUID mProposalID
LLPanelGroupVoting & mPanel
LLSpinCtrl * mQuorum
LLTextBox * mQuorumLbl
LLSpinCtrl * mDuration
LLTextBox * mDurationLbl
LLTextBox * mDurationText
LLRadioGroup * mMajority
LLTextBox * mMajorityLbl
LLTextBox * mStartLbl
LLTextBox * mEndLbl
LLTextBox * mStartDate
LLTextBox * mEndDate
LLButton * mBtnYes
LLButton * mBtnNo
LLButton * mBtnAbstain
LLScrollListCtrl * mProposals
LLTextEditor * mProposalText
LLButton * mBtnCreateProposal
LLButton * mBtnSubmitProposal
LLButton * mBtnCancelProposal
LLButton * mBtnViewProposalList
LLButton * mBtnViewProposalItem
LLScrollListCtrl * mVotesHistory
LLTextBox * mVotesHistoryLbl
LLTextEditor * mVoteHistoryText
LLTextBox * mVoteHistoryTextLbl
LLButton * mBtnViewHistoryList
LLButton * mBtnViewHistoryItem
int mNumGroupMembers
std::vector< LLSD > mActiveReceived
std::vector< LLSD > mHistoryReceived
int mProposalColumnWidths [10]
int mHistoryColumnWidths [10]
LLUUID mProposalTransID
LLUUID mHistoryTransID

Static Public Attributes

static std::map< LLUUID,
LLPanelGroupVoting::impl * > 
sGroupIDs


Detailed Description

Definition at line 53 of file llpanelgroupvoting.cpp.


Constructor & Destructor Documentation

LLPanelGroupVoting::impl::impl ( LLPanelGroupVoting &  panel,
const LLUUID &  group_id 
)

LLPanelGroupVoting::impl::~impl (  ) 

Definition at line 219 of file llpanelgroupvoting.cpp.

References mGroupID, and sGroupIDs.


Member Function Documentation

void LLPanelGroupVoting::impl::onClickCreateProposal ( void *  userdata  )  [static]

Definition at line 1275 of file llpanelgroupvoting.cpp.

Referenced by LLPanelGroupVoting::postBuild().

Here is the caller graph for this function:

void LLPanelGroupVoting::impl::onClickYes ( void *  userdata  )  [static]

Definition at line 1282 of file llpanelgroupvoting.cpp.

Referenced by LLPanelGroupVoting::postBuild().

Here is the caller graph for this function:

void LLPanelGroupVoting::impl::onClickNo ( void *  userdata  )  [static]

Definition at line 1294 of file llpanelgroupvoting.cpp.

Referenced by LLPanelGroupVoting::postBuild().

Here is the caller graph for this function:

void LLPanelGroupVoting::impl::onClickAbstain ( void *  userdata  )  [static]

Definition at line 1306 of file llpanelgroupvoting.cpp.

Referenced by LLPanelGroupVoting::postBuild().

Here is the caller graph for this function:

void LLPanelGroupVoting::impl::onClickSubmitProposal ( void *  userdata  )  [static]

Definition at line 1319 of file llpanelgroupvoting.cpp.

References LLViewerWindow::alertXml(), LLPanel::childSetText(), gFocusMgr, gViewerWindow, NULL, and LLFocusMgr::setKeyboardFocus().

Referenced by LLPanelGroupVoting::postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelGroupVoting::impl::onClickCancelProposal ( void *  userdata  )  [static]

Definition at line 1343 of file llpanelgroupvoting.cpp.

Referenced by LLPanelGroupVoting::postBuild().

Here is the caller graph for this function:

void LLPanelGroupVoting::impl::onClickViewProposalList ( void *  userdata  )  [static]

Definition at line 1354 of file llpanelgroupvoting.cpp.

Referenced by LLPanelGroupVoting::postBuild().

Here is the caller graph for this function:

void LLPanelGroupVoting::impl::onClickViewProposalItem ( void *  userdata  )  [static]

Definition at line 1362 of file llpanelgroupvoting.cpp.

References LLViewerWindow::alertXml(), LLScrollListItem::getColumn(), and gViewerWindow.

Referenced by LLPanelGroupVoting::postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelGroupVoting::impl::onDoubleClickProposal ( void *  userdata  )  [static]

Definition at line 1382 of file llpanelgroupvoting.cpp.

References NULL.

Referenced by LLPanelGroupVoting::postBuild().

Here is the caller graph for this function:

void LLPanelGroupVoting::impl::onDoubleClickHistoryItem ( void *  userdata  )  [static]

Definition at line 1392 of file llpanelgroupvoting.cpp.

References NULL.

Referenced by LLPanelGroupVoting::postBuild().

Here is the caller graph for this function:

void LLPanelGroupVoting::impl::onClickViewHistoryItem ( void *  userdata  )  [static]

Definition at line 1402 of file llpanelgroupvoting.cpp.

References LLViewerWindow::alertXml(), LLScrollListItem::getColumn(), and gViewerWindow.

Referenced by LLPanelGroupVoting::postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelGroupVoting::impl::onClickViewHistoryList ( void *  userdata  )  [static]

Definition at line 1422 of file llpanelgroupvoting.cpp.

Referenced by LLPanelGroupVoting::postBuild().

Here is the caller graph for this function:

void LLPanelGroupVoting::impl::sendGroupProposalsRequest ( const LLUUID &  group_id  ) 

void LLPanelGroupVoting::impl::sendStartGroupProposal (  ) 

void LLPanelGroupVoting::impl::sendGroupProposalBallot ( const char *  vote  ) 

void LLPanelGroupVoting::impl::sendGroupVoteHistoryRequest ( const LLUUID &  group_id  ) 

void LLPanelGroupVoting::impl::setEnableCreateProposal (  ) 

void LLPanelGroupVoting::impl::setEnableVoteProposal (  ) 

void LLPanelGroupVoting::impl::setEnableListProposals (  ) 

void LLPanelGroupVoting::impl::setEnableHistoryItem (  ) 

void LLPanelGroupVoting::impl::setEnableHistoryList (  ) 

void LLPanelGroupVoting::impl::updateQuorumText (  ) 

Definition at line 886 of file llpanelgroupvoting.cpp.

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

Referenced by LLPanelGroupVoting::postBuild(), and LLPanelGroupVoting::update().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelGroupVoting::impl::addPendingActiveScrollListItem ( unsigned int  current,
unsigned int  expected,
EAddPosition  pos 
)

Definition at line 891 of file llpanelgroupvoting.cpp.

References LLScrollListCtrl::addCommentText(), and mProposals.

Referenced by sendGroupProposalsRequest().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelGroupVoting::impl::addPendingHistoryScrollListItem ( unsigned int  current,
unsigned int  expected,
EAddPosition  pos 
)

Definition at line 916 of file llpanelgroupvoting.cpp.

References LLScrollListCtrl::addCommentText(), and mVotesHistory.

Referenced by sendGroupVoteHistoryRequest().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelGroupVoting::impl::addNoActiveScrollListItem ( EAddPosition  pos  ) 

Definition at line 904 of file llpanelgroupvoting.cpp.

References LLScrollListCtrl::addCommentText(), and mProposals.

Here is the call graph for this function:

void LLPanelGroupVoting::impl::addNoHistoryScrollListItem ( EAddPosition  pos  ) 

Definition at line 910 of file llpanelgroupvoting.cpp.

References LLScrollListCtrl::addCommentText(), and mVotesHistory.

Here is the call graph for this function:

void LLPanelGroupVoting::impl::processGroupActiveProposalItemReply ( LLMessageSystem *  msg,
void **  data 
) [static]

void LLPanelGroupVoting::impl::processGroupVoteHistoryItemReply ( LLMessageSystem *  msg,
void **  data 
) [static]


Member Data Documentation

Definition at line 102 of file llpanelgroupvoting.cpp.

Referenced by sendGroupProposalBallot(), and setEnableVoteProposal().

Definition at line 139 of file llpanelgroupvoting.cpp.

Referenced by sendGroupProposalsRequest().

Definition at line 140 of file llpanelgroupvoting.cpp.

Referenced by sendGroupVoteHistoryRequest().

Definition at line 142 of file llpanelgroupvoting.cpp.

Referenced by impl().

Definition at line 143 of file llpanelgroupvoting.cpp.

Referenced by impl().

Definition at line 145 of file llpanelgroupvoting.cpp.

Referenced by impl(), and sendGroupProposalsRequest().

Definition at line 146 of file llpanelgroupvoting.cpp.

Referenced by impl(), and sendGroupVoteHistoryRequest().


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

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