mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 05:49:56 +00:00
19 lines
375 B
C++
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;
|
|
}
|