Changed main layout

This commit is contained in:
2025-12-31 13:38:46 +01:00
parent b6764e7a12
commit c7a246e56d
9 changed files with 69 additions and 52 deletions

View File

@@ -52,8 +52,6 @@ public:
explicit BCValueModel(QObject *parent = nullptr);
void setHeaderLabel( const QString& headerLabel );
void addValue(const BCValue& val);
void takeValueList(BCValueList& valueList);
const BCValueList& getValueList() const;
@@ -62,7 +60,7 @@ public:
int rowCount(const QModelIndex& parent = QModelIndex()) const override;
int columnCount(const QModelIndex& parent = QModelIndex()) const override;
QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override;
//QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override;
QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const override;
// Nötig für Editierbarkeit
@@ -75,7 +73,6 @@ public slots:
protected:
QString _headerLabel;
// Die eigentlichen Werte wohnen im tatsächlich hier, im Model.
BCValueList _valueList;