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

#include <tablebottombox.hpp>

Inheritance diagram for CSVWorld::TableBottomBox:
Collaboration diagram for CSVWorld::TableBottomBox:

Public Slots

void selectionSizeChanged (int size)
 
void tableSizeChanged (int size, int deleted, int modified)
 
void positionChanged (int row, int column)
 
void noMorePosition ()
 
void createRequest ()
 
void cloneRequest (const std::string &id, const CSMWorld::UniversalId::Type type)
 
void extendedDeleteConfigRequest (const std::vector< std::string > &selectedIds)
 
void extendedRevertConfigRequest (const std::vector< std::string > &selectedIds)
 

Signals

void requestFocus (const std::string &id)
 

Public Member Functions

 TableBottomBox (const CreatorFactoryBase &creatorFactory, CSMDoc::Document &document, const CSMWorld::UniversalId &id, QWidget *parent=0)
 
virtual ~TableBottomBox ()
 
virtual bool eventFilter (QObject *object, QEvent *event)
 
void setEditLock (bool locked)
 
void setStatusBar (bool show)
 
bool canCreateAndDelete () const
 

Private Types

enum  EditMode { EditMode_None, EditMode_Creation, EditMode_ExtendedConfig }
 

Private Slots

void requestDone ()
 
void currentWidgetChanged (int index)
 

Private Member Functions

 TableBottomBox (const TableBottomBox &)
 
TableBottomBoxoperator= (const TableBottomBox &)
 
void updateSize ()
 
void updateStatus ()
 
void extendedConfigRequest (ExtendedCommandConfigurator::Mode mode, const std::vector< std::string > &selectedIds)
 

Private Attributes

bool mShowStatusBar
 
QLabel * mStatus
 
QStatusBar * mStatusBar
 
int mStatusCount [4]
 
EditMode mEditMode
 
CreatormCreator
 
ExtendedCommandConfiguratormExtendedConfigurator
 
QStackedLayout * mLayout
 
bool mHasPosition
 
int mRow
 
int mColumn
 

Member Enumeration Documentation

Enumerator
EditMode_None 
EditMode_Creation 
EditMode_ExtendedConfig 

Constructor & Destructor Documentation

CSVWorld::TableBottomBox::TableBottomBox ( const TableBottomBox )
private
CSVWorld::TableBottomBox::TableBottomBox ( const CreatorFactoryBase creatorFactory,
CSMDoc::Document document,
const CSMWorld::UniversalId id,
QWidget parent = 0 
)

Here is the call graph for this function:

CSVWorld::TableBottomBox::~TableBottomBox ( )
virtual

Member Function Documentation

bool CSVWorld::TableBottomBox::canCreateAndDelete ( ) const

Is record creation and deletion supported?

Note
The BotomBox does not partake in the deletion of records.

Here is the caller graph for this function:

void CSVWorld::TableBottomBox::cloneRequest ( const std::string &  id,
const CSMWorld::UniversalId::Type  type 
)
slot
void CSVWorld::TableBottomBox::createRequest ( )
slot
void CSVWorld::TableBottomBox::currentWidgetChanged ( int  index)
privateslot

Here is the caller graph for this function:

bool CSVWorld::TableBottomBox::eventFilter ( QObject object,
QEvent *  event 
)
virtual
void CSVWorld::TableBottomBox::extendedConfigRequest ( ExtendedCommandConfigurator::Mode  mode,
const std::vector< std::string > &  selectedIds 
)
private
void CSVWorld::TableBottomBox::extendedDeleteConfigRequest ( const std::vector< std::string > &  selectedIds)
slot
void CSVWorld::TableBottomBox::extendedRevertConfigRequest ( const std::vector< std::string > &  selectedIds)
slot
void CSVWorld::TableBottomBox::noMorePosition ( )
slot
TableBottomBox& CSVWorld::TableBottomBox::operator= ( const TableBottomBox )
private
void CSVWorld::TableBottomBox::positionChanged ( int  row,
int  column 
)
slot
void CSVWorld::TableBottomBox::requestDone ( )
privateslot
Note
This slot being called does not imply success.

Here is the caller graph for this function:

void CSVWorld::TableBottomBox::requestFocus ( const std::string &  id)
signal

Request owner of this box to focus the just created id. The owner may ignore this request.

Here is the caller graph for this function:

void CSVWorld::TableBottomBox::selectionSizeChanged ( int  size)
slot
void CSVWorld::TableBottomBox::setEditLock ( bool  locked)
void CSVWorld::TableBottomBox::setStatusBar ( bool  show)
void CSVWorld::TableBottomBox::tableSizeChanged ( int  size,
int  deleted,
int  modified 
)
slot
Parameters
sizeNumber of not deleted records
deletedNumber of deleted records
modifiedNumber of added and modified records
void CSVWorld::TableBottomBox::updateSize ( )
private

Here is the caller graph for this function:

void CSVWorld::TableBottomBox::updateStatus ( )
private

Member Data Documentation

int CSVWorld::TableBottomBox::mColumn
private
Creator* CSVWorld::TableBottomBox::mCreator
private
EditMode CSVWorld::TableBottomBox::mEditMode
private
ExtendedCommandConfigurator* CSVWorld::TableBottomBox::mExtendedConfigurator
private
bool CSVWorld::TableBottomBox::mHasPosition
private
QStackedLayout* CSVWorld::TableBottomBox::mLayout
private
int CSVWorld::TableBottomBox::mRow
private
bool CSVWorld::TableBottomBox::mShowStatusBar
private
QLabel* CSVWorld::TableBottomBox::mStatus
private
QStatusBar* CSVWorld::TableBottomBox::mStatusBar
private
int CSVWorld::TableBottomBox::mStatusCount[4]
private

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