49 explicit MainWindow(QWidget *parent =
nullptr);
51 void setMainWindowTitle(QString title = QString());
53 bool hasUniqueSelection();
54 QList<int> selectedRows(
bool useFrameNum =
false);
55 void insertColumn(QString name, QString abbrev,
int pos = -1);
56 void gotoFrame(
int packet_num);
57 frame_data* frameDataForRow(
int)
const;
64 QList<QAction*> getPacketMenuActions();
65 void clearAddedPacketMenus();
66 bool addPacketMenus(QMenu * ctx_menu, GPtrArray *finfo_array);
69 void setDisplayFilter(QString filter, FilterAction::Action action, FilterAction::ActionType filterType);
70 virtual void filterPackets(QString,
bool) = 0;
71 virtual void showPreferencesDialog(QString module_name) = 0;
72 virtual void showIOGraphDialog(io_graph_item_unit_t, QString) = 0;
74 void applyRecentPaneGeometry();
75 void updateForUnsavedChanges();
80 CopyAllVisibleSelectedTreeItems,
81 CopySelectedDescription,
82 CopySelectedFieldName,
92 void setTitlebarForCaptureInProgress();
93 virtual void setMenusForCaptureFile(
bool force_disable =
false) = 0;
96 QList<register_stat_group_t> menu_groups_;
97 QWidget* getLayoutWidget(layout_pane_content_e type);
99 QStackedWidget *main_stack_;
101 QSplitter master_split_;
102 QSplitter extra_split_;
104 QVector<unsigned> cur_layout_;
113 bool use_capturing_title_;
116 void addDisplayFilterTranslationActions(QMenu *copy_menu);
117 void updateDisplayFilterTranslationActions(
const QString &df_text);
118 void updateTitlebar();
121 QString replaceWindowTitleVariables(QString title);
123 QVector<QAction *> df_translate_actions_;
124 static const char *translator_;
125 static const char *translated_filter_;
128 void copyDisplayFilterTranslation(
void);
132 void captureActive(
int);
135 void framesSelected(QList<int>);
136 void filterAction(QString filter, FilterAction::Action action, FilterAction::ActionType type);
137 void displayFilterSuccess(
bool success);
Definition main_status_bar.h:33
Definition main_window.h:46
Definition welcome_page.h:27