23 #ifndef __TOOLS_SKILLGUI_SKILLGUI_H_
24 #define __TOOLS_SKILLGUI_SKILLGUI_H_
26 #include <gui_utils/connection_dispatcher.h>
31 # define GCONF_PREFIX "/apps/fawkes/skillgui"
34 #include <interfaces/SkillerInterface.h>
35 #include <interfaces/SkillerDebugInterface.h>
39 class InterfaceDispatcher;
55 const Glib::RefPtr<Gtk::Builder> &builder);
63 void on_connection_clicked();
66 void on_exec_clicked();
67 void on_skiller_data_changed();
68 void on_skdbg_data_changed();
69 void on_agdbg_data_changed();
70 void on_exit_clicked();
71 void on_controller_clicked();
72 void on_stop_clicked();
73 void on_config_changed();
74 void on_contexec_toggled();
75 void on_skill_changed();
76 void on_graphupd_clicked();
77 void on_update_disabled();
78 void on_recording_toggled();
79 void on_graphdir_clicked();
81 void on_graphcolor_toggled();
84 class SkillStringRecord :
public Gtk::TreeModelColumnRecord
89 Gtk::TreeModelColumn<Glib::ustring> skillstring;
92 SkillStringRecord __sks_record;
102 Gtk::ToolButton *tb_connection;
103 Gtk::ToolButton *tb_exit;
104 Gtk::Button *but_exec;
105 Gtk::Button *but_stop;
106 Gtk::ToggleButton *but_continuous;
107 Gtk::Button *but_clearlog;
108 #if GTK_VERSION_GE(3,0)
109 Gtk::ComboBox *cbe_skillstring;
111 Gtk::ComboBoxEntry *cbe_skillstring;
113 Gtk::Label *lab_status;
114 Gtk::Label *lab_alive;
115 Gtk::Label *lab_continuous;
116 Gtk::Label *lab_skillstring;
117 Gtk::Label *lab_error;
118 Gtk::ScrolledWindow *scw_graph;
119 Gtk::Notebook *ntb_tabs;
120 Gtk::DrawingArea *drw_graph;
121 Gtk::ToggleToolButton *tb_skiller;
122 Gtk::ToggleToolButton *tb_agent;
123 Gtk::ComboBoxText *cb_graphlist;
124 Gtk::ToolItem *tb_graphlist;
125 Gtk::ToolButton *tb_graphsave;
126 Gtk::ToolButton *tb_graphopen;
127 Gtk::ToolButton *tb_graphupd;
128 Gtk::ToggleToolButton *tb_graphrecord;
129 Gtk::ToolButton *tb_controller;
130 Gtk::ToolButton *tb_zoomin;
131 Gtk::ToolButton *tb_zoomout;
132 Gtk::ToolButton *tb_zoomfit;
133 Gtk::ToolButton *tb_zoomreset;
135 Gtk::ToolButton *tb_graphdir;
136 Gtk::ToggleToolButton *tb_graphcolored;
138 Glib::RefPtr<Gtk::ListStore> __sks_list;
141 Glib::RefPtr<Gnome::Conf::Client> __gconf;
SkillerDebugInterface Fawkes BlackBoard Interface.
A TreeView class to list available plugins und trigger their loading/unloading.
~SkillGuiGtkWindow()
Destructor.
SkillGuiGtkWindow(BaseObjectType *cobject, const Glib::RefPtr< Gtk::Builder > &builder)
Constructor.
GraphDirectionEnum
Primary direction of the graph.
Simple Gtk Throbber/Spinner.
SkillerInterface Fawkes BlackBoard Interface.
The BlackBoard abstract class.
Watches network client events and dispatches them as signals.
Skill FSM Graph Viewport.
Interface listener with dispatcher.