wscout::gui::FilterDialog Class Reference

Dialog box to filter PCAP traces through external processes. More...

#include <wscout_gui_filter_dialog.hh>

List of all members.

Public Types

enum  { out_file_width = 25 }

Public Slots

void okClicked ()
void cancelClicked ()

Public Member Functions

 FilterDialog (QWidget *parent=0)
Input file's name accessors
QString inputFileName () const
void setInputFileName (const QString &)
Output file's name accessors
QString outputFileName () const
void setOutputFileName (const QString &)

Static Public Member Functions

static void setDefaultFilter (const QString &)
static void setDefaultCommand (const QString &)
static QString getFilteredTraceName (QWidget *parent, const QString &input, const QString &title=QString(), const QString &default_out=QString())

Protected Slots

void processError (QProcess::ProcessError)
void processFinished (int, QProcess::ExitStatus)
void openOutputFileNameDialog ()

Properties

QString inputFileName
QString outputFileName


Detailed Description

Dialog box to filter PCAP traces through external processes.

Member Enumeration Documentation

anonymous enum

Length of the output file LineEdit widget (number of 'm' widths).


Constructor & Destructor Documentation

wscout::gui::FilterDialog::FilterDialog ( QWidget *  parent = 0  ) 

Default constructor.


Member Function Documentation

void wscout::gui::FilterDialog::setDefaultFilter ( const QString &  f  )  [static]

Set the default filter text for all FilterDialog instances.

void wscout::gui::FilterDialog::setDefaultCommand ( const QString &  c  )  [static]

Set the default command text for all FilterDialog instances.

QString wscout::gui::FilterDialog::getFilteredTraceName ( QWidget *  parent,
const QString &  input,
const QString &  title = QString (),
const QString &  default_out = QString () 
) [static]

Show a FilterDialog instance, filter a file, and retrieve the result's name.

void wscout::gui::FilterDialog::okClicked (  )  [slot]

Click the OK button.

void wscout::gui::FilterDialog::cancelClicked (  )  [slot]

Click the Cancel button.

void wscout::gui::FilterDialog::processError ( QProcess::ProcessError  e  )  [protected, slot]

Call when the filter process failed.

void wscout::gui::FilterDialog::processFinished ( int  c,
QProcess::ExitStatus  s 
) [protected, slot]

Call when the filter process terminated.

void wscout::gui::FilterDialog::openOutputFileNameDialog (  )  [protected, slot]

Call when the user click on the file chooser.


Property Documentation

QString wscout::gui::FilterDialog::inputFileName [read, write]

Input PCAP file's name.

QString wscout::gui::FilterDialog::outputFileName [read, write]

Output PCAP file's name.


The documentation for this class was generated from the following files:
Generated on Wed Sep 12 16:02:50 2007 for WScout by  doxygen 1.5.3