1 #include "pumpptywnd.h"
4 PumpPtyWnd::PumpPtyWnd(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml>& refGlade):ItemPtyWnd(cobject, refGlade)
6 refGlade->get_widget("lbl_property", lbl_property);
7 refGlade->get_widget("txt_item_name", txt_item_name);
8 lbl_property->set_text("Entrega Maxima");
11 PumpPtyWnd::~PumpPtyWnd()
15 void PumpPtyWnd::on_btn_accept_clicked()
17 pump->set_entrega( spin_caudal->get_value() );
18 pump->set_name( txt_item_name->get_text() );
22 void PumpPtyWnd::on_btn_apply_clicked()
24 pump->set_entrega( spin_caudal->get_value() );
25 pump->set_name( txt_item_name->get_text() );