X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/7f099f6374e9606735fb9766b51b5e86d83de815..f5a1e732bf3907cabd004932aba3256b31d9d282:/Constructor/pumpptywnd.h?ds=sidebyside 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