Another bunch of GUI changes

Auto-save database on program exit: apply adjusted patch #1900048 (closes #1792317)

git-svn-id: https://svn.code.sf.net/p/keepassx/code/trunk@159 b624d157-de02-0410-bad0-e51aec6abb33
This commit is contained in:
sniperbeamer
2008-02-24 20:47:28 +00:00
parent fecd1109b3
commit 7b15707c6d
15 changed files with 206 additions and 103 deletions

View File

@@ -5,7 +5,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>502</width>
<width>439</width>
<height>300</height>
</rect>
</property>
@@ -23,7 +23,7 @@
</property>
<property name="sizeHint" >
<size>
<width>481</width>
<width>1</width>
<height>50</height>
</size>
</property>
@@ -50,21 +50,9 @@
<property name="allColumnsShowFocus" >
<bool>true</bool>
</property>
<column>
<property name="text" >
<string>Group</string>
</property>
</column>
<column>
<property name="text" >
<string>Title</string>
</property>
</column>
<column>
<property name="text" >
<string>Username</string>
</property>
</column>
<property name="columnCount" >
<number>0</number>
</property>
</widget>
</item>
<item>

View File

@@ -556,11 +556,15 @@
</widget>
<layoutdefault spacing="6" margin="11" />
<tabstops>
<tabstop>Combo_Group</tabstop>
<tabstop>Button_Icons</tabstop>
<tabstop>Edit_Title</tabstop>
<tabstop>Edit_UserName</tabstop>
<tabstop>Edit_URL</tabstop>
<tabstop>Edit_Password</tabstop>
<tabstop>ButtonEchoMode</tabstop>
<tabstop>Edit_Password_w</tabstop>
<tabstop>ButtonGenPw</tabstop>
<tabstop>Edit_Comment</tabstop>
<tabstop>DateTime_Expire</tabstop>
<tabstop>ButtonExpirePresets</tabstop>
@@ -569,11 +573,7 @@
<tabstop>ButtonOpenAttachment</tabstop>
<tabstop>ButtonSaveAttachment</tabstop>
<tabstop>ButtonDeleteAttachment</tabstop>
<tabstop>ButtonEchoMode</tabstop>
<tabstop>ButtonGenPw</tabstop>
<tabstop>buttonBox</tabstop>
<tabstop>Combo_Group</tabstop>
<tabstop>Button_Icons</tabstop>
</tabstops>
<resources/>
<connections/>

View File

