22 #ifndef SGACTIONCOMBOMODEL_V2_HPP
23 #define SGACTIONCOMBOMODEL_V2_HPP
25 #include "sgplotcontroller.hpp"
26 #include <QAbstractListModel>
57 int rowCount(
const QModelIndex & parent)
const;
60 QVariant
data(
const QModelIndex & index,
int role)
const;
Handles the plot settings for SGSolutionHandler.
Definition: sgplotcontroller.hpp:41
void changeLayout()
Signals to gui to change the layout.
Definition: sgactioncombomodel.cpp:69
void actionChanged(int index)
Signals to the associated actionController to change the action.
Definition: sgactioncombomodel.hpp:64
SGActionComboModel(SGPlotController *_controller)
Constructor.
Definition: sgactioncombomodel.cpp:24
int rowCount(const QModelIndex &parent) const
Reimplement rowcount.
Definition: sgactioncombomodel.cpp:34
SGPlotController * controller
Pointer to the associated SGPlotController_V2 object.
Definition: sgactioncombomodel.hpp:46
QVariant data(const QModelIndex &index, int role) const
Reimplement data.
Definition: sgactioncombomodel.cpp:46
Model for the action select menu.
Definition: sgactioncombomodel.hpp:45
bool setActionIndex(int newActionIndex)
Sets the current action index.
Definition: sgplotcontroller.cpp:116