X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/235ee3a1e830ab839163ad2585c11d760bcd841c..d940cfcd9606fbf7fc82376260f3a63573fd3795:/Constructor/cistern.cpp?ds=inline diff --git a/Constructor/cistern.cpp b/Constructor/cistern.cpp index 1764a40..1495443 100644 --- a/Constructor/cistern.cpp +++ b/Constructor/cistern.cpp @@ -49,6 +49,8 @@ bool Cistern::on_button_press_event(GdkEventButton *event) } if ((event->type == GDK_2BUTTON_PRESS) && (event->button ==1)){ + cistern_pty_wnd->spin_caudal->set_value((double)x); + cistern_pty_wnd->spin_fluido_max->set_value((double)y); cistern_pty_wnd->show(); } return true; @@ -64,8 +66,9 @@ void Cistern::on_menu_popup_rotar() void Cistern::on_menu_popup_propiedades() { - cistern_pty_wnd->spin_caudal->set_value(caudal); - cistern_pty_wnd->spin_fluido_max->set_value(fluido_max); +// cistern_pty_wnd->spin_caudal->set_value(caudal); +// cistern_pty_wnd->spin_fluido_max->set_value(fluido_max); + std::cout<< "posicion = "<< x <<" "<< y <