@@ -154,7 +154,7 @@
</widget>
<widget class="QMenu" name="menuBookmarks" >
<property name="title" >
<string>Bookmarks</string>
<string>&amp;Bookmarks</string>
</property>
</widget>
<addaction name="FileNewAction" />
@@ -202,7 +202,7 @@
</property>
<widget class="QMenu" name="menuTool_Button_Sizes" >
<property name="title" >
<string>Toolbar Icon Size</string>
<string>&amp;Toolbar Icon Size</string>
</property>
<addaction name="ViewToolButtonSize16Action" />
<addaction name="ViewToolButtonSize22Action" />
@@ -210,7 +210,7 @@
</widget>
<widget class="QMenu" name="menuColumns" >
<property name="title" >
<string>Columns</string>
<string>&amp;Columns</string>
</property>
<addaction name="ViewColumnsGroupAction" />
<addaction name="separator" />
@@ -253,7 +253,7 @@
</widget>
<action name="ManageBookmarksAction" >
<property name="text" >
<string>Manage Bookmarks...</string>
<string>&amp;Manage Bookmarks...</string>
</property>
</action>
<action name="FileOpenAction" >
@@ -366,7 +366,7 @@
<bool>true</bool>
</property>
<property name="text" >
<string>Show Entry Details</string>
<string>Show &amp;Entry Details</string>
</property>
</action>
<action name="ViewHideUsernamesAction" >
@@ -374,7 +374,7 @@
<bool>true</bool>
</property>
<property name="text" >
<string>Hide Usernames</string>
<string>Hide &amp;Usernames</string>
</property>
</action>
<action name="ViewHidePasswordsAction" >
@@ -382,7 +382,7 @@
<bool>true</bool>
</property>
<property name="text" >
<string>Hide Passwords</string>
<string>Hide &amp;Passwords</string>
</property>
</action>
<action name="ViewColumnsTitleAction" >
@@ -390,7 +390,7 @@
<bool>true</bool>
</property>
<property name="text" >
<string>Title</string>
<string>&amp;Title</string>
</property>
</action>
<action name="ViewColumnsUsernameAction" >
@@ -398,7 +398,7 @@
<bool>true</bool>
</property>
<property name="text" >
<string>Username</string>
<string>User&amp;name</string>
</property>
</action>
<action name="ViewColumnsUrlAction" >
@@ -406,7 +406,7 @@
<bool>true</bool>
</property>
<property name="text" >
<string>URL</string>
<string>&amp;URL</string>
</property>
</action>
<action name="ViewColumnsPasswordAction" >
@@ -414,7 +414,7 @@
<bool>true</bool>
</property>
<property name="text" >
<string>Password</string>
<string>&amp;Password</string>
</property>
</action>
<action name="ViewColumnsCommentAction" >
@@ -422,7 +422,7 @@
<bool>true</bool>
</property>
<property name="text" >
<string>Comment</string>
<string>&amp;Comment</string>
</property>
</action>
<action name="ViewColumnsExpireAction" >
@@ -430,7 +430,7 @@
<bool>true</bool>
</property>
<property name="text" >
<string>Expires</string>
<string>E&amp;xpires</string>
</property>
</action>
<action name="ViewColumnsCreationAction" >
@@ -438,7 +438,7 @@
<bool>true</bool>
</property>
<property name="text" >
<string>Creation</string>
<string>C&amp;reation</string>
</property>
</action>
<action name="ViewColumnsLastChangeAction" >
@@ -446,7 +446,7 @@
<bool>true</bool>
</property>
<property name="text" >
<string>Last Change</string>
<string>&amp;Last Change</string>
</property>
</action>
<action name="ViewColumnsLastAccessAction" >
@@ -454,7 +454,7 @@
<bool>true</bool>
</property>
<property name="text" >
<string>Last Access</string>
<string>Last &amp;Access</string>
</property>
</action>
<action name="ViewColumnsAttachmentAction" >
@@ -462,7 +462,7 @@
<bool>true</bool>
</property>
<property name="text" >
<string>Attachment</string>
<string>A&amp;ttachment</string>
</property>
</action>
<action name="ExtrasSettingsAction" >
@@ -480,7 +480,7 @@
<bool>true</bool>
</property>
<property name="text" >
<string>Show Statusbar</string>
<string>Show &amp;Statusbar</string>
</property>
</action>
<action name="HelpHandbookAction" >
@@ -506,7 +506,7 @@
<bool>true</bool>
</property>
<property name="text" >
<string>16x16</string>
<string>&amp;16x16</string>
</property>
</action>
<action name="ViewToolButtonSize22Action" >
@@ -514,7 +514,7 @@
<bool>true</bool>
</property>
<property name="text" >
<string>22x22</string>
<string>&amp;22x22</string>
</property>
</action>
<action name="ViewToolButtonSize28Action" >
@@ -522,7 +522,7 @@
<bool>true</bool>
</property>
<property name="text" >
<string>28x28</string>
<string>2&amp;8x28</string>
</property>
</action>
<action name="FileNewKdbAction" >
@@ -553,12 +553,12 @@
<bool>true</bool>
</property>
<property name="text" >
<string>Group (search results only)</string>
<string>&amp;Group (search results only)</string>
</property>
</action>
<action name="ExtrasShowExpiredEntriesAction" >
<property name="text" >
<string>Show Expired Entries...</string>
<string>Show &amp;Expired Entries...</string>
</property>
</action>
<action name="ExtrasTrashCanAction" >
@@ -571,12 +571,12 @@
</action>
<action name="AddBookmarkAction" >
<property name="text" >
<string>Add Bookmark...</string>
<string>&amp;Add Bookmark...</string>
</property>
</action>
<action name="AddThisAsBookmarkAction" >
<property name="text" >
<string>Bookmark this Database...</string>
<string>Bookmark &amp;this Database...</string>
</property>
</action>
</widget>

