mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-01 06:30:26 +00:00
22 lines
450 B
C++
22 lines
450 B
C++
|
#include "abstractpreferenceswidget.h"
|
||
|
|
||
|
AbstractPreferencesWidget::AbstractPreferencesWidget(const QString& name, const QIcon& icon, float positionHeight)
|
||
|
: QWidget(), _name(name), _icon(icon), _positionHeight(positionHeight)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
QIcon AbstractPreferencesWidget::icon() const
|
||
|
{
|
||
|
return _icon;
|
||
|
}
|
||
|
|
||
|
QString AbstractPreferencesWidget::name() const
|
||
|
{
|
||
|
return _name;
|
||
|
}
|
||
|
|
||
|
float AbstractPreferencesWidget::positionHeight() const
|
||
|
{
|
||
|
return _positionHeight;
|
||
|
}
|