Skip to content

Commit

Permalink
İçerik Değişiklik Signal Eklendi.
Browse files Browse the repository at this point in the history
  • Loading branch information
CMLDMR committed Dec 26, 2019
1 parent 00c64fa commit 0e0fd52
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
9 changes: 9 additions & 0 deletions SerikBelediyesiWebSayfasi/srcV2/vatandas/vatandaswidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ VatandasYeniKayitWidget::VatandasYeniKayitWidget(SerikBLDCore::DB *db)
Style::background::position::center_center);
newPhotoWidget->setHeight (150);
newPhotoWidget->setMinimumSize (WLength::Auto,WLength(150));
_onExisted.emit (val.value ()->oid ().value ().to_string ());
}else{
__tcKayitli = false;
}
Expand Down Expand Up @@ -296,6 +297,7 @@ VatandasYeniKayitWidget::VatandasYeniKayitWidget(SerikBLDCore::DB *db)
Style::background::position::center_center);
newPhotoWidget->setHeight (150);
newPhotoWidget->setMinimumSize (WLength::Auto,WLength(150));
_onExisted.emit (val.value ()->oid ().value ().to_string ());
}else{
__telefonKayitli = false;
}
Expand Down Expand Up @@ -385,8 +387,15 @@ VatandasYeniKayitWidget::VatandasYeniKayitWidget(SerikBLDCore::DB *db)

tcoidLineEdit->setText (mTC->oid ().value ().to_string ());
this->showMessage ("Bilgi","Bilgiler Başarılı Bir Şekilde Kayıt Edildi.");
_onExisted.emit (tcoidLineEdit->text ().toUTF8 ());

}else{
this->showMessage ("Uyarı","TC Bilgileri Kayıt Edilemedi");
}
});
}

Signal<std::string> &VatandasYeniKayitWidget::onExisted()
{
return _onExisted;
}
4 changes: 4 additions & 0 deletions SerikBelediyesiWebSayfasi/srcV2/vatandas/vatandaswidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ class VatandasYeniKayitWidget : public ContainerWidget , public SerikBLDCore::TC



Signal<std::string> &onExisted();

private:
SerikBLDCore::TC* mTC;
Expand All @@ -42,6 +43,9 @@ class VatandasYeniKayitWidget : public ContainerWidget , public SerikBLDCore::TC
WLineEdit* tcoidLineEdit;


Signal<std::string> _onExisted;


};

#endif // VATANDASWIDGET_H

0 comments on commit 0e0fd52

Please sign in to comment.