mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Allow the CylindersModel delegate to pass data in without unit conversions
With this we should have tank editing mostly done. See #122 (it's not quite fixed, we need the equivalent code for weight systems) Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
87d3cd5234
commit
d273694954
3 changed files with 27 additions and 4 deletions
|
@ -51,6 +51,7 @@ public:
|
|||
/*reimp*/ Qt::ItemFlags flags(const QModelIndex& index) const;
|
||||
/*reimp*/ bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole);
|
||||
|
||||
void passInData(const QModelIndex& index, const QVariant& value);
|
||||
void add();
|
||||
void clear();
|
||||
void update();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue