- refGlade->get_widget("lbl_property", lbl_property);
- refGlade->get_widget("txt_item_name", txt_item_name);
- lbl_property->set_text("Entrega Maxima");
+ refGlade->get_widget("btn_select_color",btn_select_color);
+ refGlade->get_widget("spin_fluid",spin_fluid);
+ refGlade->get_widget("txt_pump_name",txt_pump_name);
+ refGlade->get_widget("color_preview",color_preview);
+
+ Glib::RefPtr<Gnome::Glade::Xml> ref = Gnome::Glade::Xml::create("constructor.glade", "color_select_dlg");
+ ref->get_widget("color_select_dlg",color_select_dlg);
+ ref->get_widget("dlg_select_color_cancel",dlg_select_color_cancel);
+ ref->get_widget("dlg_select_color_ok",dlg_select_color_ok);
+
+ btn_select_color->signal_clicked().connect(SigC::slot(*this,&PumpPtyWnd::on_btn_select_color_clicked));
+ dlg_select_color_cancel->signal_clicked().connect(SigC::slot(*this,&PumpPtyWnd::on_dlg_select_color_cancel_clicked));
+ dlg_select_color_ok->signal_clicked().connect(SigC::slot(*this,&PumpPtyWnd::on_dlg_select_color_ok_clicked));