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