aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-rw-r--r--ui/GnuPGControllerDialog.ui329
-rw-r--r--ui/KeyDatabaseEditDialog.ui115
-rw-r--r--ui/KeyList.ui17
3 files changed, 312 insertions, 149 deletions
diff --git a/ui/GnuPGControllerDialog.ui b/ui/GnuPGControllerDialog.ui
index 4f0bdfc6..2876e2e4 100644
--- a/ui/GnuPGControllerDialog.ui
+++ b/ui/GnuPGControllerDialog.ui
@@ -6,155 +6,191 @@
<rect>
<x>0</x>
<y>0</y>
- <width>607</width>
- <height>581</height>
+ <width>535</width>
+ <height>498</height>
</rect>
</property>
<property name="windowTitle">
<string>GnuPG Controller</string>
</property>
<layout class="QGridLayout" name="gridLayout">
- <item row="0" column="0">
+ <item row="1" column="0">
<layout class="QVBoxLayout" name="verticalLayout">
<item>
- <widget class="QGroupBox" name="generalBox">
- <property name="title">
- <string>General</string>
+ <widget class="QTabWidget" name="tabWidget">
+ <property name="currentIndex">
+ <number>1</number>
</property>
- <layout class="QGridLayout" name="gridLayout_7">
- <item row="0" column="0">
- <layout class="QVBoxLayout" name="verticalLayout_7">
- <item>
- <widget class="QCheckBox" name="asciiModeCheckBox">
+ <widget class="QWidget" name="tab">
+ <attribute name="title">
+ <string>General</string>
+ </attribute>
+ <layout class="QVBoxLayout" name="verticalLayout_3">
+ <item>
+ <layout class="QVBoxLayout" name="verticalLayout_2">
+ <item>
+ <layout class="QVBoxLayout" name="verticalLayout_7">
+ <item>
+ <widget class="QCheckBox" name="asciiModeCheckBox">
+ <property name="text">
+ <string>Use Binary Mode for File Operations</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QCheckBox" name="usePinentryAsPasswordInputDialogCheckBox">
+ <property name="text">
+ <string>Use Pinentry as Password Input Dialog</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QCheckBox" name="gpgmeDebugLogCheckBox">
+ <property name="text">
+ <string>Enable GpgME Debug Log</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QCheckBox" name="restartGpgAgentOnStartCheckBox">
+ <property name="text">
+ <string>Restart Gpg Agent on start</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QCheckBox" name="killAllGnuPGDaemonCheckBox">
+ <property name="text">
+ <string>Kill all gnupg daemon at close</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <spacer name="verticalSpacer">
+ <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 class="QWidget" name="tab_2">
+ <attribute name="title">
+ <string>Key Database</string>
+ </attribute>
+ <layout class="QVBoxLayout" name="verticalLayout_4">
+ <item>
+ <widget class="QTableWidget" name="keyDatabaseTable">
+ <property name="editTriggers">
+ <set>QAbstractItemView::NoEditTriggers</set>
+ </property>
+ <property name="dragEnabled">
+ <bool>false</bool>
+ </property>
+ <property name="dragDropOverwriteMode">
+ <bool>false</bool>
+ </property>
+ <property name="dragDropMode">
+ <enum>QAbstractItemView::NoDragDrop</enum>
+ </property>
+ <property name="defaultDropAction">
+ <enum>Qt::IgnoreAction</enum>
+ </property>
+ <property name="selectionMode">
+ <enum>QAbstractItemView::SingleSelection</enum>
+ </property>
+ <property name="selectionBehavior">
+ <enum>QAbstractItemView::SelectRows</enum>
+ </property>
+ <property name="columnCount">
+ <number>2</number>
+ </property>
+ <column>
<property name="text">
- <string>Use Binary Mode for File Operations</string>
+ <string>Name</string>
</property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="usePinentryAsPasswordInputDialogCheckBox">
+ </column>
+ <column>
<property name="text">
- <string>Use Pinentry as Password Input Dialog</string>
+ <string>Path</string>
</property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="gpgmeDebugLogCheckBox">
- <property name="text">
- <string>Enable GpgME Debug Log</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="restartGpgAgentOnStartCheckBox">
- <property name="text">
- <string>Restart Gpg Agent on start</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="killAllGnuPGDaemonCheckBox">
- <property name="text">
- <string>Kill all gnupg daemon at close</string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="keyDatabaseGroupBox">
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="title">
- <string>Key Database</string>
- </property>
- <property name="flat">
- <bool>false</bool>
- </property>
- <property name="checkable">
- <bool>false</bool>
- </property>
- <layout class="QGridLayout" name="gridLayout_2">
- <item row="0" column="0">
- <layout class="QVBoxLayout" name="verticalLayout_6">
- <item>
- <widget class="QCheckBox" name="keyDatabaseUseCustomCheckBox">
- <property name="text">
- <string>Use Custom GnuPG Key Database Path</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="currentKeyDatabasePathLabel">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="text">
- <string/>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="customKeyDatabasePathSelectButton">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="text">
- <string>Select Key Database Path</string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="advanceGroupBox">
- <property name="title">
- <string>Advance</string>
- </property>
- <layout class="QGridLayout" name="gridLayout_3">
- <item row="0" column="0">
- <layout class="QVBoxLayout" name="verticalLayout_9">
- <item>
- <widget class="QCheckBox" name="useCustomGnuPGInstallPathCheckBox">
- <property name="text">
- <string>Use Custom GnuPG</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="currentCustomGnuPGInstallPathLabel">
- <property name="text">
- <string/>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="useCustomGnuPGInstallPathButton">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="text">
- <string>Select GnuPG Path</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="customGnuPGPathTipsLabel">
- <property name="text">
- <string>Tips: please select a directroy where &quot;gpgconf&quot; is located in.</string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- </layout>
+ </column>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="addNewKeyDatabaseButton">
+ <property name="text">
+ <string>Add New Key Database</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ <widget class="QWidget" name="tab_3">
+ <attribute name="title">
+ <string>Advanced</string>
+ </attribute>
+ <layout class="QVBoxLayout" name="verticalLayout_5">
+ <item>
+ <layout class="QVBoxLayout" name="verticalLayout_9">
+ <item>
+ <widget class="QCheckBox" name="useCustomGnuPGInstallPathCheckBox">
+ <property name="text">
+ <string>Use Custom GnuPG</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="currentCustomGnuPGInstallPathLabel">
+ <property name="text">
+ <string/>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="useCustomGnuPGInstallPathButton">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="text">
+ <string>Select GnuPG Path</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="customGnuPGPathTipsLabel">
+ <property name="text">
+ <string>Tips: please select a directroy where &quot;gpgconf&quot; is located in.</string>
+ </property>
+ </widget>
+ </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>
+ </widget>
</widget>
</item>
<item>
@@ -165,19 +201,6 @@
</widget>
</item>
<item>
- <spacer name="verticalSpacer">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>40</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="orientation">
<enum>Qt::Horizontal</enum>
@@ -190,6 +213,14 @@
</layout>
</item>
</layout>
+ <action name="actionRemove_Selected_Key_Database">
+ <property name="text">
+ <string>Remove</string>
+ </property>
+ <property name="menuRole">
+ <enum>QAction::NoRole</enum>
+ </property>
+ </action>
</widget>
<resources/>
<connections>
diff --git a/ui/KeyDatabaseEditDialog.ui b/ui/KeyDatabaseEditDialog.ui
new file mode 100644
index 00000000..794e753c
--- /dev/null
+++ b/ui/KeyDatabaseEditDialog.ui
@@ -0,0 +1,115 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>KeyDatabaseEditDialog</class>
+ <widget class="QDialog" name="KeyDatabaseEditDialog">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>472</width>
+ <height>330</height>
+ </rect>
+ </property>
+ <property name="windowTitle">
+ <string>Key Database Info</string>
+ </property>
+ <layout class="QVBoxLayout" name="verticalLayout">
+ <item>
+ <layout class="QVBoxLayout" name="verticalLayout_2">
+ <item>
+ <widget class="QLabel" name="keyDBNameLabel">
+ <property name="text">
+ <string>Key Database Name</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLineEdit" name="keyDBNameLineEdit"/>
+ </item>
+ <item>
+ <widget class="QLabel" name="keyDBPathLabel">
+ <property name="text">
+ <string>Key Database Path</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="keyDBPathShowLabel">
+ <property name="text">
+ <string/>
+ </property>
+ <property name="wordWrap">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="selectKeyDBButton">
+ <property name="text">
+ <string>Select A Key Database Path</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <spacer name="verticalSpacer">
+ <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>
+ </item>
+ <item>
+ <widget class="QDialogButtonBox" name="buttonBox">
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="standardButtons">
+ <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ <resources/>
+ <connections>
+ <connection>
+ <sender>buttonBox</sender>
+ <signal>accepted()</signal>
+ <receiver>KeyDatabaseEditDialog</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>KeyDatabaseEditDialog</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>
diff --git a/ui/KeyList.ui b/ui/KeyList.ui
index 618b44fd..af95698c 100644
--- a/ui/KeyList.ui
+++ b/ui/KeyList.ui
@@ -93,6 +93,23 @@
</widget>
</item>
<item>
+ <widget class="QToolButton" name="switchContextButton">
+ <property name="toolTip">
+ <string>Uncheck ALL</string>
+ </property>
+ <property name="text">
+ <string>Switch Context</string>
+ </property>
+ <property name="icon">
+ <iconset resource="../gpgfrontend.qrc">
+ <normaloff>:/icons/none.png</normaloff>:/icons/none.png</iconset>
+ </property>
+ <property name="popupMode">
+ <enum>QToolButton::InstantPopup</enum>
+ </property>
+ </widget>
+ </item>
+ <item>
<widget class="QToolButton" name="columnTypeButton">
<property name="acceptDrops">
<bool>false</bool>