mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-11 09:36:37 +00:00
19 lines
425 B
C++
19 lines
425 B
C++
|
|
||
|
#include "subview.hpp"
|
||
|
|
||
|
CSVWorld::SubView::SubView (const CSMWorld::UniversalId& id) : mUniversalId (id)
|
||
|
{
|
||
|
/// \todo add a button to the title bar that clones this sub view
|
||
|
|
||
|
setWindowTitle (mUniversalId.toString().c_str());
|
||
|
|
||
|
/// \todo remove (for testing only)
|
||
|
setMinimumWidth (100);
|
||
|
setMinimumHeight (60);
|
||
|
}
|
||
|
|
||
|
CSMWorld::UniversalId CSVWorld::SubView::getUniversalId() const
|
||
|
{
|
||
|
return mUniversalId;
|
||
|
}
|