author | llornkcor <llornkcor> | 2002-11-14 02:30:07 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-11-14 02:30:07 (UTC) |
commit | 3bfb64a41ca7948b593982fc1c266d5ec829b9ab (patch) (unidiff) | |
tree | cf2641ddb698d7095cd63741caf6564a3a0e6fbb | |
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.
-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 | |||
@@ -155,12 +155,12 @@ PlayListWidgetGui::PlayListWidgetGui( QWidget* parent, const char* name, WFlags | |||
155 | audioView = new QListView( aTab, "Audioview" ); | 155 | audioView = new QListView( aTab, "Audioview" ); |
156 | audioView->addColumn( tr( "Title" ), 140 ); | 156 | audioView->addColumn( tr( "Title" ), 140 ); |
157 | audioView->addColumn( tr( "Size" ), -1 ); | 157 | audioView->addColumn( tr( "Size" ), -1 ); |
158 | audioView->addColumn( tr( "Media" ), -1 ); | 158 | audioView->addColumn( tr( "Media" ), 0 ); |
159 | audioView->addColumn( tr( "Path" ), 0 ); | 159 | audioView->addColumn( tr( "Path" ), -1 ); |
160 | audioView->setColumnAlignment( 1, Qt::AlignRight ); | 160 | audioView->setColumnAlignment( 1, Qt::AlignRight ); |
161 | audioView->setColumnAlignment( 2, Qt::AlignRight ); | 161 | audioView->setColumnAlignment( 2, Qt::AlignRight ); |
162 | audioView->setAllColumnsShowFocus( TRUE ); | 162 | audioView->setAllColumnsShowFocus( TRUE ); |
163 | audioView->setSorting( 0, TRUE ); | 163 | audioView->setSorting( 3, TRUE ); |
164 | audioView->setMultiSelection( TRUE ); | 164 | audioView->setMultiSelection( TRUE ); |
165 | audioView->setSelectionMode( QListView::Extended ); | 165 | audioView->setSelectionMode( QListView::Extended ); |
166 | Alayout->addMultiCellWidget( audioView, 0, 0, 0, 1 ); | 166 | Alayout->addMultiCellWidget( audioView, 0, 0, 0, 1 ); |
@@ -177,12 +177,12 @@ PlayListWidgetGui::PlayListWidgetGui( QWidget* parent, const char* name, WFlags | |||
177 | videoView = new QListView( vTab, "Videoview" ); | 177 | videoView = new QListView( vTab, "Videoview" ); |
178 | videoView->addColumn( tr( "Title" ), 140); | 178 | videoView->addColumn( tr( "Title" ), 140); |
179 | videoView->addColumn( tr( "Size" ), -1 ); | 179 | videoView->addColumn( tr( "Size" ), -1 ); |
180 | videoView->addColumn(tr( "Media" ), -1 ); | 180 | videoView->addColumn(tr( "Media" ), 0 ); |
181 | videoView->addColumn(tr( "Path" ), 0 ); | 181 | videoView->addColumn(tr( "Path" ), -1 ); |
182 | videoView->setColumnAlignment( 1, Qt::AlignRight ); | 182 | videoView->setColumnAlignment( 1, Qt::AlignRight ); |
183 | videoView->setColumnAlignment( 2, Qt::AlignRight ); | 183 | videoView->setColumnAlignment( 2, Qt::AlignRight ); |
184 | videoView->setAllColumnsShowFocus( TRUE ); | 184 | videoView->setAllColumnsShowFocus( TRUE ); |
185 | videoView->setSorting( 0, TRUE ); | 185 | videoView->setSorting( 3, TRUE ); |
186 | videoView->setMultiSelection( TRUE ); | 186 | videoView->setMultiSelection( TRUE ); |
187 | videoView->setSelectionMode( QListView::Extended ); | 187 | videoView->setSelectionMode( QListView::Extended ); |
188 | Vlayout->addMultiCellWidget( videoView, 0, 0, 0, 1 ); | 188 | Vlayout->addMultiCellWidget( videoView, 0, 0, 0, 1 ); |