Changed main layout
This commit is contained in:
@@ -44,14 +44,6 @@ BCValueModel::BCValueModel(QObject *parent)
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Setzt den Headerlabel ( == die Devicebezeichnung )
|
||||
* @param headerLabel
|
||||
*/
|
||||
void BCValueModel::setHeaderLabel( const QString& headerLabel )
|
||||
{
|
||||
_headerLabel = headerLabel;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Einen Einzelwert hinzufügen
|
||||
@@ -147,17 +139,6 @@ int BCValueModel::columnCount(const QModelIndex& parent) const
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @brief Gibt die Header-Einträge zurück
|
||||
*/
|
||||
|
||||
QVariant BCValueModel::headerData(int section, Qt::Orientation orientation, int role) const
|
||||
{
|
||||
if (role != Qt::DisplayRole || orientation != Qt::Horizontal || section != 0)
|
||||
return QVariant();
|
||||
|
||||
return _headerLabel;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user