diff options
Diffstat (limited to 'ui/qt/capture_options_dialog.ui')
-rw-r--r-- | ui/qt/capture_options_dialog.ui | 976 |
1 files changed, 976 insertions, 0 deletions
diff --git a/ui/qt/capture_options_dialog.ui b/ui/qt/capture_options_dialog.ui new file mode 100644 index 0000000..2ace9a9 --- /dev/null +++ b/ui/qt/capture_options_dialog.ui @@ -0,0 +1,976 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>CaptureOptionsDialog</class> + <widget class="QDialog" name="CaptureOptionsDialog"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>950</width> + <height>440</height> + </rect> + </property> + <layout class="QVBoxLayout" name="verticalLayout_12"> + <item> + <widget class="QTabWidget" name="tabWidget"> + <property name="currentIndex"> + <number>0</number> + </property> + <widget class="QWidget" name="inputTab"> + <attribute name="title"> + <string>Input</string> + </attribute> + <layout class="QVBoxLayout" name="verticalLayout_2"> + <item> + <widget class="QTreeWidget" name="interfaceTree"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="selectionMode"> + <enum>QAbstractItemView::ExtendedSelection</enum> + </property> + <property name="textElideMode"> + <enum>Qt::ElideMiddle</enum> + </property> + <property name="sortingEnabled"> + <bool>true</bool> + </property> + <column> + <property name="text"> + <string></string> + </property> + </column> + <column> + <property name="text"> + <string>Interface</string> + </property> + </column> + <column> + <property name="text"> + <string>Traffic</string> + </property> + </column> + <column> + <property name="text"> + <string>Link-layer Header</string> + </property> + </column> + <column> + <property name="text"> + <string>Promiscuous</string> + </property> + </column> + <column> + <property name="text"> + <string>Snaplen (B)</string> + </property> + </column> + <column> + <property name="text"> + <string>Buffer (MB)</string> + </property> + </column> + <column> + <property name="text"> + <string>Monitor Mode</string> + </property> + </column> + <column> + <property name="text"> + <string>Capture Filter</string> + </property> + </column> + </widget> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <widget class="QCheckBox" name="capturePromModeCheckBox"> + <property name="toolTip"> + <string><html><head/><body><p>You probably want to enable this. Usually a network card will only capture the traffic sent to its own network address. If you want to capture all traffic that the network card can &quot;see&quot;, mark this option. See the FAQ for some more details of capturing packets from a switched network.</p></body></html></string> + </property> + <property name="text"> + <string>Enable promiscuous mode on all interfaces</string> + </property> + </widget> + </item> + <item> + <spacer name="horizontalSpacer_2"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QPushButton" name="manageButton"> + <property name="enabled"> + <bool>true</bool> + </property> + <property name="toolTip"> + <string>Show and hide interfaces, add comments, and manage pipes and remote interfaces.</string> + </property> + <property name="text"> + <string>Manage Interfaces…</string> + </property> + </widget> + </item> + </layout> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_2" stretch="0,1,0,0"> + <item> + <widget class="QLabel" name="label_4"> + <property name="text"> + <string>Capture filter for selected interfaces:</string> + </property> + </widget> + </item> + <item> + <widget class="CaptureFilterCombo" name="captureFilterComboBox"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + </widget> + </item> + <item> + <spacer name="horizontalSpacer_4"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item> + <widget class="QPushButton" name="compileBPF"> + <property name="text"> + <string>Compile BPFs</string> + </property> + </widget> + </item> + </layout> + </item> + </layout> + </widget> + <widget class="QWidget" name="outputTab"> + <attribute name="title"> + <string>Output</string> + </attribute> + <layout class="QVBoxLayout" name="verticalLayout_9"> + <item> + <widget class="QGroupBox" name="gbCaptureToFile"> + <property name="enabled"> + <bool>true</bool> + </property> + <property name="toolTip"> + <string><html><head/><body><p>Enter the file name to which captured data will be written. By default, a temporary file will be used.</p></body></html></string> + </property> + <property name="autoFillBackground"> + <bool>false</bool> + </property> + <property name="title"> + <string>Capture to a permanent file</string> + </property> + <property name="flat"> + <bool>true</bool> + </property> + <property name="checkable"> + <bool>false</bool> + </property> + <layout class="QGridLayout" name="gridLayout_3"> + <item row="0" column="0"> + <widget class="QLabel" name="label_2"> + <property name="text"> + <string>File:</string> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QLineEdit" name="filenameLineEdit"/> + </item> + <item row="0" column="2"> + <widget class="QPushButton" name="browseButton"> + <property name="text"> + <string>Browse…</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_3"> + <item> + <widget class="QLabel" name="label"> + <property name="text"> + <string>Output format:</string> + </property> + </widget> + </item> + <item> + <widget class="QRadioButton" name="rbPcapng"> + <property name="text"> + <string>pcapng</string> + </property> + </widget> + </item> + <item> + <widget class="QRadioButton" name="rbPcap"> + <property name="text"> + <string>pcap</string> + </property> + </widget> + </item> + <item> + <spacer name="horizontalSpacer_7"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </item> + <item> + <widget class="QGroupBox" name="gbNewFileAuto"> + <property name="toolTip"> + <string><html><head/><body><p>Instead of using a single capture file, multiple files will be created.</p><p>The generated file names will contain an incrementing number and the start time of the capture.</p><p>NOTE: If enabled, at least one of the new-file criteria MUST be selected.</p></body></html></string> + </property> + <property name="title"> + <string>Create a new file automatically…</string> + </property> + <property name="flat"> + <bool>true</bool> + </property> + <property name="checkable"> + <bool>true</bool> + </property> + <layout class="QGridLayout" name="gridLayout"> + <item row="1" column="0"> + <widget class="QCheckBox" name="PktCheckBox"> + <property name="toolTip"> + <string>Switch to the next file after the specified number of packets have been captured.</string> + </property> + <property name="text"> + <string>after</string> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QSpinBox" name="PktSpinBox"> + <property name="toolTip"> + <string>Switch to the next file after the specified number of packets have been captured.</string> + </property> + <property name="buttonSymbols"> + <enum>QAbstractSpinBox::PlusMinus</enum> + </property> + <property name="maximum"> + <number>2147483647</number> + </property> + <property name="value"> + <number>100000</number> + </property> + </widget> + </item> + <item row="1" column="2"> + <widget class="QLabel" name="PktLabel"> + <property name="text"> + <string>packets</string> + </property> + </widget> + </item> + <item row="2" column="0"> + <widget class="QCheckBox" name="MBCheckBox"> + <property name="toolTip"> + <string>Switch to the next file after the file size exceeds the specified file size.</string> + </property> + <property name="text"> + <string>after</string> + </property> + </widget> + </item> + <item row="2" column="1"> + <widget class="QSpinBox" name="MBSpinBox"> + <property name="toolTip"> + <string>Switch to the next file after the file size exceeds the specified file size.</string> + </property> + <property name="wrapping"> + <bool>true</bool> + </property> + <property name="buttonSymbols"> + <enum>QAbstractSpinBox::PlusMinus</enum> + </property> + <property name="minimum"> + <number>1</number> + </property> + <property name="maximum"> + <number>1000000</number> + </property> + <property name="value"> + <number>1</number> + </property> + </widget> + </item> + <item row="2" column="2"> + <widget class="QComboBox" name="MBComboBox"> + <property name="toolTip"> + <string>Switch to the next file after the file size exceeds the specified file size.</string> + </property> + <item> + <property name="text"> + <string>kilobytes</string> + </property> + </item> + <item> + <property name="text"> + <string>megabytes</string> + </property> + </item> + <item> + <property name="text"> + <string>gigabytes</string> + </property> + </item> + </widget> + </item> + <item row="3" column="0"> + <widget class="QCheckBox" name="SecsCheckBox"> + <property name="toolTip"> + <string>Switch to the next file when the time capturing to the current file exceeds the specified time.</string> + </property> + <property name="text"> + <string>after</string> + </property> + </widget> + </item> + <item row="3" column="1"> + <widget class="QSpinBox" name="SecsSpinBox"> + <property name="toolTip"> + <string>Switch to the next file when the time capturing to the current file exceeds the specified time.</string> + </property> + <property name="wrapping"> + <bool>true</bool> + </property> + <property name="buttonSymbols"> + <enum>QAbstractSpinBox::PlusMinus</enum> + </property> + <property name="minimum"> + <number>1</number> + </property> + <property name="maximum"> + <number>1000000</number> + </property> + <property name="value"> + <number>1</number> + </property> + </widget> + </item> + <item row="3" column="2"> + <widget class="QComboBox" name="SecsComboBox"> + <property name="toolTip"> + <string>Switch to the next file when the time capturing to the current file exceeds the specified time.</string> + </property> + <item> + <property name="text"> + <string>seconds</string> + </property> + </item> + <item> + <property name="text"> + <string>minutes</string> + </property> + </item> + <item> + <property name="text"> + <string>hours</string> + </property> + </item> + </widget> + </item> + <item row="4" column="0"> + <widget class="QCheckBox" name="IntervalSecsCheckBox"> + <property name="toolTip"> + <string>Switch to the next file when the (wall clock) time is an even multiple of the specified interval. +For example, use 1 hour to have a new file created every hour on the hour.</string> + </property> + <property name="text"> + <string>when time is a multiple of</string> + </property> + </widget> + </item> + <item row="4" column="1"> + <widget class="QSpinBox" name="IntervalSecsSpinBox"> + <property name="toolTip"> + <string>Switch to the next file when the (wall clock) time is an even multiple of the specified interval. +For example, use 1 hour to have a new file created every hour on the hour.</string> + </property> + <property name="wrapping"> + <bool>true</bool> + </property> + <property name="buttonSymbols"> + <enum>QAbstractSpinBox::PlusMinus</enum> + </property> + <property name="minimum"> + <number>1</number> + </property> + <property name="maximum"> + <number>1000000</number> + </property> + <property name="value"> + <number>1</number> + </property> + </widget> + </item> + <item row="4" column="2"> + <widget class="QComboBox" name="IntervalSecsComboBox"> + <property name="toolTip"> + <string>Switch to the next file when the (wall clock) time is an even multiple of the specified interval. +For example, use 1 hour to have a new file created every hour on the hour.</string> + </property> + <property name="currentIndex"> + <number>2</number> + </property> + <item> + <property name="text"> + <string>seconds</string> + </property> + </item> + <item> + <property name="text"> + <string>minutes</string> + </property> + </item> + <item> + <property name="text"> + <string>hours</string> + </property> + </item> + </widget> + </item> + <item row="5" column="0"> + <widget class="QGroupBox" name="gbCompression"> + <property name="title"> + <string>compression</string> + </property> + <layout class="QVBoxLayout" name="verticalLayout_5"> + <item> + <widget class="QRadioButton" name="rbCompressionNone"> + <property name="text"> + <string>None</string> + </property> + <attribute name="buttonGroup"> + <string notr="true">buttonGroup</string> + </attribute> + </widget> + </item> + <item> + <widget class="QRadioButton" name="rbCompressionGzip"> + <property name="text"> + <string>gzip</string> + </property> + <attribute name="buttonGroup"> + <string notr="true">buttonGroup</string> + </attribute> + </widget> + </item> + </layout> + </widget> + </item> + <item row="0" column="3" rowspan="4"> + <spacer name="horizontalSpacer_8"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_4"> + <item> + <widget class="QCheckBox" name="RbCheckBox"> + <property name="toolTip"> + <string><html><head/><body><p>After capturing has switched to the next file and the given number of files has exceeded, the oldest file will be removed.</p></body></html></string> + </property> + <property name="text"> + <string>Use a ring buffer with </string> + </property> + </widget> + </item> + <item> + <widget class="QSpinBox" name="RbSpinBox"> + <property name="wrapping"> + <bool>true</bool> + </property> + <property name="minimum"> + <number>2</number> + </property> + <property name="maximum"> + <number>65535</number> + </property> + <property name="value"> + <number>2</number> + </property> + </widget> + </item> + <item> + <widget class="QLabel" name="label_3"> + <property name="text"> + <string>files</string> + </property> + </widget> + </item> + <item> + <spacer name="horizontalSpacer_9"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </item> + <item> + <spacer name="verticalSpacer_2"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>40</height> + </size> + </property> + </spacer> + </item> + </layout> + <zorder>gbNewFileAuto</zorder> + <zorder>gbCaptureToFile</zorder> + </widget> + <widget class="QWidget" name="optionsTab"> + <attribute name="title"> + <string>Options</string> + </attribute> + <layout class="QFormLayout" name="formLayout"> + <item row="0" column="0"> + <layout class="QHBoxLayout" name="horizontalLayout_8"> + <item> + <widget class="QGroupBox" name="groupBox"> + <property name="title"> + <string>Display Options</string> + </property> + <property name="flat"> + <bool>true</bool> + </property> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <widget class="QCheckBox" name="cbUpdatePacketsRT"> + <property name="toolTip"> + <string><html><head/><body><p>Using this option will show the captured packets immediately on the main screen. Please note: this will slow down capturing, so increased packet drops might appear.</p></body></html></string> + </property> + <property name="text"> + <string>Update list of packets in real-time</string> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="cbAutoScroll"> + <property name="toolTip"> + <string><html><head/><body><p>This will scroll the &quot;Packet List&quot; automatically to the latest captured packet, when the &quot;Update list of packets in real-time&quot; option is used.</p></body></html></string> + </property> + <property name="text"> + <string>Automatically scroll during live capture</string> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="cbExtraCaptureInfo"> + <property name="toolTip"> + <string><html><head/><body><p>Show the capture info dialog while capturing.</p></body></html></string> + </property> + <property name="text"> + <string>Show capture information during live capture</string> + </property> + </widget> + </item> + <item> + <spacer name="horizontalSpacer_3"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + </item> + <item> + <widget class="QGroupBox" name="groupBox_2"> + <property name="title"> + <string>Name Resolution</string> + </property> + <property name="flat"> + <bool>true</bool> + </property> + <layout class="QVBoxLayout" name="verticalLayout_3"> + <item> + <widget class="QCheckBox" name="cbResolveMacAddresses"> + <property name="toolTip"> + <string>Perform MAC layer name resolution while capturing.</string> + </property> + <property name="text"> + <string>Resolve MAC addresses</string> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="cbResolveNetworkNames"> + <property name="toolTip"> + <string><html><head/><body><p>Perform network layer name resolution while capturing.</p></body></html></string> + </property> + <property name="text"> + <string>Resolve network names</string> + </property> + </widget> + </item> + <item> + <widget class="QCheckBox" name="cbResolveTransportNames"> + <property name="toolTip"> + <string>Perform transport layer name resolution while capturing.</string> + </property> + <property name="text"> + <string>Resolve transport names</string> + </property> + </widget> + </item> + <item> + <spacer name="horizontalSpacer_5"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + </item> + </layout> + </item> + <item row="1" column="0"> + <widget class="QGroupBox" name="gbStopCaptureAuto"> + <property name="enabled"> + <bool>true</bool> + </property> + <property name="title"> + <string>Stop capture automatically after…</string> + </property> + <property name="flat"> + <bool>true</bool> + </property> + <layout class="QGridLayout" name="gridLayout_2"> + <item row="0" column="3" rowspan="4"> + <spacer name="horizontalSpacer"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + <item row="0" column="0"> + <widget class="QCheckBox" name="stopPktCheckBox"> + <property name="toolTip"> + <string><html><head/><body><p>Stop capturing after the specified number of packets have been captured.</p></body></html></string> + </property> + <property name="text"> + <string/> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QSpinBox" name="stopPktSpinBox"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="toolTip"> + <string>Stop capturing after the specified number of packets have been captured.</string> + </property> + <property name="buttonSymbols"> + <enum>QAbstractSpinBox::PlusMinus</enum> + </property> + <property name="maximum"> + <number>2147483647</number> + </property> + <property name="value"> + <number>1</number> + </property> + </widget> + </item> + <item row="0" column="2"> + <widget class="QLabel" name="label_7"> + <property name="text"> + <string>packets</string> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QCheckBox" name="stopFilesCheckBox"> + <property name="toolTip"> + <string><html><head/><body><p>Stop capturing after the specified number of files have been created.</p></body></html></string> + </property> + <property name="text"> + <string/> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QSpinBox" name="stopFilesSpinBox"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="toolTip"> + <string>Stop capturing after the specified number of packets have been captured.</string> + </property> + <property name="buttonSymbols"> + <enum>QAbstractSpinBox::PlusMinus</enum> + </property> + <property name="maximum"> + <number>2147483647</number> + </property> + <property name="value"> + <number>1</number> + </property> + </widget> + </item> + <item row="1" column="2"> + <widget class="QLabel" name="label_8"> + <property name="text"> + <string>files</string> + </property> + </widget> + </item> + <item row="2" column="0"> + <widget class="QCheckBox" name="stopMBCheckBox"> + <property name="toolTip"> + <string><html><head/><body><p>Stop capturing after the specified amount of data has been captured.</p></body></html></string> + </property> + <property name="text"> + <string/> + </property> + </widget> + </item> + <item row="2" column="1"> + <widget class="QSpinBox" name="stopMBSpinBox"> + <property name="toolTip"> + <string>Stop capturing after the specified amount of data has been captured.</string> + </property> + <property name="buttonSymbols"> + <enum>QAbstractSpinBox::PlusMinus</enum> + </property> + <property name="maximum"> + <number>2147483647</number> + </property> + <property name="value"> + <number>1</number> + </property> + </widget> + </item> + <item row="2" column="2"> + <widget class="QComboBox" name="stopMBComboBox"> + <property name="toolTip"> + <string>Stop capturing after the specified amount of data has been captured.</string> + </property> + <item> + <property name="text"> + <string>kilobytes</string> + </property> + </item> + <item> + <property name="text"> + <string>megabytes</string> + </property> + </item> + <item> + <property name="text"> + <string>gigabytes</string> + </property> + </item> + </widget> + </item> + <item row="3" column="0"> + <widget class="QCheckBox" name="stopSecsCheckBox"> + <property name="toolTip"> + <string>Stop capturing after the specified amount of time has passed.</string> + </property> + <property name="text"> + <string/> + </property> + </widget> + </item> + <item row="3" column="1"> + <widget class="QSpinBox" name="stopSecsSpinBox"> + <property name="toolTip"> + <string>Stop capturing after the specified amount of time has passed.</string> + </property> + <property name="buttonSymbols"> + <enum>QAbstractSpinBox::PlusMinus</enum> + </property> + <property name="maximum"> + <number>2147483647</number> + </property> + <property name="value"> + <number>1</number> + </property> + </widget> + </item> + <item row="3" column="2"> + <widget class="QComboBox" name="stopSecsComboBox"> + <property name="toolTip"> + <string>Stop capturing after the specified amount of time has passed.</string> + </property> + <item> + <property name="text"> + <string>seconds</string> + </property> + </item> + <item> + <property name="text"> + <string>minutes</string> + </property> + </item> + <item> + <property name="text"> + <string>hours</string> + </property> + </item> + </widget> + </item> + </layout> + </widget> + </item> + <item row="2" column="0"> + <widget class="QGroupBox" name="gbTempDir"> + <property name="enabled"> + <bool>true</bool> + </property> + <property name="toolTip"> + <string><html><head/><body><p>Optionally specify a temporary directory for unnamed capture files.</p></body></html></string> + </property> + <property name="autoFillBackground"> + <bool>false</bool> + </property> + <property name="title"> + <string>Directory for temporary files</string> + </property> + <property name="flat"> + <bool>true</bool> + </property> + <property name="checkable"> + <bool>false</bool> + </property> + <layout class="QGridLayout" name="gridLayout_4"> + <item row="0" column="0"> + <widget class="QLineEdit" name="tempDirLineEdit"/> + </item> + <item row="0" column="1"> + <widget class="QPushButton" name="tempDirBrowseButton"> + <property name="text"> + <string>Browse…</string> + </property> + </widget> + </item> + </layout> + </widget> + </item> + <item row="3" column="0"> + <spacer name="verticalSpacer_3"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>40</height> + </size> + </property> + </spacer> + </item> + </layout> + </widget> + </widget> + </item> + <item> + <widget class="QDialogButtonBox" name="buttonBox"> + <property name="standardButtons"> + <set>QDialogButtonBox::Close|QDialogButtonBox::Help|QDialogButtonBox::Ok</set> + </property> + </widget> + </item> + </layout> + </widget> + <customwidgets> + <customwidget> + <class>CaptureFilterCombo</class> + <extends>QComboBox</extends> + <header>widgets/capture_filter_combo.h</header> + </customwidget> + </customwidgets> + <resources/> + <connections/> + <buttongroups> + <buttongroup name="buttonGroup"/> + </buttongroups> +</ui> |