1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-18 04:10:06 +00:00
OpenMW/apps/opencs/view/prefs/pagebase.cpp

20 lines
375 B
C++
Raw Normal View History

2015-12-08 11:04:45 +00:00
#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;
}