author | llornkcor <llornkcor> | 2002-08-16 03:02:33 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-08-16 03:02:33 (UTC) |
commit | 52eb803145b0a246e9d0e39c57bd327365f86459 (patch) (unidiff) | |
tree | b511ebffe1fa69938fb94e320127fee61b3f371e | |
parent | 0b8d488ab4691dc32ecd49b2b2fb7c497cb4c03a (diff) | |
download | opie-52eb803145b0a246e9d0e39c57bd327365f86459.zip opie-52eb803145b0a246e9d0e39c57bd327365f86459.tar.gz opie-52eb803145b0a246e9d0e39c57bd327365f86459.tar.bz2 |
make other lists fit when full
-rw-r--r-- | noncore/multimedia/opieplayer2/playlistwidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/multimedia/opieplayer2/playlistwidget.cpp b/noncore/multimedia/opieplayer2/playlistwidget.cpp index f5906b3..6dcc842 100644 --- a/noncore/multimedia/opieplayer2/playlistwidget.cpp +++ b/noncore/multimedia/opieplayer2/playlistwidget.cpp | |||
@@ -202,51 +202,51 @@ PlayListWidget::PlayListWidget( QWidget* parent, const char* name, WFlags fl ) | |||
202 | QHBox *hbox2 = new QHBox( vbox3 ); hbox2->setBackgroundMode( PaletteButton ); | 202 | QHBox *hbox2 = new QHBox( vbox3 ); hbox2->setBackgroundMode( PaletteButton ); |
203 | 203 | ||
204 | d->selectedFiles = new PlayListSelection( hbox2); | 204 | d->selectedFiles = new PlayListSelection( hbox2); |
205 | QVBox *vbox1 = new QVBox( hbox2 ); vbox1->setBackgroundMode( PaletteButton ); | 205 | QVBox *vbox1 = new QVBox( hbox2 ); vbox1->setBackgroundMode( PaletteButton ); |
206 | 206 | ||
207 | QPEApplication::setStylusOperation( d->selectedFiles->viewport(),QPEApplication::RightOnHold); | 207 | QPEApplication::setStylusOperation( d->selectedFiles->viewport(),QPEApplication::RightOnHold); |
208 | 208 | ||
209 | QVBox *stretch1 = new QVBox( vbox1 ); stretch1->setBackgroundMode( PaletteButton ); // add stretch | 209 | QVBox *stretch1 = new QVBox( vbox1 ); stretch1->setBackgroundMode( PaletteButton ); // add stretch |
210 | new ToolButton( vbox1, tr( "Move Up" ), "opieplayer2/up", d->selectedFiles, SLOT(moveSelectedUp()) ); | 210 | new ToolButton( vbox1, tr( "Move Up" ), "opieplayer2/up", d->selectedFiles, SLOT(moveSelectedUp()) ); |
211 | new ToolButton( vbox1, tr( "Remove" ), "opieplayer2/cut", d->selectedFiles, SLOT(removeSelected()) ); | 211 | new ToolButton( vbox1, tr( "Remove" ), "opieplayer2/cut", d->selectedFiles, SLOT(removeSelected()) ); |
212 | new ToolButton( vbox1, tr( "Move Down" ), "opieplayer2/down", d->selectedFiles, SLOT(moveSelectedDown()) ); | 212 | new ToolButton( vbox1, tr( "Move Down" ), "opieplayer2/down", d->selectedFiles, SLOT(moveSelectedDown()) ); |
213 | QVBox *stretch2 = new QVBox( vbox1 ); stretch2->setBackgroundMode( PaletteButton ); // add stretch | 213 | QVBox *stretch2 = new QVBox( vbox1 ); stretch2->setBackgroundMode( PaletteButton ); // add stretch |
214 | 214 | ||
215 | QWidget *aTab; | 215 | QWidget *aTab; |
216 | aTab = new QWidget( tabWidget, "aTab" ); | 216 | aTab = new QWidget( tabWidget, "aTab" ); |
217 | audioView = new QListView( aTab, "Audioview" ); | 217 | audioView = new QListView( aTab, "Audioview" ); |
218 | audioView->setMinimumSize(233,260); | 218 | audioView->setMinimumSize(233,250); |
219 | audioView->addColumn( tr("Title"),140); | 219 | audioView->addColumn( tr("Title"),140); |
220 | audioView->addColumn(tr("Size"), -1); | 220 | audioView->addColumn(tr("Size"), -1); |
221 | audioView->addColumn(tr("Media"),-1); | 221 | audioView->addColumn(tr("Media"),-1); |
222 | audioView->setColumnAlignment(1, Qt::AlignRight); | 222 | audioView->setColumnAlignment(1, Qt::AlignRight); |
223 | audioView->setColumnAlignment(2, Qt::AlignRight); | 223 | audioView->setColumnAlignment(2, Qt::AlignRight); |
224 | audioView->setAllColumnsShowFocus(TRUE); | 224 | audioView->setAllColumnsShowFocus(TRUE); |
225 | 225 | ||
226 | audioView->setMultiSelection( TRUE ); | 226 | audioView->setMultiSelection( TRUE ); |
227 | audioView->setSelectionMode( QListView::Extended); | 227 | audioView->setSelectionMode( QListView::Extended); |
228 | 228 | ||
229 | tabWidget->insertTab(aTab,tr("Audio")); | 229 | tabWidget->insertTab(aTab,tr("Audio")); |
230 | 230 | ||
231 | QPEApplication::setStylusOperation( audioView->viewport(),QPEApplication::RightOnHold); | 231 | QPEApplication::setStylusOperation( audioView->viewport(),QPEApplication::RightOnHold); |
232 | 232 | ||
233 | QWidget *vTab; | 233 | QWidget *vTab; |
234 | vTab = new QWidget( tabWidget, "vTab" ); | 234 | vTab = new QWidget( tabWidget, "vTab" ); |
235 | videoView = new QListView( vTab, "Videoview" ); | 235 | videoView = new QListView( vTab, "Videoview" ); |
236 | videoView->setMinimumSize(233,260); | 236 | videoView->setMinimumSize(233,250); |
237 | 237 | ||
238 | videoView->addColumn(tr("Title"),140); | 238 | videoView->addColumn(tr("Title"),140); |
239 | videoView->addColumn(tr("Size"),-1); | 239 | videoView->addColumn(tr("Size"),-1); |
240 | videoView->addColumn(tr("Media"),-1); | 240 | videoView->addColumn(tr("Media"),-1); |
241 | videoView->setColumnAlignment(1, Qt::AlignRight); | 241 | videoView->setColumnAlignment(1, Qt::AlignRight); |
242 | videoView->setColumnAlignment(2, Qt::AlignRight); | 242 | videoView->setColumnAlignment(2, Qt::AlignRight); |
243 | videoView->setAllColumnsShowFocus(TRUE); | 243 | videoView->setAllColumnsShowFocus(TRUE); |
244 | videoView->setMultiSelection( TRUE ); | 244 | videoView->setMultiSelection( TRUE ); |
245 | videoView->setSelectionMode( QListView::Extended); | 245 | videoView->setSelectionMode( QListView::Extended); |
246 | 246 | ||
247 | QPEApplication::setStylusOperation( videoView->viewport(),QPEApplication::RightOnHold); | 247 | QPEApplication::setStylusOperation( videoView->viewport(),QPEApplication::RightOnHold); |
248 | 248 | ||
249 | tabWidget->insertTab( vTab,tr("Video")); | 249 | tabWidget->insertTab( vTab,tr("Video")); |
250 | 250 | ||
251 | //playlists list | 251 | //playlists list |
252 | QWidget *LTab; | 252 | QWidget *LTab; |