View File

@@ -317,12 +317,13 @@
<layoutdefault spacing="6" margin="11" />
<tabstops>
<tabstop>Edit_Password</tabstop>
<tabstop>ButtonChangeEchoMode</tabstop>
<tabstop>Edit_PasswordRep</tabstop>
<tabstop>Combo_Dirs</tabstop>
<tabstop>ButtonBrowse</tabstop>
<tabstop>CheckBox_Both</tabstop>
<tabstop>ButtonBox</tabstop>
<tabstop>Button_Bookmarks</tabstop>
<tabstop>ButtonChangeEchoMode</tabstop>
</tabstops>
<resources/>
<connections/>

View File

@@ -10,9 +10,7 @@
</rect>
</property>
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>4</hsizetype>
<vsizetype>4</vsizetype>
<sizepolicy vsizetype="Maximum" hsizetype="Maximum" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -21,12 +19,21 @@
<string>Password Generator</string>
</property>
<layout class="QVBoxLayout" >
<property name="margin" >
<number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<property name="leftMargin" >
<number>9</number>
</property>
<property name="topMargin" >
<number>9</number>
</property>
<property name="rightMargin" >
<number>9</number>
</property>
<property name="bottomMargin" >
<number>9</number>
</property>
<item>
<spacer>
<property name="orientation" >
@@ -49,12 +56,21 @@
<string>Options</string>
</property>
<layout class="QVBoxLayout" >
<property name="margin" >
<number>9</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<property name="leftMargin" >
<number>9</number>
</property>
<property name="topMargin" >
<number>9</number>
</property>
<property name="rightMargin" >
<number>9</number>
</property>
<property name="bottomMargin" >
<number>9</number>
</property>
<item>
<widget class="QRadioButton" name="Radio_1" >
<property name="text" >
@@ -67,12 +83,21 @@
</item>
<item>
<layout class="QHBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<property name="leftMargin" >
<number>0</number>
</property>
<property name="topMargin" >
<number>0</number>
</property>
<property name="rightMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>0</number>
</property>
<item>
<spacer>
<property name="orientation" >
@@ -91,10 +116,22 @@
</item>
<item>
<layout class="QGridLayout" >
<property name="margin" >
<property name="leftMargin" >
<number>0</number>
</property>
<property name="spacing" >
<property name="topMargin" >
<number>0</number>
</property>
<property name="rightMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>0</number>
</property>
<property name="horizontalSpacing" >
<number>6</number>
</property>
<property name="verticalSpacing" >
<number>6</number>
</property>
<item row="1" column="0" >
@@ -202,12 +239,21 @@
</item>
<item>
<layout class="QHBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<property name="leftMargin" >
<number>0</number>
</property>
<property name="topMargin" >
<number>0</number>
</property>
<property name="rightMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>0</number>
</property>
<item>
<spacer>
<property name="orientation" >
@@ -251,12 +297,21 @@
</item>
<item>
<layout class="QHBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<property name="leftMargin" >
<number>0</number>
</property>
<property name="topMargin" >
<number>0</number>
</property>
<property name="rightMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>0</number>
</property>
<item>
<widget class="QLabel" name="textLabel1" >
<property name="text" >
@@ -266,12 +321,12 @@
</item>
<item>
<widget class="QSpinBox" name="Spin_Num" >
<property name="maximum" >
<number>10000</number>
</property>
<property name="minimum" >
<number>1</number>
</property>
<property name="maximum" >
<number>10000</number>
</property>
<property name="value" >
<number>20</number>
</property>
@@ -303,9 +358,7 @@
<item>
<widget class="QProgressBar" name="Progress_Quali" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>1</vsizetype>
<sizepolicy vsizetype="Minimum" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@@ -331,12 +384,21 @@
</item>
<item>
<layout class="QHBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<property name="leftMargin" >
<number>0</number>
</property>
<property name="topMargin" >
<number>0</number>
</property>
<property name="rightMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>0</number>
</property>
<item>
<widget class="QCheckBox" name="Check_CollectEntropy" >
<property name="text" >
@@ -393,12 +455,21 @@
</item>
<item>
<layout class="QHBoxLayout" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<property name="leftMargin" >
<number>0</number>
</property>
<property name="topMargin" >
<number>0</number>
</property>
<property name="rightMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>0</number>
</property>
<item>
<widget class="QLabel" name="textLabel4" >
<property name="text" >
@@ -445,6 +516,7 @@
</widget>
<layoutdefault spacing="6" margin="11" />
<tabstops>
<tabstop>DialogButtons</tabstop>
<tabstop>Radio_1</tabstop>
<tabstop>checkBox1</tabstop>
<tabstop>checkBox2</tabstop>
@@ -455,7 +527,9 @@
<tabstop>checkBox7</tabstop>
<tabstop>Radio_2</tabstop>
<tabstop>Edit_chars</tabstop>
<tabstop>Spin_Num</tabstop>
<tabstop>Check_CollectEntropy</tabstop>
<tabstop>Check_CollectOncePerSession</tabstop>
<tabstop>Edit_dest</tabstop>
<tabstop>ButtonGenerate</tabstop>
</tabstops>

