LLFloaterProperties Class Reference

#include <llfloaterproperties.h>

Inheritance diagram for LLFloaterProperties:

Inheritance graph
[legend]
Collaboration diagram for LLFloaterProperties:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLFloaterProperties (const std::string &name, const LLRect &rect, const std::string &title, const LLUUID &item_id, const LLUUID &object_id)
virtual ~LLFloaterProperties ()
void dirty ()
void refresh ()

Static Public Member Functions

static LLFloaterPropertiesfind (const LLUUID &item_id, const LLUUID &object_id)
static LLFloaterPropertiesshow (const LLUUID &item_id, const LLUUID &object_id)
static void dirtyAll ()
static void closeByID (const LLUUID &item_id, const LLUUID &object_id)

Protected Types

typedef std::map< LLUUID,
LLFloaterProperties
*, lluuid_less
instance_map

Protected Member Functions

void updateSaleInfo ()
LLInventoryItemfindItem () const
void refreshFromItem (LLInventoryItem *item)
virtual void draw ()

Static Protected Member Functions

static void onClickCreator (void *data)
static void onClickOwner (void *data)
static void onCommitName (LLUICtrl *ctrl, void *data)
static void onCommitDescription (LLUICtrl *ctrl, void *data)
static void onCommitPermissions (LLUICtrl *ctrl, void *data)
static void onCommitSaleInfo (LLUICtrl *ctrl, void *data)
static void onCommitSaleType (LLUICtrl *ctrl, void *data)

Protected Attributes

LLUUID mItemID
LLUUID mObjectID
BOOL mDirty

Static Protected Attributes

static instance_map sInstances
static LLPropertiesObserversPropertiesObserver = NULL
static S32 sPropertiesObserverCount = 0


Detailed Description

Definition at line 52 of file llfloaterproperties.h.


Member Typedef Documentation

Definition at line 97 of file llfloaterproperties.h.


Constructor & Destructor Documentation

LLFloaterProperties::LLFloaterProperties ( const std::string &  name,
const LLRect rect,
const std::string &  title,
const LLUUID item_id,
const LLUUID object_id 
)

LLFloaterProperties::~LLFloaterProperties (  )  [virtual]


Member Function Documentation

LLFloaterProperties * LLFloaterProperties::find ( const LLUUID item_id,
const LLUUID object_id 
) [static]

Definition at line 107 of file llfloaterproperties.cpp.

References NULL, and sInstances.

Referenced by closeByID(), LLPanelInventory::inventoryChanged(), and show().

Here is the caller graph for this function:

LLFloaterProperties * LLFloaterProperties::show ( const LLUUID item_id,
const LLUUID object_id 
) [static]

Definition at line 123 of file llfloaterproperties.cpp.

References LLMultiFloater::addFloater(), find(), LLFloater::getFloaterHost(), LLFloater::getHost(), LLFloater::open(), refresh(), and TRUE.

Referenced by LLTaskInvFVBridge::showProperties(), and LLShowProps::showProperties().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterProperties::dirtyAll (  )  [static]

Definition at line 142 of file llfloaterproperties.cpp.

References sInstances.

Referenced by LLPropertiesObserver::changed(), and dialog_refresh_all().

Here is the caller graph for this function:

void LLFloaterProperties::closeByID ( const LLUUID item_id,
const LLUUID object_id 
) [static]

Definition at line 931 of file llfloaterproperties.cpp.

References LLFloater::close(), and find().

Referenced by LLViewerObject::removeInventory().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterProperties::dirty (  )  [inline]

Definition at line 67 of file llfloaterproperties.h.

References mDirty, and TRUE.

void LLFloaterProperties::refresh (  )  [virtual]

Reimplemented from LLPanel.

Definition at line 217 of file llfloaterproperties.cpp.

References LLPanel::childSetEnabled(), LLPanel::childSetVisible(), findItem(), mDirty, refreshFromItem(), and TRUE.

Referenced by draw(), LLPanelInventory::inventoryChanged(), LLFloaterProperties(), show(), and updateSaleInfo().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 580 of file llfloaterproperties.cpp.

References LLInventoryItem::getCreatorUUID(), LLUUID::isNull(), and LLFloaterAvatarInfo::showFromObject().

Referenced by LLFloaterProperties().

Here is the call graph for this function:

Here is the caller graph for this function:

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

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

