USpinButton.h

00001 #ifndef _USPINBUTTON_H
00002 #define _USPINBUTTON_H
00003 // -------------------------------------------------------------------------
00004 #include <gtkmm.h>
00005 #include "UDefaultFunctions.h"
00006 #include "SensorProp.h"
00007 // -------------------------------------------------------------------------
00015 class USpinButton : public UDefaultFunctions<Gtk::SpinButton>
00016 {
00017 
00018 public:
00019     USpinButton();
00020     explicit USpinButton(GtkmmBaseType::BaseObjectType* gobject);
00021     ~USpinButton() {};
00022 
00023     virtual void set_connector(const ConnectorRef& connector) throw();
00024 
00025     /* Set methods for widget properties */
00030     void set_sensor_ai(const UniSetTypes::ObjectId sens_id, const UniSetTypes::ObjectId node_id);
00031 
00032 protected:
00033     virtual bool on_expose_event(GdkEventExpose* event);
00034 
00035 private:
00036     bool is_value_init;
00037     SensorProp aout;
00038 
00039     void ctor();
00040     void fix_value();
00041 
00042     virtual void on_value_changed();
00043 };
00044 #endif

Документация по UniWidgets. Последние изменения: Fri Oct 10 09:57:50 2014. Создано системой  doxygen 1.5.9