Added menu items and calback functions to open and save filters files. By default, the signal list tree view show the last received signals, this can be stop by selecting manually another signal (not the last one). Removed the "new" button, the signals list is cleared before each new aquisition or when opening a messages file becausethe signal list may not be compatible between to list of signals! Enabled column header clicks and created callback functions to display and modify column filters. git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4316 818b1a75-f10b-46b9-bf7c-635c3b92a50f
44 lines
1007 B
C
44 lines
1007 B
C
#include "ui_signal_dissect_view.h"
|
|
|
|
#ifndef UI_MAIN_SCREEN_H_
|
|
#define UI_MAIN_SCREEN_H_
|
|
|
|
typedef struct {
|
|
GtkWidget *window;
|
|
GtkWidget *ipentry;
|
|
GtkWidget *portentry;
|
|
|
|
GtkWidget *progressbar;
|
|
GtkWidget *signalslist;
|
|
ui_text_view_t *text_view;
|
|
|
|
/* Buttons */
|
|
GtkToolItem *open_replay_file;
|
|
GtkToolItem *save_replay_file;
|
|
GtkToolItem *open_filters_file;
|
|
GtkToolItem *save_filters_file;
|
|
GtkToolItem *connect;
|
|
GtkToolItem *disconnect;
|
|
|
|
/* Signal list buttons */
|
|
/* Clear signals button */
|
|
GtkToolItem *signals_clear_button;
|
|
GtkToolItem *signals_go_to_button;
|
|
GtkToolItem *signals_go_to_last_button;
|
|
GtkToolItem *signals_go_to_first_button;
|
|
|
|
GtkTreeSelection *selection;
|
|
GtkTreePath *path_last;
|
|
|
|
/* Nb of messages received */
|
|
guint nb_message_received;
|
|
|
|
int pipe_fd[2];
|
|
} ui_main_data_t;
|
|
|
|
extern ui_main_data_t ui_main_data;
|
|
|
|
int ui_gtk_initialize(int argc, char *argv[]);
|
|
|
|
#endif /* UI_MAIN_SCREEN_H_ */
|