Skip to content

An OpenMW mod that lets you play the whole Elder Scrolls III: Morrowind as a top-down isometric game — with full online co-op or MMO modes.

C++
694 B
Raw Blame
#ifndef CSVWORLD_TABLEEDITIDACTION_HPP
#define CSVWORLD_TABLEEDITIDACTION_HPP

#include <QAction>
#include <QString>

#include <utility>

#include "../../model/world/columnbase.hpp"
#include "../../model/world/universalid.hpp"

class QTableView;

namespace CSMWorld
{
    class Data;
}

namespace CSVWorld
{
    class TableEditIdAction : public QAction
    {
        const QTableView& mTable;
        CSMWorld::Data& mData;
        CSMWorld::UniversalId mCurrentId;

    public:
        TableEditIdAction(const QTableView& table, CSMWorld::Data& data, QWidget* parent = nullptr);

        bool setCell(int row, int column);

        CSMWorld::UniversalId getCurrentId() const;
    };
}

#endif