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
This commit is contained in:
parent
9fb1f983bf
commit
d093eec4b0
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(){
|
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->insertItem(EntryIcons[i],"",i);
|
||||||
}
|
}
|
||||||
Combo_IconPicker->setCurrentItem(entry->ImageID);
|
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));
|
Edit_Password_w->setPaletteBackgroundColor(QColor(255,125,125));
|
||||||
}else
|
}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
|
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){
|
void CEditGroupDialog::showEvent(QShowEvent *event){
|
||||||
if(event->spontaneous()==false){
|
if(event->spontaneous()==false){
|
||||||
EditTitle->setText(GroupName);
|
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->insertItem(EntryIcons[i],"",i);
|
||||||
}
|
}
|
||||||
ComboIconPicker->setCurrentItem(IconID);
|
ComboIconPicker->setCurrentItem(IconID);
|
||||||
|
|
|
@ -211,7 +211,7 @@ QPixmap tmpImg;
|
||||||
//-----------------------
|
//-----------------------
|
||||||
loadImg("clientic.png",tmpImg);
|
loadImg("clientic.png",tmpImg);
|
||||||
EntryIcons=new QPixmap[NUM_CLIENT_ICONS];
|
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);}
|
EntryIcons[i]=tmpImg.copy(i*16,0,16,16);}
|
||||||
//--------------------------
|
//--------------------------
|
||||||
loadImg("key.png",tmpImg);
|
loadImg("key.png",tmpImg);
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
#include "PwmConfig.h"
|
#include "PwmConfig.h"
|
||||||
|
|
||||||
#define KEEPASS_VERSION "0.2.0"
|
#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);
|
||||||
void createBanner(QLabel *Banner,QPixmap* symbol,QString text,QColor color1,QColor color2,QColor textcolor);
|
void createBanner(QLabel *Banner,QPixmap* symbol,QString text,QColor color1,QColor color2,QColor textcolor);
|
||||||
|
|
Loading…
Reference in New Issue