summaryrefslogtreecommitdiffstats
path: root/mainwindow.ui
diff options
context:
space:
mode:
authorJonathan Hanks <brouwer@annejan.com>2015-11-20 20:15:41 -0800
committerJonathan Hanks <jonathan.hanks@ligo.org>2015-11-20 21:11:41 -0800
commit52b0477e7dcbc88a03436309ba4b0c250db221c3 (patch)
tree69f013dfb89721d33a1d77cb18442fd6205e95ea /mainwindow.ui
parentb2f951d1469baba0af881b06978b44d690fb95d8 (diff)
Modified the clipboard logic to allow for on-demand copy to clipboard.
Changed the clipboard config entry to be a combobox instead of a checkbox. It has 3 states: Never copy to the clipboard Always copy to the clipboard On-demand copy to the clipboard Added a 'Password' button to the main window which copies the password to the clipboard when pressed. The button is disabled when there is no password loaded or passwords are set to never copy to the clipboard. Added a context menu entry to the text browser to copy the password to the clipboard. Moved some of the clipboard code around to make it more flexible. Clippedpass is always set when the password could be copied.
Diffstat (limited to 'mainwindow.ui')
-rw-r--r--mainwindow.ui10
1 files changed, 10 insertions, 0 deletions
diff --git a/mainwindow.ui b/mainwindow.ui
index 87c93102..f36363d4 100644
--- a/mainwindow.ui
+++ b/mainwindow.ui
@@ -86,6 +86,16 @@
</widget>
</item>
<item>
+ <widget class="QToolButton" name="copyPasswordButton">
+ <property name="toolTip">
+ <string>Copy Password</string>
+ </property>
+ <property name="text">
+ <string>Password</string>
+ </property>
+ </widget>
+ </item>
+ <item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>