elseif(_file_opened!=filename){/* just check if execution is normal */
*Message::get_instance()<<"Try to use file: "<<filename<<" instead of a previous parsed file: "<<_file_opened<<Message::ende;
*Message::get_instance()<<QObject::tr("Try to use file: ").toStdString()<<filename<<QObject::tr(" instead of a previous parsed file: ").toStdString()<<_file_opened<<Message::ende;
*Message::get_instance()<<"Please to previously open a trace."<<Message::endw;
*Message::get_instance()<<QObject::tr("Please to previously open a trace.").toStdString()<<Message::endw;
return;
}
*Message::get_instance()<<"export of "<<_file_opened<<" to "<<_path_to_export<<Message::endi;
*Message::get_instance()<<QObject::tr("export of ").toStdString()<<_file_opened<<QObject::tr(" to ").toStdString()<<_path_to_export<<Message::endi;
draw_trace(_file_opened,_DRAW_SVG);
break;
case_STATE_EXPORT_FILE_IN_INTERVAL:
cout<<"export of "<<_file_opened<<" to "<<_path_to_export<<" between ";
cout<<QObject::tr("export of ").toStdString()<<_file_opened<<QObject::tr(" to ").toStdString()<<_path_to_export<<QObject::tr(" between ").toStdString();
if(_time_start==0){
cout<<"the beginning of the trace to ";
cout<<QObject::tr("the beginning of the trace to ").toStdString();
}
else{
cout<<_time_start<<" seconds to ";
cout<<_time_start<<QObject::tr(" seconds to ").toStdString();
CKFP(_ui_render_area_layout=qFindChild<QVBoxLayout*>(this,"render_area_layout"),"Cannot find the render_area layout in the .ui file");
CKFP(_ui_fullscreen_menu=qFindChild<QAction*>(this,"fullscreen"),"Cannot find the fullscreen menu in the .ui file");
CKFP(_ui_info_trace_text=qFindChild<QTextEdit*>(_ui_info_window,"info_trace_text"),"Cannot find the info_trace_text QTextEdit widget in the .ui file");
CKFP(_ui_info_selection_text=qFindChild<QTextEdit*>(_ui_info_window,"info_selection_text"),"Cannot find the info_selection_text QTextEdit widget in the .ui file");
CKFP(_ui_toolbar_check=qFindChild<QAction*>(this,"toolbar_menu"),"Cannot find the tool bar checker in the .ui file");
CKFP(_ui_toolbar=qFindChild<QToolBar*>(this,"toolBar"),"Cannot find the tool bar in the .ui file");
CKFP(_ui_render_area_layout=qFindChild<QVBoxLayout*>(this,"render_area_layout"),tr("Cannot find the render_area layout in the .ui file").toStdString());
CKFP(_ui_fullscreen_menu=qFindChild<QAction*>(this,"fullscreen"),tr("Cannot find the fullscreen menu in the .ui file").toStdString());
CKFP(_ui_info_trace_text=qFindChild<QTextEdit*>(_ui_info_window,"info_trace_text"),tr("Cannot find the info_trace_text QTextEdit widget in the .ui file").toStdString());
CKFP(_ui_info_selection_text=qFindChild<QTextEdit*>(_ui_info_window,"info_selection_text"),tr("Cannot find the info_selection_text QTextEdit widget in the .ui file").toStdString());
CKFP(_ui_toolbar_check=qFindChild<QAction*>(this,"toolbar_menu"),tr("Cannot find the tool bar checker in the .ui file").toStdString());
CKFP(_ui_toolbar=qFindChild<QToolBar*>(this,"toolBar"),tr("Cannot find the tool bar in the .ui file").toStdString());
CKFP(_ui_x_scroll=qFindChild<QScrollBar*>(this,"x_scroll"),"Cannot find the horizontal scroll bar in the .ui file");
CKFP(_ui_y_scroll=qFindChild<QScrollBar*>(this,"y_scroll"),"Cannot find the vertical scroll bar in the .ui file");
CKFP(_ui_x_scroll=qFindChild<QScrollBar*>(this,"x_scroll"),tr("Cannot find the horizontal scroll bar in the .ui file").toStdString());
CKFP(_ui_y_scroll=qFindChild<QScrollBar*>(this,"y_scroll"),tr("Cannot find the vertical scroll bar in the .ui file").toStdString());
CKFP(_ui_zoom_box=qFindChild<QComboBox*>(this,"zoom_box"),"Cannot find the zoom box in the .ui file");
CKFP(_ui_zoom_box=qFindChild<QComboBox*>(this,"zoom_box"),tr("Cannot find the zoom box in the .ui file").toStdString());
// Export window
CKFP(_ui_export_ok_button=qFindChild<QPushButton*>(_ui_time_selection_export,"option_export_ok"),"Cannot find the ok push button in the export dialog .ui file");
CKFP(_ui_min_time_export=qFindChild<QLineEdit*>(_ui_time_selection_export,"min_time"),"Cannot find the ok push button in the export dialog .ui file");
CKFP(_ui_export_ok_button=qFindChild<QPushButton*>(_ui_time_selection_export,"option_export_ok"),tr("Cannot find the ok push button in the export dialog .ui file").toStdString());
CKFP(_ui_min_time_export=qFindChild<QLineEdit*>(_ui_time_selection_export,"min_time"),tr("Cannot find the ok push button in the export dialog .ui file").toStdString());
CKFP(_ui_max_time_export=qFindChild<QLineEdit*>(_ui_time_selection_export,"max_time"),"Cannot find the ok push button in the export dialog .ui file");
CKFP(_ui_max_time_export=qFindChild<QLineEdit*>(_ui_time_selection_export,"max_time"),tr("Cannot find the ok push button in the export dialog .ui file").toStdString());
CKFP(_ui_CheckBox_time_export=qFindChild<QCheckBox*>(_ui_time_selection_export,"export_all"),"Cannot find the Line text \"export_all\" in the export dialog .ui file");
CKFP(_ui_CheckBox_time_export=qFindChild<QCheckBox*>(_ui_time_selection_export,"export_all"),tr("Cannot find the Line text \"export_all\" in the export dialog .ui file").toStdString());
CKFP(_ui_wide_export=qFindChild<QLineEdit*>(_ui_time_selection_export,"wide"),"Cannot find the Line text \"wide\" in the export dialog .ui file");
CKFP(_ui_grow_export=qFindChild<QLineEdit*>(_ui_time_selection_export,"grow"),"Cannot find the Line text \"grow\" in the export dialog .ui file");
CKFP(_ui_accuracy_export=qFindChild<QLineEdit*>(_ui_time_selection_export,"accuracy"),"Cannot find the Line text \"accuracy\" in the export dialog .ui file");
CKFP(_ui_CheckBox_wide_export=qFindChild<QCheckBox*>(_ui_time_selection_export,"checkBox_wide"),"Cannot find the Line text \"wide\" in the export dialog .ui file");
CKFP(_ui_CheckBox_grow_export=qFindChild<QCheckBox*>(_ui_time_selection_export,"checkBox_grow"),"Cannot find the Line text \"grow\" in the export dialog .ui file");
CKFP(_ui_CheckBox_accuracy_export=qFindChild<QCheckBox*>(_ui_time_selection_export,"checkBox_accuracy"),"Cannot find the Line text \"accuracy\" in the export dialog .ui file");
CKFP(_ui_more_options_export=qFindChild<QCommandLinkButton*>(_ui_time_selection_export,"more_options"),"Cannot find the button \"more_options\" in the export dialog .ui file");
CKFP(_ui_wide_export=qFindChild<QLineEdit*>(_ui_time_selection_export,"wide"),tr("Cannot find the Line text \"wide\" in the export dialog .ui file").toStdString());
CKFP(_ui_grow_export=qFindChild<QLineEdit*>(_ui_time_selection_export,"grow"),tr("Cannot find the Line text \"grow\" in the export dialog .ui file").toStdString());
CKFP(_ui_accuracy_export=qFindChild<QLineEdit*>(_ui_time_selection_export,"accuracy"),tr("Cannot find the Line text \"accuracy\" in the export dialog .ui file").toStdString());
CKFP(_ui_CheckBox_wide_export=qFindChild<QCheckBox*>(_ui_time_selection_export,"checkBox_wide"),tr("Cannot find the Line text \"wide\" in the export dialog .ui file").toStdString());
CKFP(_ui_CheckBox_grow_export=qFindChild<QCheckBox*>(_ui_time_selection_export,"checkBox_grow"),tr("Cannot find the Line text \"grow\" in the export dialog .ui file").toStdString());
CKFP(_ui_CheckBox_accuracy_export=qFindChild<QCheckBox*>(_ui_time_selection_export,"checkBox_accuracy"),tr("Cannot find the Line text \"accuracy\" in the export dialog .ui file").toStdString());
CKFP(_ui_more_options_export=qFindChild<QCommandLinkButton*>(_ui_time_selection_export,"more_options"),tr("Cannot find the button \"more_options\" in the export dialog .ui file").toStdString());