#include <llpanelgroup.h>
Inheritance diagram for LLPanelGroup:
Definition at line 55 of file llpanelgroup.h.
LLPanelGroup::LLPanelGroup | ( | const std::string & | filename, | |
const std::string & | name, | |||
const LLUUID & | group_id, | |||
const std::string & | initial_tab_selected = std::string() | |||
) |
Definition at line 140 of file llpanelgroup.cpp.
References LLGroupMgr::addObserver(), LLUICtrlFactory::buildPanel(), LLPanelGroupActionsSubTab::createTab(), LLPanelGroupRolesSubTab::createTab(), LLPanelGroupMembersSubTab::createTab(), LLPanelGroupLandMoney::createTab(), LLPanelGroupVoting::createTab(), LLPanelGroupNotices::createTab(), LLPanelGroupRoles::createTab(), LLPanelGroupGeneral::createTab(), LLPanel::getFactoryMap(), gGroupMgr, gUICtrlFactory, LLPanel::mFactoryMap, mFilename, and LLGroupMgrObserver::mID.
LLPanelGroup::~LLPanelGroup | ( | ) | [virtual] |
Definition at line 178 of file llpanelgroup.cpp.
References LLTabContainerCommon::getPanelByIndex(), LLTabContainerCommon::getTabCount(), gGroupMgr, i, mTabContainer, and LLGroupMgr::removeObserver().
bool LLPanelGroup::apply | ( | ) |
Definition at line 563 of file llpanelgroup.cpp.
References LLViewerWindow::alertXml(), LLPanelGroupTab::apply(), LLTabContainerCommon::getCurrentPanel(), gViewerWindow, mTabContainer, and LLPanelGroupTab::needsApply().
Referenced by handleNotifyCallback().
BOOL LLPanelGroup::attemptTransition | ( | ) |
Definition at line 423 of file llpanelgroup.cpp.
References LLViewerWindow::alertXml(), FALSE, gViewerWindow, mCurrentTab, mDefaultNeedsApplyMesg, mIgnoreTransition, mRequestedTab, mShowingNotifyDialog, mTabContainer, mWantApplyMesg, LLPanelGroupTab::needsApply(), onNotifyCallback(), LLTabContainerCommon::selectTabPanel(), transitionToTab(), and TRUE.
Referenced by canClose(), and handleClickTab().
BOOL LLPanelGroup::canClose | ( | ) |
Definition at line 412 of file llpanelgroup.cpp.
References attemptTransition(), FALSE, LLPanelGroupTab::hasModal(), mAllowEdit, mCurrentTab, mForceClose, mRequestedTab, mShowingNotifyDialog, NULL, and TRUE.
Referenced by LLFloaterGroupInfo::canClose().
void LLPanelGroup::changed | ( | LLGroupChange | gc | ) | [virtual] |
Implements LLGroupMgrObserver.
Definition at line 328 of file llpanelgroup.cpp.
References LLTabContainerCommon::getCurrentPanel(), mTabContainer, LLPanelGroupTab::update(), and updateTabVisibility().
void LLPanelGroup::close | ( | ) |
Definition at line 636 of file llpanelgroup.cpp.
References LLFloater::close(), LLView::getParent(), LLView::getWidgetType(), mForceClose, TRUE, and WIDGET_TYPE_FLOATER.
Referenced by LLFloaterGroupInfo::closeGroup(), and transitionToTab().
void LLPanelGroup::draw | ( | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 608 of file llpanelgroup.cpp.
References LLPanel::childEnable(), LLPanel::childSetEnabled(), LLPanel::draw(), LLTimer::hasExpired(), mCurrentTab, mRefreshTimer, LLPanelGroupTab::needsApply(), and LLTimer::stop().
void LLPanelGroup::handleClickTab | ( | ) |
Definition at line 359 of file llpanelgroup.cpp.
References attemptTransition(), LLTabContainerCommon::getCurrentPanel(), mCurrentTab, mIgnoreTransition, mRequestedTab, and mTabContainer.
Definition at line 499 of file llpanelgroup.cpp.
References app_abort_quit(), apply(), LLPanelGroupTab::cancel(), FALSE, mCurrentTab, mIgnoreTransition, mRequestedTab, mShowingNotifyDialog, mTabContainer, LLTabContainerCommon::selectTabPanel(), transitionToTab(), and TRUE.
BOOL LLPanelGroup::postBuild | ( | ) | [virtual] |
Reimplemented from LLPanel.
Definition at line 220 of file llpanelgroup.cpp.
References LLPanelGroupTab::activate(), LLPanelGroupTab::addObserver(), FALSE, LLPanel::getChildByName(), LLTabContainerCommon::getCurrentPanel(), LLTabContainerCommon::getPanelByIndex(), LLTabContainerCommon::getTabCount(), LLTextBox::getText(), i, mAllowEdit, mApplyBtn, mCurrentTab, mDefaultNeedsApplyMesg, mInitialTab, mTabContainer, mWantApplyMesg, onBtnApply(), onBtnCancel(), onBtnOK(), onBtnRefresh(), onClickTab(), LLView::removeChild(), S32, LLTabContainerCommon::selectFirstTab(), LLTabContainerCommon::selectTabPanel(), LLPanelGroupTab::setAllowEdit(), LLUICtrl::setCallbackUserData(), LLButton::setClickedCallback(), LLView::setEnabled(), LLTabContainerCommon::setTabChangeCallback(), LLTabContainerCommon::setTabUserData(), LLView::setVisible(), TRUE, and updateTabVisibility().
void LLPanelGroup::refreshData | ( | ) |
Definition at line 625 of file llpanelgroup.cpp.
References LLPanelGroupTab::activate(), LLPanel::childDisable(), LLGroupMgr::clearGroupData(), LLGroupMgrObserver::getID(), gGroupMgr, mCurrentTab, mRefreshTimer, LLTimer::setTimerExpirySec(), and LLTimer::start().
Referenced by LLFloaterGroupInfo::refreshGroup(), and LLFloaterDirectory::refreshGroup().
void LLPanelGroup::selectTab | ( | std::string | tab_name | ) |
Definition at line 398 of file llpanelgroup.cpp.
References LLPanel::getChildByName(), mTabContainer, onClickTab(), LLTabContainerCommon::selectTabPanel(), and TRUE.
Referenced by LLFloaterGroupInfo::selectTabByName().
Definition at line 380 of file llpanelgroup.cpp.
References LLGroupMgr::addObserver(), LLUICtrlFactory::buildPanel(), LLView::deleteAllChildren(), LLPanel::getFactoryMap(), LLView::getRect(), gGroupMgr, gUICtrlFactory, mFilename, LLGroupMgrObserver::mID, and LLGroupMgr::removeObserver().
Referenced by LLPanelDirBrowser::showDetailPanel().
void LLPanelGroup::showNotice | ( | const char * | subject, | |
const char * | message, | |||
const bool & | has_inventory, | |||
const char * | inventory_name, | |||
LLOfferInfo * | inventory_offer | |||
) |
Definition at line 652 of file llpanelgroup.cpp.
References LLView::getName(), inventory_offer_callback(), IOR_DECLINE, mCurrentTab, and LLPanelGroupNotices::showNotice().
Referenced by LLFloaterGroupInfo::showNotice().
void LLPanelGroup::tabChanged | ( | ) | [virtual] |
Implements LLPanelGroupTabObserver.
Definition at line 341 of file llpanelgroup.cpp.
References mApplyBtn, mCurrentTab, LLPanelGroupTab::needsApply(), and LLView::setEnabled().
void LLPanelGroup::transitionToTab | ( | ) |
Definition at line 468 of file llpanelgroup.cpp.
References LLPanelGroupTab::activate(), close(), LLPanelGroupTab::deactivate(), mCurrentTab, and mRequestedTab.
Referenced by attemptTransition(), and handleNotifyCallback().
void LLPanelGroup::updateTabVisibility | ( | ) |
Definition at line 194 of file llpanelgroup.cpp.
References LLTabContainerCommon::enableTabButton(), gAgent, LLTabContainerCommon::getCurrentPanel(), LLTabContainerCommon::getPanelByIndex(), LLTabContainerCommon::getTabCount(), i, mCurrentTab, mTabContainer, S32, and LLTabContainerCommon::selectPrevTab().
Referenced by changed(), and postBuild().
BOOL LLPanelGroup::mAllowEdit [protected] |
Definition at line 129 of file llpanelgroup.h.
Referenced by canClose(), postBuild(), and setAllowEdit().
LLButton* LLPanelGroup::mApplyBtn [protected] |
LLPanelGroupTab* LLPanelGroup::mCurrentTab [protected] |
Definition at line 112 of file llpanelgroup.h.
Referenced by attemptTransition(), canClose(), draw(), handleClickTab(), handleNotifyCallback(), postBuild(), refreshData(), showNotice(), tabChanged(), transitionToTab(), and updateTabVisibility().
LLString LLPanelGroup::mDefaultNeedsApplyMesg [protected] |
std::string LLPanelGroup::mFilename [protected] |
BOOL LLPanelGroup::mForceClose [protected] |
BOOL LLPanelGroup::mIgnoreTransition [protected] |
Definition at line 115 of file llpanelgroup.h.
Referenced by attemptTransition(), handleClickTab(), and handleNotifyCallback().
std::string LLPanelGroup::mInitialTab [protected] |
LLTimer LLPanelGroup::mRefreshTimer [protected] |
LLPanelGroupTab* LLPanelGroup::mRequestedTab [protected] |
Definition at line 113 of file llpanelgroup.h.
Referenced by attemptTransition(), canClose(), handleClickTab(), handleNotifyCallback(), and transitionToTab().
BOOL LLPanelGroup::mShowingNotifyDialog [protected] |
Definition at line 130 of file llpanelgroup.h.
Referenced by attemptTransition(), canClose(), and handleNotifyCallback().
LLTabContainerCommon* LLPanelGroup::mTabContainer [protected] |
Definition at line 114 of file llpanelgroup.h.
Referenced by apply(), attemptTransition(), changed(), handleClickTab(), handleNotifyCallback(), postBuild(), selectTab(), updateTabVisibility(), and ~LLPanelGroup().
LLString LLPanelGroup::mWantApplyMesg [protected] |