#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<Gnome::Glade::Xml>& 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