mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-11 11:31:29 +00:00
829f7a2ee2
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
21 lines
450 B
C++
21 lines
450 B
C++
#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;
|
|
}
|