#include <llinventoryview.h>
Public Member Functions | |
LLInventoryViewFinder (const LLString &name, const LLRect &rect, LLInventoryView *inventory_view) | |
virtual void | draw () |
virtual void | onClose (bool app_quitting) |
void | changeFilter (LLInventoryFilter *filter) |
void | updateElementsFromFilter () |
BOOL | getCheckShowEmpty () |
BOOL | getCheckSinceLogoff () |
Static Public Member Functions | |
static void | onTimeAgo (LLUICtrl *, void *) |
static void | onCheckSinceLogoff (LLUICtrl *, void *) |
static void | onCloseBtn (void *user_data) |
static void | selectAllTypes (void *user_data) |
static void | selectNoTypes (void *user_data) |
Protected Attributes | |
LLInventoryView * | mInventoryView |
LLSpinCtrl * | mSpinSinceDays |
LLSpinCtrl * | mSpinSinceHours |
LLInventoryFilter * | mFilter |
Definition at line 160 of file llinventoryview.h.
LLInventoryViewFinder::LLInventoryViewFinder | ( | const LLString & | name, | |
const LLRect & | rect, | |||
LLInventoryView * | inventory_view | |||
) |
---------------------------------------------------------------------------- LLInventoryViewFinder ----------------------------------------------------------------------------
Definition at line 108 of file llinventoryview.cpp.
References LLUICtrlFactory::buildFloater(), LLPanel::childSetAction(), LLPanel::childSetCommitCallback(), LLSingleton< LLUICtrlFactory >::getInstance(), mSpinSinceDays, mSpinSinceHours, onCheckSinceLogoff(), onCloseBtn(), onTimeAgo(), selectAllTypes(), selectNoTypes(), and updateElementsFromFilter().
void LLInventoryViewFinder::draw | ( | void | ) | [virtual] |
Reimplemented from LLFloater.
Definition at line 202 of file llinventoryview.cpp.
References LLPanel::childGetValue(), LLFloater::draw(), FALSE, LLSpinCtrl::get(), getCheckShowEmpty(), getCheckSinceLogoff(), LLInventoryType::IT_ANIMATION, LLInventoryType::IT_ATTACHMENT, LLInventoryType::IT_CALLINGCARD, LLInventoryType::IT_CATEGORY, LLInventoryType::IT_GESTURE, LLInventoryType::IT_LANDMARK, LLInventoryType::IT_LSL, LLInventoryType::IT_NOTECARD, LLInventoryType::IT_OBJECT, LLInventoryType::IT_SNAPSHOT, LLInventoryType::IT_SOUND, LLInventoryType::IT_TEXTURE, LLInventoryType::IT_WEARABLE, LLInventoryView::mActivePanel, mInventoryView, mSpinSinceDays, mSpinSinceHours, LLSpinCtrl::set(), LLInventoryView::setFilterTextFromFilter(), LLInventoryPanel::setFilterTypes(), LLInventoryPanel::setHoursAgo(), LLInventoryPanel::setShowFolderState(), LLInventoryPanel::setSinceLogoff(), LLInventoryFilter::SHOW_ALL_FOLDERS, LLInventoryFilter::SHOW_NON_EMPTY_FOLDERS, and TRUE.
void LLInventoryViewFinder::onClose | ( | bool | app_quitting | ) | [virtual] |
Reimplemented from LLFloater.
Definition at line 309 of file llinventoryview.cpp.
References LLFloater::destroy(), FALSE, LLView::getControl(), mInventoryView, and LLControlVariable::setValue().
void LLInventoryViewFinder::changeFilter | ( | LLInventoryFilter * | filter | ) |
Definition at line 165 of file llinventoryview.cpp.
References mFilter, and updateElementsFromFilter().
Referenced by LLInventoryView::onFilterSelected().
void LLInventoryViewFinder::updateElementsFromFilter | ( | ) |
Definition at line 171 of file llinventoryview.cpp.
References LLPanel::childSetValue(), LLInventoryFilter::getFilterSubString(), LLInventoryFilter::getFilterTypes(), LLInventoryFilter::getHoursAgo(), LLInventoryFilter::getName(), LLInventoryFilter::getShowFolderState(), LLInventoryFilter::isSinceLogoff(), LLInventoryType::IT_ANIMATION, LLInventoryType::IT_CALLINGCARD, LLInventoryType::IT_GESTURE, LLInventoryType::IT_LANDMARK, LLInventoryType::IT_LSL, LLInventoryType::IT_NOTECARD, LLInventoryType::IT_OBJECT, LLInventoryType::IT_SNAPSHOT, LLInventoryType::IT_SOUND, LLInventoryType::IT_TEXTURE, LLInventoryType::IT_WEARABLE, mFilter, mSpinSinceDays, mSpinSinceHours, S32, LLSpinCtrl::set(), LLFloater::setTitle(), and LLInventoryFilter::SHOW_ALL_FOLDERS.
Referenced by changeFilter(), LLResetFilter::handleEvent(), and LLInventoryViewFinder().
BOOL LLInventoryViewFinder::getCheckShowEmpty | ( | ) |
Definition at line 324 of file llinventoryview.cpp.
References LLPanel::childGetValue().
Referenced by draw().
BOOL LLInventoryViewFinder::getCheckSinceLogoff | ( | ) |
Definition at line 329 of file llinventoryview.cpp.
References LLPanel::childGetValue().
Referenced by draw().
void LLInventoryViewFinder::onTimeAgo | ( | LLUICtrl * | ctrl, | |
void * | user_data | |||
) | [static] |
Definition at line 152 of file llinventoryview.cpp.
Referenced by LLInventoryViewFinder().
void LLInventoryViewFinder::onCheckSinceLogoff | ( | LLUICtrl * | ctrl, | |
void * | user_data | |||
) | [static] |
Definition at line 138 of file llinventoryview.cpp.
Referenced by LLInventoryViewFinder().
void LLInventoryViewFinder::onCloseBtn | ( | void * | user_data | ) | [static] |
Definition at line 334 of file llinventoryview.cpp.
References LLFloater::close().
Referenced by LLInventoryViewFinder().
void LLInventoryViewFinder::selectAllTypes | ( | void * | user_data | ) | [static] |
Definition at line 341 of file llinventoryview.cpp.
References TRUE.
Referenced by LLInventoryViewFinder(), and LLInventoryView::onClearSearch().
void LLInventoryViewFinder::selectNoTypes | ( | void * | user_data | ) | [static] |
Definition at line 372 of file llinventoryview.cpp.
References FALSE.
Referenced by LLInventoryViewFinder().
LLInventoryView* LLInventoryViewFinder::mInventoryView [protected] |
LLSpinCtrl* LLInventoryViewFinder::mSpinSinceDays [protected] |
Definition at line 181 of file llinventoryview.h.
Referenced by draw(), LLInventoryViewFinder(), and updateElementsFromFilter().
LLSpinCtrl* LLInventoryViewFinder::mSpinSinceHours [protected] |
Definition at line 182 of file llinventoryview.h.
Referenced by draw(), LLInventoryViewFinder(), and updateElementsFromFilter().
LLInventoryFilter* LLInventoryViewFinder::mFilter [protected] |
Definition at line 183 of file llinventoryview.h.
Referenced by changeFilter(), and updateElementsFromFilter().