new Icons (for compalibility with Win32-KeePass 1.04)

git-svn-id: https://svn.code.sf.net/p/keepassx/code/trunk@41 b624d157-de02-0410-bad0-e51aec6abb33
master
tariq 18 years ago
parent 9fb1f983bf
commit d093eec4b0
  1. BIN
      share/keepass/icons/clientic.png
  2. 6
      src/dialogs/EditEntryDlg.cpp
  3. 2
      src/dialogs/EditGroupDlg.cpp
  4. 2
      src/main.cpp
  5. 2
      src/main.h

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 35 KiB

@ -132,7 +132,7 @@ if(event->spontaneous()==false){
}
void CEditEntryDlg::InitIconComboBox(){
for(int i=0;i<52;i++){
for(int i=0;i<NUM_CLIENT_ICONS;i++){
Combo_IconPicker->insertItem(EntryIcons[i],"",i);
}
Combo_IconPicker->setCurrentItem(entry->ImageID);
@ -229,7 +229,7 @@ if(QString::compare(Edit_Password_w->text(),Edit_Password->text().mid(0,(Edit_Pa
Edit_Password_w->setPaletteBackgroundColor(QColor(255,125,125));
}else
{
Edit_Password_w->setPaletteBackgroundColor(QColor(255,255,255)); ///@FIXME Standart-Hintergrundfarbe nicht weiß
Edit_Password_w->setPaletteBackgroundColor(QColor(255,255,255)); ///@FIXME Standard-Hintergrundfarbe nicht weiß
}
@ -243,7 +243,7 @@ Edit_Password_w->setPaletteBackgroundColor(QColor(255,125,125));
}
else
{
Edit_Password_w->setPaletteBackgroundColor(QColor(255,255,255)); ///@FIXME Standart-Hintergrundfarbe nicht weiß
Edit_Password_w->setPaletteBackgroundColor(QColor(255,255,255)); ///@FIXME Standard-Hintergrundfarbe nicht weiß
}

@ -43,7 +43,7 @@ CEditGroupDialog::~CEditGroupDialog()
void CEditGroupDialog::showEvent(QShowEvent *event){
if(event->spontaneous()==false){
EditTitle->setText(GroupName);
for(int i=0;i<52;i++){
for(int i=0;i<NUM_CLIENT_ICONS;i++){
ComboIconPicker->insertItem(EntryIcons[i],"",i);
}
ComboIconPicker->setCurrentItem(IconID);

@ -211,7 +211,7 @@ QPixmap tmpImg;
//-----------------------
loadImg("clientic.png",tmpImg);
EntryIcons=new QPixmap[NUM_CLIENT_ICONS];
for(int i=0;i<52;i++){
for(int i=0;i<NUM_CLIENT_ICONS;i++){
EntryIcons[i]=tmpImg.copy(i*16,0,16,16);}
//--------------------------
loadImg("key.png",tmpImg);

@ -28,7 +28,7 @@
#include "PwmConfig.h"
#define KEEPASS_VERSION "0.2.0"
#define NUM_CLIENT_ICONS 52
#define NUM_CLIENT_ICONS 62
void createBanner(QLabel *Banner,QPixmap* symbol,QString text);
void createBanner(QLabel *Banner,QPixmap* symbol,QString text,QColor color1,QColor color2,QColor textcolor);