Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Public Slots | Signals | Public Member Functions | Protected Types | Protected Slots | Protected Member Functions | Protected Attributes | List of all members
MainWindow Class Referenceabstract
Inheritance diagram for MainWindow:
LograyMainWindow WiresharkMainWindow

Public Slots

void setDisplayFilter (QString filter, FilterAction::Action action, FilterAction::ActionType filterType)
 
virtual void filterPackets (QString, bool)=0
 
virtual void showPreferencesDialog (QString module_name)=0
 
virtual void showIOGraphDialog (io_graph_item_unit_t, QString)=0
 
void layoutPanes ()
 
void applyRecentPaneGeometry ()
 

Signals

void setCaptureFile (capture_file *cf)
 
void fieldSelected (FieldInformation *)
 
void framesSelected (QList< int >)
 
void filterAction (QString filter, FilterAction::Action action, FilterAction::ActionType type)
 
void displayFilterSuccess (bool success)
 

Public Member Functions

 MainWindow (QWidget *parent=nullptr)
 
bool hasSelection ()
 
bool hasUniqueSelection ()
 
QList< int > selectedRows (bool useFrameNum=false)
 
void insertColumn (QString name, QString abbrev, int pos=-1)
 
void gotoFrame (int packet_num)
 
frame_data * frameDataForRow (int) const
 
QString getFilter ()
 
MainStatusBarstatusBar ()
 
void appendPacketMenu (FunnelAction *funnel_action)
 
QList< QAction * > getPacketMenuActions ()
 
void clearAddedPacketMenus ()
 
bool addPacketMenus (QMenu *ctx_menu, GPtrArray *finfo_array)
 

Protected Types

enum  CopySelected {
  CopyAllVisibleItems , CopyAllVisibleSelectedTreeItems , CopySelectedDescription , CopySelectedFieldName ,
  CopySelectedValue , CopyListAsText , CopyListAsCSV , CopyListAsYAML ,
  CopyListAsHTML
}
 

Protected Slots

void addDisplayFilterTranslationActions (QMenu *copy_menu)
 
void updateDisplayFilterTranslationActions (const QString &df_text)
 

Protected Member Functions

void showWelcome ()
 
void showCapture ()
 
QWidget * getLayoutWidget (layout_pane_content_e type)
 

Protected Attributes

QList< register_stat_group_tmenu_groups_
 
QStackedWidget * main_stack_
 
WelcomePagewelcome_page_
 
QSplitter master_split_
 
QSplitter extra_split_
 
QWidget empty_pane_
 
QVector< unsigned > cur_layout_
 
PacketListpacket_list_
 
ProtoTreeproto_tree_
 
ByteViewTabbyte_view_tab_
 
PacketDiagrampacket_diagram_
 
DisplayFilterCombodf_combo_box_
 
MainStatusBarmain_status_bar_
 
ProfileSwitcherprofile_switcher_
 

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