10 #ifndef IMPORT_TEXT_DIALOG_H 11 #define IMPORT_TEXT_DIALOG_H 19 #include "ui/text_import.h" 21 #include <ui/qt/widgets/syntax_line_edit.h> 24 #include <QPushButton> 25 #include <QRadioButton> 38 QString &capfileName();
41 void convertTextFile();
42 void enableHeaderWidgets(
bool enable_buttons =
true);
43 void check_line_edit(
SyntaxLineEdit *le,
bool &ok_enable,
const QString &num_str,
int base, guint max_val,
bool is_short, guint *val_ptr);
44 bool checkDateTimeFormat(
const QString &time_format);
45 void updateImportButtonState();
49 QPushButton *import_button_;
50 QList<QRadioButton *>encap_buttons_;
52 QString capfile_name_;
67 void on_textFileBrowseButton_clicked();
68 void on_textFileLineEdit_textChanged(
const QString &arg1);
69 void on_noOffsetButton_toggled(
bool checked);
70 void on_encapComboBox_currentIndexChanged(
int index);
71 void on_dateTimeLineEdit_textChanged(
const QString &arg1);
72 void on_directionIndicationCheckBox_toggled(
bool checked);
73 void on_noDummyButton_toggled(
bool checked);
74 void on_ethernetButton_toggled(
bool checked);
75 void on_ipv4Button_toggled(
bool checked);
76 void on_udpButton_toggled(
bool checked);
77 void on_tcpButton_toggled(
bool checked);
78 void on_sctpButton_toggled(
bool checked);
79 void on_sctpDataButton_toggled(
bool checked);
80 void on_ethertypeLineEdit_textChanged(
const QString ðertype_str);
81 void on_protocolLineEdit_textChanged(
const QString &protocol_str);
82 void on_sourcePortLineEdit_textChanged(
const QString &source_port_str);
83 void on_destinationPortLineEdit_textChanged(
const QString &destination_port_str);
84 void on_tagLineEdit_textChanged(
const QString &tag_str);
85 void on_ppiLineEdit_textChanged(
const QString &ppi_str);
86 void on_maxLengthLineEdit_textChanged(
const QString &max_frame_len_str);
87 void on_buttonBox_helpRequested();
91 #endif // IMPORT_TEXT_DIALOG_H Definition: import_text_dialog.h:31
Definition: ui_about_dialog.h:291
Definition: syntax_line_edit.h:22
Definition: ui_import_text_dialog.h:503
Definition: text_import.h:50