SettingsDlg

git-svn-id: https://svn.code.sf.net/p/keepassx/code/trunk@43 b624d157-de02-0410-bad0-e51aec6abb33
master
tariq 19 years ago
parent a1e30fef1c
commit 3341affdfc
  1. 24
      src/dialogs/SettingsDlg.cpp
  2. 58
      src/forms/MainWindow.ui
  3. 712
      src/forms/SettingsDlg.ui
  4. 13
      src/mainwindow.cpp
  5. 1
      src/mainwindow.h

@ -30,17 +30,29 @@ CSettingsDlg::CSettingsDlg(QWidget* parent, const char* name, bool modal, Qt::WF
: QDialog(parent,name, modal,fl) : QDialog(parent,name, modal,fl)
{ {
setupUi(this); setupUi(this);
connect( ButtonOK, SIGNAL( clicked() ), this, SLOT( OnOK() ) );
connect( ButtonCancel, SIGNAL( clicked() ), this, SLOT( OnCancel() ) );
connect( ButtonColor1, SIGNAL( clicked() ), this, SLOT( OnColor1() ) );
connect( ButtonColor2, SIGNAL( clicked() ), this, SLOT( OnColor2() ) );
connect( ButtonTextColor, SIGNAL( clicked() ), this, SLOT( OnTextColor() ) );
createBanner(Banner,Icon_Settings32x32,trUtf8("Einstellungen")); createBanner(Banner,Icon_Settings32x32,trUtf8("Einstellungen"));
CheckBox_OpenLast->setChecked(config.OpenLast); CheckBox_OpenLast->setChecked(config.OpenLast);
SpinBox_ClipboardTime->setValue(config.ClipboardTimeOut); SpinBox_ClipboardTime->setValue(config.ClipboardTimeOut);
pixmTextColor->setPixmap(*(new QPixmap(pixmTextColor->width(),pixmTextColor->height())));
//pixmTextColor->pixmap()->fill(config.BannerTextColor);
pixmColor1->setPixmap(*(new QPixmap(pixmColor1->width(),pixmColor1->height()))); QPixmap *pxt=new QPixmap(pixmTextColor->width(),pixmTextColor->height());
//pixmColor1->pixmap()->fill(config.BannerColor1); pxt->fill(config.BannerTextColor);
pixmTextColor->clear();
pixmTextColor->setPixmap(*pxt);
QPixmap *px1=new QPixmap(pixmColor1->width(),pixmColor1->height());
px1->fill(config.BannerColor1);
pixmColor1->clear();
pixmColor1->setPixmap(*px1);
pixmColor2->setPixmap(*(new QPixmap(pixmColor2->width(),pixmColor2->height()))); QPixmap *px2=new QPixmap(pixmColor2->width(),pixmColor2->height());
//pixmColor2->pixmap()->fill(config.BannerColor2); px2->fill(config.BannerColor2);
pixmColor2->clear();
pixmColor2->setPixmap(*px2);
color1=config.BannerColor1; color1=config.BannerColor1;
color2=config.BannerColor2; color2=config.BannerColor2;

@ -105,7 +105,7 @@
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>724</width> <width>724</width>
<height>31</height> <height>30</height>
</rect> </rect>
</property> </property>
<widget class="QMenu" name="menuHilfe" > <widget class="QMenu" name="menuHilfe" >
@ -138,11 +138,6 @@
<addaction name="separator" /> <addaction name="separator" />
<addaction name="FileExitAction" /> <addaction name="FileExitAction" />
</widget> </widget>
<widget class="QMenu" name="menuExtras" >
<property name="title" >
<string>Extras</string>
</property>
</widget>
<widget class="QMenu" name="menuBearbeiten" > <widget class="QMenu" name="menuBearbeiten" >
<property name="title" > <property name="title" >
<string>Bearbeiten</string> <string>Bearbeiten</string>
@ -192,6 +187,12 @@
<addaction name="separator" /> <addaction name="separator" />
<addaction name="menuSpalten" /> <addaction name="menuSpalten" />
</widget> </widget>
<widget class="QMenu" name="menuExtras" >
<property name="title" >
<string>Extras</string>
</property>
<addaction name="ExtrasSettingsAction" />
</widget>
<addaction name="menuDatei" /> <addaction name="menuDatei" />
<addaction name="menuBearbeiten" /> <addaction name="menuBearbeiten" />
<addaction name="menuAnsicht" /> <addaction name="menuAnsicht" />
@ -380,85 +381,90 @@
</property> </property>
</action> </action>
<action name="ViewColumnsTitleAction" > <action name="ViewColumnsTitleAction" >
<property name="checkable" > <property name="checkable" >
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="text" > <property name="text" >
<string>Titel</string> <string>Titel</string>
</property> </property>
</action> </action>
<action name="ViewColumnsUsernameAction" > <action name="ViewColumnsUsernameAction" >
<property name="checkable" > <property name="checkable" >
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="text" > <property name="text" >
<string>Benutzername</string> <string>Benutzername</string>
</property> </property>
</action> </action>
<action name="ViewColumnsUrlAction" > <action name="ViewColumnsUrlAction" >
<property name="checkable" > <property name="checkable" >
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="text" > <property name="text" >
<string>URL</string> <string>URL</string>
</property> </property>
</action> </action>
<action name="ViewColumnsPasswordAction" > <action name="ViewColumnsPasswordAction" >
<property name="checkable" > <property name="checkable" >
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="text" > <property name="text" >
<string>Passwort</string> <string>Passwort</string>
</property> </property>
</action> </action>
<action name="ViewColumnsCommentAction" > <action name="ViewColumnsCommentAction" >
<property name="checkable" > <property name="checkable" >
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="text" > <property name="text" >
<string>Kommentar</string> <string>Kommentar</string>
</property> </property>
</action> </action>
<action name="ViewColumnsExpireAction" > <action name="ViewColumnsExpireAction" >
<property name="checkable" > <property name="checkable" >
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="text" > <property name="text" >
<string>Ablaufdatum</string> <string>Ablaufdatum</string>
</property> </property>
</action> </action>
<action name="ViewColumnsCreationAction" > <action name="ViewColumnsCreationAction" >
<property name="checkable" > <property name="checkable" >
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="text" > <property name="text" >
<string>Erstellungsdatum</string> <string>Erstellungsdatum</string>
</property> </property>
</action> </action>
<action name="ViewColumnsLastChangeAction" > <action name="ViewColumnsLastChangeAction" >
<property name="checkable" > <property name="checkable" >
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="text" > <property name="text" >
<string>Letzte Änderung</string> <string>Letzte Änderung</string>
</property> </property>
</action> </action>
<action name="ViewColumnsLastAccessAction" > <action name="ViewColumnsLastAccessAction" >
<property name="checkable" > <property name="checkable" >
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="text" > <property name="text" >
<string>Letzter Zugriff</string> <string>Letzter Zugriff</string>
</property> </property>
</action> </action>
<action name="ViewColumnsAttachmentAction" > <action name="ViewColumnsAttachmentAction" >
<property name="checkable" > <property name="checkable" >
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="text" > <property name="text" >
<string>Anhang</string> <string>Anhang</string>
</property> </property>
</action> </action>
<action name="ExtrasSettingsAction" >
<property name="text" >
<string>Einstellungen...</string>
</property>
</action>
</widget> </widget>
<pixmapfunction></pixmapfunction> <pixmapfunction></pixmapfunction>
<customwidgets> <customwidgets>

@ -1,378 +1,384 @@
<ui version="4.0" stdsetdef="1" > <ui version="4.0" >
<author></author> <author></author>
<comment></comment> <comment></comment>
<exportmacro></exportmacro> <exportmacro></exportmacro>
<class>SettingsDialog</class> <class>SettingsDialog</class>
<widget class="QDialog" name="SettingsDialog" > <widget class="QDialog" name="SettingsDialog" >
<property name="geometry" > <property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>571</width>
<height>341</height>
</rect>
</property>
<property name="minimumSize" >
<size>
<width>571</width>
<height>341</height>
</size>
</property>
<property name="maximumSize" >
<size>
<width>571</width>
<height>341</height>
</size>
</property>
<property name="windowTitle" >
<string>Einstellungen</string>
</property>
<widget class="QPushButton" name="ButtonCancel" >
<property name="geometry" >
<rect>
<x>470</x>
<y>310</y>
<width>90</width>
<height>23</height>
</rect>
</property>
<property name="text" >
<string>Abbre&amp;chen</string>
</property>
<property name="shortcut" >
<string>Alt+C</string>
</property>
</widget>
<widget class="QPushButton" name="ButtonOK" >
<property name="geometry" >
<rect>
<x>380</x>
<y>310</y>
<width>80</width>
<height>23</height>
</rect>
</property>
<property name="text" >
<string>O&amp;K</string>
</property>
<property name="shortcut" >
<string>Alt+K</string>
</property>
</widget>
<widget class="QLabel" name="Banner" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>570</width>
<height>50</height>
</rect>
</property>
<property name="pixmap" >
<pixmap/>
</property>
<property name="scaledContents" >
<bool>true</bool>
</property>
</widget>
<widget class="QTabWidget" name="tabWidget4" >
<property name="geometry" >
<rect>
<x>10</x>
<y>59</y>
<width>550</width>
<height>251</height>
</rect>
</property>
<widget class="QWidget" name="tab" >
<attribute name="title" >
<string>Sicherhei&amp;t</string>
</attribute>
<widget class="QLabel" name="textLabel1" >
<property name="geometry" >
<rect>
<x>10</x>
<y>20</y>
<width>231</width>
<height>20</height>
</rect>
</property>
<property name="text" >
<string>Zwischenablage löschen nach:</string>
</property>
</widget>
<widget class="QSpinBox" name="SpinBox_ClipboardTime" >
<property name="geometry" >
<rect>
<x>250</x>
<y>20</y>
<width>80</width>
<height>20</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="textLabel2" >
<property name="geometry" >
<rect>
<x>340</x>
<y>20</y>
<width>100</width>
<height>20</height>
</rect>
</property>
<property name="text" >
<string>Sekunden</string>
</property>
</widget>
<widget class="QCheckBox" name="CheckBox_ShowPasswords" >
<property name="geometry" >
<rect>
<x>10</x>
<y>50</y>
<width>420</width>
<height>20</height>
</rect>
</property>
<property name="text" >
<string>Passw&amp;örter standardmäßig in Klartext anzeigen</string>
</property>
<property name="shortcut" >
<string>Alt+Ö</string>
</property>
</widget>
</widget>
<widget class="QWidget" name="TabPage" >
<attribute name="title" >
<string>E&amp;rscheinungsbild</string>
</attribute>
<widget class="Q3GroupBox" name="groupBox1" >
<property name="geometry" >
<rect> <rect>
<x>0</x> <x>10</x>
<y>0</y> <y>10</y>
<width>571</width> <width>520</width>
<height>341</height> <height>90</height>
</rect> </rect>
</property> </property>
<property name="minimumSize" > <property name="title" >
<size> <string>Bannerfarbverlauf</string>
<width>571</width> </property>
<height>341</height> <widget class="QLabel" name="textLabel1_3" >
</size>
</property>
<property name="maximumSize" >
<size>
<width>571</width>
<height>341</height>
</size>
</property>
<property name="windowTitle" >
<string>Einstellungen</string>
</property>
<widget class="QPushButton" name="ButtonCancel" >
<property name="geometry" > <property name="geometry" >
<rect> <rect>
<x>470</x> <x>10</x>
<y>310</y> <y>20</y>
<width>90</width> <width>53</width>
<height>23</height> <height>20</height>
</rect> </rect>
</property> </property>
<property name="text" > <property name="text" >
<string>Abbre&amp;chen</string> <string>Farbe 1</string>
</property>
</widget>
<widget class="QLabel" name="pixmColor1" >
<property name="geometry" >
<rect>
<x>70</x>
<y>20</y>
<width>22</width>
<height>22</height>
</rect>
</property>
<property name="pixmap" >
<pixmap/>
</property>
<property name="scaledContents" >
<bool>true</bool>
</property>
</widget>
<widget class="QPushButton" name="ButtonColor1" >
<property name="geometry" >
<rect>
<x>100</x>
<y>20</y>
<width>60</width>
<height>23</height>
</rect>
</property>
<property name="text" >
<string>&amp;ändern...</string>
</property> </property>
<property name="shortcut" > <property name="shortcut" >
<string>Alt+C</string> <string>Alt+Ä</string>
</property> </property>
</widget> </widget>
<widget class="QLabel" name="Banner" > <widget class="QLabel" name="textLabel3" >
<property name="geometry" >
<rect>
<x>190</x>
<y>20</y>
<width>60</width>
<height>20</height>
</rect>
</property>
<property name="text" >
<string>Farbe 2</string>
</property>
</widget>
<widget class="QLabel" name="pixmTextColor" >
<property name="geometry" > <property name="geometry" >
<rect> <rect>
<x>0</x> <x>70</x>
<y>0</y> <y>50</y>
<width>570</width> <width>22</width>
<height>50</height> <height>22</height>
</rect> </rect>
</property> </property>
<property name="pixmap" > <property name="pixmap" >
<pixmap>image0</pixmap> <pixmap/>
</property> </property>
<property name="scaledContents" > <property name="scaledContents" >
<bool>true</bool> <bool>true</bool>
</property> </property>
</widget> </widget>
<widget class="QPushButton" name="ButtonOK" > <widget class="QPushButton" name="ButtonTextColor" >
<property name="geometry" > <property name="geometry" >
<rect> <rect>
<x>380</x> <x>100</x>
<y>310</y> <y>50</y>
<width>80</width> <width>60</width>
<height>23</height> <height>23</height>
</rect> </rect>
</property> </property>
<property name="text" > <property name="text" >
<string>O&amp;K</string> <string>ändern...</string>
</property> </property>
<property name="shortcut" > <property name="shortcut" >
<string>Alt+K</string> <string/>
</property> </property>
</widget> </widget>
<widget class="QTabWidget" name="tabWidget4" > <widget class="QLabel" name="textLabel2_2" >
<property name="geometry" >
<rect>
<x>10</x>
<y>50</y>
<width>54</width>
<height>20</height>
</rect>
</property>
<property name="text" >
<string>Textfarbe</string>
</property>
</widget>
<widget class="QLabel" name="pixmColor2" >
<property name="geometry" > <property name="geometry" >
<rect> <rect>
<x>10</x> <x>250</x>
<y>60</y> <y>20</y>
<width>550</width> <width>22</width>
<height>240</height> <height>22</height>
</rect> </rect>
</property>
<property name="pixmap" >
<pixmap/>
</property>
<property name="scaledContents" >
<bool>true</bool>
</property>
</widget>
<widget class="QPushButton" name="ButtonColor2" >
<property name="geometry" >
<rect>
<x>280</x>
<y>20</y>
<width>60</width>
<height>23</height>
</rect>
</property>
<property name="text" >
<string>ändern...</string>
</property> </property>
<widget class="QWidget" name="tab" > <property name="shortcut" >
<attribute name="title" > <string/>
<string>Sicherhei&amp;t</string> </property>
</attribute> </widget>
<widget class="QLabel" name="textLabel1" > </widget>
<property name="geometry" > <widget class="QCheckBox" name="CheckBox_ExpandGroupTree" >
<rect> <property name="geometry" >
<x>10</x> <rect>
<y>20</y> <x>10</x>
<width>180</width> <y>110</y>
<height>20</height> <width>380</width>
</rect> <height>20</height>
</property> </rect>
<property name="text" > </property>
<string>Zwischenablage löschen nach:</string> <property name="text" >
</property> <string>Gruppenbaum beim &amp;Öffnen aufklappen</string>
</widget> </property>
<widget class="QLabel" name="textLabel2" > <property name="shortcut" >
<property name="geometry" > <string>Alt+Ö</string>
<rect> </property>
<x>280</x> </widget>
<y>20</y> </widget>
<width>100</width> <widget class="QWidget" name="tab" >
<height>20</height> <attribute name="title" >
</rect> <string>S&amp;onstiges</string>
</property> </attribute>
<property name="text" > <widget class="QCheckBox" name="CheckBox_OpenLast" >
<string>Sekunden</string> <property name="geometry" >
</property> <rect>
</widget> <x>10</x>
<widget class="QSpinBox" name="SpinBox_ClipboardTime" > <y>20</y>
<property name="geometry" > <width>380</width>
<rect> <height>20</height>
<x>190</x> </rect>
<y>20</y> </property>
<width>80</width> <property name="text" >
<height>20</height> <string>zuletzt geöffnete Datei bei Programmstart &amp;öffnen</string>
</rect> </property>
</property> <property name="shortcut" >
</widget> <string>Alt+Ö</string>
<widget class="QCheckBox" name="CheckBox_ShowPasswords" > </property>
<property name="geometry" > </widget>
<rect> <widget class="QLabel" name="textLabel1_4" >
<x>10</x> <property name="geometry" >
<y>50</y> <rect>
<width>420</width> <x>10</x>
<height>20</height> <y>50</y>
</rect> <width>110</width>
</property> <height>20</height>
<property name="text" > </rect>
<string>Passw&amp;örter standardmäßig in Klartext anzeigen</string> </property>
</property> <property name="text" >
<property name="shortcut" > <string>Browseraufruf:</string>
<string>Alt+ö</string> </property>
</property> </widget>
</widget> <widget class="QLineEdit" name="Edit_BrowserCmd" >
</widget> <property name="geometry" >
<widget class="QWidget" name="TabPage" > <rect>
<attribute name="title" > <x>120</x>
<string>E&amp;rscheinungsbild</string> <y>50</y>
</attribute> <width>190</width>
<widget class="Q3GroupBox" name="groupBox1" > <height>21</height>
<property name="geometry" > </rect>
<rect> </property>
<x>10</x>
<y>10</y>
<width>520</width>
<height>90</height>
</rect>
</property>
<property name="title" >
<string>Bannerfarbverlauf</string>
</property>
<widget class="QLabel" name="textLabel1_3" >
<property name="geometry" >
<rect>
<x>10</x>
<y>20</y>
<width>53</width>
<height>20</height>
</rect>
</property>
<property name="text" >
<string>Farbe 1</string>
</property>
</widget>
<widget class="QLabel" name="pixmColor1" >
<property name="geometry" >
<rect>
<x>70</x>
<y>20</y>
<width>22</width>
<height>22</height>
</rect>
</property>
<property name="pixmap" >
<pixmap>image0</pixmap>
</property>
<property name="scaledContents" >
<bool>true</bool>
</property>
</widget>
<widget class="QPushButton" name="ButtonColor1" >
<property name="geometry" >
<rect>
<x>100</x>
<y>20</y>
<width>60</width>
<height>23</height>
</rect>
</property>
<property name="text" >
<string>&amp;ändern...</string>
</property>
<property name="shortcut" >
<string>Alt+ä</string>
</property>
</widget>
<widget class="QLabel" name="textLabel3" >
<property name="geometry" >
<rect>
<x>190</x>
<y>20</y>
<width>60</width>
<height>20</height>
</rect>
</property>
<property name="text" >
<string>Farbe 2</string>
</property>
</widget>
<widget class="QLabel" name="pixmTextColor" >
<property name="geometry" >
<rect>
<x>70</x>
<y>50</y>
<width>22</width>
<height>22</height>
</rect>
</property>
<property name="pixmap" >
<pixmap>image0</pixmap>
</property>
<property name="scaledContents" >
<bool>true</bool>
</property>
</widget>
<widget class="QPushButton" name="ButtonTextColor" >
<property name="geometry" >
<rect>
<x>100</x>
<y>50</y>
<width>60</width>
<height>23</height>
</rect>
</property>
<property name="text" >
<string>ändern...</string>
</property>
<property name="shortcut" >
<string/>
</property>
</widget>
<widget class="QLabel" name="textLabel2_2" >
<property name="geometry" >
<rect>
<x>10</x>
<y>50</y>
<width>54</width>
<height>20</height>
</rect>
</property>
<property name="text" >
<string>Textfarbe</string>
</property>
</widget>
<widget class="QLabel" name="pixmColor2" >
<property name="geometry" >
<rect>
<x>250</x>
<y>20</y>
<width>22</width>
<height>22</height>
</rect>
</property>
<property name="pixmap" >
<pixmap>image0</pixmap>
</property>
<property name="scaledContents" >
<bool>true</bool>
</property>
</widget>
<widget class="QPushButton" name="ButtonColor2" >
<property name="geometry" >
<rect>
<x>280</x>
<y>20</y>
<width>60</width>
<height>23</height>
</rect>
</property>
<property name="text" >
<string>ändern...</string>
</property>
<property name="shortcut" >
<string/>
</property>
</widget>
</widget>
<widget class="QCheckBox" name="CheckBox_ExpandGroupTree" >
<property name="geometry" >
<rect>
<x>10</x>
<y>110</y>
<width>380</width>
<height>20</height>
</rect>
</property>
<property name="text" >
<string>Gruppenbaum beim &amp;Öffnen aufklappen</string>
</property>
<property name="shortcut" >
<string>Alt+ö</string>
</property>
</widget>
</widget>
<widget class="QWidget" name="tab" >
<attribute name="title" >
<string>S&amp;onstiges</string>
</attribute>
<widget class="QCheckBox" name="CheckBox_OpenLast" >
<property name="geometry" >
<rect>
<x>10</x>
<y>20</y>
<width>380</width>
<height>20</height>
</rect>
</property>
<property name="text" >
<string>zuletzt geöffnete Datei bei Programmstart &amp;öffnen</string>
</property>
<property name="shortcut" >
<string>Alt+ö</string>
</property>
</widget>
<widget class="QLabel" name="textLabel1_4" >
<property name="geometry" >
<rect>
<x>10</x>
<y>50</y>
<width>110</width>
<height>20</height>
</rect>
</property>
<property name="text" >
<string>Browseraufruf:</string>
</property>
</widget>
<widget class="QLineEdit" name="Edit_BrowserCmd" >
<property name="geometry" >
<rect>
<x>120</x>
<y>50</y>
<width>190</width>
<height>21</height>
</rect>
</property>
</widget>
</widget>
</widget> </widget>
</widget>
</widget> </widget>
<layoutdefault spacing="6" margin="11" /> </widget>
<pixmapfunction></pixmapfunction> <layoutdefault spacing="6" margin="11" />
<tabstops> <pixmapfunction></pixmapfunction>
<tabstop>tabWidget4</tabstop> <customwidgets>
<tabstop>SpinBox_ClipboardTime</tabstop> <customwidget>
<tabstop>CheckBox_ShowPasswords</tabstop> <class>Q3GroupBox</class>
<tabstop>ButtonColor1</tabstop> <extends></extends>
<tabstop>ButtonTextColor</tabstop> <header>Qt3Support/Q3GroupBox</header>
<tabstop>ButtonColor2</tabstop> <container>1</container>
<tabstop>CheckBox_OpenLast</tabstop> <pixmap></pixmap>
<tabstop>Edit_BrowserCmd</tabstop> </customwidget>
<tabstop>ButtonOK</tabstop> </customwidgets>
<tabstop>ButtonCancel</tabstop> <tabstops>
</tabstops> <tabstop>tabWidget4</tabstop>
<images> <tabstop>SpinBox_ClipboardTime</tabstop>
<image name="image0" > <tabstop>CheckBox_ShowPasswords</tabstop>
<data format="XPM.GZ" length="4833" >789c8597596f23470e80dfe75718c3b7c182e9eabb11ec834fc9873cbeaf601fc86ec9966df994cfc5fef794483633934d10c836fcb9582cde55fee5dbd2d9de68e9db2f5f9ee7349fb64bed153d2d7deb5e66b38fdffef3efff7ef99aa64b8baf2c5b4abffeebcb57dc5c6a9720499290640b8613e110ff22eb941b07657e7256f90be742e4a7c6a9ed076791c7a1732efbd784d3f817615a71167db0e55c0a17ce95c88f8ced3c7e74d6f306cea29fd159f583b3e8a75367d18f5bce8df0b63389be67e3ccfcd97716fd78e22cfaf1d459edefedcbedbc63e75af4cf85b33edeb8616cfef1b5b39eb7e72cf6c28b7166fb53678df7b5b3fadf388b3d503a8b3d40c6b9eaa35767d9cf37c6a5e53f73d6f3769d55bedf5f2789ac6bfcf2de1fda33ce4cdfbb716eeb6fce1acf1de3c2f2bbe7acf573605cdafe2b67f5efd359f20bb97165febe38b3c453fd2bfa7cd0a67165fea97c9db416ff1de3b1e9d77a6d12567bf8c159ed9d1ab7969fc2b8d378e2ba304579c93769bd719457fd524f2184cae221f51bd250a8fd3c35ae4cfec1b8b6fa06e3c6eaffc859d651f215b2d0c7efdab8327b969d459e9e8d7bfd57c68df587c43be4c1e20b685c1b9f0b17c1e283cfce927f96f911ca40d63fcbce7afebd31eb3a91b3fa37376ead9e64dea5759606a94f546eb23499883d9bc69932bef4acf22cf594725c1f8bfca9b3c8d3aa711e82c82bb73de3817111a4fe2171d67e1a1b97ba8e87ce5a8f12bfb48b2cfae8ceb85206894f9666135bff2e5c45d6fae894a3393a3f5be13aaeb7729eca4ff2d6ce3f5b701ef2b1c95f0aa7715dfb4de657519675d0fc8d8c9ba0f527f12faab234fd8fc695f1ab716dfa3f84ebb2089dec5f779678d381711d74beae398b7f540b3751bfd6e39ab1c9033b6bbd07e326687dcb3c2da8ecf47cfa301e9bbe37e389c94b3c0a2edba0f5f361dc194b3c8b36eed77acf9c453fab7f6d95587e6e8d83c957c25dc9668fdc5fc538b2c6e3a6e754e7adcc836252b6a9d69bccffb2ad535d67e98fb2ab538befaab3e8439947e5b84e82f6ffa17165f1bd7096fcc1ccb8b67a981b375a0f20f92d2775b078493dd54c75aaef0de9dfba75167fea2eb2f683dc5771388d753fbe396b7fca7c6b52ea2c5e57ce621fcbfdd26464f1812767ed8f63e3ced665de34c464fe9e1bb3d5b3f45bc3dca67a7fc9fba7697b46a9bf66cc13cb8fcc8b66c2960f3832b6f3988dad1e2828b799c53371d6f9766b9c5b7f4afe286983f5c3aeb3be177ace6c1ecc9cb51f6a678def8a7169f351fca710f5a93d9db3d64febacf9981aa76a2f5e3b6b7d5d1af7f6df3aebfb67e4acf93f72d6f972675cd83c7d77d67cac3bebfdfce9acf7eb87b3c66b665cdabc5feed9f44bfd51caade59395dbc4fc3f33cecc9f9b9e35bf786fdccfffc459e7ffc059eb7fe2acefcfd459df13dbceda5f4367bddffed8affdf0665c243a6f769c351f6367f51f7ad6fcefcf9dd57e72567fd959e3dd3a6bbc3b677daf34ce6affadb3dadbdb57263a5f46ce7adf8e9dd5dededfbe5e2f9cb5de5b678df7bb71a5fa59f767dccf77cd57d6f7136c185b7e79d359f3159cf53df7e8acf19e19f7f57ee5acef9b0d67f5b733b6fa844b63f38f07ceea9fcc3fca5b9bef58199b3dbce5acefa53567bd6fee8c73d54f95b3fa3b34b6fcc3b3b3f6dba1b3f6afe6a788fb6bad9f1f3f08f19b90b18ddff0f3dafefc2fe4bb284948f1b7f1e2e73fca4ff012af708ad77883b77f2f8f33bc8b9aeff1011ff1099f718e2ff88a6ff88e1ff8196da33fc92fe30aaee21aaee3060e70889bb885dbb88323dc8d7a407df941be8dd2dfa3ec5e94dac7033cc4233cc6133cc5333cc78bffb327c18029669863812556d1ef1a9ba8168080a1850ec608daaf30814bb882296ec035dc486426700b33b8837b78c0213cc2133ce367af3f7a93c01c5e700b5ee10d6fe11d093ee01396610556f104d6601d36a2d77abf0da2f41036610bb6b1841d18c12e7c873dd887033884233886133885b318297d3fc558e114cee1021208d1e01432c8a180122aa8e3c5190f2322c63bb507995aea62bc37698c9f34a14bba822d9ad235ddd02dcde80e87744f0f7fc823d1233de1363d634d737aa1577aa3ebf8047ba70ffaa4655aa1555aa375b37f0c298e6923ca0fb0a1212cd3266dd136edd08876e93bedd13e1dd0211d997e88f6031dd3099d624e67744e17f15f8b40296594cb273ef61632aa5ff34515d5d43032707c19449fd6e993db283b8217ee62fc0630fa31bf1cdf037c493bb1724ef98a162d30e56bcae185467cc3b731dfa0f935f919dff13daef1033ff2133fc77d039e73d41da55ff90d268b8afba17ea27d30a18edff9833f7999577895d7a88421aff31b6fc0e04ff5c6314acc031ef2266cc4c7ce036ff12ca66a10ff75d95eacfd2ccf3b0bfd38e651ac93f7d83b77f84e47d1e6f1222e0bf9c5ef3ff7a3f690766f4ffd0490aa85affffbf5cbef985d44a8</data> <tabstop>ButtonColor1</tabstop>
</image> <tabstop>ButtonTextColor</tabstop>
</images> <tabstop>ButtonColor2</tabstop>
<tabstop>CheckBox_OpenLast</tabstop>
<tabstop>Edit_BrowserCmd</tabstop>
<tabstop>ButtonOK</tabstop>
<tabstop>ButtonCancel</tabstop>
</tabstops>
<resources/>
<connections/>
</ui> </ui>

@ -111,6 +111,8 @@ void KeepassMainWindow::setupConnections(){
connect(ViewColumnsLastAccessAction,SIGNAL(toggled(bool)), this, SLOT(OnColumnVisibilityChanged(bool))); connect(ViewColumnsLastAccessAction,SIGNAL(toggled(bool)), this, SLOT(OnColumnVisibilityChanged(bool)));
connect(ViewColumnsAttachmentAction,SIGNAL(toggled(bool)), this, SLOT(OnColumnVisibilityChanged(bool))); connect(ViewColumnsAttachmentAction,SIGNAL(toggled(bool)), this, SLOT(OnColumnVisibilityChanged(bool)));
connect(ExtrasSettingsAction,SIGNAL(triggered(bool)),this,SLOT(OnExtrasSettings()));
connect(&ClipboardTimer, SIGNAL(timeout()), this, SLOT(OnClipboardTimeOut())); connect(&ClipboardTimer, SIGNAL(timeout()), this, SLOT(OnClipboardTimeOut()));
connect(GroupView,SIGNAL(currentItemChanged(QTreeWidgetItem*,QTreeWidgetItem*)),this, connect(GroupView,SIGNAL(currentItemChanged(QTreeWidgetItem*,QTreeWidgetItem*)),this,
SLOT(OnCurrentGroupChanged(QTreeWidgetItem*,QTreeWidgetItem*))); SLOT(OnCurrentGroupChanged(QTreeWidgetItem*,QTreeWidgetItem*)));
@ -729,4 +731,13 @@ if(FileOpen){
} }
else else
e->accept(); e->accept();
} }
void KeepassMainWindow::OnExtrasSettings(){
CSettingsDlg dlg(this,"SettingsDlg");
dlg.exec();
}

@ -84,6 +84,7 @@ private slots:
void OnColumnVisibilityChanged(bool show); void OnColumnVisibilityChanged(bool show);
void OnUsernPasswVisibilityChanged(bool hide); void OnUsernPasswVisibilityChanged(bool hide);
void OnFileModified(); void OnFileModified();
void OnExtrasSettings();
private: private:
enum SelectionState{NONE,SINGLE,MULTIPLE,SEARCHGROUP}; enum SelectionState{NONE,SINGLE,MULTIPLE,SEARCHGROUP};