[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 77044] JJ: config dialog not displaying all of conduit config
From:       Joern Ahrens <kde () jokele ! de>
Date:       2004-03-11 22:44:57
Message-ID: 20040311224457.8732.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
      
http://bugs.kde.org/show_bug.cgi?id=77044      




------- Additional Comments From kde jokele de  2004-03-11 23:44 -------
Index: conduitConfigDialog.cc
===================================================================
RCS file: /home/kde/kdepim/kpilot/kpilot/conduitConfigDialog.cc,v
retrieving revision 1.36
diff -u -3 -p -r1.36 conduitConfigDialog.cc
--- conduitConfigDialog.cc      8 Mar 2004 20:37:17 -0000       1.36
+++ conduitConfigDialog.cc      11 Mar 2004 22:37:48 -0000
 @ -259,8 +259,6  @ ConduitConfigWidgetBase::ConduitConfigWi
        fStack->addWidget(UIDialog::aboutPage(fStack,0L),GENERAL_ABOUT);
 }

-#define PAGE_SIZE      QSize(440,300)
-
 ConduitConfigWidget::ConduitConfigWidget(QWidget *parent, const char *n,
        bool) :
        ConduitConfigWidgetBase(parent,n),
 @ -277,12 +275,13  @ ConduitConfigWidget::ConduitConfigWidget
        fConduitList->setTreeStepSize(10);
        // fConduitList->removeColumn(CONDUIT_COMMENT);
        fillLists();
-       fConduitList->adjustSize();
-       fConduitList->show();
-
-       fStack->resize(PAGE_SIZE);
-       fStack->setMinimumSize(PAGE_SIZE);
-
+
+       fConduitList->resize(fConduitList->sizeHint());
+       fConduitList->setMinimumSize(fConduitList->sizeHint());
+
+       fStack->resize(fStack->sizeHint()+QSize(10,40));
+       fStack->setMinimumSize(fStack->sizeHint()+QSize(10,40));
+
        QObject::connect(fConduitList,
                SIGNAL(selectionChanged(QListViewItem *)),
                this,SLOT(selected(QListViewItem *)));
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic