mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 22:43:25 +00:00
Call the cylinder working pressure "starting pressure" in planner
Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
01874e158f
commit
0eb42b35b8
2 changed files with 10 additions and 0 deletions
|
@ -18,6 +18,15 @@ CylindersModel::CylindersModel(QObject *parent) :
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QVariant CylindersModel::headerData(int section, Qt::Orientation orientation, int role) const
|
||||||
|
{
|
||||||
|
if (role == Qt::DisplayRole && in_planner() && section == WORKINGPRESS)
|
||||||
|
return tr("Start press.");
|
||||||
|
else
|
||||||
|
return CleanerTableModel::headerData(section, orientation, role);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
CylindersModel *CylindersModel::instance()
|
CylindersModel *CylindersModel::instance()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -40,6 +40,7 @@ public:
|
||||||
void updateDecoDepths(pressure_t olddecopo2);
|
void updateDecoDepths(pressure_t olddecopo2);
|
||||||
cylinder_t *cylinderAt(const QModelIndex &index);
|
cylinder_t *cylinderAt(const QModelIndex &index);
|
||||||
bool changed;
|
bool changed;
|
||||||
|
virtual QVariant headerData(int section, Qt::Orientation orientation, int role) const;
|
||||||
|
|
||||||
public
|
public
|
||||||
slots:
|
slots:
|
||||||
|
|
Loading…
Add table
Reference in a new issue