|
Wireshark 5.1.0
The Wireshark network protocol analyzer
|
#include <theme_designer_dialog.h>
Public Types | |
| enum class | Context { Standalone , Preferences } |
Public Slots | |
| void | reject () override |
Signals | |
| void | themeSaved (const QString &internalName) |
| void | themeRemoved (const QString &internalName) |
Public Member Functions | |
| ThemeDesignerDialog (QWidget *parent, Context context=Context::Standalone, const QString &initialTheme=QString()) | |
| Public Member Functions inherited from GeometryStateDialog | |
| GeometryStateDialog (QWidget *parent, Qt::WindowFlags f=Qt::Window) | |
| Constructs a new GeometryStateDialog with the specified parent and window flags. | |
| ~GeometryStateDialog () | |
| Save the geometry and splitter state and then destroy the GeometryStateDialog. | |
| void | setWindowModality (Qt::WindowModality windowModality) |
| Sets the window modality for the dialog. On non-macOS platforms, this also sets the parent to ensure modal dialogs are always on top of their parent. | |
Protected Member Functions | |
| bool | event (QEvent *event) override |
| void | keyPressEvent (QKeyEvent *event) override |
| bool | eventFilter (QObject *watched, QEvent *event) override |
| Protected Member Functions inherited from GeometryStateDialog | |
| bool | loadGeometry (int width=0, int height=0, const QString &dialog_name=QString()) |
| Loads the geometry and splitter state for the dialog. | |
| void | loadSplitterState (QSplitter *splitter=nullptr) |
| Loads the state of a splitter for the dialog. | |
Creates, copies, edits, imports and exports personal themes.
The dialog edits a draft of the selected theme and previews it on a compact Welcome Page, a fake packet list window and, with Lua, a Lua Debugger script editor. Nothing it shows touches the live theme; bundled themes are never written.
|
strong |
|
explicit |
| parent | parent widget. |
| context | where the dialog was opened from. |
| initialTheme | internal name of the theme to select first; the active theme when empty. |
|
signal |
The personal theme file internalName was removed.
|
signal |
A personal theme file was written under internalName.