quickplot
Loading...
Searching...
No Matches
axisTickLabels.h
1// SPDX-License-Identifier: GPL-3.0-or-later
2// Copyright (c) 2024 Team Dissolve and contributors
3
4#pragma once
5
6#include <QAbstractListModel>
7
8class Axis;
9
11class AxisTickLabels : public QAbstractListModel
12{
13 Q_OBJECT
14
15 public:
16 AxisTickLabels(Axis &parent);
17
18 int rowCount(const QModelIndex &parent = QModelIndex()) const override;
19 QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override;
20 QHash<int, QByteArray> roleNames() const override;
22 void reset();
23
24 private:
25 Axis &parent_;
26};
Definition axisTickLabels.h:12
void reset()
Definition axisTickLabels.cpp:39
Definition axis.h:12