#include <llfloaternamedesc.h>
Inheritance diagram for LLFloaterNameDesc:
Public Member Functions | |
LLFloaterNameDesc (const std::string &filename) | |
virtual | ~LLFloaterNameDesc () |
virtual BOOL | postBuild () |
Static Public Member Functions | |
static void | doCommit (class LLUICtrl *, void *userdata) |
Protected Member Functions | |
virtual void | onCommit () |
virtual void | centerWindow () |
Static Protected Member Functions | |
static void | onBtnOK (void *) |
static void | onBtnCancel (void *) |
Protected Attributes | |
BOOL | mIsAudio |
LLString | mFilenameAndPath |
LLString | mFilename |
Definition at line 43 of file llfloaternamedesc.h.
LLFloaterNameDesc::LLFloaterNameDesc | ( | const std::string & | filename | ) |
Definition at line 67 of file llfloaternamedesc.cpp.
References FALSE, gDirUtilp, LLDir::getDirDelimiter(), mFilename, mFilenameAndPath, and mIsAudio.
LLFloaterNameDesc::~LLFloaterNameDesc | ( | ) | [virtual] |
Definition at line 163 of file llfloaternamedesc.cpp.
References gFocusMgr, and LLFocusMgr::releaseFocusIfNeeded().
void LLFloaterNameDesc::centerWindow | ( | ) | [protected, virtual] |
Definition at line 171 of file llfloaternamedesc.cpp.
References LLRectBase< Type >::getHeight(), LLView::getRect(), LLViewerWindow::getRootView(), LLRectBase< Type >::getWidth(), gViewerWindow, LLRectBase< Type >::mBottom, LLRectBase< Type >::mLeft, LLView::mRect, S32, and LLView::translate().
Referenced by postBuild().
Definition at line 193 of file llfloaternamedesc.cpp.
Referenced by LLFloaterAnimPreview::onCommitName(), and postBuild().
Definition at line 226 of file llfloaternamedesc.cpp.
References LLFloater::close().
Referenced by postBuild().
Reimplemented in LLFloaterAnimPreview.
Definition at line 203 of file llfloaternamedesc.cpp.
References LLSD::asInteger(), LLSD::asString(), LLAssetType::AT_NONE, LLPanel::childDisable(), LLPanel::childGetValue(), LLFloater::close(), LLInventoryType::IT_NONE, mFilenameAndPath, mIsAudio, S32, and upload_new_resource().
Referenced by postBuild().
void LLFloaterNameDesc::onCommit | ( | ) | [protected, virtual] |
BOOL LLFloaterNameDesc::postBuild | ( | ) | [virtual] |
Reimplemented from LLPanel.
Reimplemented in LLFloaterAnimPreview, and LLFloaterImagePreview.
Definition at line 81 of file llfloaternamedesc.cpp.
References centerWindow(), LLPanel::childSetAction(), LLPanel::childSetCommitCallback(), LLPanel::childSetValue(), DB_INV_ITEM_DESC_STR_LEN, DB_INV_ITEM_NAME_STR_LEN, doCommit(), f, LLRectBase< Type >::getHeight(), LLUICtrlFactory::getLineEditorByName(), LLControlGroup::getS32(), LLRectBase< Type >::getWidth(), gSavedSettings, llfloor(), llmin(), mFilename, mIsAudio, LLView::mRect, onBtnCancel(), onBtnOK(), LLLineEditor::prevalidatePrintableNotPipe(), PREVIEW_HPAD, PREVIEW_LINE_HEIGHT, r, LLStringBase< char >::replaceChar(), LLStringBase< char >::replaceNonstandardASCII(), S32, LLPanel::setDefaultBtn(), LLLineEditor::setMaxTextLength(), LLLineEditor::setPrevalidate(), LLFloater::setTitle(), LLStringBase< char >::stripNonprintable(), LLStringBase< char >::trim(), TRUE, and y.
Referenced by LLFloaterImagePreview::postBuild(), and LLFloaterAnimPreview::postBuild().
LLString LLFloaterNameDesc::mFilename [protected] |
Definition at line 59 of file llfloaternamedesc.h.
Referenced by LLFloaterNameDesc(), postBuild(), and LLFloaterAnimPreview::postBuild().
LLString LLFloaterNameDesc::mFilenameAndPath [protected] |
Definition at line 58 of file llfloaternamedesc.h.
Referenced by LLFloaterImagePreview::LLFloaterImagePreview(), LLFloaterNameDesc(), onBtnOK(), and LLFloaterAnimPreview::postBuild().
BOOL LLFloaterNameDesc::mIsAudio [protected] |
Definition at line 56 of file llfloaternamedesc.h.
Referenced by LLFloaterNameDesc(), onBtnOK(), and postBuild().