Improve display of token information

This commit is contained in:
Christian Hohnstaedt 2018-03-06 09:51:25 +01:00
parent c2007a13ee
commit 7ea7af0cd4

View File

@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>469</width>
<height>438</height>
<width>532</width>
<height>403</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_4">
@ -101,7 +101,7 @@
<item>
<widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
<number>0</number>
<number>1</number>
</property>
<widget class="QWidget" name="key">
<attribute name="title">
@ -219,71 +219,110 @@
<attribute name="title">
<string>Security Token</string>
</attribute>
<layout class="QFormLayout" name="formLayout">
<item row="0" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Slot</string>
<layout class="QVBoxLayout" name="verticalLayout_5">
<item>
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="CopyLabel" name="slotLabel"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Model</string>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>33</height>
</size>
</property>
</widget>
</spacer>
</item>
<item row="1" column="1">
<widget class="CopyLabel" name="cardModel"/>
<item>
<layout class="QFormLayout" name="formLayout_2">
<item row="0" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Label</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="CopyLabel" name="slotLabel"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_6">
<property name="text">
<string>PKCS#11 ID</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="CopyLabel" name="cardId"/>
</item>
</layout>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Manufacturer</string>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="CopyLabel" name="cardManufacturer"/>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Serial</string>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>32</height>
</size>
</property>
</widget>
</spacer>
</item>
<item row="3" column="1">
<widget class="CopyLabel" name="cardSerial"/>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Label</string>
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Token information</string>
</property>
<layout class="QFormLayout" name="formLayout">
<item row="0" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Model</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="CopyLabel" name="cardModel"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>Manufacturer</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="CopyLabel" name="cardManufacturer"/>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Serial</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="CopyLabel" name="cardSerial"/>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Label</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="CopyLabel" name="cardLabel">
<property name="text">
<string/>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="4" column="1">
<widget class="CopyLabel" name="cardLabel">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QLabel" name="label_6">
<property name="text">
<string>ID</string>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="CopyLabel" name="cardId"/>
</item>
</layout>
</widget>
<widget class="QWidget" name="commenttab">