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

#include <nestedtable.hpp>

Inheritance diagram for CSVWorld::NestedTable:
Collaboration diagram for CSVWorld::NestedTable:

Signals

void editRequest (const CSMWorld::UniversalId &id, const std::string &hint)
 

Public Member Functions

 NestedTable (CSMDoc::Document &document, CSMWorld::UniversalId id, CSMWorld::NestedTableProxyModel *model, QWidget *parent=NULL, bool editable=true, bool fixedRows=false)
 
virtual std::vector
< CSMWorld::UniversalId
getDraggedRecords () const
 
- Public Member Functions inherited from CSVWorld::DragRecordTable
 DragRecordTable (CSMDoc::Document &document, QWidget *parent=NULL)
 
void setEditLock (bool locked)
 

Private Slots

void removeRowActionTriggered ()
 
void addNewRowActionTriggered ()
 
void editCell ()
 

Private Member Functions

void contextMenuEvent (QContextMenuEvent *event)
 

Private Attributes

QActionmAddNewRowAction
 
QActionmRemoveRowAction
 
TableEditIdActionmEditIdAction
 
CSMWorld::NestedTableProxyModelmModel
 
CSMWorld::CommandDispatchermDispatcher
 

Additional Inherited Members

- Protected Member Functions inherited from CSVWorld::DragRecordTable
void startDragFromTable (const DragRecordTable &table)
 
void dragEnterEvent (QDragEnterEvent *event)
 
void dragMoveEvent (QDragMoveEvent *event)
 
void dropEvent (QDropEvent *event)
 
- Protected Attributes inherited from CSVWorld::DragRecordTable
CSMDoc::DocumentmDocument
 
bool mEditLock
 

Constructor & Destructor Documentation

CSVWorld::NestedTable::NestedTable ( CSMDoc::Document document,
CSMWorld::UniversalId  id,
CSMWorld::NestedTableProxyModel model,
QWidget parent = NULL,
bool  editable = true,
bool  fixedRows = false 
)

Here is the call graph for this function:

Member Function Documentation

void CSVWorld::NestedTable::addNewRowActionTriggered ( )
privateslot

Here is the caller graph for this function:

void CSVWorld::NestedTable::contextMenuEvent ( QContextMenuEvent *  event)
private
void CSVWorld::NestedTable::editCell ( )
privateslot

Here is the caller graph for this function:

void CSVWorld::NestedTable::editRequest ( const CSMWorld::UniversalId id,
const std::string &  hint 
)
signal
std::vector< CSMWorld::UniversalId > CSVWorld::NestedTable::getDraggedRecords ( ) const
virtual
void CSVWorld::NestedTable::removeRowActionTriggered ( )
privateslot

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

QAction* CSVWorld::NestedTable::mAddNewRowAction
private
CSMWorld::CommandDispatcher* CSVWorld::NestedTable::mDispatcher
private
TableEditIdAction* CSVWorld::NestedTable::mEditIdAction
private
CSMWorld::NestedTableProxyModel* CSVWorld::NestedTable::mModel
private
QAction* CSVWorld::NestedTable::mRemoveRowAction
private

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