View File

@@ -270,12 +270,14 @@
<tabstop>Edit_Search</tabstop>
<tabstop>checkBox_Cs</tabstop>
<tabstop>checkBox_regExp</tabstop>
<tabstop>checkBox_Recursive</tabstop>
<tabstop>checkBox_Title</tabstop>
<tabstop>checkBox_Username</tabstop>
<tabstop>checkBox_Password</tabstop>
<tabstop>checkBox_Comment</tabstop>
<tabstop>checkBox_URL</tabstop>
<tabstop>checkBox_Attachment</tabstop>
<tabstop>ButtonBox</tabstop>
</tabstops>
<resources/>
<connections/>

View File

@@ -299,6 +299,13 @@
</item>
</layout>
</item>
<item>
<widget class="QCheckBox" name="CheckBox_AutoSave" >
<property name="text" >
<string>Automatically save database on exit</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="checkBox_AskBeforeDelete" >
<property name="text" >
@@ -1280,7 +1287,7 @@
<item>
<widget class="QCheckBox" name="CheckBox_EntryTitlesMatch" >
<property name="text" >
<string>Use entry titles to match the window for Global Auto-Type</string>
<string>Use entries' title to match the window for Global Auto-Type</string>
</property>
</widget>
</item>
@@ -1352,6 +1359,11 @@
<tabstop>IntPlugin_Button_Config</tabstop>
<tabstop>SpinBox_AutoTypePreGap</tabstop>
<tabstop>SpinBox_AutoTypeKeyStrokeDelay</tabstop>
<tabstop>Box_BrowserCmd</tabstop>
<tabstop>Edit_BrowserCmd</tabstop>
<tabstop>Button_BrowserCmdBrowse</tabstop>
<tabstop>Edit_MountDir</tabstop>
<tabstop>Button_MountDirBrowse</tabstop>
<tabstop>CheckBox_SaveRelativePaths</tabstop>
<tabstop>Edit_GlobalShortcut</tabstop>
<tabstop>CheckBox_EntryTitlesMatch</tabstop>