forked from osmocom/wireshark
![Peter Wu](/assets/img/avatar_default.png)
The RSA Keys frame is intended to configure RSA keys (both key files and PKCS #11 tokens). Add a new "RSA Keys" item to the preferences menu. Implement addition and removal of PKCS #11 libraries and add an initial version that displays configured RSA keys. The "Add new token…" button will be implemented later. Change-Id: Ie5b9eb403afc7bebeb7be8bd53d4d4b30842204c Reviewed-on: https://code.wireshark.org/review/31795 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs <gerald@wireshark.org> Reviewed-by: Peter Wu <peter@lekensteyn.nl>
196 lines
5.5 KiB
XML
196 lines
5.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>PreferencesDialog</class>
|
|
<widget class="QDialog" name="PreferencesDialog">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>680</width>
|
|
<height>475</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<widget class="QSplitter" name="splitter">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<widget class="PrefModuleTreeView" name="prefsView">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="uniformRowHeights">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="headerHidden">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="sortingEnabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
<widget class="QStackedWidget" name="stackedWidget">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="currentIndex">
|
|
<number>6</number>
|
|
</property>
|
|
<widget class="MainWindowPreferencesFrame" name="appearanceFrame"/>
|
|
<widget class="LayoutPreferencesFrame" name="layoutFrame"/>
|
|
<widget class="ColumnPreferencesFrame" name="columnFrame"/>
|
|
<widget class="FontColorPreferencesFrame" name="fontandcolorFrame"/>
|
|
<widget class="CapturePreferencesFrame" name="captureFrame"/>
|
|
<widget class="UatFrame" name="expertFrame"/>
|
|
<widget class="UatFrame" name="filterExpressonsFrame"/>
|
|
<widget class="RsaKeysFrame" name="rsaKeysFrame"/>
|
|
<widget class="QFrame" name="advancedFrame">
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<item>
|
|
<widget class="QLabel" name="label">
|
|
<property name="text">
|
|
<string>Search:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="advancedSearchLineEdit"/>
|
|
</item>
|
|
<item>
|
|
<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>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QTreeView" name="advancedView">
|
|
<property name="indentation">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="uniformRowHeights">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="standardButtons">
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::Ok</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>MainWindowPreferencesFrame</class>
|
|
<extends>QFrame</extends>
|
|
<header>main_window_preferences_frame.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>LayoutPreferencesFrame</class>
|
|
<extends>QFrame</extends>
|
|
<header>layout_preferences_frame.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>ColumnPreferencesFrame</class>
|
|
<extends>QFrame</extends>
|
|
<header>column_preferences_frame.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>FontColorPreferencesFrame</class>
|
|
<extends>QFrame</extends>
|
|
<header>font_color_preferences_frame.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>CapturePreferencesFrame</class>
|
|
<extends>QFrame</extends>
|
|
<header>capture_preferences_frame.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>UatFrame</class>
|
|
<extends>QFrame</extends>
|
|
<header>uat_frame.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>PrefModuleTreeView</class>
|
|
<extends>QTreeView</extends>
|
|
<header>widgets/pref_module_view.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>RsaKeysFrame</class>
|
|
<extends>QFrame</extends>
|
|
<header>rsa_keys_frame.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>accepted()</signal>
|
|
<receiver>PreferencesDialog</receiver>
|
|
<slot>accept()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>248</x>
|
|
<y>254</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>157</x>
|
|
<y>274</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>rejected()</signal>
|
|
<receiver>PreferencesDialog</receiver>
|
|
<slot>reject()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>316</x>
|
|
<y>260</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>286</x>
|
|
<y>274</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|