LLFloaterNameDesc Class Reference

#include <llfloaternamedesc.h>

Inheritance diagram for LLFloaterNameDesc:

Inheritance graph
[legend]
Collaboration diagram for LLFloaterNameDesc:

Collaboration graph
[legend]
List of all members.

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

Detailed Description

Definition at line 43 of file llfloaternamedesc.h.


Constructor & Destructor Documentation

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().


Member Function Documentation

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().

void LLFloaterNameDesc::doCommit ( class LLUICtrl ,
void userdata 
) [static]

Definition at line 193 of file llfloaternamedesc.cpp.

Referenced by LLFloaterAnimPreview::onCommitName(), and postBuild().

void LLFloaterNameDesc::onBtnCancel ( void  )  [static, protected]

Definition at line 226 of file llfloaternamedesc.cpp.

References LLFloater::close().

Referenced by postBuild().

void LLFloaterNameDesc::onBtnOK ( void  )  [static, protected]

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]

Reimplemented from LLUICtrl.

Definition at line 185 of file llfloaternamedesc.cpp.

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().


Member Data Documentation

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().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:20 2010 for Second Life Viewer by  doxygen 1.4.7