| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
column_editor_frame.h
Go to the documentation of this file.
1
10#ifndef COLUMN_EDITOR_FRAME_H
11#define COLUMN_EDITOR_FRAME_H
12
13#include "accordion_frame.h"
14
15 namespace Ui {
16 class ColumnEditorFrame;
17}
18
19 class ColumnEditorFrame : public AccordionFrame
20{
21 Q_OBJECT
22
23 public:
24 explicit ColumnEditorFrame(QWidget *parent = nullptr);
25 ~ColumnEditorFrame();
26 void editColumn(int column);
27
28signals:
29 void columnEdited();
30
31 protected:
32 virtual void showEvent(QShowEvent *event);
33 virtual void keyPressEvent(QKeyEvent *event);
34
35 private slots:
36 void on_typeComboBox_activated(int index);
37 void on_fieldsNameLineEdit_textEdited(const QString &fields);
38 void on_occurrenceLineEdit_textEdited(const QString &occurrence);
39 void on_buttonBox_rejected();
40 void on_buttonBox_accepted();
41 void checkCanResolve(void);
42
43 private:
44 bool syntaxIsValid(void);
45 Ui::ColumnEditorFrame *ui;
46 int cur_column_;
47 QString saved_fields_;
48 QString saved_occurrence_;
49 void setFields(int index);
50 void typeChanged(int index);
51};
52
53#endif // COLUMN_EDITOR_FRAME_H
accordion_frame.h
AccordionFrame
Definition accordion_frame.h:18
ColumnEditorFrame
Definition column_editor_frame.h:20