author | llornkcor <llornkcor> | 2002-11-14 02:30:07 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-11-14 02:30:07 (UTC) |
commit | 3bfb64a41ca7948b593982fc1c266d5ec829b9ab (patch) (side-by-side diff) | |
tree | cf2641ddb698d7095cd63741caf6564a3a0e6fbb /noncore/multimedia/opieplayer2 | |
parent | 8cdfc8e0209bbd9190176fdfcbeea2684cb5e8b8 (diff) | |
download | opie-3bfb64a41ca7948b593982fc1c266d5ec829b9ab.zip opie-3bfb64a41ca7948b593982fc1c266d5ec829b9ab.tar.gz opie-3bfb64a41ca7948b593982fc1c266d5ec829b9ab.tar.bz2 |
hide the media column, and unhide the path column and changed default sorting to path column. might get rid of media column altogether.
Diffstat (limited to 'noncore/multimedia/opieplayer2') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/multimedia/opieplayer2/playlistwidgetgui.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/noncore/multimedia/opieplayer2/playlistwidgetgui.cpp b/noncore/multimedia/opieplayer2/playlistwidgetgui.cpp index 5d9fb5d..a217c94 100644 --- a/noncore/multimedia/opieplayer2/playlistwidgetgui.cpp +++ b/noncore/multimedia/opieplayer2/playlistwidgetgui.cpp @@ -152,18 +152,18 @@ PlayListWidgetGui::PlayListWidgetGui( QWidget* parent, const char* name, WFlags QGridLayout *Alayout = new QGridLayout( aTab ); Alayout->setSpacing( 2 ); Alayout->setMargin( 2 ); audioView = new QListView( aTab, "Audioview" ); audioView->addColumn( tr( "Title" ), 140 ); audioView->addColumn( tr( "Size" ), -1 ); - audioView->addColumn( tr( "Media" ), -1 ); - audioView->addColumn( tr( "Path" ), 0 ); + audioView->addColumn( tr( "Media" ), 0 ); + audioView->addColumn( tr( "Path" ), -1 ); audioView->setColumnAlignment( 1, Qt::AlignRight ); audioView->setColumnAlignment( 2, Qt::AlignRight ); audioView->setAllColumnsShowFocus( TRUE ); - audioView->setSorting( 0, TRUE ); + audioView->setSorting( 3, TRUE ); audioView->setMultiSelection( TRUE ); audioView->setSelectionMode( QListView::Extended ); Alayout->addMultiCellWidget( audioView, 0, 0, 0, 1 ); tabWidget->insertTab( aTab, tr( "Audio" ) ); QPEApplication::setStylusOperation( audioView->viewport(), QPEApplication::RightOnHold ); @@ -174,18 +174,18 @@ PlayListWidgetGui::PlayListWidgetGui( QWidget* parent, const char* name, WFlags QGridLayout *Vlayout = new QGridLayout( vTab ); Vlayout->setSpacing( 2 ); Vlayout->setMargin( 2 ); videoView = new QListView( vTab, "Videoview" ); videoView->addColumn( tr( "Title" ), 140); videoView->addColumn( tr( "Size" ), -1 ); - videoView->addColumn(tr( "Media" ), -1 ); - videoView->addColumn(tr( "Path" ), 0 ); + videoView->addColumn(tr( "Media" ), 0 ); + videoView->addColumn(tr( "Path" ), -1 ); videoView->setColumnAlignment( 1, Qt::AlignRight ); videoView->setColumnAlignment( 2, Qt::AlignRight ); videoView->setAllColumnsShowFocus( TRUE ); - videoView->setSorting( 0, TRUE ); + videoView->setSorting( 3, TRUE ); videoView->setMultiSelection( TRUE ); videoView->setSelectionMode( QListView::Extended ); Vlayout->addMultiCellWidget( videoView, 0, 0, 0, 1 ); QPEApplication::setStylusOperation( videoView->viewport(), QPEApplication::RightOnHold ); |