#include <genericcreator.hpp>
void CSVWorld::GenericCreator::addScope |
( |
const QString & |
name, |
|
|
CSMWorld::Scope |
scope, |
|
|
const QString & |
tooltip |
|
) |
| |
|
private |
void CSVWorld::GenericCreator::create |
( |
| ) |
|
|
privateslot |
void CSVWorld::GenericCreator::dataIdListChanged |
( |
| ) |
|
|
privateslot |
void CSVWorld::GenericCreator::focus |
( |
| ) |
|
|
virtual |
std::string CSVWorld::GenericCreator::getErrors |
( |
| ) |
const |
|
virtual |
std::string CSVWorld::GenericCreator::getId |
( |
| ) |
const |
|
protectedvirtual |
std::string CSVWorld::GenericCreator::getIdValidatorResult |
( |
| ) |
const |
|
protectedvirtual |
std::string CSVWorld::GenericCreator::getNamespace |
( |
| ) |
const |
|
protected |
QUndoStack & CSVWorld::GenericCreator::getUndoStack |
( |
| ) |
|
|
protected |
void CSVWorld::GenericCreator::inputReturnPressed |
( |
| ) |
|
|
privateslot |
Create record if able to after Return key is pressed on input.
void CSVWorld::GenericCreator::insertAtBeginning |
( |
QWidget * |
widget, |
|
|
bool |
stretched |
|
) |
| |
|
protected |
void CSVWorld::GenericCreator::insertBeforeButtons |
( |
QWidget * |
widget, |
|
|
bool |
stretched |
|
) |
| |
|
protected |
Insert given widget before Create and Cancel buttons.
- Parameters
-
widget | Widget to add to layout. |
stretched | Whether widget should be streched or not. |
void CSVWorld::GenericCreator::pushCommand |
( |
std::auto_ptr< CSMWorld::CreateCommand > |
command, |
|
|
const std::string & |
id |
|
) |
| |
|
protectedvirtual |
Allow subclasses to wrap the create command together with additional commands into a macro.
void CSVWorld::GenericCreator::reset |
( |
| ) |
|
|
virtual |
void CSVWorld::GenericCreator::scopeChanged |
( |
int |
index | ) |
|
|
privateslot |
void CSVWorld::GenericCreator::setEditLock |
( |
bool |
locked | ) |
|
|
virtual |
void CSVWorld::GenericCreator::setManualEditing |
( |
bool |
enabled | ) |
|
|
protectedvirtual |
Enable/disable manual ID editing (enabled by default).
void CSVWorld::GenericCreator::setScope |
( |
unsigned int |
scope | ) |
|
|
virtual |
Default implementation: Throw an exception if scope!=Scope_Content.
Reimplemented from CSVWorld::Creator.
void CSVWorld::GenericCreator::textChanged |
( |
const QString & |
text | ) |
|
|
privateslot |
void CSVWorld::GenericCreator::toggleWidgets |
( |
bool |
active = true | ) |
|
|
virtual |
void CSVWorld::GenericCreator::update |
( |
| ) |
|
|
protected |
void CSVWorld::GenericCreator::updateNamespace |
( |
| ) |
|
|
private |
QPushButton* CSVWorld::GenericCreator::mCancel |
|
private |
std::string CSVWorld::GenericCreator::mClonedId |
|
private |
bool CSVWorld::GenericCreator::mCloneMode |
|
protected |
QPushButton* CSVWorld::GenericCreator::mCreate |
|
private |
std::string CSVWorld::GenericCreator::mErrors |
|
private |
QLineEdit* CSVWorld::GenericCreator::mId |
|
private |
QHBoxLayout* CSVWorld::GenericCreator::mLayout |
|
private |
bool CSVWorld::GenericCreator::mLocked |
|
private |
QComboBox* CSVWorld::GenericCreator::mScope |
|
private |
QLabel* CSVWorld::GenericCreator::mScopeLabel |
|
private |
unsigned int CSVWorld::GenericCreator::mScopes |
|
private |
QUndoStack& CSVWorld::GenericCreator::mUndoStack |
|
private |
The documentation for this class was generated from the following files: