2017-04-27 18:26:05 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
2015-09-17 17:04:27 +00:00
|
|
|
#include "abstractpreferenceswidget.h"
|
|
|
|
|
|
|
|
AbstractPreferencesWidget::AbstractPreferencesWidget(const QString& name, const QIcon& icon, float positionHeight)
|
2015-11-07 21:20:09 +00:00
|
|
|
: QWidget(), _icon(icon), _name(name), _positionHeight(positionHeight)
|
2015-09-17 17:04:27 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
QIcon AbstractPreferencesWidget::icon() const
|
|
|
|
{
|
|
|
|
return _icon;
|
|
|
|
}
|
|
|
|
|
|
|
|
QString AbstractPreferencesWidget::name() const
|
|
|
|
{
|
|
|
|
return _name;
|
|
|
|
}
|
|
|
|
|
|
|
|
float AbstractPreferencesWidget::positionHeight() const
|
|
|
|
{
|
|
|
|
return _positionHeight;
|
|
|
|
}
|