author | zautrix <zautrix> | 2005-03-03 14:48:33 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-03-03 14:48:33 (UTC) |
commit | a4ea625087ea7213419828e8decdff48ae231968 (patch) (side-by-side diff) | |
tree | e29565039694702cdc471e76891b2d6c3ac89294 | |
parent | 91feaad38e5f81063fa496a4e2988aa791267fd1 (diff) | |
download | kdepimpi-a4ea625087ea7213419828e8decdff48ae231968.zip kdepimpi-a4ea625087ea7213419828e8decdff48ae231968.tar.gz kdepimpi-a4ea625087ea7213419828e8decdff48ae231968.tar.bz2 |
VINklumpen
-rw-r--r-- | bin/kdepim/WhatsNew.txt | 4 | ||||
-rw-r--r-- | bin/kdepim/pwmanager/germantranslation.txt | 2 | ||||
-rw-r--r-- | bin/kdepim/pwmanager/icons16/decrypted.png | bin | 1009 -> 855 bytes | |||
-rw-r--r-- | bin/kdepim/pwmanager/icons22/decrypted.png | bin | 939 -> 1117 bytes | |||
-rw-r--r-- | pwmanager/pwmanager/addentrywndimpl.cpp | 1 | ||||
-rw-r--r-- | pwmanager/pwmanager/pwm.cpp | 11 | ||||
-rw-r--r-- | pwmanager/pwmanager/pwmviewstyle_0.cpp | 22 | ||||
-rw-r--r-- | pwmanager/pwmanager/pwmviewstyle_1.cpp | 4 |
8 files changed, 29 insertions, 15 deletions
diff --git a/bin/kdepim/WhatsNew.txt b/bin/kdepim/WhatsNew.txt index 11c50f8..657d1de 100644 --- a/bin/kdepim/WhatsNew.txt +++ b/bin/kdepim/WhatsNew.txt @@ -5,3 +5,5 @@ Info about the changes in new versions of KDE-Pim/Pi Made Passwordmanager PwM/Pi more userfriendly: -Rearranged some toolbar icons and optimized setting of focus. +Rearranged some toolbar icons, optimized setting of focus, fixed layout problems and more. +Fixed bug in KO/Pi todo printing. +Made Qtopia calendar import possible on desktop . diff --git a/bin/kdepim/pwmanager/germantranslation.txt b/bin/kdepim/pwmanager/germantranslation.txt index a63be31..ccc9d83 100644 --- a/bin/kdepim/pwmanager/germantranslation.txt +++ b/bin/kdepim/pwmanager/germantranslation.txt @@ -351,3 +351,3 @@ { "Successfully saved data.","Datei gespeichert." },
-{ "","" },
+{ "Category:","Kategorie:" },
{ "","" },
diff --git a/bin/kdepim/pwmanager/icons16/decrypted.png b/bin/kdepim/pwmanager/icons16/decrypted.png Binary files differindex a52d790..3777a12 100644 --- a/bin/kdepim/pwmanager/icons16/decrypted.png +++ b/bin/kdepim/pwmanager/icons16/decrypted.png diff --git a/bin/kdepim/pwmanager/icons22/decrypted.png b/bin/kdepim/pwmanager/icons22/decrypted.png Binary files differindex 2228639..ea770ea 100644 --- a/bin/kdepim/pwmanager/icons22/decrypted.png +++ b/bin/kdepim/pwmanager/icons22/decrypted.png diff --git a/pwmanager/pwmanager/addentrywndimpl.cpp b/pwmanager/pwmanager/addentrywndimpl.cpp index fa6b6c0..09efd1c 100644 --- a/pwmanager/pwmanager/addentrywndimpl.cpp +++ b/pwmanager/pwmanager/addentrywndimpl.cpp @@ -46,2 +46,3 @@ AddEntryWndImpl::AddEntryWndImpl( PwMDoc* doc, QWidget* parent, const char* name { + categoryComboBox->setSizePolicy( QSizePolicy( QSizePolicy::Expanding,QSizePolicy::Preferred )); #ifndef PWM_EMBEDDED diff --git a/pwmanager/pwmanager/pwm.cpp b/pwmanager/pwmanager/pwm.cpp index 9187380..a751fce 100644 --- a/pwmanager/pwmanager/pwm.cpp +++ b/pwmanager/pwmanager/pwm.cpp @@ -251,7 +251,2 @@ void PwM::initMenubar() filePopup->insertSeparator(); - filePopup->insertItem(QIconSet(picons->loadIcon("pencil", KIcon::Small)), - i18n("&Add password"), this, - SLOT(addPwd_slot()), 0, - BUTTON_POPUP_MANAGE_ADD); - filePopup->insertSeparator(); filePopup->insertItem(QIconSet(picons->loadIcon("filesave", KIcon::Small)), @@ -369,3 +364,7 @@ void PwM::initMenubar() BUTTON_POPUP_OPTIONS_CONFIG); - menuBar()->insertItem(i18n("&Options"), optionsPopup); + if ( QApplication::desktop()->width() <= 240 ) { + managePopup->insertSeparator(); + managePopup->insertItem(i18n("&Options"), optionsPopup); + } else + menuBar()->insertItem(i18n("&Options"), optionsPopup); // "help" popup menu diff --git a/pwmanager/pwmanager/pwmviewstyle_0.cpp b/pwmanager/pwmanager/pwmviewstyle_0.cpp index d82eb15..1d88a34 100644 --- a/pwmanager/pwmanager/pwmviewstyle_0.cpp +++ b/pwmanager/pwmanager/pwmviewstyle_0.cpp @@ -25,2 +25,4 @@ #include <klocale.h> +#include <kglobal.h> +#include <kiconloader.h> #include "pwmprefs.h" @@ -31,10 +33,20 @@ PwMViewStyle_0::PwMViewStyle_0(PwMView *view) vbox1 = new QVBox(view); - vbox1->setSpacing(3); + vbox1->setSpacing(0); hbox1 = new QHBox(vbox1); - hbox1->setSpacing(3); + hbox1->setSpacing(0); categoriesTitle = new QLabel(hbox1); - categoriesTitle->setText(i18n("Categories:")); + categoriesTitle->setText(i18n("Category:")); categoriesCombo = new QComboBox(hbox1); - renCatButton = new QPushButton(i18n("&Rename"), hbox1); - delCatButton = new QPushButton(i18n("&Delete"), hbox1); + categoriesCombo->setSizePolicy( QSizePolicy( QSizePolicy::Expanding,QSizePolicy::Preferred )); + renCatButton = new QPushButton( hbox1); + renCatButton->setPixmap (KGlobal::iconLoader()->loadIcon("edit", KIcon::Small) ); + int maxsi = renCatButton->sizeHint().height()+4; + renCatButton->setMinimumSize( maxsi, maxsi ); + delCatButton = new QPushButton( hbox1); + delCatButton->setPixmap (KGlobal::iconLoader()->loadIcon("editdelete", KIcon::Small) ); + maxsi = delCatButton->sizeHint().height()+4; + delCatButton->setMinimumSize( maxsi, maxsi ); + delCatButton->setFocusPolicy( QWidget::NoFocus ); + renCatButton->setFocusPolicy( QWidget::NoFocus ); + #ifndef PWM_EMBEDDED diff --git a/pwmanager/pwmanager/pwmviewstyle_1.cpp b/pwmanager/pwmanager/pwmviewstyle_1.cpp index 7294f34..e335a3f 100644 --- a/pwmanager/pwmanager/pwmviewstyle_1.cpp +++ b/pwmanager/pwmanager/pwmviewstyle_1.cpp @@ -85,5 +85,5 @@ PwMViewStyle_1::PwMViewStyle_1(PwMView *view) #else - categoriesTitle->setFrameShape(QFrame::StyledPanel); + //categoriesTitle->setFrameShape(QFrame::StyledPanel); #endif - categoriesTitle->setText(i18n("Categories:")); + categoriesTitle->setText(i18n("Category:")); catCtxMenu = new QPopupMenu(view); |