LLInventoryView Class Reference

#include <llinventoryview.h>

Inheritance diagram for LLInventoryView:

Inheritance graph
[legend]
Collaboration diagram for LLInventoryView:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLInventoryView (const LLString &name, const LLString &rect, LLInventoryModel *inventory)
 LLInventoryView (const LLString &name, const LLRect &rect, LLInventoryModel *inventory)
 ~LLInventoryView ()
void changed (U32 mask)
BOOL postBuild ()
void setFilterTextFromFilter ()
void startSearch ()
virtual void onClose (bool app_quitting)
virtual void setVisible (BOOL visible)
virtual void draw ()
virtual BOOL handleKeyHere (KEY key, MASK mask)
BOOL handleDragAndDrop (S32 x, S32 y, MASK mask, BOOL drop, EDragAndDropType cargo_type, void *cargo_data, EAcceptance *accept, LLString &tooltip_msg)
LLInventoryPanelgetPanel ()
LLInventoryPanelgetActivePanel ()
const LLString getFilterSubString ()
void setFilterSubString (const LLString &string)
void toggleFindOptions ()
LLInventoryViewFindergetFinder ()

Static Public Member Functions

static LLInventoryViewshowAgentInventory (BOOL take_keyboard_focus=FALSE)
static LLInventoryViewgetActiveInventory ()
static void toggleVisibility ()
static void toggleVisibility (void *)
static void cleanup ()
static BOOL filtersVisible (void *user_data)
static void onClearSearch (void *user_data)
static void onFoldersByName (void *user_data)
static BOOL checkFoldersByName (void *user_data)
static void onSearchEdit (const LLString &search_string, void *user_data)
static void onFilterSelected (void *userdata, bool from_click)
static void onSelectionChange (const std::deque< LLFolderViewItem * > &items, BOOL user_action, void *data)
static BOOL incrementalFind (LLFolderViewItem *first_item, const char *find_text, BOOL backward)

Static Public Attributes

static BOOL sWearNewClothing = FALSE
static LLUUID sWearNewClothingTransactionID

Protected Member Functions

void init (LLInventoryModel *inventory)

Protected Attributes

LLSearchEditormSearchEditor
LLTabContainermFilterTabs
LLHandle< LLFloatermFinderHandle
LLInventoryPanelmActivePanel
LLSaveFolderStatemSavedFolderState
LLString mFilterText

Static Protected Attributes

static LLDynamicArray
< LLInventoryView * > 
sActiveViews

Friends

class LLInventoryViewFinder


Detailed Description

Definition at line 186 of file llinventoryview.h.


Constructor & Destructor Documentation

LLInventoryView::LLInventoryView ( const LLString name,
const LLString rect,
LLInventoryModel inventory 
)

Definition at line 452 of file llinventoryview.cpp.

References LLPanel::init().

Referenced by showAgentInventory().

Here is the call graph for this function:

Here is the caller graph for this function:

LLInventoryView::LLInventoryView ( const LLString name,
const LLRect rect,
LLInventoryModel inventory 
)

Definition at line 463 of file llinventoryview.cpp.

References LLPanel::init(), and LLView::setRect().

Here is the call graph for this function:

LLInventoryView::~LLInventoryView ( void   ) 


Member Function Documentation

void LLInventoryView::changed ( U32  mask  )  [virtual]

BOOL LLInventoryView::postBuild ( void   )  [virtual]

Reimplemented from LLPanel.

Definition at line 557 of file llinventoryview.cpp.

References LLPanel::childSetTabChangeCallback(), onFilterSelected(), and TRUE.

Here is the call graph for this function:

void LLInventoryView::setFilterTextFromFilter (  )  [inline]

Definition at line 204 of file llinventoryview.h.

References LLInventoryPanel::getFilter(), LLInventoryFilter::getFilterText(), mActivePanel, and mFilterText.

Referenced by LLInventoryViewFinder::draw(), and LLResetFilter::handleEvent().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLInventoryView::startSearch (  ) 

Definition at line 688 of file llinventoryview.cpp.

References LLUICtrl::focusFirstItem(), mSearchEditor, and TRUE.

Referenced by handleKeyHere().

Here is the call graph for this function:

Here is the caller graph for this function:

LLInventoryView * LLInventoryView::showAgentInventory ( BOOL  take_keyboard_focus = FALSE  )  [static]

LLInventoryView * LLInventoryView::getActiveInventory (  )  [static]

void LLInventoryView::toggleVisibility (  )  [static]

static void LLInventoryView::toggleVisibility ( void *   )  [inline, static]

Definition at line 218 of file llinventoryview.h.

References toggleVisibility().

Here is the call graph for this function:

void LLInventoryView::cleanup (  )  [static]

Definition at line 876 of file llinventoryview.cpp.

References LLDynamicArray< Type, BlockSize >::count(), LLFloater::destroy(), LLDynamicArray< Type, BlockSize >::get(), i, S32, and sActiveViews.

Referenced by LLAppViewer::disconnectViewer().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLInventoryView::onClose ( bool  app_quitting  )  [virtual]

void LLInventoryView::setVisible ( BOOL  visible  )  [virtual]

