|
|
|
@ -2,7 +2,6 @@
|
|
|
|
|
#include "referencecreator.hpp"
|
|
|
|
|
|
|
|
|
|
#include <QLabel>
|
|
|
|
|
#include <QLineEdit>
|
|
|
|
|
|
|
|
|
|
#include "../../model/doc/document.hpp"
|
|
|
|
|
|
|
|
|
@ -12,6 +11,8 @@
|
|
|
|
|
#include "../../model/world/idtable.hpp"
|
|
|
|
|
#include "../../model/world/idcompletionmanager.hpp"
|
|
|
|
|
|
|
|
|
|
#include "../widget/droplineedit.hpp"
|
|
|
|
|
|
|
|
|
|
std::string CSVWorld::ReferenceCreator::getId() const
|
|
|
|
|
{
|
|
|
|
|
return mId;
|
|
|
|
@ -80,7 +81,7 @@ CSVWorld::ReferenceCreator::ReferenceCreator (CSMWorld::Data& data, QUndoStack&
|
|
|
|
|
QLabel *label = new QLabel ("Cell", this);
|
|
|
|
|
insertBeforeButtons (label, false);
|
|
|
|
|
|
|
|
|
|
mCell = new QLineEdit (this);
|
|
|
|
|
mCell = new CSVWidget::DropLineEdit(CSMWorld::ColumnBase::Display_Cell, this);
|
|
|
|
|
mCell->setCompleter(completionManager.getCompleter(CSMWorld::ColumnBase::Display_Cell).get());
|
|
|
|
|
insertBeforeButtons (mCell, true);
|
|
|
|
|
|
|
|
|
|