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
@@ -81,6 +81,6 @@ 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 );
@@ -89,5 +89,5 @@ 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
@@ -100,5 +100,5 @@ getMasterPwWnd::getMasterPwWnd( QWidget* parent, const char* name)
pageLayout->addWidget(numberBox);
- resize( QSize(200, 180) );
+ resize( 200,sizeHint().height() );
connect( p0, SIGNAL( clicked() ), this, SLOT( add0() ) );
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
@@ -70,7 +70,13 @@ PWMConfigWidget::PWMConfigWidget(PWMPrefs *prefs, QWidget *parent, const char *n
windowStyleLayout->addMultiCellWidget( (QWidget*)windowStyle->groupBox(),i,i,0,2);
++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);
windowStyleLayout->addWidget(selEntrFont->label(),i,0);
@@ -78,5 +84,6 @@ PWMConfigWidget::PWMConfigWidget(PWMPrefs *prefs, QWidget *parent, const char *n
windowStyleLayout->addWidget(selEntrFont->button(),i,2);
++i;
-
+ lab = new QLabel(i18n(""), windowStylePage);
+ windowStyleLayout->addMultiCellWidget( lab,i,i,0,2);
// File page
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
@@ -175,7 +175,8 @@ int main(int argc, char *argv[])
KGlobal::setAppName( "pwmanager" );
#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/");
#else
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
@@ -32,5 +32,5 @@ PwMViewStyle_0::PwMViewStyle_0(PwMView *view)
vbox1->setSpacing(3);
hbox1 = new QHBox(vbox1);
- hbox1->setSpacing(10);
+ hbox1->setSpacing(3);
categoriesTitle = new QLabel(hbox1);
categoriesTitle->setText(i18n("Categories:"));
@@ -43,5 +43,5 @@ PwMViewStyle_0::PwMViewStyle_0(PwMView *view)
#else
splitter1 = new KDGanttMinimizeSplitter( Qt::Vertical, vbox1);
- splitter1->setMinimizeDirection ( KDGanttMinimizeSplitter::Up );
+ splitter1->setMinimizeDirection ( KDGanttMinimizeSplitter::Down );
//US topLayout->addWidget(mMiniSplitter );
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
@@ -35,5 +35,5 @@ PwMViewStyle_1::PwMViewStyle_1(PwMView *view)
#else
splitter = new KDGanttMinimizeSplitter( Qt::Horizontal, view);
- splitter->setMinimizeDirection ( KDGanttMinimizeSplitter::Right );
+ splitter->setMinimizeDirection ( KDGanttMinimizeSplitter::Left );
//US topLayout->addWidget(mMiniSplitter );
@@ -48,5 +48,5 @@ PwMViewStyle_1::PwMViewStyle_1(PwMView *view)
#else
splitter2 = new KDGanttMinimizeSplitter( Qt::Vertical, splitter);
- splitter2->setMinimizeDirection ( KDGanttMinimizeSplitter::Right );
+ splitter2->setMinimizeDirection ( KDGanttMinimizeSplitter::Down );
//US topLayout->addWidget(mMiniSplitter );