mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Moved the creation of the data plan point to the model.
Moved the creation of the data plan point to the model, this way when the user creates a data point on the graphical planner, or when the user creates the point on the QWidget based view, both of them will be updated. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
This commit is contained in:
parent
024dd80664
commit
bc71f9a916
2 changed files with 56 additions and 27 deletions
|
|
@ -31,7 +31,7 @@ public:
|
|||
* @return the row number.
|
||||
*/
|
||||
int addStop(int meters, int minutes,const QString& gas, int ccpoint );
|
||||
|
||||
divedatapoint at(int row);
|
||||
public slots:
|
||||
void setGFHigh(short gfhigh);
|
||||
void setGFLow(short ghflow);
|
||||
|
|
@ -131,7 +131,7 @@ private slots:
|
|||
void cancelPlan();
|
||||
void prepareSelectGas();
|
||||
void selectGas(const QModelIndex& index);
|
||||
|
||||
void pointInserted(const QModelIndex&, int start, int end);
|
||||
private:
|
||||
void moveActiveHandler(const QPointF& pos);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue