LLPanelPermissions Class Reference

#include <llpanelpermissions.h>

Inheritance diagram for LLPanelPermissions:

Inheritance graph
[legend]
Collaboration diagram for LLPanelPermissions:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLPanelPermissions (const std::string &title)
virtual ~LLPanelPermissions ()
virtual BOOL postBuild ()
void refresh ()

Protected Member Functions

void setAllSaleInfo ()

Static Protected Member Functions

static void onClickClaim (void *)
static void onClickRelease (void *)
static void onClickCreator (void *)
static void onClickOwner (void *)
static void onClickGroup (void *)
static void cbGroupID (LLUUID group_id, void *userdata)
static void onClickDeedToGroup (void *)
static void onCommitPerm (LLUICtrl *ctrl, void *data, U8 field, U32 perm)
static void onCommitGroupShare (LLUICtrl *ctrl, void *data)
static void onCommitEveryoneMove (LLUICtrl *ctrl, void *data)
static void onCommitEveryoneCopy (LLUICtrl *ctrl, void *data)
static void onCommitNextOwnerModify (LLUICtrl *ctrl, void *data)
static void onCommitNextOwnerCopy (LLUICtrl *ctrl, void *data)
static void onCommitNextOwnerTransfer (LLUICtrl *ctrl, void *data)
static void onCommitName (LLUICtrl *ctrl, void *data)
static void onCommitDesc (LLUICtrl *ctrl, void *data)
static void onCommitSaleInfo (LLUICtrl *ctrl, void *data)
static void onCommitSaleType (LLUICtrl *ctrl, void *data)
static void onCommitClickAction (LLUICtrl *ctrl, void *)
static void onCommitIncludeInSearch (LLUICtrl *ctrl, void *)

Protected Attributes

LLNameBoxmLabelGroupName
LLUUID mCreatorID
LLUUID mOwnerID
LLUUID mLastOwnerID


Detailed Description

Definition at line 52 of file llpanelpermissions.h.


Constructor & Destructor Documentation

LLPanelPermissions::LLPanelPermissions ( const std::string &  title  ) 

---------------------------------------------------------------------------- Class llpanelpermissions ----------------------------------------------------------------------------

Definition at line 72 of file llpanelpermissions.cpp.

References FALSE, and LLView::setMouseOpaque().

Here is the call graph for this function:

LLPanelPermissions::~LLPanelPermissions (  )  [virtual]

Definition at line 127 of file llpanelpermissions.cpp.


Member Function Documentation

BOOL LLPanelPermissions::postBuild ( void   )  [virtual]

