-rw-r--r-- | core/apps/textedit/fileBrowser.cpp | 3 | ||||
-rw-r--r-- | core/apps/textedit/fileSaver.cpp | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/core/apps/textedit/fileBrowser.cpp b/core/apps/textedit/fileBrowser.cpp index bb420e6..2275388 100644 --- a/core/apps/textedit/fileBrowser.cpp +++ b/core/apps/textedit/fileBrowser.cpp | |||
@@ -35,13 +35,14 @@ fileBrowser::fileBrowser( QWidget* parent, const char* name, bool modal, WFlags | |||
35 | ListView->addColumn( tr( "Name" ) ); | 35 | ListView->addColumn( tr( "Name" ) ); |
36 | ListView->setColumnWidth(0,140); | 36 | ListView->setColumnWidth(0,140); |
37 | ListView->setSorting( 2, FALSE); | 37 | ListView->setSorting( 2, FALSE); |
38 | ListView->addColumn( tr( "Size" ) ); | 38 | ListView->addColumn( tr( "Size" ) ); |
39 | ListView->setColumnWidth(1,59); | 39 | ListView->setColumnWidth(1,59); |
40 | // ListView->addColumn( tr( "" ) ); | 40 | // ListView->addColumn( tr( "" ) ); |
41 | // ListView->setColumnWidth(1,59); | 41 | ListView->setColumnWidthMode(0,QListView::Manual); |
42 | ListView->setColumnAlignment(1,QListView::AlignRight); | ||
42 | // ListView->setMultiSelection(true); | 43 | // ListView->setMultiSelection(true); |
43 | // ListView->setSelectionMode(QListView::Extended); | 44 | // ListView->setSelectionMode(QListView::Extended); |
44 | 45 | ||
45 | ListView->setAllColumnsShowFocus( TRUE ); | 46 | ListView->setAllColumnsShowFocus( TRUE ); |
46 | ListView->setGeometry( QRect( 10, 35, 220, 240 ) ); | 47 | ListView->setGeometry( QRect( 10, 35, 220, 240 ) ); |
47 | 48 | ||
diff --git a/core/apps/textedit/fileSaver.cpp b/core/apps/textedit/fileSaver.cpp index af51fc3..b813ed3 100644 --- a/core/apps/textedit/fileSaver.cpp +++ b/core/apps/textedit/fileSaver.cpp | |||
@@ -40,12 +40,14 @@ fileSaver::fileSaver( QWidget* parent, const char* name, bool modal, WFlags fl | |||
40 | ListView = new QListView( this, "ListView" ); | 40 | ListView = new QListView( this, "ListView" ); |
41 | ListView->addColumn( tr( "Name" ) ); | 41 | ListView->addColumn( tr( "Name" ) ); |
42 | ListView->setColumnWidth(0,140); | 42 | ListView->setColumnWidth(0,140); |
43 | ListView->setSorting( 2, FALSE); | 43 | ListView->setSorting( 2, FALSE); |
44 | ListView->addColumn( tr( "Size" ) ); | 44 | ListView->addColumn( tr( "Size" ) ); |
45 | ListView->setColumnWidth(1,59); | 45 | ListView->setColumnWidth(1,59); |
46 | ListView->setColumnWidthMode(0,QListView::Manual); | ||
47 | ListView->setColumnAlignment(1,QListView::AlignRight); | ||
46 | // ListView->setMultiSelection(true); | 48 | // ListView->setMultiSelection(true); |
47 | // ListView->setSelectionMode(QListView::Extended); | 49 | // ListView->setSelectionMode(QListView::Extended); |
48 | 50 | ||
49 | ListView->setAllColumnsShowFocus( TRUE ); | 51 | ListView->setAllColumnsShowFocus( TRUE ); |
50 | ListView->setGeometry( QRect( 10, 35, 220, 160 ) ); | 52 | ListView->setGeometry( QRect( 10, 35, 220, 160 ) ); |
51 | 53 | ||