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

#include <extendedcommandconfigurator.hpp>

Inheritance diagram for CSVWorld::ExtendedCommandConfigurator:
Collaboration diagram for CSVWorld::ExtendedCommandConfigurator:

Public Types

enum  Mode { Mode_None, Mode_Delete, Mode_Revert }
 

Signals

void done ()
 

Public Member Functions

 ExtendedCommandConfigurator (CSMDoc::Document &document, const CSMWorld::UniversalId &id, QWidget *parent=0)
 
void configure (Mode mode, const std::vector< std::string > &selectedIds)
 
void setEditLock (bool locked)
 

Protected Member Functions

virtual void resizeEvent (QResizeEvent *event)
 

Private Types

typedef std::map< QCheckBox
*, CSMWorld::UniversalId
CheckBoxMap
 

Private Slots

void performExtendedCommand ()
 
void checkBoxStateChanged (int state)
 
void dataIdListChanged ()
 

Private Member Functions

void setupGroupLayout ()
 
void setupCheckBoxes (const std::vector< CSMWorld::UniversalId > &types)
 
void lockWidgets (bool locked)
 

Private Attributes

QPushButton * mPerformButton
 
QPushButton * mCancelButton
 
QGroupBoxmTypeGroup
 
CheckBoxMap mTypeCheckBoxes
 
int mNumUsedCheckBoxes
 
int mNumChecked
 
Mode mMode
 
CSMWorld::CommandDispatchermCommandDispatcher
 
CSMWorld::DatamData
 
std::vector< std::string > mSelectedIds
 
bool mEditLock
 

Member Typedef Documentation

Member Enumeration Documentation

Enumerator
Mode_None 
Mode_Delete 
Mode_Revert 

Constructor & Destructor Documentation

CSVWorld::ExtendedCommandConfigurator::ExtendedCommandConfigurator ( CSMDoc::Document document,
const CSMWorld::UniversalId id,
QWidget parent = 0 
)

Here is the call graph for this function:

Member Function Documentation

void CSVWorld::ExtendedCommandConfigurator::checkBoxStateChanged ( int  state)
privateslot
void CSVWorld::ExtendedCommandConfigurator::configure ( Mode  mode,
const std::vector< std::string > &  selectedIds 
)
void CSVWorld::ExtendedCommandConfigurator::dataIdListChanged ( )
privateslot

Here is the caller graph for this function:

void CSVWorld::ExtendedCommandConfigurator::done ( )
signal

Here is the caller graph for this function:

void CSVWorld::ExtendedCommandConfigurator::lockWidgets ( bool  locked)
private
void CSVWorld::ExtendedCommandConfigurator::performExtendedCommand ( )
privateslot

Here is the caller graph for this function:

void CSVWorld::ExtendedCommandConfigurator::resizeEvent ( QResizeEvent *  event)
protectedvirtual
void CSVWorld::ExtendedCommandConfigurator::setEditLock ( bool  locked)
void CSVWorld::ExtendedCommandConfigurator::setupCheckBoxes ( const std::vector< CSMWorld::UniversalId > &  types)
private

Here is the call graph for this function:

void CSVWorld::ExtendedCommandConfigurator::setupGroupLayout ( )
private

Member Data Documentation

QPushButton* CSVWorld::ExtendedCommandConfigurator::mCancelButton
private
CSMWorld::CommandDispatcher* CSVWorld::ExtendedCommandConfigurator::mCommandDispatcher
private
CSMWorld::Data& CSVWorld::ExtendedCommandConfigurator::mData
private
bool CSVWorld::ExtendedCommandConfigurator::mEditLock
private
Mode CSVWorld::ExtendedCommandConfigurator::mMode
private
int CSVWorld::ExtendedCommandConfigurator::mNumChecked
private
int CSVWorld::ExtendedCommandConfigurator::mNumUsedCheckBoxes
private
QPushButton* CSVWorld::ExtendedCommandConfigurator::mPerformButton
private
std::vector<std::string> CSVWorld::ExtendedCommandConfigurator::mSelectedIds
private
CheckBoxMap CSVWorld::ExtendedCommandConfigurator::mTypeCheckBoxes
private
QGroupBox* CSVWorld::ExtendedCommandConfigurator::mTypeGroup
private

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