void LLPanelPermissions::refresh (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 133 of file llpanelpermissions.cpp.

References LLPanel::childSetEnabled(), LLPanel::childSetTentative(), LLPanel::childSetText(), LLPanel::childSetValue(), LLPanel::childSetVisible(), LLComboBox::clear(), DEFAULT_PRICE, FALSE, LLSaleInfo::FS_COPY, gAgent, LLControlGroup::getBOOL(), LLAgent::getID(), LLSingleton< LLSelectMgr >::getInstance(), LLFocusMgr::getKeyboardFocus(), LLSelectNode::getObject(), LLSaleInfo::getSaleType(), LLSelectMgr::getSelection(), LLPanel::getString(), LLControlGroup::getWarning(), gFocusMgr, GP_OBJECT_DEED, GP_OBJECT_MANIPULATE, GP_OBJECT_SET_SALE, gSavedSettings, LLAgent::hasPowerInGroup(), LLUUID::isNull(), LL_PCODE_VOLUME, llformat(), mask_to_string(), MAX_STRING, mCreatorID, LLSelectNode::mDescription, mLabelGroupName, mLastOwnerID, LLSelectNode::mName, mOwnerID, LLUUID::notNull(), LLUUID::null, LLStringBase< char >::null, NULL, PERM_BASE, PERM_COPY, PERM_EVERYONE, PERM_GROUP, PERM_MODIFY, PERM_MOVE, PERM_NEXT_OWNER, PERM_OWNER, PERM_TRANSFER, LLViewerObject::permCopy(), LLViewerObject::permModify(), LLViewerObject::permMove(), LLViewerObject::permTransfer(), LLNameBox::refresh(), S32, LLSelectMgr::selectGetCreator(), LLSelectMgr::selectGetGroup(), LLSelectMgr::selectGetLastOwner(), LLSelectMgr::selectGetModify(), LLSelectMgr::selectGetOwner(), LLSelectMgr::selectGetPerm(), LLSelectMgr::selectGetRootsCopy(), LLSelectMgr::selectGetRootsModify(), LLSelectMgr::selectGetRootsTransfer(), LLSelectMgr::selectGetSaleInfo(), LLSelectMgr::selectionAllPCode(), LLSelectMgr::selectionGetIncludeInSearch(), LLSelectMgr::selectIsForSale(), LLSelectMgr::selectIsGroupOwned(), LLComboBox::setCurrentByIndex(), LLView::setEnabled(), LLComboBox::setEnabled(), LLRadioGroup::setEnabled(), LLButton::setLabelSelected(), LLButton::setLabelUnselected(), LLNameBox::setNameID(), LLRadioGroup::setSelectedIndex(), LLLineEditor::setText(), and TRUE.

Referenced by LLFloaterTools::refresh().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelPermissions::onClickClaim ( void *   )  [static, protected]

Definition at line 790 of file llpanelpermissions.cpp.

References gAgent, LLAgent::getGroupID(), LLAgent::getID(), LLSingleton< LLSelectMgr >::getInstance(), and LLSelectMgr::sendOwner().

Here is the call graph for this function:

void LLPanelPermissions::onClickRelease ( void *   )  [static, protected]

Definition at line 797 of file llpanelpermissions.cpp.

References LLSingleton< LLSelectMgr >::getInstance(), LLUUID::null, and LLSelectMgr::sendOwner().

Here is the call graph for this function:

void LLPanelPermissions::onClickCreator ( void *  data  )  [static, protected]

Definition at line 804 of file llpanelpermissions.cpp.

References LLFloaterAvatarInfo::showFromObject().

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelPermissions::onClickOwner ( void *  data  )  [static, protected]

Definition at line 812 of file llpanelpermissions.cpp.

References LLSingleton< LLSelectMgr >::getInstance(), LLSelectMgr::selectGetGroup(), LLSelectMgr::selectIsGroupOwned(), LLFloaterAvatarInfo::showFromObject(), and LLFloaterGroupInfo::showFromUUID().

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelPermissions::onClickGroup ( void *  data  )  [static, protected]

void LLPanelPermissions::cbGroupID ( LLUUID  group_id,
void *  userdata 
) [static, protected]

Definition at line 852 of file llpanelpermissions.cpp.

References LLSingleton< LLSelectMgr >::getInstance(), LLSelectMgr::sendGroup(), and TRUE.

Referenced by onClickGroup().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelPermissions::onClickDeedToGroup ( void *  data  )  [static, protected]

Definition at line 876 of file llpanelpermissions.cpp.

References LLViewerWindow::alertXml(), callback_deed_to_group(), gViewerWindow, and NULL.

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelPermissions::onCommitPerm ( LLUICtrl ctrl,
void *  data,
U8  field,
U32  perm 
) [static, protected]

---------------------------------------------------------------------------- Permissions checkboxes ----------------------------------------------------------------------------

Definition at line 887 of file llpanelpermissions.cpp.

References LLCheckBoxCtrl::get(), LLSingleton< LLSelectMgr >::getInstance(), LLSelectMgr::getSelection(), and LLSelectMgr::selectionSetObjectPermissions().

Referenced by onCommitEveryoneCopy(), onCommitEveryoneMove(), onCommitGroupShare(), onCommitNextOwnerCopy(), onCommitNextOwnerModify(), and onCommitNextOwnerTransfer().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelPermissions::onCommitGroupShare ( LLUICtrl ctrl,
void *  data 
) [static, protected]

Definition at line 901 of file llpanelpermissions.cpp.

References onCommitPerm(), PERM_COPY, PERM_GROUP, PERM_MODIFY, and PERM_MOVE.

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelPermissions::onCommitEveryoneMove ( LLUICtrl ctrl,
void *  data 
) [static, protected]

Definition at line 907 of file llpanelpermissions.cpp.

References onCommitPerm(), PERM_EVERYONE, and PERM_MOVE.

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelPermissions::onCommitEveryoneCopy ( LLUICtrl ctrl,
void *  data 
) [static, protected]

Definition at line 914 of file llpanelpermissions.cpp.

References onCommitPerm(), PERM_COPY, and PERM_EVERYONE.

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelPermissions::onCommitNextOwnerModify ( LLUICtrl ctrl,
void *  data 
) [static, protected]

Definition at line 920 of file llpanelpermissions.cpp.

References onCommitPerm(), PERM_MODIFY, and PERM_NEXT_OWNER.

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelPermissions::onCommitNextOwnerCopy ( LLUICtrl ctrl,
void *  data 
) [static, protected]

Definition at line 927 of file llpanelpermissions.cpp.

References onCommitPerm(), PERM_COPY, and PERM_NEXT_OWNER.

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelPermissions::onCommitNextOwnerTransfer ( LLUICtrl ctrl,
void *  data 
) [static, protected]

Definition at line 934 of file llpanelpermissions.cpp.

References onCommitPerm(), PERM_NEXT_OWNER, and PERM_TRANSFER.

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelPermissions::onCommitName ( LLUICtrl ctrl,
void *  data 
) [static, protected]

Definition at line 941 of file llpanelpermissions.cpp.

References LLSingleton< LLSelectMgr >::getInstance(), LLLineEditor::getText(), and LLSelectMgr::selectionSetObjectName().

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelPermissions::onCommitDesc ( LLUICtrl ctrl,
void *  data 
) [static, protected]

Definition at line 955 of file llpanelpermissions.cpp.

References LLSingleton< LLSelectMgr >::getInstance(), LLLineEditor::getText(), and LLSelectMgr::selectionSetObjectDescription().

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLPanelPermissions::onCommitSaleInfo ( LLUICtrl ctrl,
void *  data 
) [static, protected]

Definition at line 967 of file llpanelpermissions.cpp.

Referenced by postBuild().

Here is the caller graph for this function:

void LLPanelPermissions::onCommitSaleType ( LLUICtrl ctrl,
void *  data 
) [static, protected]

Definition at line 974 of file llpanelpermissions.cpp.

Referenced by postBuild().

Here is the caller graph for this function:

void LLPanelPermissions::setAllSaleInfo (  )  [protected]

void LLPanelPermissions::onCommitClickAction ( LLUICtrl ctrl,
void *   
) [static, protected]

void LLPanelPermissions::onCommitIncludeInSearch ( LLUICtrl ctrl,
void *   
) [static, protected]

Definition at line 1088 of file llpanelpermissions.cpp.

References LLCheckBoxCtrl::get(), LLSingleton< LLSelectMgr >::getInstance(), llassert, and LLSelectMgr::selectionSetIncludeInSearch().

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 101 of file llpanelpermissions.h.

Referenced by postBuild(), and refresh().

Definition at line 107 of file llpanelpermissions.h.

Referenced by refresh().

Definition at line 108 of file llpanelpermissions.h.

Referenced by refresh().

Definition at line 109 of file llpanelpermissions.h.

Referenced by refresh().


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

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