OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Slots | Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
CSVWorld::ScriptSubView Class Reference

#include <scriptsubview.hpp>

Inheritance diagram for CSVWorld::ScriptSubView:
Collaboration diagram for CSVWorld::ScriptSubView:

Public Slots

void textChanged ()
 
void dataChanged (const QModelIndex &topLeft, const QModelIndex &bottomRight)
 
void rowsAboutToBeRemoved (const QModelIndex &parent, int start, int end)
 

Public Member Functions

 ScriptSubView (const CSMWorld::UniversalId &id, CSMDoc::Document &document)
 
virtual void setEditLock (bool locked)
 
virtual void useHint (const std::string &hint)
 Default implementation: ignored. More...
 
virtual void setStatusBar (bool show)
 Default implementation: ignored. More...
 
- Public Member Functions inherited from CSVDoc::SubView
 SubView (const CSMWorld::UniversalId &id)
 
CSMWorld::UniversalId getUniversalId () const
 
virtual std::string getTitle () const
 

Private Slots

void settingChanged (const CSMPrefs::Setting *setting)
 
void updateStatusBar ()
 
void switchToRow (int row)
 
void switchToId (const std::string &id)
 
void highlightError (int line, int column)
 
void updateRequest ()
 

Private Member Functions

void addButtonBar ()
 
void recompile ()
 
bool isDeleted () const
 
void updateDeletedState ()
 
void adjustSplitter ()
 

Private Attributes

ScriptEditmEditor
 
CSMDoc::DocumentmDocument
 
CSMWorld::IdTablemModel
 
int mColumn
 
int mIdColumn
 
int mStateColumn
 
TableBottomBoxmBottom
 
RecordButtonBarmButtons
 
CSMWorld::CommandDispatcher mCommandDispatcher
 
QVBoxLayout mLayout
 
QSplitter * mMain
 
ScriptErrorTablemErrors
 
QTimer * mCompileDelay
 
int mErrorHeight
 

Additional Inherited Members

- Signals inherited from CSVDoc::SubView
void focusId (const CSMWorld::UniversalId &universalId, const std::string &hint)
 
void closeRequest (SubView *subView)
 
void updateTitle ()
 
void updateSubViewIndices (SubView *view=NULL)
 
void universalIdChanged (const CSMWorld::UniversalId &universalId)
 
- Protected Slots inherited from CSVDoc::SubView
void closeRequest ()
 
- Protected Member Functions inherited from CSVDoc::SubView
void setUniversalId (const CSMWorld::UniversalId &id)
 
bool event (QEvent *event)
 

Constructor & Destructor Documentation

CSVWorld::ScriptSubView::ScriptSubView ( const CSMWorld::UniversalId id,
CSMDoc::Document document 
)

Here is the call graph for this function:

Member Function Documentation

void CSVWorld::ScriptSubView::addButtonBar ( )
private

Here is the call graph for this function:

void CSVWorld::ScriptSubView::adjustSplitter ( )
private
void CSVWorld::ScriptSubView::dataChanged ( const QModelIndex &  topLeft,
const QModelIndex &  bottomRight 
)
slot

Here is the call graph for this function:

Here is the caller graph for this function:

void CSVWorld::ScriptSubView::highlightError ( int  line,
int  column 
)
privateslot

Here is the caller graph for this function:

bool CSVWorld::ScriptSubView::isDeleted ( ) const
private

Here is the call graph for this function:

void CSVWorld::ScriptSubView::recompile ( )
private

Here is the call graph for this function:

void CSVWorld::ScriptSubView::rowsAboutToBeRemoved ( const QModelIndex &  parent,
int  start,
int  end 
)
slot

Here is the call graph for this function:

Here is the caller graph for this function:

void CSVWorld::ScriptSubView::setEditLock ( bool  locked)
virtual

Implements CSVDoc::SubView.

void CSVWorld::ScriptSubView::setStatusBar ( bool  show)
virtual

Default implementation: ignored.

Reimplemented from CSVDoc::SubView.

void CSVWorld::ScriptSubView::settingChanged ( const CSMPrefs::Setting setting)
privateslot

Here is the call graph for this function:

Here is the caller graph for this function:

void CSVWorld::ScriptSubView::switchToId ( const std::string &  id)
privateslot

Here is the caller graph for this function:

void CSVWorld::ScriptSubView::switchToRow ( int  row)
privateslot

Here is the call graph for this function:

Here is the caller graph for this function:

void CSVWorld::ScriptSubView::textChanged ( )
slot

Here is the call graph for this function:

Here is the caller graph for this function:

void CSVWorld::ScriptSubView::updateDeletedState ( )
private

Here is the caller graph for this function:

void CSVWorld::ScriptSubView::updateRequest ( )
privateslot

Here is the call graph for this function:

Here is the caller graph for this function:

void CSVWorld::ScriptSubView::updateStatusBar ( )
privateslot

Here is the caller graph for this function:

void CSVWorld::ScriptSubView::useHint ( const std::string &  hint)
virtual

Default implementation: ignored.

Reimplemented from CSVDoc::SubView.

Here is the call graph for this function:

Member Data Documentation

TableBottomBox* CSVWorld::ScriptSubView::mBottom
private
RecordButtonBar* CSVWorld::ScriptSubView::mButtons
private
int CSVWorld::ScriptSubView::mColumn
private
CSMWorld::CommandDispatcher CSVWorld::ScriptSubView::mCommandDispatcher
private
QTimer* CSVWorld::ScriptSubView::mCompileDelay
private
CSMDoc::Document& CSVWorld::ScriptSubView::mDocument
private
ScriptEdit* CSVWorld::ScriptSubView::mEditor
private
int CSVWorld::ScriptSubView::mErrorHeight
private
ScriptErrorTable* CSVWorld::ScriptSubView::mErrors
private
int CSVWorld::ScriptSubView::mIdColumn
private
QVBoxLayout CSVWorld::ScriptSubView::mLayout
private
QSplitter* CSVWorld::ScriptSubView::mMain
private
CSMWorld::IdTable* CSVWorld::ScriptSubView::mModel
private
int CSVWorld::ScriptSubView::mStateColumn
private

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