void LLFloaterProperties::onCommitDescription ( LLUICtrl ctrl,
void *  data 
) [static, protected]

void LLFloaterProperties::onCommitPermissions ( LLUICtrl ctrl,
void *  data 
) [static, protected]

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

Definition at line 794 of file llfloaterproperties.cpp.

Referenced by LLFloaterProperties().

Here is the caller graph for this function:

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

Definition at line 803 of file llfloaterproperties.cpp.

Referenced by LLFloaterProperties().

Here is the caller graph for this function:

void LLFloaterProperties::updateSaleInfo (  )  [protected]

LLInventoryItem * LLFloaterProperties::findItem (  )  const [protected]

Definition at line 912 of file llfloaterproperties.cpp.

References LLViewerObjectList::findObject(), LLViewerObject::getInventoryObject(), LLInventoryModel::getItem(), gInventory, gObjectList, LLUUID::isNull(), mItemID, mObjectID, and NULL.

Referenced by refresh(), and updateSaleInfo().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterProperties::refreshFromItem ( LLInventoryItem item  )  [protected]

Definition at line 280 of file llfloaterproperties.cpp.

References LLAgent::allowOperation(), LLAssetType::AT_OBJECT, LLPanel::childSetEnabled(), LLPanel::childSetText(), LLPanel::childSetValue(), LLPanel::childSetVisible(), FALSE, LLViewerObjectList::findObject(), gAgent, gCacheName, LLControlGroup::getBOOL(), LLInventoryItem::getCreationDate(), LLInventoryItem::getCreatorUUID(), LLInventoryItem::getDescription(), LLInventoryItem::getFlags(), LLCacheName::getFullName(), LLPermissions::getGroup(), LLCacheName::getGroupName(), LLPermissions::getMaskBase(), LLPermissions::getMaskEveryone(), LLPermissions::getMaskGroup(), LLPermissions::getMaskNextOwner(), LLPermissions::getMaskOwner(), LLInventoryObject::getName(), LLPermissions::getOwner(), LLInventoryItem::getPermissions(), LLAgent::getRegion(), LLInventoryItem::getSaleInfo(), LLSaleInfo::getSalePrice(), LLSaleInfo::getSaleType(), LLPanel::getString(), LLInventoryObject::getType(), gObjectList, GP_OBJECT_MANIPULATE, GP_OBJECT_SET_SALE, gSavedSettings, i, LLInventoryItem::II_FLAGS_OBJECT_PERM_OVERWRITE_EVERYONE, LLInventoryItem::II_FLAGS_OBJECT_PERM_OVERWRITE_GROUP, LLInventoryItem::II_FLAGS_OBJECT_SLAM_PERM, LLViewerInventoryItem::isComplete(), LLSaleInfo::isForSale(), LLPermissions::isGroupOwned(), LLUUID::isNull(), LLPermissions::isOwned(), llformat(), mask_to_string(), mObjectID, LLUUID::notNull(), NULL, PERM_COPY, PERM_MODIFY, PERM_MOVE, PERM_OWNER, PERM_TRANSFER, S32, LLCheckBoxCtrl::set(), LLRadioGroup::setSelectedIndex(), LLCheckBoxCtrl::setTentative(), and TRUE.

Referenced by refresh().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLFloaterProperties::draw ( void   )  [protected, virtual]

Reimplemented from LLFloater.

Definition at line 268 of file llfloaterproperties.cpp.

References LLFloater::draw(), FALSE, mDirty, and refresh().

Here is the call graph for this function:


Member Data Documentation

Definition at line 88 of file llfloaterproperties.h.

Referenced by findItem(), LLFloaterProperties(), and ~LLFloaterProperties().

Definition at line 95 of file llfloaterproperties.h.

Referenced by dirty(), draw(), and refresh().

---------------------------------------------------------------------------- Class LLFloaterProperties ----------------------------------------------------------------------------

Definition at line 98 of file llfloaterproperties.h.

Referenced by dirtyAll(), find(), LLFloaterProperties(), and ~LLFloaterProperties().

Definition at line 99 of file llfloaterproperties.h.

Referenced by LLFloaterProperties(), and ~LLFloaterProperties().

Definition at line 100 of file llfloaterproperties.h.

Referenced by LLFloaterProperties(), and ~LLFloaterProperties().


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

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