author | tille <tille> | 2003-05-16 17:18:23 (UTC) |
---|---|---|
committer | tille <tille> | 2003-05-16 17:18:23 (UTC) |
commit | 076926e6c7fe5bfd52f9f42879a216885ccc2cd3 (patch) (unidiff) | |
tree | d78e02996c8e894ea0e28666bd3e59d3e1bfbda8 /core/pim/osearch/mainwindow.cpp | |
parent | 11b6ce5ac500dce757ccdd0a5f5b5ecd7fb866c8 (diff) | |
download | opie-076926e6c7fe5bfd52f9f42879a216885ccc2cd3.zip opie-076926e6c7fe5bfd52f9f42879a216885ccc2cd3.tar.gz opie-076926e6c7fe5bfd52f9f42879a216885ccc2cd3.tar.bz2 |
gui stuff
Diffstat (limited to 'core/pim/osearch/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/osearch/mainwindow.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
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 ) : | |||
50 | { | 50 | { |
51 | setCaption( tr("OSearch") ); | 51 | setCaption( tr("OSearch") ); |
52 | 52 | ||
53 | setSizePolicy( QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Expanding)); | 53 | setSizePolicy( QSizePolicy( QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding)); |
54 | 54 | ||
55 | QFrame *mainFrame = new QFrame( this, "mainFrame" ); | 55 | QFrame *mainFrame = new QFrame( this, "mainFrame" ); |
56 | mainFrame->setSizePolicy( QSizePolicy( QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding)); | ||
56 | 57 | ||
57 | mainLayout = new QVBoxLayout( mainFrame ); | 58 | mainLayout = new QVBoxLayout( mainFrame ); |
58 | mainLayout->setSpacing( 0 ); | 59 | mainLayout->setSpacing( 0 ); |
59 | mainLayout->setMargin( 0 ); | 60 | mainLayout->setMargin( 0 ); |
60 | 61 | ||
61 | resultsList = new OListView( mainFrame ); | 62 | resultsList = new OListView( mainFrame ); |
62 | resultsList->setSizePolicy( QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Expanding)); | 63 | resultsList->setSizePolicy( QSizePolicy( QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding)); |
63 | mainLayout->addWidget( resultsList, 1 ); | 64 | mainLayout->addWidget( resultsList ); |
64 | 65 | ||
65 | detailsFrame = new QFrame( mainFrame, "detailsFrame" ); | 66 | detailsFrame = new QFrame( mainFrame, "detailsFrame" ); |
66 | QVBoxLayout *detailsLayout = new QVBoxLayout( detailsFrame ); | 67 | QVBoxLayout *detailsLayout = new QVBoxLayout( detailsFrame ); |
67 | richEdit = new QTextView( detailsFrame ); | 68 | richEdit = new QTextView( detailsFrame ); |
68 | richEdit->setSizePolicy( QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Expanding)); | 69 | richEdit->setSizePolicy( QSizePolicy( QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding)); |
69 | //richEdit->setSizePolicy( QSizePolicy( QSizePolicy::Minimum, QSizePolicy::Minimum )); | 70 | detailsLayout->addWidget( richEdit ); |
70 | detailsLayout->addWidget( richEdit, 1 ); | ||
71 | 71 | ||
72 | buttonGroupActions = new QHButtonGroup( this ); | 72 | buttonGroupActions = new QHButtonGroup( this ); |
73 | buttonGroupActions->hide(); | 73 | buttonGroupActions->hide(); |
74 | _buttonCount = 0; | 74 | _buttonCount = 0; |
75 | // buttonGroupActions->setSizePolicy( QSizePolicy( QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding)); | ||
76 | 75 | ||
77 | buttonLayout = new QHBoxLayout( detailsFrame ); | 76 | buttonLayout = new QHBoxLayout( detailsFrame ); |
78 | detailsLayout->addLayout( buttonLayout ); | 77 | detailsLayout->addLayout( buttonLayout ); |