1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-16 05:49:56 +00:00
openmw-tes3mp/apps/opencs/view/prefs/pagebase.cpp
2015-12-08 12:04:45 +01:00

19 lines
375 B
C++

#include "pagebase.hpp"
#include <QLabel>
#include "../../model/prefs/category.hpp"
CSVPrefs::PageBase::PageBase (CSMPrefs::Category& category, QWidget *parent)
: QScrollArea (parent), mCategory (category)
{
QLabel *temp = new QLabel (category.getKey().c_str(), this);
setWidget (temp);
}
CSMPrefs::Category& CSVPrefs::PageBase::getCategory()
{
return mCategory;
}