Catch modification file.
--HG-- branch : feature
This commit is contained in:
parent
b318bc1ead
commit
820d3dc9bd
|
@ -260,36 +260,42 @@ void TMainWindow::AboutApplication()
|
||||||
void TMainWindow::SaveGivenName()
|
void TMainWindow::SaveGivenName()
|
||||||
{
|
{
|
||||||
m->SetGivenName(ui->lineEditGivenName->text());
|
m->SetGivenName(ui->lineEditGivenName->text());
|
||||||
|
MeasurementsWasSaved(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
void TMainWindow::SaveFamilyName()
|
void TMainWindow::SaveFamilyName()
|
||||||
{
|
{
|
||||||
m->SetFamilyName(ui->lineEditFamilyName->text());
|
m->SetFamilyName(ui->lineEditFamilyName->text());
|
||||||
|
MeasurementsWasSaved(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
void TMainWindow::SaveEmail()
|
void TMainWindow::SaveEmail()
|
||||||
{
|
{
|
||||||
m->SetEmail(ui->lineEditEmail->text());
|
m->SetEmail(ui->lineEditEmail->text());
|
||||||
|
MeasurementsWasSaved(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
void TMainWindow::SaveSex(int index)
|
void TMainWindow::SaveSex(int index)
|
||||||
{
|
{
|
||||||
m->SetSex(static_cast<SexType>(ui->comboBoxSex->itemData(index).toInt()));
|
m->SetSex(static_cast<SexType>(ui->comboBoxSex->itemData(index).toInt()));
|
||||||
|
MeasurementsWasSaved(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
void TMainWindow::SaveBirthDate(const QDate &date)
|
void TMainWindow::SaveBirthDate(const QDate &date)
|
||||||
{
|
{
|
||||||
m->SetBirthDate(date);
|
m->SetBirthDate(date);
|
||||||
|
MeasurementsWasSaved(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
void TMainWindow::SaveNotes()
|
void TMainWindow::SaveNotes()
|
||||||
{
|
{
|
||||||
m->SetNotes(ui->plainTextEditNotes->toPlainText());
|
m->SetNotes(ui->plainTextEditNotes->toPlainText());
|
||||||
|
MeasurementsWasSaved(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue
Block a user