mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-11 19:41:30 +00:00
30 lines
519 B
C++
30 lines
519 B
C++
|
#include "TabDiveExtraInfo.h"
|
||
|
#include "ui_TabDiveExtraInfo.h"
|
||
|
|
||
|
#include <qt-models/divecomputerextradatamodel.h>
|
||
|
|
||
|
TabDiveExtraInfo::TabDiveExtraInfo(QWidget *parent) :
|
||
|
TabBase(parent),
|
||
|
ui(new Ui::TabDiveExtraInfo()),
|
||
|
extraDataModel(new ExtraDataModel())
|
||
|
{
|
||
|
ui->setupUi(this);
|
||
|
ui->extraData->setModel(extraDataModel);
|
||
|
}
|
||
|
|
||
|
TabDiveExtraInfo::~TabDiveExtraInfo()
|
||
|
{
|
||
|
delete ui;
|
||
|
}
|
||
|
|
||
|
void TabDiveExtraInfo::updateData()
|
||
|
{
|
||
|
extraDataModel->updateDive();
|
||
|
}
|
||
|
|
||
|
void TabDiveExtraInfo::clear()
|
||
|
{
|
||
|
extraDataModel->updateDive();
|
||
|
}
|
||
|
|