00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #if defined __GNUC__ && __GNUC__ < 3
00012 #error This program will crash if compiled with g++ 2.x
00013
00014 #endif //
00015 #include "config.h"
00016 #include <gtkmmconfig.h>
00017 #if GTKMM_MAJOR_VERSION==2 && GTKMM_MINOR_VERSION>2
00018 #define GMM_GTKMM_22_24(a,b) b
00019 #else //gtkmm 2.2
00020 #define GMM_GTKMM_22_24(a,b) a
00021 #endif //
00022 #include "main_window_glade.hh"
00023 #include <gdk/gdkkeysyms.h>
00024 #include <gtkmm/accelgroup.h>
00025 #include <gtk/gtkimagemenuitem.h>
00026 #include <gtkmm/adjustment.h>
00027
00028 main_window_glade::main_window_glade(
00029 )
00030 { main_window = this;
00031 gmm_data = new GlademmData(get_accel_group());
00032 nuevo1 = NULL;
00033 abrir1 = NULL;
00034 guardar1 = NULL;
00035 guardar_como1 = NULL;
00036 image7 = Gtk::manage(new class Gtk::Image(Gtk::StockID("gtk-edit"), Gtk::IconSize(Gtk::ICON_SIZE_BUTTON)));
00037 import = NULL;
00038 image8 = Gtk::manage(new class Gtk::Image(Gtk::StockID("gtk-convert"), Gtk::IconSize(Gtk::ICON_SIZE_BUTTON)));
00039 create_log = NULL;
00040 separatormenuitem1 = NULL;
00041 salir1 = NULL;
00042 menuitem1_menu = Gtk::manage(new class Gtk::Menu());
00043 menuitem1 = NULL;
00044 cortar1 = NULL;
00045 copiar1 = NULL;
00046 pegar1 = NULL;
00047 borrar1 = NULL;
00048 menuitem2_menu = Gtk::manage(new class Gtk::Menu());
00049 menuitem2 = NULL;
00050 menuitem3 = NULL;
00051 acerca_de1 = NULL;
00052 menuitem4_menu = Gtk::manage(new class Gtk::Menu());
00053 menuitem4 = NULL;
00054 menubar1 = Gtk::manage(new class Gtk::MenuBar());
00055 alignment22 = Gtk::manage(new class Gtk::Alignment());
00056
00057 label93 = Gtk::manage(new class Gtk::Label(""));
00058 ct_frame = Gtk::manage(new class Gtk::Frame());
00059 alignment21 = Gtk::manage(new class Gtk::Alignment());
00060 label92 = Gtk::manage(new class Gtk::Label("<b>Next Tree</b>"));
00061 nt_frame = Gtk::manage(new class Gtk::Frame());
00062 hpaned1 = Gtk::manage(new class Gtk::HPaned());
00063 align2d = Gtk::manage(new class Gtk::Alignment());
00064 aa = Gtk::manage(new class Gtk::Label("<b>2D View</b>"));
00065 twodframe = Gtk::manage(new class Gtk::Frame());
00066 vbox9 = Gtk::manage(new class Gtk::VBox(false, 0));
00067 align1d = Gtk::manage(new class Gtk::Alignment());
00068 label77 = Gtk::manage(new class Gtk::Label("<b>Frames</b>"));
00069 onedview = Gtk::manage(new class Gtk::Frame());
00070 prim_cb = Gtk::manage(new class Gtk::CheckButton("Prim"));
00071 foreign_cb = Gtk::manage(new class Gtk::CheckButton("Foreign"));
00072 d1_cb = Gtk::manage(new class Gtk::CheckButton("Frames"));
00073 d2_cb = Gtk::manage(new class Gtk::CheckButton("2D View"));
00074 text_cb = Gtk::manage(new class Gtk::CheckButton("Frame data"));
00075 hbox20 = Gtk::manage(new class Gtk::HBox(false, 20));
00076 alignment12 = Gtk::manage(new class Gtk::Alignment());
00077 label79 = Gtk::manage(new class Gtk::Label("<b>Show Options</b>"));
00078 frame5 = Gtk::manage(new class Gtk::Frame());
00079 hbox19 = Gtk::manage(new class Gtk::HBox(false, 0));
00080 vbox10 = Gtk::manage(new class Gtk::VBox(false, 0));
00081 vpaned1 = Gtk::manage(new class Gtk::VPaned());
00082 xfield_tw = Gtk::manage(new class Gtk::TreeView());
00083 alignment10 = Gtk::manage(new class Gtk::Alignment());
00084 Info = Gtk::manage(new class Gtk::Label("<b>Frame Info</b>"));
00085 frame3 = Gtk::manage(new class Gtk::Frame());
00086 viewport1 = Gtk::manage(new class Gtk::Viewport(*manage(new Gtk::Adjustment(0,0,1)), *manage(new Gtk::Adjustment(0,0,1))));
00087 scrolledwindow6 = Gtk::manage(new class Gtk::ScrolledWindow());
00088
00089 Gtk::Adjustment *spinbutton1_adj = Gtk::manage(new class Gtk::Adjustment(1, 0, 100, 1, 0, 0));
00090 spinbutton1 = Gtk::manage(new class Gtk::SpinButton(*spinbutton1_adj, 1, 0));
00091 button23 = Gtk::manage(new class Gtk::Button(">"));
00092 button6 = Gtk::manage(new class Gtk::Button("+"));
00093 button7 = Gtk::manage(new class Gtk::Button("-"));
00094 hbox18 = Gtk::manage(new class Gtk::HBox(false, 8));
00095 alignment17 = Gtk::manage(new class Gtk::Alignment());
00096 label88 = Gtk::manage(new class Gtk::Label("<b>Serial</b>"));
00097 frame10 = Gtk::manage(new class Gtk::Frame());
00098
00099 Gtk::Adjustment *hscale_position_adj = Gtk::manage(new class Gtk::Adjustment(0, 0, 0, 0, 0, 0));
00100 hscale_position = Gtk::manage(new class Gtk::HScale(*hscale_position_adj));
00101 alignment18 = Gtk::manage(new class Gtk::Alignment());
00102 label89 = Gtk::manage(new class Gtk::Label("<b>File Id</b>"));
00103 frame11 = Gtk::manage(new class Gtk::Frame());
00104
00105 Gtk::Adjustment *hscale_zoom_adj = Gtk::manage(new class Gtk::Adjustment(0, 0, 0, 0, 0, 0));
00106 hscale_zoom = Gtk::manage(new class Gtk::HScale(*hscale_zoom_adj));
00107 alignment19 = Gtk::manage(new class Gtk::Alignment());
00108 label90 = Gtk::manage(new class Gtk::Label("<b>Size</b>"));
00109 frame12 = Gtk::manage(new class Gtk::Frame());
00110 vbox11 = Gtk::manage(new class Gtk::VBox(false, 0));
00111 alignment11 = Gtk::manage(new class Gtk::Alignment());
00112 label78 = Gtk::manage(new class Gtk::Label("<b>Frame Selection</b>"));
00113 frame4 = Gtk::manage(new class Gtk::Frame());
00114 vbox3 = Gtk::manage(new class Gtk::VBox(false, 0));
00115 hpaned = Gtk::manage(new class Gtk::HPaned());
00116 hbox1 = Gtk::manage(new class Gtk::HBox(false, 0));
00117 label68 = Gtk::manage(new class Gtk::Label(""));
00118 label69 = Gtk::manage(new class Gtk::Label(""));
00119 label70 = Gtk::manage(new class Gtk::Label(""));
00120 label71 = Gtk::manage(new class Gtk::Label(""));
00121 label72 = Gtk::manage(new class Gtk::Label(""));
00122 hbox17 = Gtk::manage(new class Gtk::HBox(false, 0));
00123 image1 = Gtk::manage(new class Gtk::Image(Gtk::StockID("gtk-media-play"), Gtk::IconSize(Gtk::ICON_SIZE_BUTTON)));
00124 label43 = Gtk::manage(new class Gtk::Label("Play"));
00125 hbox4 = Gtk::manage(new class Gtk::HBox(false, 2));
00126 alignment1 = Gtk::manage(new class Gtk::Alignment());
00127 togglebutton1 = Gtk::manage(new class Gtk::ToggleButton());
00128 image9 = Gtk::manage(new class Gtk::Image(Gtk::StockID("gtk-media-record"), Gtk::IconSize(Gtk::ICON_SIZE_BUTTON)));
00129 label97 = Gtk::manage(new class Gtk::Label("Record"));
00130 hbox26 = Gtk::manage(new class Gtk::HBox(false, 2));
00131 alignment25 = Gtk::manage(new class Gtk::Alignment());
00132 rec_tb = Gtk::manage(new class Gtk::ToggleButton());
00133 image4 = Gtk::manage(new class Gtk::Image(Gtk::StockID("gtk-justify-fill"), Gtk::IconSize(Gtk::ICON_SIZE_BUTTON)));
00134 label52 = Gtk::manage(new class Gtk::Label("Statistics"));
00135 hbox9 = Gtk::manage(new class Gtk::HBox(false, 2));
00136 alignment4 = Gtk::manage(new class Gtk::Alignment());
00137 button9 = Gtk::manage(new class Gtk::Button());
00138 image5 = Gtk::manage(new class Gtk::Image(Gtk::StockID("gtk-find"), Gtk::IconSize(Gtk::ICON_SIZE_BUTTON)));
00139 label56 = Gtk::manage(new class Gtk::Label("Find"));
00140 hbox12 = Gtk::manage(new class Gtk::HBox(false, 2));
00141 alignment6 = Gtk::manage(new class Gtk::Alignment());
00142 button13 = Gtk::manage(new class Gtk::Button());
00143 image3 = Gtk::manage(new class Gtk::Image(Gtk::StockID("gtk-quit"), Gtk::IconSize(Gtk::ICON_SIZE_BUTTON)));
00144 label45 = Gtk::manage(new class Gtk::Label("Exit"));
00145 hbox6 = Gtk::manage(new class Gtk::HBox(false, 2));
00146 alignment3 = Gtk::manage(new class Gtk::Alignment());
00147 button8 = Gtk::manage(new class Gtk::Button());
00148 hbox2 = Gtk::manage(new class Gtk::HBox(false, 0));
00149 vbox2 = Gtk::manage(new class Gtk::VBox(false, 0));
00150
00151
00152 menuitem1_menu->items().push_back(Gtk::Menu_Helpers::StockMenuElem(Gtk::StockID("gtk-new")));
00153 nuevo1 = (Gtk::ImageMenuItem *)&menuitem1_menu->items().back();
00154
00155 menuitem1_menu->items().push_back(Gtk::Menu_Helpers::StockMenuElem(Gtk::StockID("gtk-open")));
00156 abrir1 = (Gtk::ImageMenuItem *)&menuitem1_menu->items().back();
00157
00158 menuitem1_menu->items().push_back(Gtk::Menu_Helpers::StockMenuElem(Gtk::StockID("gtk-save")));
00159 guardar1 = (Gtk::ImageMenuItem *)&menuitem1_menu->items().back();
00160
00161 menuitem1_menu->items().push_back(Gtk::Menu_Helpers::StockMenuElem(Gtk::StockID("gtk-save-as")));
00162 guardar_como1 = (Gtk::ImageMenuItem *)&menuitem1_menu->items().back();
00163
00164 menuitem1_menu->items().push_back(Gtk::Menu_Helpers::ImageMenuElem("Import", *image7));
00165 import = (Gtk::ImageMenuItem *)&menuitem1_menu->items().back();
00166
00167 menuitem1_menu->items().push_back(Gtk::Menu_Helpers::ImageMenuElem("Create Log", *image8));
00168 create_log = (Gtk::ImageMenuItem *)&menuitem1_menu->items().back();
00169
00170 menuitem1_menu->items().push_back(Gtk::Menu_Helpers::SeparatorElem());
00171 separatormenuitem1 = (Gtk::MenuItem *)&menuitem1_menu->items().back();
00172
00173 menuitem1_menu->items().push_back(Gtk::Menu_Helpers::StockMenuElem(Gtk::StockID("gtk-quit")));
00174 salir1 = (Gtk::ImageMenuItem *)&menuitem1_menu->items().back();
00175
00176 menuitem2_menu->items().push_back(Gtk::Menu_Helpers::StockMenuElem(Gtk::StockID("gtk-cut")));
00177 cortar1 = (Gtk::ImageMenuItem *)&menuitem2_menu->items().back();
00178
00179 menuitem2_menu->items().push_back(Gtk::Menu_Helpers::StockMenuElem(Gtk::StockID("gtk-copy")));
00180 copiar1 = (Gtk::ImageMenuItem *)&menuitem2_menu->items().back();
00181
00182 menuitem2_menu->items().push_back(Gtk::Menu_Helpers::StockMenuElem(Gtk::StockID("gtk-paste")));
00183 pegar1 = (Gtk::ImageMenuItem *)&menuitem2_menu->items().back();
00184
00185 menuitem2_menu->items().push_back(Gtk::Menu_Helpers::StockMenuElem(Gtk::StockID("gtk-delete")));
00186 borrar1 = (Gtk::ImageMenuItem *)&menuitem2_menu->items().back();
00187
00188 menuitem4_menu->items().push_back(Gtk::Menu_Helpers::MenuElem("A_cerca de"));
00189 acerca_de1 = (Gtk::MenuItem *)&menuitem4_menu->items().back();
00190
00191 menubar1->items().push_back(Gtk::Menu_Helpers::MenuElem("_Archivo", *menuitem1_menu));
00192 menuitem1 = (Gtk::MenuItem *)&menubar1->items().back();
00193
00194 menubar1->items().push_back(Gtk::Menu_Helpers::MenuElem("_Editar", *menuitem2_menu));
00195 menuitem2 = (Gtk::MenuItem *)&menubar1->items().back();
00196
00197 menubar1->items().push_back(Gtk::Menu_Helpers::MenuElem("_Ver"));
00198 menuitem3 = (Gtk::MenuItem *)&menubar1->items().back();
00199
00200 menubar1->items().push_back(Gtk::Menu_Helpers::MenuElem("A_yuda", *menuitem4_menu));
00201 menuitem4 = (Gtk::MenuItem *)&menubar1->items().back();
00202 image7->unset_flags(Gtk::CAN_FOCUS);
00203 image8->unset_flags(Gtk::CAN_FOCUS);
00204 menuitem1_menu->unset_flags(Gtk::CAN_FOCUS);
00205 menuitem2_menu->unset_flags(Gtk::CAN_FOCUS);
00206 menuitem4_menu->unset_flags(Gtk::CAN_FOCUS);
00207 menubar1->unset_flags(Gtk::CAN_FOCUS);
00208 alignment22->unset_flags(Gtk::CAN_FOCUS);
00209 label93->unset_flags(Gtk::CAN_FOCUS);
00210 label93->set_use_markup(true);
00211 ct_frame->unset_flags(Gtk::CAN_FOCUS);
00212 ct_frame->set_shadow_type(Gtk::SHADOW_IN);
00213 ct_frame->set_label_align(0,0);
00214 ct_frame->add(*alignment22);
00215 ct_frame->set_label_widget(*label93);
00216 alignment21->unset_flags(Gtk::CAN_FOCUS);
00217 label92->unset_flags(Gtk::CAN_FOCUS);
00218 label92->set_use_markup(true);
00219 nt_frame->unset_flags(Gtk::CAN_FOCUS);
00220 nt_frame->set_shadow_type(Gtk::SHADOW_IN);
00221 nt_frame->set_label_align(0,0);
00222 nt_frame->add(*alignment21);
00223 nt_frame->set_label_widget(*label92);
00224 hpaned1->set_flags(Gtk::CAN_FOCUS);
00225 hpaned1->pack1(*ct_frame, Gtk::SHRINK);
00226 hpaned1->pack2(*nt_frame, Gtk::EXPAND|Gtk::SHRINK);
00227 align2d->unset_flags(Gtk::CAN_FOCUS);
00228 align2d->add(*hpaned1);
00229 aa->unset_flags(Gtk::CAN_FOCUS);
00230 aa->set_use_markup(true);
00231 twodframe->unset_flags(Gtk::CAN_FOCUS);
00232 twodframe->set_border_width(2);
00233 twodframe->set_label_align(0,0);
00234 twodframe->add(*align2d);
00235 twodframe->set_label_widget(*aa);
00236 vbox9->unset_flags(Gtk::CAN_FOCUS);
00237 vbox9->pack_start(*twodframe);
00238 align1d->unset_flags(Gtk::CAN_FOCUS);
00239 label77->unset_flags(Gtk::CAN_FOCUS);
00240 label77->set_use_markup(true);
00241 onedview->unset_flags(Gtk::CAN_FOCUS);
00242 onedview->set_border_width(2);
00243 onedview->set_label_align(0,0);
00244 onedview->add(*align1d);
00245 onedview->set_label_widget(*label77);
00246 prim_cb->set_flags(Gtk::CAN_FOCUS);
00247 prim_cb->set_mode(true);
00248 foreign_cb->set_flags(Gtk::CAN_FOCUS);
00249 foreign_cb->set_mode(true);
00250 d1_cb->set_flags(Gtk::CAN_FOCUS);
00251 d1_cb->set_mode(true);
00252 d2_cb->set_flags(Gtk::CAN_FOCUS);
00253 d2_cb->set_mode(true);
00254 text_cb->set_flags(Gtk::CAN_FOCUS);
00255 text_cb->set_mode(true);
00256 hbox20->unset_flags(Gtk::CAN_FOCUS);
00257 hbox20->set_border_width(3);
00258 hbox20->pack_start(*prim_cb, Gtk::PACK_SHRINK, 0);
00259 hbox20->pack_start(*foreign_cb, Gtk::PACK_SHRINK, 0);
00260 hbox20->pack_start(*d1_cb, Gtk::PACK_SHRINK, 0);
00261 hbox20->pack_start(*d2_cb, Gtk::PACK_SHRINK, 0);
00262 hbox20->pack_start(*text_cb, Gtk::PACK_SHRINK, 0);
00263 alignment12->unset_flags(Gtk::CAN_FOCUS);
00264 alignment12->add(*hbox20);
00265 label79->unset_flags(Gtk::CAN_FOCUS);
00266 label79->set_use_markup(true);
00267 frame5->unset_flags(Gtk::CAN_FOCUS);
00268 frame5->set_border_width(2);
00269 frame5->set_label_align(0,0);
00270 frame5->add(*alignment12);
00271 frame5->set_label_widget(*label79);
00272 hbox19->unset_flags(Gtk::CAN_FOCUS);
00273 hbox19->pack_start(*frame5);
00274 vbox10->unset_flags(Gtk::CAN_FOCUS);
00275 vbox10->pack_start(*onedview);
00276 vbox10->pack_start(*hbox19, Gtk::PACK_SHRINK, 0);
00277 vpaned1->set_flags(Gtk::CAN_FOCUS);
00278 vpaned1->set_position(500);
00279 vpaned1->pack1(*vbox9, Gtk::SHRINK);
00280 vpaned1->pack2(*vbox10, Gtk::EXPAND|Gtk::SHRINK);
00281 xfield_tw->set_flags(Gtk::CAN_FOCUS);
00282 xfield_tw->set_headers_visible(false);
00283 alignment10->unset_flags(Gtk::CAN_FOCUS);
00284 alignment10->add(*xfield_tw);
00285 Info->unset_flags(Gtk::CAN_FOCUS);
00286 Info->set_use_markup(true);
00287 frame3->unset_flags(Gtk::CAN_FOCUS);
00288 frame3->set_border_width(2);
00289 frame3->set_label_align(0,0);
00290 frame3->add(*alignment10);
00291 frame3->set_label_widget(*Info);
00292 viewport1->unset_flags(Gtk::CAN_FOCUS);
00293 viewport1->set_shadow_type(Gtk::SHADOW_NONE);
00294 viewport1->add(*frame3);
00295 scrolledwindow6->set_flags(Gtk::CAN_FOCUS);
00296 scrolledwindow6->set_shadow_type(Gtk::SHADOW_NONE);
00297 scrolledwindow6->set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC);
00298 scrolledwindow6->add(*viewport1);
00299 spinbutton1->set_flags(Gtk::CAN_FOCUS);
00300 spinbutton1->set_numeric(true);
00301 button23->set_size_request(22,-1);
00302 button23->set_flags(Gtk::CAN_FOCUS);
00303 button6->set_size_request(22,-1);
00304 button6->set_flags(Gtk::CAN_FOCUS);
00305 button7->set_size_request(22,-1);
00306 button7->set_flags(Gtk::CAN_FOCUS);
00307 hbox18->unset_flags(Gtk::CAN_FOCUS);
00308 hbox18->set_border_width(5);
00309 hbox18->pack_start(*spinbutton1);
00310 hbox18->pack_start(*button23);
00311 hbox18->pack_start(*button6);
00312 hbox18->pack_start(*button7);
00313 alignment17->unset_flags(Gtk::CAN_FOCUS);
00314 alignment17->add(*hbox18);
00315 label88->unset_flags(Gtk::CAN_FOCUS);
00316 label88->set_use_markup(true);
00317 frame10->unset_flags(Gtk::CAN_FOCUS);
00318 frame10->set_shadow_type(Gtk::SHADOW_OUT);
00319 frame10->set_label_align(0,0);
00320 frame10->add(*alignment17);
00321 frame10->set_label_widget(*label88);
00322 hscale_position->set_size_request(270,-1);
00323 hscale_position->set_flags(Gtk::CAN_FOCUS);
00324 hscale_position->set_digits(0);
00325 alignment18->unset_flags(Gtk::CAN_FOCUS);
00326 alignment18->add(*hscale_position);
00327 label89->unset_flags(Gtk::CAN_FOCUS);
00328 label89->set_use_markup(true);
00329 frame11->unset_flags(Gtk::CAN_FOCUS);
00330 frame11->set_shadow_type(Gtk::SHADOW_OUT);
00331 frame11->set_label_align(0,0);
00332 frame11->add(*alignment18);
00333 frame11->set_label_widget(*label89);
00334 hscale_zoom->set_flags(Gtk::CAN_FOCUS);
00335 hscale_zoom->set_digits(0);
00336 alignment19->unset_flags(Gtk::CAN_FOCUS);
00337 alignment19->add(*hscale_zoom);
00338 label90->unset_flags(Gtk::CAN_FOCUS);
00339 label90->set_use_markup(true);
00340 frame12->unset_flags(Gtk::CAN_FOCUS);
00341 frame12->set_shadow_type(Gtk::SHADOW_OUT);
00342 frame12->set_label_align(0,0);
00343 frame12->add(*alignment19);
00344 frame12->set_label_widget(*label90);
00345 vbox11->unset_flags(Gtk::CAN_FOCUS);
00346 vbox11->pack_start(*frame10);
00347 vbox11->pack_start(*frame11);
00348 vbox11->pack_start(*frame12);
00349 alignment11->unset_flags(Gtk::CAN_FOCUS);
00350 alignment11->set_border_width(5);
00351 alignment11->add(*vbox11);
00352 label78->unset_flags(Gtk::CAN_FOCUS);
00353 label78->set_use_markup(true);
00354 frame4->unset_flags(Gtk::CAN_FOCUS);
00355 frame4->set_border_width(2);
00356 frame4->set_label_align(0,0);
00357 frame4->add(*alignment11);
00358 frame4->set_label_widget(*label78);
00359 vbox3->unset_flags(Gtk::CAN_FOCUS);
00360 vbox3->pack_start(*scrolledwindow6);
00361 vbox3->pack_start(*frame4, Gtk::PACK_SHRINK, 0);
00362 hpaned->set_flags(Gtk::CAN_FOCUS);
00363 hpaned->set_position(400);
00364 hpaned->pack1(*vpaned1, Gtk::SHRINK);
00365 hpaned->pack2(*vbox3, Gtk::EXPAND|Gtk::SHRINK);
00366 hbox1->unset_flags(Gtk::CAN_FOCUS);
00367 hbox1->pack_start(*hpaned);
00368 label68->set_size_request(200,-1);
00369 label68->unset_flags(Gtk::CAN_FOCUS);
00370 label68->set_line_wrap(true);
00371 label69->set_size_request(128,-1);
00372 label69->unset_flags(Gtk::CAN_FOCUS);
00373 label69->set_line_wrap(true);
00374 label70->set_size_request(200,-1);
00375 label70->unset_flags(Gtk::CAN_FOCUS);
00376 label70->set_line_wrap(true);
00377 label71->set_size_request(128,-1);
00378 label71->unset_flags(Gtk::CAN_FOCUS);
00379 label72->set_size_request(128,-1);
00380 label72->unset_flags(Gtk::CAN_FOCUS);
00381 hbox17->unset_flags(Gtk::CAN_FOCUS);
00382 hbox17->pack_start(*label68);
00383 hbox17->pack_start(*label69);
00384 hbox17->pack_start(*label70);
00385 hbox17->pack_start(*label71);
00386 hbox17->pack_start(*label72);
00387 image1->unset_flags(Gtk::CAN_FOCUS);
00388 image1->set_padding(-1,1);
00389 label43->unset_flags(Gtk::CAN_FOCUS);
00390 label43->set_justify(Gtk::JUSTIFY_CENTER);
00391 hbox4->unset_flags(Gtk::CAN_FOCUS);
00392 hbox4->pack_start(*image1, Gtk::PACK_SHRINK, 0);
00393 hbox4->pack_start(*label43, Gtk::PACK_SHRINK, 0);
00394 alignment1->unset_flags(Gtk::CAN_FOCUS);
00395 alignment1->add(*hbox4);
00396 togglebutton1->set_flags(Gtk::CAN_FOCUS);
00397 togglebutton1->add(*alignment1);
00398 image9->unset_flags(Gtk::CAN_FOCUS);
00399 label97->unset_flags(Gtk::CAN_FOCUS);
00400 label97->set_justify(Gtk::JUSTIFY_CENTER);
00401 hbox26->unset_flags(Gtk::CAN_FOCUS);
00402 hbox26->pack_start(*image9, Gtk::PACK_SHRINK, 0);
00403 hbox26->pack_start(*label97, Gtk::PACK_SHRINK, 0);
00404 alignment25->unset_flags(Gtk::CAN_FOCUS);
00405 alignment25->add(*hbox26);
00406 rec_tb->set_flags(Gtk::CAN_FOCUS);
00407 rec_tb->add(*alignment25);
00408 image4->unset_flags(Gtk::CAN_FOCUS);
00409 label52->unset_flags(Gtk::CAN_FOCUS);
00410 label52->set_justify(Gtk::JUSTIFY_CENTER);
00411 hbox9->unset_flags(Gtk::CAN_FOCUS);
00412 hbox9->pack_start(*image4, Gtk::PACK_SHRINK, 0);
00413 hbox9->pack_start(*label52, Gtk::PACK_SHRINK, 0);
00414 alignment4->unset_flags(Gtk::CAN_FOCUS);
00415 alignment4->add(*hbox9);
00416 button9->set_flags(Gtk::CAN_FOCUS);
00417 button9->add(*alignment4);
00418 image5->unset_flags(Gtk::CAN_FOCUS);
00419 label56->unset_flags(Gtk::CAN_FOCUS);
00420 label56->set_justify(Gtk::JUSTIFY_CENTER);
00421 hbox12->unset_flags(Gtk::CAN_FOCUS);
00422 hbox12->pack_start(*image5, Gtk::PACK_SHRINK, 0);
00423 hbox12->pack_start(*label56, Gtk::PACK_SHRINK, 0);
00424 alignment6->unset_flags(Gtk::CAN_FOCUS);
00425 alignment6->add(*hbox12);
00426 button13->set_flags(Gtk::CAN_FOCUS);
00427 button13->add(*alignment6);
00428 image3->unset_flags(Gtk::CAN_FOCUS);
00429 label45->unset_flags(Gtk::CAN_FOCUS);
00430 label45->set_justify(Gtk::JUSTIFY_CENTER);
00431 hbox6->unset_flags(Gtk::CAN_FOCUS);
00432 hbox6->pack_start(*image3, Gtk::PACK_SHRINK, 0);
00433 hbox6->pack_start(*label45, Gtk::PACK_SHRINK, 0);
00434 alignment3->unset_flags(Gtk::CAN_FOCUS);
00435 alignment3->add(*hbox6);
00436 button8->set_flags(Gtk::CAN_FOCUS);
00437 button8->add(*alignment3);
00438 hbox2->unset_flags(Gtk::CAN_FOCUS);
00439 hbox2->pack_start(*togglebutton1);
00440 hbox2->pack_start(*rec_tb);
00441 hbox2->pack_start(*button9);
00442 hbox2->pack_start(*button13);
00443 hbox2->pack_start(*button8);
00444 vbox2->unset_flags(Gtk::CAN_FOCUS);
00445 vbox2->pack_start(*menubar1, Gtk::PACK_SHRINK, 0);
00446 vbox2->pack_start(*hbox1);
00447 vbox2->pack_start(*hbox17, Gtk::PACK_SHRINK, 0);
00448 vbox2->pack_start(*hbox2, Gtk::PACK_SHRINK, 0);
00449 main_window->set_size_request(800,600);
00450 main_window->unset_flags(Gtk::CAN_FOCUS);
00451 main_window->set_title("Main");
00452 main_window->add(*vbox2);
00453 nuevo1->show();
00454 abrir1->show();
00455 guardar1->show();
00456 guardar_como1->show();
00457 image7->show();
00458 import->show();
00459 image8->show();
00460 create_log->show();
00461 separatormenuitem1->show();
00462 salir1->show();
00463 menuitem1->show();
00464 cortar1->show();
00465 copiar1->show();
00466 pegar1->show();
00467 borrar1->show();
00468 menuitem2->show();
00469 menuitem3->show();
00470 acerca_de1->show();
00471 menuitem4->show();
00472 menubar1->show();
00473 alignment22->show();
00474 label93->show();
00475 ct_frame->show();
00476 alignment21->show();
00477 label92->show();
00478 nt_frame->show();
00479 hpaned1->show();
00480 align2d->show();
00481 aa->show();
00482 twodframe->show();
00483 vbox9->show();
00484 align1d->show();
00485 label77->show();
00486 onedview->show();
00487 prim_cb->show();
00488 foreign_cb->show();
00489 d1_cb->show();
00490 d2_cb->show();
00491 text_cb->show();
00492 hbox20->show();
00493 alignment12->show();
00494 label79->show();
00495 frame5->show();
00496 hbox19->show();
00497 vbox10->show();
00498 vpaned1->show();
00499 xfield_tw->show();
00500 alignment10->show();
00501 Info->show();
00502 frame3->show();
00503 viewport1->show();
00504 scrolledwindow6->show();
00505 spinbutton1->show();
00506 button23->show();
00507 button6->show();
00508 button7->show();
00509 hbox18->show();
00510 alignment17->show();
00511 label88->show();
00512 frame10->show();
00513 hscale_position->show();
00514 alignment18->show();
00515 label89->show();
00516 frame11->show();
00517 hscale_zoom->show();
00518 alignment19->show();
00519 label90->show();
00520 frame12->show();
00521 vbox11->show();
00522 alignment11->show();
00523 label78->show();
00524 frame4->show();
00525 vbox3->show();
00526 hpaned->show();
00527 hbox1->show();
00528 label68->show();
00529 label69->show();
00530 label70->show();
00531 label71->show();
00532 label72->show();
00533 hbox17->show();
00534 image1->show();
00535 label43->show();
00536 hbox4->show();
00537 alignment1->show();
00538 togglebutton1->show();
00539 image9->show();
00540 label97->show();
00541 hbox26->show();
00542 alignment25->show();
00543 rec_tb->show();
00544 image4->show();
00545 label52->show();
00546 hbox9->show();
00547 alignment4->show();
00548 button9->show();
00549 image5->show();
00550 label56->show();
00551 hbox12->show();
00552 alignment6->show();
00553 button13->show();
00554 image3->show();
00555 label45->show();
00556 hbox6->show();
00557 alignment3->show();
00558 button8->show();
00559 hbox2->show();
00560 vbox2->show();
00561 main_window->show();
00562 nuevo1->signal_activate().connect(sigc::mem_fun(*this, &main_window_glade::on_nuevo1_activate), false);
00563 abrir1->signal_activate().connect(sigc::mem_fun(*this, &main_window_glade::on_abrir1_activate), false);
00564 guardar1->signal_activate().connect(sigc::mem_fun(*this, &main_window_glade::on_guardar1_activate), false);
00565 guardar_como1->signal_activate().connect(sigc::mem_fun(*this, &main_window_glade::on_guardar_como1_activate), false);
00566 import->signal_activate().connect(sigc::mem_fun(*this, &main_window_glade::on_import_activate), false);
00567 create_log->signal_activate().connect(sigc::mem_fun(*this, &main_window_glade::on_create_log_activate), false);
00568 salir1->signal_activate().connect(sigc::mem_fun(*this, &main_window_glade::on_salir1_activate), false);
00569 cortar1->signal_activate().connect(sigc::mem_fun(*this, &main_window_glade::on_cortar1_activate), false);
00570 copiar1->signal_activate().connect(sigc::mem_fun(*this, &main_window_glade::on_copiar1_activate), false);
00571 pegar1->signal_activate().connect(sigc::mem_fun(*this, &main_window_glade::on_pegar1_activate), false);
00572 borrar1->signal_activate().connect(sigc::mem_fun(*this, &main_window_glade::on_borrar1_activate), false);
00573 acerca_de1->signal_activate().connect(sigc::mem_fun(*this, &main_window_glade::on_acerca_de1_activate), false);
00574 xfield_tw->signal_row_collapsed().connect(sigc::mem_fun(*this, &main_window_glade::on_xfield_tw_row_collapsed), false);
00575 xfield_tw->signal_cursor_changed().connect(sigc::mem_fun(*this, &main_window_glade::on_xfield_tw_cursor_changed), false);
00576 xfield_tw->signal_row_expanded().connect(sigc::mem_fun(*this, &main_window_glade::on_xfield_tw_row_expanded), false);
00577 xfield_tw->signal_focus_in_event().connect(sigc::mem_fun(*this, &main_window_glade::on_xfield_tw_focus_in_event), false);
00578 xfield_tw->signal_focus_out_event().connect(sigc::mem_fun(*this, &main_window_glade::on_xfield_tw_focus_out_event), false);
00579 spinbutton1->signal_activate().connect(sigc::mem_fun(*this, &main_window_glade::on_spinbutton1_activate), false);
00580 button23->signal_clicked().connect(sigc::mem_fun(*this, &main_window_glade::on_button23_clicked), false);
00581 button6->signal_clicked().connect(sigc::mem_fun(*this, &main_window_glade::on_button6_clicked), false);
00582 button7->signal_clicked().connect(sigc::mem_fun(*this, &main_window_glade::on_button7_clicked), false);
00583 hscale_position->signal_value_changed().connect(sigc::mem_fun(*this, &main_window_glade::on_hscale_position_value_changed), false);
00584 hscale_zoom->signal_value_changed().connect(sigc::mem_fun(*this, &main_window_glade::on_hscale_zoom_value_changed), false);
00585 togglebutton1->signal_clicked().connect(sigc::mem_fun(*this, &main_window_glade::on_togglebutton1_clicked), false);
00586 rec_tb->signal_toggled().connect(sigc::mem_fun(*this, &main_window_glade::on_rec_tb_toggled), false);
00587 rec_tb->signal_activate().connect(sigc::mem_fun(*this, &main_window_glade::on_rec_tb_activate), false);
00588 rec_tb->signal_released().connect(sigc::mem_fun(*this, &main_window_glade::on_rec_tb_released), false);
00589 button9->signal_clicked().connect(sigc::mem_fun(*this, &main_window_glade::on_button9_clicked), false);
00590 button13->signal_clicked().connect(sigc::mem_fun(*this, &main_window_glade::on_button13_clicked), false);
00591 button8->signal_clicked().connect(sigc::mem_fun(*this, &main_window_glade::on_button8_clicked), false);
00592 main_window->signal_button_press_event().connect(sigc::mem_fun(*this, &main_window_glade::on_main_window_button_press_event), false);
00593 main_window->signal_expose_event().connect(sigc::mem_fun(*this, &main_window_glade::on_main_window_expose_event), false);
00594 main_window->signal_motion_notify_event().connect(sigc::mem_fun(*this, &main_window_glade::on_main_window_motion_notify_event), false);
00595 }
00596
00597 main_window_glade::~main_window_glade()
00598 { delete gmm_data;
00599 }