Reimplemented from LLFloater.

Definition at line 698 of file llinventoryview.cpp.

References gSavedSettings, LLControlGroup::setBOOL(), and LLFloater::setVisible().

Here is the call graph for this function:

void LLInventoryView::draw ( void   )  [virtual]

BOOL LLInventoryView::handleKeyHere ( KEY  key,
MASK  mask 
) [virtual]

BOOL LLInventoryView::handleDragAndDrop ( S32  x,
S32  y,
MASK  mask,
BOOL  drop,
EDragAndDropType  cargo_type,
void *  cargo_data,
EAcceptance accept,
LLString tooltip_msg 
) [virtual]

LLInventoryPanel* LLInventoryView::getPanel (  )  [inline]

LLInventoryPanel* LLInventoryView::getActivePanel (  )  [inline]

Definition at line 237 of file llinventoryview.h.

References mActivePanel.

Referenced by handleDragAndDrop(), LLSetSortBy::handleEvent(), LLResetFilter::handleEvent(), and LLNewWindow::handleEvent().

Here is the caller graph for this function:

BOOL LLInventoryView::filtersVisible ( void *  user_data  )  [static]

Definition at line 911 of file llinventoryview.cpp.

References FALSE, and NULL.

void LLInventoryView::onClearSearch ( void *  user_data  )  [static]

Definition at line 920 of file llinventoryview.cpp.

References LLInventoryViewFinder::selectAllTypes(), and TRUE.

Referenced by onSearchEdit().

Here is the call graph for this function:

Here is the caller graph for this function:

static void LLInventoryView::onFoldersByName ( void *  user_data  )  [static]

static BOOL LLInventoryView::checkFoldersByName ( void *  user_data  )  [static]

void LLInventoryView::onSearchEdit ( const LLString search_string,
void *  user_data 
) [static]

Definition at line 949 of file llinventoryview.cpp.

References FALSE, gInventory, onClearSearch(), LLInventoryModel::startBackgroundFetch(), and LLStringBase< char >::toUpper().

Referenced by init().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLInventoryView::onFilterSelected ( void *  userdata,
bool  from_click 
) [static]

Definition at line 1020 of file llinventoryview.cpp.

References LLInventoryViewFinder::changeFilter(), gInventory, LLInventoryFilter::isActive(), and LLInventoryModel::startBackgroundFetch().

Referenced by postBuild().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLInventoryView::onSelectionChange ( const std::deque< LLFolderViewItem * > &  items,
BOOL  user_action,
void *  data 
) [static]

Definition at line 1047 of file llinventoryview.cpp.

References FALSE, LLInventoryPanel::getRootFolder(), LLFolderView::needsAutoRename(), LLFolderView::setNeedsAutoRename(), and LLFolderView::startRenamingSelectedItem().

Referenced by init().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLInventoryView::incrementalFind ( LLFolderViewItem first_item,
const char *  find_text,
BOOL  backward 
) [static]

Definition at line 985 of file llinventoryview.cpp.

References LLFocusMgr::childHasKeyboardFocus(), LLDynamicArray< Type, BlockSize >::count(), FALSE, LLInventoryPanel::getRootFolder(), gFocusMgr, i, mActivePanel, NULL, S32, sActiveViews, LLFolderView::search(), and TRUE.

Referenced by LLInventoryPanel::fromXML().

Here is the call graph for this function:

Here is the caller graph for this function:

const LLString LLInventoryView::getFilterSubString (  )  [inline]

Definition at line 249 of file llinventoryview.h.

References LLInventoryPanel::getFilterSubString(), and mActivePanel.

Here is the call graph for this function:

void LLInventoryView::setFilterSubString ( const LLString string  )  [inline]

Definition at line 250 of file llinventoryview.h.

References mActivePanel, and LLInventoryPanel::setFilterSubString().

Here is the call graph for this function:

void LLInventoryView::toggleFindOptions (  ) 

LLInventoryViewFinder* LLInventoryView::getFinder (  )  [inline]

Definition at line 259 of file llinventoryview.h.

References LLHandle< T >::get(), and mFinderHandle.

Referenced by LLResetFilter::handleEvent(), and toggleFindOptions().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLInventoryView::init ( LLInventoryModel inventory  )  [protected]


Friends And Related Function Documentation

friend class LLInventoryViewFinder [friend]

Definition at line 188 of file llinventoryview.h.

Referenced by toggleFindOptions().


Member Data Documentation

Definition at line 255 of file llinventoryview.h.

Referenced by LLInventoryModel::processBulkUpdateInventory().

Definition at line 266 of file llinventoryview.h.

Referenced by draw(), handleKeyHere(), init(), and startSearch().

Definition at line 267 of file llinventoryview.h.

Referenced by handleDragAndDrop(), and init().

Definition at line 268 of file llinventoryview.h.

Referenced by getFinder(), and toggleFindOptions().

Definition at line 270 of file llinventoryview.h.

Referenced by init(), onClose(), and ~LLInventoryView().

Definition at line 272 of file llinventoryview.h.

Referenced by changed(), draw(), and setFilterTextFromFilter().


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

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