From 076926e6c7fe5bfd52f9f42879a216885ccc2cd3 Mon Sep 17 00:00:00 2001 From: tille Date: Fri, 16 May 2003 17:18:23 +0000 Subject: gui stuff --- (limited to 'core/pim') diff --git a/core/pim/osearch/contactitem.cpp b/core/pim/osearch/contactitem.cpp index ad43ba2..554ab13 100644 --- a/core/pim/osearch/contactitem.cpp +++ b/core/pim/osearch/contactitem.cpp @@ -89,7 +89,7 @@ void ContactItem::setIcon() case Qtopia::Manager: case Qtopia::BusinessPager: case Qtopia::Profession: - icon = Resource::loadPixmap( "addressbook/addresshome" ); + icon = Resource::loadPixmap( "osearch/addresshome" ); break; case Qtopia::Assistant: case Qtopia::Spouse: diff --git a/core/pim/osearch/mainwindow.cpp b/core/pim/osearch/mainwindow.cpp index 6070fdf..adce926 100644 --- a/core/pim/osearch/mainwindow.cpp +++ b/core/pim/osearch/mainwindow.cpp @@ -50,29 +50,28 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags f ) : { setCaption( tr("OSearch") ); - setSizePolicy( QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Expanding)); + setSizePolicy( QSizePolicy( QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding)); QFrame *mainFrame = new QFrame( this, "mainFrame" ); + mainFrame->setSizePolicy( QSizePolicy( QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding)); mainLayout = new QVBoxLayout( mainFrame ); mainLayout->setSpacing( 0 ); mainLayout->setMargin( 0 ); resultsList = new OListView( mainFrame ); - resultsList->setSizePolicy( QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Expanding)); - mainLayout->addWidget( resultsList, 1 ); + resultsList->setSizePolicy( QSizePolicy( QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding)); + mainLayout->addWidget( resultsList ); detailsFrame = new QFrame( mainFrame, "detailsFrame" ); QVBoxLayout *detailsLayout = new QVBoxLayout( detailsFrame ); richEdit = new QTextView( detailsFrame ); - richEdit->setSizePolicy( QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Expanding)); - //richEdit->setSizePolicy( QSizePolicy( QSizePolicy::Minimum, QSizePolicy::Minimum )); - detailsLayout->addWidget( richEdit, 1 ); + richEdit->setSizePolicy( QSizePolicy( QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding)); + detailsLayout->addWidget( richEdit ); buttonGroupActions = new QHButtonGroup( this ); buttonGroupActions->hide(); _buttonCount = 0; -// buttonGroupActions->setSizePolicy( QSizePolicy( QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding)); buttonLayout = new QHBoxLayout( detailsFrame ); detailsLayout->addLayout( buttonLayout ); diff --git a/core/pim/osearch/opie-osearch.control b/core/pim/osearch/opie-osearch.control index d7e3310..9f1bf5f 100644 --- a/core/pim/osearch/opie-osearch.control +++ b/core/pim/osearch/opie-osearch.control @@ -1,5 +1,5 @@ Packagename: opie-osearch -Files: bin/osearch apps/1Pim/osearch.desktop pics/osearch/OSearch.png +Files: bin/osearch apps/1Pim/osearch.desktop pics/osearch/*.png Priority: optional Section: opie/ Maintainer: Patrick S. Vogt -- cgit v0.9.0.2