[Jderobot-admin] jderobot-r925 - in trunk/src/components/visualHFSM: . gui
bmenendez en jderobot.org
bmenendez en jderobot.org
Lun Jun 3 18:12:05 CEST 2013
Author: bmenendez
Date: 2013-06-03 18:11:05 +0200 (Mon, 03 Jun 2013)
New Revision: 925
Added:
trunk/src/components/visualHFSM/gui/
trunk/src/components/visualHFSM/gui/EdicionNodo.glade
trunk/src/components/visualHFSM/gui/EdicionTransicion.glade
trunk/src/components/visualHFSM/gui/EdicionTransicion2.glade
trunk/src/components/visualHFSM/gui/Importar.glade
trunk/src/components/visualHFSM/gui/nombre.glade
trunk/src/components/visualHFSM/gui/timer.glade
trunk/src/components/visualHFSM/gui/variables.glade
trunk/src/components/visualHFSM/gui/ventana.glade
Modified:
trunk/src/components/visualHFSM/interfaz.cpp
Log:
[bmenendez] A?\195?\177adidos elementos de la gui que no estaban a?\195?\177adidos.
Added: trunk/src/components/visualHFSM/gui/EdicionNodo.glade
===================================================================
--- trunk/src/components/visualHFSM/gui/EdicionNodo.glade (rev 0)
+++ trunk/src/components/visualHFSM/gui/EdicionNodo.glade 2013-06-03 16:11:05 UTC (rev 925)
@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
+<!--*- mode: xml -*-->
+<glade-interface>
+ <widget class="GtkDialog" id="dialog1">
+ <property name="border_width">5</property>
+ <property name="title" translatable="yes">Inserción Código</property>
+ <property name="window_position">GTK_WIN_POS_CENTER</property>
+ <property name="default_width">640</property>
+ <property name="default_height">480</property>
+ <property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
+ <property name="has_separator">False</property>
+ <child internal-child="vbox">
+ <widget class="GtkVBox" id="dialog-vbox1">
+ <property name="visible">True</property>
+ <property name="spacing">2</property>
+ <child>
+ <widget class="GtkFrame" id="frame1">
+ <property name="visible">True</property>
+ <property name="label_xalign">0</property>
+ <property name="shadow_type">GTK_SHADOW_IN</property>
+ <child>
+ <widget class="GtkAlignment" id="alignment1">
+ <property name="visible">True</property>
+ <property name="bottom_padding">5</property>
+ <property name="left_padding">12</property>
+ <property name="right_padding">12</property>
+ <child>
+ <widget class="GtkEventBox" id="eventbox1">
+ <property name="visible">True</property>
+ <child>
+ <widget class="GtkScrolledWindow" id="scrolledwindow">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+ <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+ <child>
+ <placeholder/>
+ </child>
+ </widget>
+ </child>
+ </widget>
+ </child>
+ </widget>
+ </child>
+ <child>
+ <widget class="GtkLabel" id="label1">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes"><b> Código:</b></property>
+ <property name="use_markup">True</property>
+ </widget>
+ <packing>
+ <property name="type">label_item</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child internal-child="action_area">
+ <widget class="GtkHButtonBox" id="dialog-action_area1">
+ <property name="visible">True</property>
+ <property name="layout_style">GTK_BUTTONBOX_END</property>
+ <child>
+ <widget class="GtkButton" id="cancelar">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="label">gtk-cancel</property>
+ <property name="use_stock">True</property>
+ <property name="response_id">0</property>
+ </widget>
+ </child>
+ <child>
+ <widget class="GtkButton" id="aceptar">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="label">gtk-ok</property>
+ <property name="use_stock">True</property>
+ <property name="response_id">0</property>
+ </widget>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="pack_type">GTK_PACK_END</property>
+ </packing>
+ </child>
+ </widget>
+ </child>
+ </widget>
+</glade-interface>
Property changes on: trunk/src/components/visualHFSM/gui/EdicionNodo.glade
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/src/components/visualHFSM/gui/EdicionTransicion.glade
===================================================================
--- trunk/src/components/visualHFSM/gui/EdicionTransicion.glade (rev 0)
+++ trunk/src/components/visualHFSM/gui/EdicionTransicion.glade 2013-06-03 16:11:05 UTC (rev 925)
@@ -0,0 +1,185 @@
+<?xml version="1.0"?>
+<glade-interface>
+ <!-- interface-requires gtk+ 2.6 -->
+ <!-- interface-naming-policy toplevel-contextual -->
+ <widget class="GtkWindow" id="window1">
+ <property name="window_position">center</property>
+ <property name="gravity">center</property>
+ <child>
+ <widget class="GtkVBox" id="vbox2">
+ <property name="visible">True</property>
+ <property name="border_width">5</property>
+ <child>
+ <widget class="GtkHBox" id="hbox1">
+ <property name="visible">True</property>
+ <child>
+ <widget class="GtkRadioButton" id="rbTexto">
+ <property name="label" translatable="yes">Condicional</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="relief">half</property>
+ <property name="active">True</property>
+ <property name="draw_indicator">True</property>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkRadioButton" id="rbTiempo">
+ <property name="label" translatable="yes">Temporal</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="relief">half</property>
+ <property name="draw_indicator">True</property>
+ <property name="group">rbTexto</property>
+ </widget>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkHSeparator" id="hseparator">
+ <property name="visible">True</property>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkVBox" id="vbox1">
+ <property name="visible">True</property>
+ <child>
+ <widget class="GtkHBox" id="hbox4">
+ <property name="visible">True</property>
+ <child>
+ <widget class="GtkFrame" id="frameN">
+ <property name="label_xalign">0</property>
+ <property name="shadow_type">none</property>
+ <child>
+ <widget class="GtkAlignment" id="alignment1">
+ <property name="visible">True</property>
+ <property name="left_padding">12</property>
+ <child>
+ <widget class="GtkEntry" id="entry1">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ </widget>
+ </child>
+ </widget>
+ </child>
+ <child>
+ <widget class="GtkLabel" id="label">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="label" translatable="yes"><b>Tiempo de Iteracion (ms): </b></property>
+ <property name="use_markup">True</property>
+ </widget>
+ <packing>
+ <property name="type">label_item</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkFrame" id="frameT">
+ <property name="visible">True</property>
+ <property name="label_xalign">0</property>
+ <property name="shadow_type">none</property>
+ <child>
+ <widget class="GtkAlignment" id="alignment2">
+ <property name="visible">True</property>
+ <property name="left_padding">12</property>
+ <child>
+ <widget class="GtkEntry" id="entryCond">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ </widget>
+ </child>
+ </widget>
+ </child>
+ <child>
+ <widget class="GtkLabel" id="label4">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes"><b>Condición: </b></property>
+ <property name="use_markup">True</property>
+ </widget>
+ <packing>
+ <property name="type">label_item</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkHButtonBox" id="hbuttonbox2">
+ <property name="visible">True</property>
+ <property name="spacing">10</property>
+ <property name="homogeneous">True</property>
+ <property name="layout_style">end</property>
+ <child>
+ <widget class="GtkButton" id="cancelar">
+ <property name="label">gtk-cancel</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="can_default">True</property>
+ <property name="receives_default">True</property>
+ <property name="use_stock">True</property>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkButton" id="aceptar">
+ <property name="label">gtk-ok</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="use_stock">True</property>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ </widget>
+ </child>
+ </widget>
+</glade-interface>
Property changes on: trunk/src/components/visualHFSM/gui/EdicionTransicion.glade
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/src/components/visualHFSM/gui/EdicionTransicion2.glade
===================================================================
--- trunk/src/components/visualHFSM/gui/EdicionTransicion2.glade (rev 0)
+++ trunk/src/components/visualHFSM/gui/EdicionTransicion2.glade 2013-06-03 16:11:05 UTC (rev 925)
@@ -0,0 +1,228 @@
+<?xml version="1.0"?>
+<glade-interface>
+ <!-- interface-requires gtk+ 2.6 -->
+ <!-- interface-naming-policy toplevel-contextual -->
+ <widget class="GtkWindow" id="window1">
+ <property name="window_position">center</property>
+ <child>
+ <widget class="GtkVBox" id="vbox2">
+ <property name="visible">True</property>
+ <property name="border_width">5</property>
+ <child>
+ <widget class="GtkHBox" id="hbox1">
+ <property name="visible">True</property>
+ <child>
+ <widget class="GtkRadioButton" id="rbTexto">
+ <property name="label" translatable="yes">Texto</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="relief">half</property>
+ <property name="active">True</property>
+ <property name="draw_indicator">True</property>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkRadioButton" id="rbTiempo">
+ <property name="label" translatable="yes">Tiempo</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="relief">half</property>
+ <property name="draw_indicator">True</property>
+ <property name="group">rbTexto</property>
+ </widget>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkHSeparator" id="hseparator">
+ <property name="visible">True</property>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkVBox" id="vbox1">
+ <property name="visible">True</property>
+ <child>
+ <widget class="GtkHBox" id="hbox4">
+ <property name="visible">True</property>
+ <child>
+ <widget class="GtkFrame" id="frameN">
+ <property name="label_xalign">0</property>
+ <property name="shadow_type">none</property>
+ <child>
+ <widget class="GtkAlignment" id="alignment1">
+ <property name="visible">True</property>
+ <property name="left_padding">12</property>
+ <child>
+ <widget class="GtkEntry" id="entry1">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ </widget>
+ </child>
+ </widget>
+ </child>
+ <child>
+ <widget class="GtkLabel" id="label">
+ <property name="width_request">0</property>
+ <property name="height_request">0</property>
+ <property name="visible">True</property>
+ <property name="label" translatable="yes"><b>Tiempo de Iteracion: </b></property>
+ <property name="use_markup">True</property>
+ </widget>
+ <packing>
+ <property name="type">label_item</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkVBox" id="vbox3">
+ <property name="visible">True</property>
+ <child>
+ <widget class="GtkFrame" id="frameT">
+ <property name="visible">True</property>
+ <property name="label_xalign">0</property>
+ <property name="shadow_type">out</property>
+ <child>
+ <widget class="GtkScrolledWindow" id="scrolledwindow">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="hscrollbar_policy">automatic</property>
+ <property name="vscrollbar_policy">automatic</property>
+ <child>
+ <placeholder/>
+ </child>
+ </widget>
+ </child>
+ <child>
+ <widget class="GtkLabel" id="label4">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes"><b>Percepción: </b></property>
+ <property name="use_markup">True</property>
+ </widget>
+ <packing>
+ <property name="type">label_item</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkFrame" id="frameC">
+ <property name="visible">True</property>
+ <property name="label_xalign">0</property>
+ <property name="shadow_type">out</property>
+ <child>
+ <widget class="GtkScrolledWindow" id="scrolledwindow1">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="hscrollbar_policy">automatic</property>
+ <property name="vscrollbar_policy">automatic</property>
+ <child>
+ <widget class="GtkEntry" id="entry2">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="invisible_char">●</property>
+ </widget>
+ </child>
+ </widget>
+ </child>
+ <child>
+ <widget class="GtkLabel" id="label1">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes"><b>Condición: </b></property>
+ <property name="use_markup">True</property>
+ </widget>
+ <packing>
+ <property name="type">label_item</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkHButtonBox" id="hbuttonbox2">
+ <property name="visible">True</property>
+ <property name="spacing">10</property>
+ <property name="homogeneous">True</property>
+ <property name="layout_style">end</property>
+ <child>
+ <widget class="GtkButton" id="cancelar">
+ <property name="label">gtk-cancel</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="can_default">True</property>
+ <property name="receives_default">True</property>
+ <property name="use_stock">True</property>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkButton" id="aceptar">
+ <property name="label">gtk-ok</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="use_stock">True</property>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ </widget>
+ </child>
+ </widget>
+</glade-interface>
Property changes on: trunk/src/components/visualHFSM/gui/EdicionTransicion2.glade
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/src/components/visualHFSM/gui/Importar.glade
===================================================================
--- trunk/src/components/visualHFSM/gui/Importar.glade (rev 0)
+++ trunk/src/components/visualHFSM/gui/Importar.glade 2013-06-03 16:11:05 UTC (rev 925)
@@ -0,0 +1,364 @@
+<?xml version="1.0"?>
+<glade-interface>
+ <!-- interface-requires gtk+ 2.6 -->
+ <!-- interface-naming-policy toplevel-contextual -->
+ <widget class="GtkWindow" id="window1">
+ <property name="visible">True</property>
+ <property name="border_width">5</property>
+ <property name="resizable">False</property>
+ <property name="window_position">center</property>
+ <property name="type_hint">dialog</property>
+ <child>
+ <widget class="GtkVBox" id="vbox1">
+ <property name="visible">True</property>
+ <property name="spacing">2</property>
+ <child>
+ <widget class="GtkFrame" id="Sensores">
+ <property name="visible">True</property>
+ <property name="label_xalign">0</property>
+ <property name="shadow_type">out</property>
+ <child>
+ <widget class="GtkAlignment" id="alignment6">
+ <property name="visible">True</property>
+ <property name="left_padding">12</property>
+ <child>
+ <widget class="GtkVBox" id="vbox5">
+ <property name="visible">True</property>
+ <child>
+ <widget class="GtkCheckButton" id="cbLaser">
+ <property name="label" translatable="yes">Laser</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="draw_indicator">True</property>
+ </widget>
+ <packing>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkCheckButton" id="cbRadar">
+ <property name="label" translatable="yes">Sonar</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="draw_indicator">True</property>
+ </widget>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkCheckButton" id="cbCamara">
+ <property name="label" translatable="yes">Camara (varColorA, VarColorB)</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="draw_indicator">True</property>
+ </widget>
+ <packing>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkCheckButton" id="cbEncoders">
+ <property name="label" translatable="yes">Encoders</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="draw_indicator">True</property>
+ </widget>
+ <packing>
+ <property name="position">3</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkCheckButton" id="cbPtencoders">
+ <property name="label" translatable="yes">Ptencoders</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="draw_indicator">True</property>
+ </widget>
+ <packing>
+ <property name="position">4</property>
+ </packing>
+ </child>
+ </widget>
+ </child>
+ </widget>
+ </child>
+ <child>
+ <widget class="GtkLabel" id="label6">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes"><b>Sensores</b></property>
+ <property name="use_markup">True</property>
+ </widget>
+ <packing>
+ <property name="type">label_item</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkFrame" id="Actuadores">
+ <property name="visible">True</property>
+ <property name="label_xalign">0</property>
+ <property name="shadow_type">out</property>
+ <child>
+ <widget class="GtkAlignment" id="alignment3">
+ <property name="visible">True</property>
+ <property name="left_padding">12</property>
+ <child>
+ <widget class="GtkVBox" id="vbox3">
+ <property name="visible">True</property>
+ <child>
+ <widget class="GtkCheckButton" id="cbMotor">
+ <property name="label" translatable="yes">Motor</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="draw_indicator">True</property>
+ </widget>
+ <packing>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkCheckButton" id="cbLat_lon">
+ <property name="label" translatable="yes">Ptmotor (Latitud, longitud)</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="draw_indicator">True</property>
+ </widget>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </widget>
+ </child>
+ </widget>
+ </child>
+ <child>
+ <widget class="GtkLabel" id="label3">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes"><b>Actuadores</b></property>
+ <property name="use_markup">True</property>
+ </widget>
+ <packing>
+ <property name="type">label_item</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkHButtonBox" id="hbuttonbox1">
+ <property name="visible">True</property>
+ <property name="spacing">10</property>
+ <property name="layout_style">end</property>
+ <child>
+ <widget class="GtkButton" id="cancelar">
+ <property name="label">gtk-cancel</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="use_stock">True</property>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkButton" id="aceptar">
+ <property name="label">gtk-ok</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="use_stock">True</property>
+ <accelerator key="KP_Enter" signal="clicked"/>
+ <accelerator key="Return" signal="clicked"/>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ </widget>
+ </child>
+ </widget>
+ <widget class="GtkWindow" id="window2">
+ <child>
+ <widget class="GtkFrame" id="frame2">
+ <property name="visible">True</property>
+ <property name="label_xalign">0</property>
+ <property name="shadow_type">none</property>
+ <child>
+ <widget class="GtkAlignment" id="alignment2">
+ <property name="visible">True</property>
+ <property name="left_padding">12</property>
+ <child>
+ <widget class="GtkVBox" id="vbox2">
+ <property name="visible">True</property>
+ <child>
+ <widget class="GtkVBox" id="vbox4">
+ <property name="visible">True</property>
+ <child>
+ <widget class="GtkCheckButton" id="cbLaser1">
+ <property name="label" translatable="yes">Laser</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="draw_indicator">True</property>
+ </widget>
+ <packing>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkCheckButton" id="cbMotor1">
+ <property name="label" translatable="yes">Motor</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="draw_indicator">True</property>
+ </widget>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkCheckButton" id="cbRadar1">
+ <property name="label" translatable="yes">Radar</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="draw_indicator">True</property>
+ </widget>
+ <packing>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkCheckButton" id="cbEncoders1">
+ <property name="label" translatable="yes">Encoders</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="draw_indicator">True</property>
+ </widget>
+ <packing>
+ <property name="position">3</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkCheckButton" id="cbLat_lon1">
+ <property name="label" translatable="yes">Latitud, longitud</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="draw_indicator">True</property>
+ </widget>
+ <packing>
+ <property name="position">4</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkCheckButton" id="cbCamara1">
+ <property name="label" translatable="yes">Camara (varColorA, VarColorB)</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="draw_indicator">True</property>
+ </widget>
+ <packing>
+ <property name="position">5</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkCheckButton" id="cbPtencoders1">
+ <property name="label" translatable="yes">Ptencoders</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="draw_indicator">True</property>
+ </widget>
+ <packing>
+ <property name="position">6</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkHButtonBox" id="hbuttonbox2">
+ <property name="visible">True</property>
+ <property name="spacing">10</property>
+ <property name="layout_style">end</property>
+ <child>
+ <widget class="GtkButton" id="aceptar1">
+ <property name="label">gtk-ok</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="use_stock">True</property>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkButton" id="cancelar1">
+ <property name="label">gtk-cancel</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="use_stock">True</property>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </widget>
+ </child>
+ </widget>
+ </child>
+ <child>
+ <widget class="GtkLabel" id="label2">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes"><b>Importar:</b></property>
+ <property name="use_markup">True</property>
+ </widget>
+ <packing>
+ <property name="type">label_item</property>
+ </packing>
+ </child>
+ </widget>
+ </child>
+ </widget>
+</glade-interface>
Property changes on: trunk/src/components/visualHFSM/gui/Importar.glade
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/src/components/visualHFSM/gui/nombre.glade
===================================================================
--- trunk/src/components/visualHFSM/gui/nombre.glade (rev 0)
+++ trunk/src/components/visualHFSM/gui/nombre.glade 2013-06-03 16:11:05 UTC (rev 925)
@@ -0,0 +1,91 @@
+<?xml version="1.0"?>
+<glade-interface>
+ <!-- interface-requires gtk+ 2.6 -->
+ <!-- interface-naming-policy toplevel-contextual -->
+ <widget class="GtkDialog" id="nombre">
+ <property name="border_width">5</property>
+ <property name="window_position">center</property>
+ <property name="type_hint">tooltip</property>
+ <property name="has_separator">False</property>
+ <signal name="delete_event" handler="gtk_widget_destroy"/>
+ <child internal-child="vbox">
+ <widget class="GtkVBox" id="dialog-vbox1">
+ <property name="visible">True</property>
+ <property name="spacing">2</property>
+ <child>
+ <widget class="GtkFrame" id="frame1">
+ <property name="visible">True</property>
+ <property name="label_xalign">0</property>
+ <property name="shadow_type">none</property>
+ <child>
+ <widget class="GtkAlignment" id="alignment1">
+ <property name="visible">True</property>
+ <property name="left_padding">12</property>
+ <child>
+ <widget class="GtkEntry" id="entry1">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ </widget>
+ </child>
+ </widget>
+ </child>
+ <child>
+ <widget class="GtkLabel" id="label1">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes"><b>Nombre:</b></property>
+ <property name="use_markup">True</property>
+ </widget>
+ <packing>
+ <property name="type">label_item</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child internal-child="action_area">
+ <widget class="GtkHButtonBox" id="dialog-action_area1">
+ <property name="visible">True</property>
+ <property name="layout_style">end</property>
+ <child>
+ <widget class="GtkButton" id="BotonCancelar">
+ <property name="label">gtk-cancel</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="use_stock">True</property>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkButton" id="BotonAplicar">
+ <property name="label">gtk-apply</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="use_stock">True</property>
+ <accelerator key="KP_Enter" signal="clicked"/>
+ <accelerator key="Return" signal="clicked"/>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="pack_type">end</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ </widget>
+ </child>
+ </widget>
+</glade-interface>
Property changes on: trunk/src/components/visualHFSM/gui/nombre.glade
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/src/components/visualHFSM/gui/timer.glade
===================================================================
--- trunk/src/components/visualHFSM/gui/timer.glade (rev 0)
+++ trunk/src/components/visualHFSM/gui/timer.glade 2013-06-03 16:11:05 UTC (rev 925)
@@ -0,0 +1,94 @@
+<?xml version="1.0"?>
+<glade-interface>
+ <!-- interface-requires gtk+ 2.6 -->
+ <!-- interface-naming-policy toplevel-contextual -->
+ <widget class="GtkDialog" id="timer">
+ <property name="width_request">350</property>
+ <property name="border_width">5</property>
+ <property name="window_position">center-on-parent</property>
+ <property name="type_hint">dialog</property>
+ <property name="has_separator">False</property>
+ <child internal-child="vbox">
+ <widget class="GtkVBox" id="dialog-vbox1">
+ <property name="visible">True</property>
+ <property name="spacing">2</property>
+ <child>
+ <widget class="GtkFrame" id="frame1">
+ <property name="visible">True</property>
+ <property name="label_xalign">0</property>
+ <property name="shadow_type">none</property>
+ <child>
+ <widget class="GtkAlignment" id="alignment1">
+ <property name="visible">True</property>
+ <property name="left_padding">12</property>
+ <child>
+ <widget class="GtkEntry" id="entry1">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="max_length">50</property>
+ <property name="text" translatable="yes">100 </property>
+ </widget>
+ </child>
+ </widget>
+ </child>
+ <child>
+ <widget class="GtkLabel" id="label1">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes"><b>Tiempo en milisegundos: </b></property>
+ <property name="use_markup">True</property>
+ <property name="use_underline">True</property>
+ </widget>
+ <packing>
+ <property name="type">label_item</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child internal-child="action_area">
+ <widget class="GtkHButtonBox" id="dialog-action_area1">
+ <property name="visible">True</property>
+ <property name="layout_style">end</property>
+ <child>
+ <widget class="GtkButton" id="BotonCancelar">
+ <property name="label">gtk-cancel</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="use_stock">True</property>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkButton" id="BotonAplicar">
+ <property name="label">gtk-apply</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="use_stock">True</property>
+ <accelerator key="Return" signal="clicked"/>
+ <accelerator key="KP_Enter" signal="clicked"/>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="pack_type">end</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ </widget>
+ </child>
+ </widget>
+</glade-interface>
Property changes on: trunk/src/components/visualHFSM/gui/timer.glade
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/src/components/visualHFSM/gui/variables.glade
===================================================================
--- trunk/src/components/visualHFSM/gui/variables.glade (rev 0)
+++ trunk/src/components/visualHFSM/gui/variables.glade 2013-06-03 16:11:05 UTC (rev 925)
@@ -0,0 +1,222 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE glade-interface SYSTEM "glade-2.0.dtd">
+<!--*- mode: xml -*-->
+<glade-interface>
+ <widget class="GtkDialog" id="dialog1">
+ <property name="border_width">5</property>
+ <property name="title" translatable="yes">Inserción Código</property>
+ <property name="default_width">640</property>
+ <property name="default_height">480</property>
+ <property name="type_hint">GDK_WINDOW_TYPE_HINT_NORMAL</property>
+ <property name="has_separator">False</property>
+ <child internal-child="vbox">
+ <widget class="GtkVBox" id="dialog-vbox1">
+ <property name="visible">True</property>
+ <property name="spacing">2</property>
+ <child>
+ <widget class="GtkNotebook" id="notebook1">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="homogeneous">True</property>
+ <child>
+ <widget class="GtkAlignment" id="alignment1">
+ <property name="visible">True</property>
+ <property name="bottom_padding">5</property>
+ <property name="left_padding">5</property>
+ <property name="right_padding">5</property>
+ <child>
+ <widget class="GtkFrame" id="frameV">
+ <property name="visible">True</property>
+ <property name="label_xalign">0.05000000074505806</property>
+ <property name="shadow_type">GTK_SHADOW_IN</property>
+ <child>
+ <widget class="GtkAlignment" id="alignment2">
+ <property name="visible">True</property>
+ <property name="bottom_padding">5</property>
+ <property name="left_padding">12</property>
+ <property name="right_padding">12</property>
+ <child>
+ <widget class="GtkScrolledWindow" id="scrolledwindowV">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+ <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+ <child>
+ <placeholder/>
+ </child>
+ </widget>
+ </child>
+ </widget>
+ </child>
+ <child>
+ <widget class="GtkLabel" id="label5">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes"><b>Variables:</b></property>
+ <property name="use_markup">True</property>
+ </widget>
+ <packing>
+ <property name="type">label_item</property>
+ </packing>
+ </child>
+ </widget>
+ </child>
+ </widget>
+ </child>
+ <child>
+ <widget class="GtkLabel" id="label3">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Variables</property>
+ </widget>
+ <packing>
+ <property name="type">tab</property>
+ <property name="tab_expand">True</property>
+ <property name="tab_fill">False</property>
+ <property name="reorderable">True</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkAlignment" id="alignment3">
+ <property name="visible">True</property>
+ <property name="bottom_padding">5</property>
+ <property name="left_padding">5</property>
+ <property name="right_padding">5</property>
+ <child>
+ <widget class="GtkFrame" id="frameF">
+ <property name="visible">True</property>
+ <property name="label_xalign">0.05000000074505806</property>
+ <property name="shadow_type">GTK_SHADOW_IN</property>
+ <child>
+ <widget class="GtkAlignment" id="alignment4">
+ <property name="visible">True</property>
+ <property name="bottom_padding">5</property>
+ <property name="left_padding">12</property>
+ <property name="right_padding">12</property>
+ <child>
+ <widget class="GtkScrolledWindow" id="scrolledwindowF">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+ <property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
+ <child>
+ <placeholder/>
+ </child>
+ </widget>
+ </child>
+ </widget>
+ </child>
+ <child>
+ <widget class="GtkLabel" id="label6">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes"><b>Funciones:</b></property>
+ <property name="use_markup">True</property>
+ </widget>
+ <packing>
+ <property name="type">label_item</property>
+ </packing>
+ </child>
+ </widget>
+ </child>
+ </widget>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkLabel" id="label4">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Funciones</property>
+ </widget>
+ <packing>
+ <property name="type">tab</property>
+ <property name="position">1</property>
+ <property name="tab_expand">True</property>
+ <property name="tab_fill">False</property>
+ <property name="reorderable">True</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child internal-child="action_area">
+ <widget class="GtkHButtonBox" id="dialog-action_area1">
+ <property name="visible">True</property>
+ <property name="layout_style">GTK_BUTTONBOX_END</property>
+ <child>
+ <widget class="GtkButton" id="cancelar">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="label">gtk-cancel</property>
+ <property name="use_stock">True</property>
+ <property name="response_id">0</property>
+ <signal name="clicked" handler="gtk_widget_destroy" object="dialog1"/>
+ </widget>
+ </child>
+ <child>
+ <widget class="GtkButton" id="aceptar">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="label">gtk-ok</property>
+ <property name="use_stock">True</property>
+ <property name="response_id">0</property>
+ <signal name="destroy" handler="gtk_widget_destroy" object="dialog1"/>
+ </widget>
+ <packing>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="pack_type">GTK_PACK_END</property>
+ </packing>
+ </child>
+ </widget>
+ </child>
+ </widget>
+ <widget class="GtkWindow" id="window1">
+ <child>
+ <widget class="GtkNotebook" id="notebook">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="show_border">False</property>
+ <property name="scrollable">True</property>
+ <property name="tab_hborder">1</property>
+ <property name="tab_vborder">1</property>
+ <property name="enable_popup">True</property>
+ <property name="homogeneous">True</property>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <widget class="GtkLabel" id="label1">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Variables</property>
+ </widget>
+ <packing>
+ <property name="type">tab</property>
+ <property name="tab_fill">False</property>
+ <property name="reorderable">True</property>
+ </packing>
+ </child>
+ <child>
+ <placeholder/>
+ </child>
+ <child>
+ <widget class="GtkLabel" id="label2">
+ <property name="visible">True</property>
+ <property name="label" translatable="yes">Funciones</property>
+ <property name="wrap">True</property>
+ </widget>
+ <packing>
+ <property name="type">tab</property>
+ <property name="position">1</property>
+ <property name="tab_fill">False</property>
+ <property name="reorderable">True</property>
+ </packing>
+ </child>
+ </widget>
+ </child>
+ </widget>
+</glade-interface>
Property changes on: trunk/src/components/visualHFSM/gui/variables.glade
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/src/components/visualHFSM/gui/ventana.glade
===================================================================
--- trunk/src/components/visualHFSM/gui/ventana.glade (rev 0)
+++ trunk/src/components/visualHFSM/gui/ventana.glade 2013-06-03 16:11:05 UTC (rev 925)
@@ -0,0 +1,110 @@
+<?xml version="1.0"?>
+<glade-interface>
+ <requires lib="canvas"/>
+ <!-- interface-requires canvas 2151.7112 -->
+ <!-- interface-requires gtk+ 2.6 -->
+ <!-- interface-naming-policy toplevel-contextual -->
+ <widget class="GtkWindow" id="window1">
+ <property name="width_request">640</property>
+ <property name="height_request">480</property>
+ <property name="visible">True</property>
+ <property name="title" translatable="yes">Visualizador Estados</property>
+ <property name="window_position">center</property>
+ <child>
+ <widget class="GtkHBox" id="hbox1">
+ <property name="visible">True</property>
+ <property name="border_width">10</property>
+ <property name="spacing">20</property>
+ <child>
+ <widget class="GtkFrame" id="frame1">
+ <property name="visible">True</property>
+ <property name="label_xalign">0</property>
+ <property name="label_yalign">0.69999998807907104</property>
+ <property name="shadow_type">in</property>
+ <child>
+ <widget class="GtkAlignment" id="alignment1">
+ <property name="visible">True</property>
+ <child>
+ <widget class="GtkEventBox" id="eventbox1">
+ <property name="visible">True</property>
+ <child>
+ <widget class="GtkScrolledWindow" id="scrolledwindow1">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <child>
+ <widget class="GnomeCanvas" id="canvas1">
+ <property name="width_request">1000</property>
+ <property name="height_request">1000</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="width">1000000</property>
+ <property name="height">1000000</property>
+ <property name="aa">True</property>
+ <property name="pixels_per_unit">1</property>
+ </widget>
+ </child>
+ </widget>
+ </child>
+ </widget>
+ </child>
+ </widget>
+ </child>
+ <child>
+ <widget class="GtkLabel" id="label1">
+ <property name="visible">True</property>
+ <property name="use_markup">True</property>
+ </widget>
+ <packing>
+ <property name="type">label_item</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkVButtonBox" id="vbuttonbox1">
+ <property name="visible">True</property>
+ <property name="spacing">33</property>
+ <property name="homogeneous">True</property>
+ <property name="layout_style">start</property>
+ <child>
+ <widget class="GtkToggleButton" id="togglebutton1">
+ <property name="label" translatable="yes">Show</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <signal name="toggled" handler="gtk_widget_show" object="window1"/>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <widget class="GtkToggleButton" id="togglebutton2">
+ <property name="label" translatable="yes">Hide</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <signal name="toggled" handler="gtk_widget_hide" object="window1"/>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </widget>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </widget>
+ </child>
+ </widget>
+</glade-interface>
Property changes on: trunk/src/components/visualHFSM/gui/ventana.glade
___________________________________________________________________
Added: svn:executable
+ *
Modified: trunk/src/components/visualHFSM/interfaz.cpp
===================================================================
--- trunk/src/components/visualHFSM/interfaz.cpp 2013-05-31 15:56:29 UTC (rev 924)
+++ trunk/src/components/visualHFSM/interfaz.cpp 2013-06-03 16:11:05 UTC (rev 925)
@@ -179,6 +179,8 @@
if (gtk_dialog_run (GTK_DIALOG (dialog)) == GTK_RESPONSE_ACCEPT)
gtk_widget_destroy (dialog);
+
+ cout << "cuadro_informacion" << endl;
}
@@ -206,6 +208,8 @@
}
}
}
+
+ cout << "compilar" << endl;
}
void
@@ -238,6 +242,8 @@
}
}
+
+ cout << "generar_c" << endl;
}
void
@@ -266,6 +272,8 @@
ListaElementos.erase(pos);
ListaElementos.push_front (n);
+
+ cout << "marcar_estado_inicial" << endl;
}
void cargar_transiciones ()
@@ -338,7 +346,8 @@
pos++;
}
-
+
+ cout << "cargar_transiciones" << endl;
}
@@ -356,6 +365,8 @@
add_ventana (ventana, NULL, TIMER);
}
+ cout << "ventana_timer" << endl;
+
return TRUE;
}
@@ -374,6 +385,8 @@
add_ventana (ventana, NULL, LIBRERIAS);
}
+ cout << "ventana_importar" << endl;
+
return TRUE;
}
@@ -393,6 +406,8 @@
add_ventana (ventana, NULL, CODIGO);
}
+ cout << "codigo_esquema" << endl;
+
return TRUE;
}
@@ -425,6 +440,8 @@
gtk_container_add (GTK_CONTAINER(window2), label);
gtk_widget_show_all(window2);
+
+ cout << "new_windows" << endl;
}
@@ -471,6 +488,8 @@
button = gtk_button_new_from_stock (GTK_STOCK_HELP);
gtk_signal_connect(GTK_OBJECT(button), "button_release_event", GTK_SIGNAL_FUNC(new_windows), text);
+
+ cout << "create_bbox" << endl;
return frame;
}
@@ -486,6 +505,8 @@
sprintf(buf, "%d, %d", x, y);
printf("Mover %d, %d\n", x, y);
gtk_window_set_title(window, buf);
+
+ cout << "frame_callback" << endl;
}
void guardar(GtkWindow *windows, gpointer data)
@@ -497,6 +518,8 @@
cout << directorio << endl;
cout << (int)data << endl;
+
+ cout << "guardar" << endl;
if ( (((int)data ==0) && (directorio == "")) || ((int)data == 1) ){
dialog = gtk_file_chooser_dialog_new ("Save File", NULL,
@@ -615,11 +638,15 @@
void remarcar_boton (GtkFileChooser *window, gpointer data)
{
gtk_widget_grab_focus ((GtkWidget *)data);
+
+ cout << "remarcar_boton" << endl;
}
void borrar_canvas ()
{
+ cout << "borrar_canvas" << endl;
+
list<tTransicion>::iterator posTransiciones;
posTransiciones = ListaTransiciones.begin();
@@ -652,6 +679,7 @@
void cargar(GtkWindow *windows, gpointer data)
{
+ cout << "cargar" << endl;
xmlDocPtr doc;
xmlNodePtr root;
@@ -902,6 +930,7 @@
void mostrar_subautomata(int pidSub)
{
+ cout << "mostrar_subautomata" << endl;
list<tSubAut>::iterator posSub;
@@ -965,6 +994,7 @@
void ocultar_subautomata(int pidSub)
{
+ cout << "ocultar_subautomata" << endl;
list<tSubAut>::iterator posSub;
@@ -1022,7 +1052,7 @@
void coordenadas(GtkWindow *window, GdkEvent *event, gpointer data)
{
-
+ cout << "coordenadas" << endl;
origenX = event->button.x;
origenY = event->button.y;
printf("Click Press %d, %d\n", origenX, origenY);
@@ -1040,6 +1070,8 @@
{
int x, y;
+ cout << "pinta_nodo" << endl;
+
GnomeCanvasItem *item;
GnomeCanvasGroup *group;
@@ -1117,6 +1149,8 @@
static gint nodo(GtkWindow *window, GdkEventMotion *event, gpointer data)
{
int x, y;
+
+ cout << "nodo" << endl;
x = event->x;
y = event->y;
@@ -1153,6 +1187,8 @@
static gint motion_notify_event(GtkWindow *window, GdkEventMotion *event, gpointer data)
{
int x, y;
+
+ cout << "motion_notify_event" << endl;
x = event->x;
y = event->y;
@@ -1165,6 +1201,8 @@
void transicion(GtkWindow *window, GdkEventMotion *event, gpointer data)
{
item_transicion_saved = NULL;
+
+ cout << "transicion" << endl;
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON(botonEstado),FALSE);
@@ -1185,6 +1223,8 @@
void mover(GtkWindow *window, GdkEventMotion *event, gpointer data)
{
botonPulsado = "Mover";
+
+ cout << "mover" << endl;
}
void eliminar(GtkWindow *window, GdkEventMotion *event, gpointer data)
@@ -1195,16 +1235,22 @@
void copiar(GtkWindow *window, GdkEventMotion *event, gpointer data)
{
botonPulsado = "Copiar";
+
+ cout << "copiar" << endl;
}
void editar(GtkWindow *window, GdkEventMotion *event, gpointer data)
{
botonPulsado = "Editar";
+
+ cout << "editar" << endl;
}
void nombrar(GtkWindow *window, GdkEventMotion *event, gpointer data)
{
botonPulsado = "Nombrar";
+
+ cout << "nombrar" << endl;
}
void set_zoom (GtkWidget *window, GdkEvent *event, gpointer data){
@@ -1222,6 +1268,8 @@
zoom = 1.0;
gnome_canvas_set_pixels_per_unit ((GnomeCanvas*)canvas, zoom);
+
+ cout << "set_zoom" << endl;
}
@@ -1353,7 +1401,7 @@
void actualizar_tree_view()
{
-
+ cout << "actualizar_tree_view" << endl;
list<tSubAut>::iterator posNodoSub;
//Guardamos los datos del nivel en el que estamos
@@ -1378,6 +1426,7 @@
void rellenar_arbol_recursivo(GtkTreeStore *treestore, GtkTreeIter toplevel, int idSubautomata)
{
+ cout << "rellenar_arbol_recursivo" << endl;
GtkTreeIter child;
list<tSubAut>::iterator posNodoSub;
list<tNodo>::iterator posEst;
@@ -1433,6 +1482,7 @@
static GtkTreeModel *
create_and_fill_model (void)
{
+ cout << "create_and_fill_model" << endl;
GtkTreeStore *treestore;
GtkTreeIter toplevel;
@@ -1494,6 +1544,8 @@
GtkTreePath *path,
GtkTreeViewColumn *col,
gpointer userdata){
+
+ cout << "treeview_onRowActivated" << endl;
list<tSubAut>::iterator posSub;
@@ -1694,6 +1746,7 @@
static GtkWidget *
create_view_and_model (void)
{
+ cout << "create_view_and_model" << endl;
GtkTreeViewColumn *col;
GtkCellRenderer *renderer;
GtkWidget *view;
@@ -1720,6 +1773,7 @@
}
void borrar_subautomata_recursivo(int sub_a_borrar){
+ cout << "borrar_subautomata_recursivo" << endl;
list<tSubAut>::iterator posNodoSub;
list<tNodo>::iterator posEst;
@@ -2096,6 +2150,7 @@
void desconectarLinea (GnomeCanvasItem *transicion, GnomeCanvasItem *estado)
{
+ cout << "desconectarLinea" << endl;
list<tNodo>::iterator pos;
list<GnomeCanvasItem *>::iterator pos2;
@@ -2122,6 +2177,7 @@
void eliminarLinea (GnomeCanvasItem *item, gpointer data)
{
+ cout << "eliminarLinea" << endl;
if ((botonPulsado == "Eliminar") || (botonPulsado == "Mover")) {
list<tTransicion>::iterator pos;
@@ -2157,6 +2213,7 @@
void
change_item_width (gpointer data, gpointer user_data)
{
+ cout << "change_item_width" << endl;
gnome_canvas_item_set (GNOME_CANVAS_ITEM (data),
"width_units", (double)(int)user_data,
NULL);
@@ -2165,6 +2222,7 @@
static gint
item_event_linea (GnomeCanvasItem *item, GdkEvent *event, gpointer data)
{
+ cout << "item_event_linea" << endl;
GList * list_items;
switch (event->type) {
@@ -2214,6 +2272,7 @@
gint
highlight_box (GnomeCanvasItem *item, GdkEvent *event, gpointer data)
{
+ cout << "highlight_box" << endl;
GdkCursor *fleur;
static double x, y; /* used to keep track of motion coordinates */
double new_x, new_y;
@@ -2400,6 +2459,7 @@
gint
highlight_box_edit (GnomeCanvasItem *item, GdkEvent *event, gpointer data)
{
+ cout << "hightlight_box_edit" << endl;
static double x, y; /* used to keep track of motion coordinates */
list<tTransicion>::iterator posLinea;
GnomeCanvasGroup *group_parent;
@@ -2497,7 +2557,7 @@
static gint
box_event (GnomeCanvasItem *item, GdkEvent *event, gpointer data)
{
-
+ cout << "box_event" << endl;
if ((event->type != GDK_MOTION_NOTIFY) || !(event->motion.state & GDK_BUTTON1_MASK))
return FALSE;
@@ -2507,6 +2567,7 @@
void
create_drag_box (GnomeCanvasGroup *group, char *box_name, double x1, double y1, GCallback callback)
{
+ cout << "create_drag_box" << endl;
GnomeCanvasItem *box;
box = gnome_canvas_item_new (group,
@@ -2535,7 +2596,7 @@
GnomeCanvasItem *
pinta_transicion (GnomeCanvasItem *origen, GnomeCanvasItem *destino)
{
-
+ cout << "pinta_transicion" << endl;
GnomeCanvasPoints *pointsPoligono = gnome_canvas_points_new (2);
GnomeCanvasGroup *group;
GnomeCanvasItem *item1, *item2;
@@ -2687,6 +2748,7 @@
gint
item_event (GnomeCanvasItem *item_group, GdkEvent *event, gpointer data)
{
+ cout << "item_event" << endl;
//static double x, y; /* used to keep track of motion coordinates */
//double new_x, new_y;
@@ -3243,6 +3305,8 @@
void on_menu_estado_nombrar(){
+ cout << "on_menu_estado_nombrar" << endl;
+
GtkWidget *ventana;
change_item_color (item_menu_estado,0);
@@ -3265,6 +3329,8 @@
void
on_menu_estado_editar(){
+ cout << "on_menu_estado_editar" << endl;
+
GtkWidget *ventana;
change_item_color (item_menu_estado,0);
@@ -3282,6 +3348,7 @@
void
on_menu_estado_marcar_inicial(){
+ cout << "on_menu_estado_marcar_inicial" << endl;
marcar_estado_inicial (item_menu_estado);
@@ -3290,6 +3357,8 @@
void
on_menu_estado_copiar(){
+cout << "on_menu_estado_copiar" << endl;
+
list<tNodo>::iterator posNodo;
posNodo = ListaElementos.begin();
@@ -3305,6 +3374,8 @@
void
on_menu_estado_eliminar(){
+
+ cout << "on_menu_estado_eliminar" << endl;
list<tNodo>::iterator posNodo;
list<GnomeCanvasItem *>::iterator posAdy;
@@ -3363,6 +3434,8 @@
void
on_menu_transicion_nombrar(){
+ cout << "on_menu_estado_nombrar" << endl;
+
GtkWidget *ventana;
change_item_color (item_menu_transicion,0);
@@ -3381,6 +3454,7 @@
void
on_menu_transicion_editar(){
+ cout << "on_menu_transicion_editar" << endl;
GtkWidget *ventana;
@@ -3401,6 +3475,8 @@
void
on_menu_transicion_eliminar(){
+ cout << "on_menu_transicion_eliminar" << endl;
+
GnomeCanvasGroup *group_parent;
group_parent = GNOME_CANVAS_GROUP(item_menu_transicion->parent);
@@ -3417,6 +3493,8 @@
void
reemplazar_nodo_subautomata(int idSub, GnomeCanvasItem *item_buscar, GnomeCanvasItem* item_nuevo){
+ cout << "reemplazar_nodo_subautomata" << endl;
+
list<tSubAut>::iterator posNodoSub;
list<tNodo>::iterator posNodo;
list<tTransicion>::iterator posTrans;
@@ -3461,6 +3539,7 @@
void
reemplazar_nombre_nodo_subautomata(int idSub, GnomeCanvasItem* nombre_buscar, GnomeCanvasItem* nombre_nuevo){
+ cout << "reemplazar_nombre_nodo_subautomata" << endl;
list<tSubAut>::iterator posNodoSub;
list<tNodo>::iterator posNodo;
@@ -3487,6 +3566,7 @@
void
reemplazar_estado_inicial_subautomata(int idSub, GnomeCanvasItem* inicial_buscar, GnomeCanvasItem* inicial_nuevo){
+ cout << "reemplazar_estado_inicial_subautomata" << endl;
list<tSubAut>::iterator posNodoSub;
list<tNodo>::iterator posNodo;
@@ -3513,6 +3593,7 @@
void
reemplazar_transicion_subautomata(int idSub, GnomeCanvasItem* trans_buscar, GnomeCanvasItem* trans_nueva){
+ cout << "reemplazar_transicion_subautomata" << endl;
list<tSubAut>::iterator posNodoSub;
list<tNodo>::iterator posNodo;
@@ -3559,6 +3640,7 @@
void
reemplazar_nombre_trans_subautomata(int idSub, GnomeCanvasItem* nombre_buscar, GnomeCanvasItem* nombre_nuevo){
+ cout << "reemplazar_nombre_trans_subautomata" << endl;
list<tSubAut>::iterator posNodoSub;
list<tTransicion>::iterator posTrans;
@@ -3587,6 +3669,7 @@
void pegado_recursivo(int sub_a_copiar, int sub_padre){
+ cout << "pegado_recursivo" << endl;
tSubAut nuevo_sub;
list<tSubAut>::iterator posNodoSub;
@@ -3823,6 +3906,8 @@
void
on_menu_pegar(){
+ cout << "on_menu_pegar" << endl;
+
GnomeCanvasItem *item;
GnomeCanvasGroup *group;
More information about the Jderobot-admin
mailing list