|
UniWidgets
1.0.0
|
00001 #ifndef _CLOCKCONFIG_H 00002 #define _CLOCKCONFIG_H 00003 // ------------------------------------------------------------------------- 00009 // ------------------------------------------------------------------------- 00010 #include <gtkmm.h> 00011 #include <glibmm.h> 00012 #include <libglademm.h> 00013 #include <iostream> 00014 #include <iomanip> 00015 #include <sys/time.h> 00016 // ------------------------------------------------------------------------- 00017 class FailureDialog; 00023 class ClockConfig 00024 { 00025 public: 00031 ClockConfig(Glib::RefPtr<Gnome::Glade::Xml> gxml, FailureDialog *fw, Gtk::Dialog *d); 00032 ~ClockConfig(){}; 00033 00035 void show(); 00036 00037 private: 00038 Gtk::Dialog *w, *dialog; 00039 Gtk::SpinButton *sh, *sm, *ss, *sy, *smo, *sd; 00040 00041 FailureDialog *fw; 00042 00043 /* применить настройки */ 00044 void apply(); 00045 00046 /* закрыть окно не применяя изменения */ 00047 void cancel(); 00048 }; 00049 00050 #endif /* _CLOCKCONFIG_H */
1.7.6.1