X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/7f099f6374e9606735fb9766b51b5e86d83de815..31b3e321726d5c3fe720dd216687d3138523714f:/Constructor/pumpptywnd.h?ds=inline diff --git a/Constructor/pumpptywnd.h b/Constructor/pumpptywnd.h index 502240b..296cddd 100644 --- a/Constructor/pumpptywnd.h +++ b/Constructor/pumpptywnd.h @@ -1,18 +1,25 @@ #ifndef _PUMPPTYWND_H_ #define _PUMPPTYWND_H_ -#include "itemptywnd.h" +#include "propertywnd.h" class Pump; -class PumpPtyWnd : public ItemPtyWnd { +class PumpPtyWnd : public PropertyWnd{ public: PumpPtyWnd(BaseObjectType* cobject, const Glib::RefPtr& refGlade); virtual ~PumpPtyWnd(); Pump *pump; - Gtk::Label *lbl_property; + Gtk::SpinButton *spin_fluid; + Gtk::Entry *txt_pump_name; + Gtk::Button *btn_select_color, *dlg_select_color_cancel, *dlg_select_color_ok; + Gtk::ColorSelectionDialog *color_select_dlg; + Gtk::DrawingArea *color_preview; virtual void on_btn_accept_clicked(); virtual void on_btn_apply_clicked(); + virtual void on_btn_select_color_clicked(); + virtual void on_dlg_select_color_cancel_clicked(); + virtual void on_dlg_select_color_ok_clicked(); }; #endif