summaryrefslogtreecommitdiffabout
path: root/pwmanager
authorzautrix <zautrix>2004-10-19 22:13:43 (UTC)
committer zautrix <zautrix>2004-10-19 22:13:43 (UTC)
commit2ab05e776276f02fd688b7041e5ccc5eb4573e50 (patch) (side-by-side diff)
treeb5df81769861183faf4a0198046eb70b8f0df7bb /pwmanager
parentb11fbdc29bf96507c68ee9b6813d76ae37b5fd8f (diff)
downloadkdepimpi-2ab05e776276f02fd688b7041e5ccc5eb4573e50.zip
kdepimpi-2ab05e776276f02fd688b7041e5ccc5eb4573e50.tar.gz
kdepimpi-2ab05e776276f02fd688b7041e5ccc5eb4573e50.tar.bz2
many small bugfixes
Diffstat (limited to 'pwmanager') (more/less context) (ignore whitespace changes)
-rw-r--r--pwmanager/pwmanager/findwnd_emb.cpp6
-rw-r--r--pwmanager/pwmanager/getmasterpwwnd_emb.cpp2
-rw-r--r--pwmanager/pwmanager/kcmconfigs/pwmconfigwidget.cpp11
-rw-r--r--pwmanager/pwmanager/main.cpp7
-rw-r--r--pwmanager/pwmanager/pwmviewstyle_0.cpp4
-rw-r--r--pwmanager/pwmanager/pwmviewstyle_1.cpp4
6 files changed, 21 insertions, 13 deletions
diff --git a/pwmanager/pwmanager/findwnd_emb.cpp b/pwmanager/pwmanager/findwnd_emb.cpp
index 6db2684..6dcabe8 100644
--- a/pwmanager/pwmanager/findwnd_emb.cpp
+++ b/pwmanager/pwmanager/findwnd_emb.cpp
@@ -82,4 +82,4 @@ findWnd::findWnd( QWidget* parent, const char* name )
findLineEdit = new KLineEdit( page );
- QLabel* label = new QLabel( findLineEdit, i18n( "Find:" ), page );
- layout->addWidget( label );
+ // QLabel* label = new QLabel( findLineEdit, i18n( "Find:" ), page );
+ //layout->addWidget( label );
layout->addWidget( findLineEdit );
@@ -90,3 +90,3 @@ findWnd::findWnd( QWidget* parent, const char* name )
- // resize( QSize(200, 150) );
+ resize( sizeHint() );
diff --git a/pwmanager/pwmanager/getmasterpwwnd_emb.cpp b/pwmanager/pwmanager/getmasterpwwnd_emb.cpp
index ff4c28a..7f4ccef 100644
--- a/pwmanager/pwmanager/getmasterpwwnd_emb.cpp
+++ b/pwmanager/pwmanager/getmasterpwwnd_emb.cpp
@@ -101,3 +101,3 @@ getMasterPwWnd::getMasterPwWnd( QWidget* parent, const char* name)
- resize( QSize(200, 180) );
+ resize( 200,sizeHint().height() );
diff --git a/pwmanager/pwmanager/kcmconfigs/pwmconfigwidget.cpp b/pwmanager/pwmanager/kcmconfigs/pwmconfigwidget.cpp
index 525bdaa..720dfcc 100644
--- a/pwmanager/pwmanager/kcmconfigs/pwmconfigwidget.cpp
+++ b/pwmanager/pwmanager/kcmconfigs/pwmconfigwidget.cpp
@@ -71,5 +71,11 @@ PWMConfigWidget::PWMConfigWidget(PWMPrefs *prefs, QWidget *parent, const char *n
++i;
+
+ QLabel* lab = new QLabel(i18n("<b>Font for Password entries:</b>"), windowStylePage);
+ windowStyleLayout->addMultiCellWidget( lab,i,i,0,2);
+
+ ++i;
+
KPrefsWidFont *selEntrFont =
- addWidFont(i18n("Password"),i18n("Font for Pw entries:"),
+ addWidFont(i18n("Password"),i18n("Font:"),
&(prefs->mEntryFont),windowStylePage);
@@ -79,3 +85,4 @@ PWMConfigWidget::PWMConfigWidget(PWMPrefs *prefs, QWidget *parent, const char *n
++i;
-
+ lab = new QLabel(i18n(""), windowStylePage);
+ windowStyleLayout->addMultiCellWidget( lab,i,i,0,2);
diff --git a/pwmanager/pwmanager/main.cpp b/pwmanager/pwmanager/main.cpp
index 3ae4d55..3f2d055 100644
--- a/pwmanager/pwmanager/main.cpp
+++ b/pwmanager/pwmanager/main.cpp
@@ -176,5 +176,6 @@ int main(int argc, char *argv[])
#ifndef DESKTOP_VERSION
- //US if ( QApplication::desktop()->width() > 320 )
- //US KGlobal::iconLoader()->setIconPath(QString(getenv("QPEDIR"))+"/pics/kdepim/pwmanager/icons22/");
- //US else
+ //qDebug("width %d ",QApplication::desktop()->width() );
+ if ( QApplication::desktop()->width() > 320 )
+ KGlobal::iconLoader()->setIconPath(QString(getenv("QPEDIR"))+"/pics/kdepim/pwmanager/icons22/");
+ else
KGlobal::iconLoader()->setIconPath(QString(getenv("QPEDIR"))+"/pics/kdepim/pwmanager/icons16/");
diff --git a/pwmanager/pwmanager/pwmviewstyle_0.cpp b/pwmanager/pwmanager/pwmviewstyle_0.cpp
index 7262684..1453d03 100644
--- a/pwmanager/pwmanager/pwmviewstyle_0.cpp
+++ b/pwmanager/pwmanager/pwmviewstyle_0.cpp
@@ -33,3 +33,3 @@ PwMViewStyle_0::PwMViewStyle_0(PwMView *view)
hbox1 = new QHBox(vbox1);
- hbox1->setSpacing(10);
+ hbox1->setSpacing(3);
categoriesTitle = new QLabel(hbox1);
@@ -44,3 +44,3 @@ PwMViewStyle_0::PwMViewStyle_0(PwMView *view)
splitter1 = new KDGanttMinimizeSplitter( Qt::Vertical, vbox1);
- splitter1->setMinimizeDirection ( KDGanttMinimizeSplitter::Up );
+ splitter1->setMinimizeDirection ( KDGanttMinimizeSplitter::Down );
diff --git a/pwmanager/pwmanager/pwmviewstyle_1.cpp b/pwmanager/pwmanager/pwmviewstyle_1.cpp
index 374c698..a85cece 100644
--- a/pwmanager/pwmanager/pwmviewstyle_1.cpp
+++ b/pwmanager/pwmanager/pwmviewstyle_1.cpp
@@ -36,3 +36,3 @@ PwMViewStyle_1::PwMViewStyle_1(PwMView *view)
splitter = new KDGanttMinimizeSplitter( Qt::Horizontal, view);
- splitter->setMinimizeDirection ( KDGanttMinimizeSplitter::Right );
+ splitter->setMinimizeDirection ( KDGanttMinimizeSplitter::Left );
@@ -49,3 +49,3 @@ PwMViewStyle_1::PwMViewStyle_1(PwMView *view)
splitter2 = new KDGanttMinimizeSplitter( Qt::Vertical, splitter);
- splitter2->setMinimizeDirection ( KDGanttMinimizeSplitter::Right );
+ splitter2->setMinimizeDirection ( KDGanttMinimizeSplitter::Down );