- refGlade->get_widget("spin_caudal", spin_caudal);
- refGlade->get_widget("spin_fluido_max", spin_fluido_max);
+ refGlade->get_widget("spin_capacidad", spin_capacidad);
+ refGlade->get_widget("spin_inicial", spin_inicial);
+ refGlade->get_widget("txt_cistern_name", txt_cistern_name);
+ refGlade->get_widget("btn_select_color", btn_select_color);
+ 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,&CisternPtyWnd::on_btn_select_color_clicked));
+ dlg_select_color_cancel->signal_clicked().connect(SigC::slot(*this,&CisternPtyWnd::on_dlg_select_color_cancel_clicked));
+ dlg_select_color_ok->signal_clicked().connect(SigC::slot(*this,&CisternPtyWnd::on_dlg_select_color_ok_clicked));