Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Public Slots | Signals | Public Member Functions | Protected Member Functions | List of all members
PreferenceEditorFrame Class Reference

Frame for editing a single Wireshark preference inline. More...

#include <preference_editor_frame.h>

Inheritance diagram for PreferenceEditorFrame:
AccordionFrame

Public Slots

void editPreference (pref_t *pref=NULL, module_t *module=NULL)
 Edits the specified preference.
 

Signals

void showProtocolPreferences (const QString module_name)
 Signal emitted to show preferences for a specific protocol.
 
- Signals inherited from AccordionFrame
void visibilityChanged (bool visible)
 Emitted when the frame's visibility changes.
 

Public Member Functions

 PreferenceEditorFrame (QWidget *parent=0)
 Constructs a PreferenceEditorFrame.
 
 ~PreferenceEditorFrame ()
 Destroys the PreferenceEditorFrame.
 
- Public Member Functions inherited from AccordionFrame
 AccordionFrame (QWidget *parent=0)
 Create an AccordionFrame with the given parent.
 
void animatedShow ()
 Show the frame with a slide-down animation.
 
void animatedHide ()
 Hide the frame with a slide-up animation.
 
void updateStyleSheet ()
 Reapply the stylesheet after a palette or style change.
 

Protected Member Functions

virtual void showEvent (QShowEvent *event)
 Handles the show event for the frame.
 
virtual void keyPressEvent (QKeyEvent *event)
 Handles key press events within the frame.
 
- Protected Member Functions inherited from AccordionFrame
virtual void hideEvent (QHideEvent *)
 Emit visibilityChanged(false) when the frame is hidden.
 

Detailed Description

Frame for editing a single Wireshark preference inline.

Constructor & Destructor Documentation

◆ PreferenceEditorFrame()

PreferenceEditorFrame::PreferenceEditorFrame ( QWidget *  parent = 0)
explicit

Constructs a PreferenceEditorFrame.

Parameters
parentThe parent widget.

Member Function Documentation

◆ editPreference

void PreferenceEditorFrame::editPreference ( pref_t pref = NULL,
module_t module = NULL 
)
slot

Edits the specified preference.

Parameters
prefThe preference to edit.
moduleThe module containing the preference.

◆ keyPressEvent()

void PreferenceEditorFrame::keyPressEvent ( QKeyEvent *  event)
protectedvirtual

Handles key press events within the frame.

Parameters
eventThe key press event.

◆ showEvent()

void PreferenceEditorFrame::showEvent ( QShowEvent *  event)
protectedvirtual

Handles the show event for the frame.

Parameters
eventThe show event.

Reimplemented from AccordionFrame.

◆ showProtocolPreferences

void PreferenceEditorFrame::showProtocolPreferences ( const QString  module_name)
signal

Signal emitted to show preferences for a specific protocol.

Parameters
module_nameThe name of the protocol module.

The documentation for this class was generated from the following files: