2012-11-24 12:17:21 +00:00
|
|
|
#include "subview.hpp"
|
|
|
|
|
2012-12-11 12:22:43 +00:00
|
|
|
CSVDoc::SubView::SubView (const CSMWorld::UniversalId& id) : mUniversalId (id)
|
2012-11-24 12:17:21 +00:00
|
|
|
{
|
|
|
|
/// \todo add a button to the title bar that clones this sub view
|
|
|
|
|
2014-03-21 10:56:48 +00:00
|
|
|
setWindowTitle (QString::fromUtf8 (mUniversalId.toString().c_str()));
|
2012-11-24 12:17:21 +00:00
|
|
|
}
|
|
|
|
|
2012-12-11 12:22:43 +00:00
|
|
|
CSMWorld::UniversalId CSVDoc::SubView::getUniversalId() const
|
2012-11-24 12:17:21 +00:00
|
|
|
{
|
|
|
|
return mUniversalId;
|
|
|
|
}
|
2013-06-15 11:40:18 +00:00
|
|
|
|
2014-03-02 12:29:02 +00:00
|
|
|
void CSVDoc::SubView::setStatusBar (bool show) {}
|
|
|
|
|
2014-03-12 12:04:40 +00:00
|
|
|
void CSVDoc::SubView::useHint (const std::string& hint) {}
|
|
|
|
|
2014-04-23 03:19:53 +00:00
|
|
|
void CSVDoc::SubView::updateUserSetting (const QString &, const QStringList &)
|
|
|
|
{}
|
|
|
|
|
2014-03-12 12:04:40 +00:00
|
|
|
void CSVDoc::SubView::setUniversalId (const CSMWorld::UniversalId& id)
|
|
|
|
{
|
|
|
|
mUniversalId = id;
|
|
|
|
setWindowTitle (mUniversalId.toString().c_str());
|
2014-04-23 03:19:53 +00:00
|
|
|
}
|