mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-11 11:31:29 +00:00
9021a44ccc
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
22 lines
486 B
C++
22 lines
486 B
C++
// SPDX-License-Identifier: GPL-2.0
|
|
#include "abstractpreferenceswidget.h"
|
|
|
|
AbstractPreferencesWidget::AbstractPreferencesWidget(const QString& name, const QIcon& icon, float positionHeight)
|
|
: QWidget(), _icon(icon), _name(name), _positionHeight(positionHeight)
|
|
{
|
|
}
|
|
|
|
QIcon AbstractPreferencesWidget::icon() const
|
|
{
|
|
return _icon;
|
|
}
|
|
|
|
QString AbstractPreferencesWidget::name() const
|
|
{
|
|
return _name;
|
|
}
|
|
|
|
float AbstractPreferencesWidget::positionHeight() const
|
|
{
|
|
return _positionHeight;
|
|
}
|