mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-09 12:42:11 +00:00
27 lines
692 B
C++
27 lines
692 B
C++
#include "subview.hpp"
|
|
|
|
CSVDoc::SubView::SubView (const CSMWorld::UniversalId& id) : mUniversalId (id)
|
|
{
|
|
/// \todo add a button to the title bar that clones this sub view
|
|
|
|
setWindowTitle (QString::fromUtf8 (mUniversalId.toString().c_str()));
|
|
}
|
|
|
|
CSMWorld::UniversalId CSVDoc::SubView::getUniversalId() const
|
|
{
|
|
return mUniversalId;
|
|
}
|
|
|
|
void CSVDoc::SubView::setStatusBar (bool show) {}
|
|
|
|
void CSVDoc::SubView::useHint (const std::string& hint) {}
|
|
|
|
void CSVDoc::SubView::updateUserSetting (const QString &, const QStringList &)
|
|
{}
|
|
|
|
void CSVDoc::SubView::setUniversalId (const CSMWorld::UniversalId& id)
|
|
{
|
|
mUniversalId = id;
|
|
setWindowTitle (mUniversalId.toString().c_str());
|
|
}
|