56 CaptureFilterListChanged,
59 DisplayFilterListChanged,
61 FilterExpressionsChanged,
62 LocalInterfacesChanged,
63 NameResolutionChanged,
64 PacketDissectionChanged,
67 RecentCapturesChanged,
68 RecentPreferencesRead,
86 void registerUpdate(register_action_e action,
const char *message);
87 void emitAppSignal(AppSignal signal);
101 void queueAppSignal(AppSignal signal) { app_signals_ << signal; }
102 void emitStatCommandSignal(
const QString &menu_path,
const char *arg,
void *userdata);
103 void emitTapParameterSignal(
const QString cfg_abbr,
const QString arg,
void *userdata);
104 void addDynamicMenuGroupItem(
int group, QAction *sg_action);
105 void appendDynamicMenuGroupItem(
int group, QAction *sg_action);
106 void removeDynamicMenuGroupItem(
int group, QAction *sg_action);
107 QList<QAction *> dynamicMenuGroupItems(
int group);
108 QList<QAction *> addedMenuGroupItems(
int group);
109 QList<QAction *> removedMenuGroupItems(
int group);
110 void clearAddedMenuGroupItems();
111 void clearRemovedMenuGroupItems();
114 void emitLocalInterfaceEvent(
const char *ifname,
int added,
int up);
116 virtual void refreshLocalInterfaces();
120 GList * getInterfaceList()
const;
122 void setInterfaceList(GList *if_list);
125 struct _e_prefs * readConfigurationFiles(
bool reset);
126 QList<recent_item_status *> recentItems()
const;
127 void addRecentItem(
const QString filename, qint64 size,
bool accessible);
128 void removeRecentItem(
const QString &filename);
129 QDir openDialogInitialDir();
130 void setLastOpenDirFromFilename(QString file_name);
131 void helpTopicAction(topic_action_e action);
132 const QFont monospaceFont(
bool zoomed =
false)
const;
133 void setMonospaceFont(
const char *font_string);
134 int monospaceTextSize(
const char *str);
135 void setConfigurationProfile(
const char *profile_name,
bool write_recent_file =
true);
136 void reloadLuaPluginsDelayed();
137 bool isInitialized() {
return initialized_; }
138 void setReloadingLua(
bool is_reloading) { is_reloading_lua_ = is_reloading; }
139 bool isReloadingLua() {
return is_reloading_lua_; }
140 const QIcon &normalIcon();
141 const QIcon &captureIcon();
142 const QString &windowTitleSeparator()
const {
return window_title_separator_; }
143 const QString windowTitleString(QStringList title_parts);
144 const QString windowTitleString(QString title_part) {
return windowTitleString(QStringList() << title_part); }
145 void applyCustomColorsFromRecent();
146#if defined(HAVE_SOFTWARE_UPDATE) && defined(Q_OS_WIN)
147 void rejectSoftwareUpdate() { software_update_ok_ =
false; }
148 bool softwareUpdateCanShutdown();
149 void softwareUpdateShutdownRequest();
151 QWidget *mainWindow();
153 QTranslator translator;
154 QTranslator translatorQt;
155 void loadLanguage(
const QString language);
157 void doTriggerMenuItem(MainMenuItem menuItem);
159 void zoomTextFont(
int zoomLevel);
161 void pushStatus(StatusInfo sinfo,
const QString &message,
const QString &messagetip = QString());
162 void popStatus(StatusInfo sinfo);
164 void gotoFrame(
int frameNum);
168 bool is_reloading_lua_;
171 QTimer recent_timer_;
172 QTimer packet_data_timer_;
173 QTimer tap_update_timer_;
174 QList<QString> pending_open_files_;
175 QSocketNotifier *if_notifier_;
176 static QString window_title_separator_;
177 QList<AppSignal> app_signals_;
178 int active_captures_;
180#if defined(HAVE_SOFTWARE_UPDATE) && defined(Q_OS_WIN)
181 bool software_update_ok_;
184 void storeCustomColorsInRecent();
185 void clearDynamicMenuGroupItems();
188 bool event(QEvent *event);
189 virtual void initializeIcons() = 0;
194 GList *cached_if_list_;
198 void appInitialized();
199 void localInterfaceEvent(
const char *ifname,
int added,
int up);
200 void scanLocalInterfaces(GList *filter_list =
nullptr);
201 void localInterfaceListChanged();
202 void openCaptureFile(QString cf_path, QString display_filter,
unsigned int type);
203 void openCaptureOptions();
204 void recentPreferencesRead();
205 void updateRecentCaptureStatus(
const QString &filename, qint64 size,
bool accessible);
206 void splashUpdate(register_action_e action,
const char *message);
207 void profileChanging();
208 void profileNameChanged(
const char *profile_name);
210 void freezePacketList(
bool changing_profile);
211 void columnsChanged();
212 void captureFilterListChanged();
213 void displayFilterListChanged();
214 void filterExpressionsChanged();
215 void packetDissectionChanged();
216 void colorsChanged();
217 void preferencesChanged();
218 void addressResolutionChanged();
219 void columnDataChanged();
220 void checkDisplayFilter();
221 void fieldsChanged();
222 void reloadLuaPlugins();
223#if defined(HAVE_SOFTWARE_UPDATE) && defined(Q_OS_WIN)
225 void softwareUpdateRequested();
226 void softwareUpdateQuit();
229 void openStatCommandDialog(
const QString &menu_path,
const char *arg,
void *userdata);
230 void openTapParameterDialog(
const QString cfg_str,
const QString arg,
void *userdata);
233 void captureActive(
int);
235 void zoomRegularFont(
const QFont & font);
236 void zoomMonospaceFont(
const QFont & font);
239 void clearRecentCaptures();
240 void refreshRecentCaptures();
246 void flushAppSignals();
248 void reloadDisplayFilterMacros();
254 void ifChangeEventsAvailable();
255 void itemStatusFinished(
const QString filename =
"", qint64 size = 0,
bool accessible =
false);
256 void refreshPacketData();
257#if QT_VERSION >= QT_VERSION_CHECK(6, 5, 0) && defined(Q_OS_WIN)
258 void colorSchemeChanged();
Definition main_application.h:49
void gather_wireshark_runtime_info(feature_list l)
Definition logray_main.cpp:236
void gather_wireshark_qt_compiled_info(feature_list l)
Definition logray_main.cpp:199