-rw-r--r-- | core/apps/textedit/fileBrowser.cpp | 3 | ||||
-rw-r--r-- | core/apps/textedit/fileSaver.cpp | 6 |
2 files changed, 6 insertions, 3 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 @@ -40,3 +40,4 @@ fileBrowser::fileBrowser( QWidget* parent, const char* name, bool modal, WFlags // ListView->addColumn( tr( "" ) ); -// ListView->setColumnWidth(1,59); + ListView->setColumnWidthMode(0,QListView::Manual); + ListView->setColumnAlignment(1,QListView::AlignRight); // ListView->setMultiSelection(true); 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 @@ -45,2 +45,4 @@ fileSaver::fileSaver( QWidget* parent, const char* name, bool modal, WFlags fl ListView->setColumnWidth(1,59); + ListView->setColumnWidthMode(0,QListView::Manual); + ListView->setColumnAlignment(1,QListView::AlignRight); // ListView->setMultiSelection(true); @@ -59,3 +61,3 @@ fileSaver::fileSaver( QWidget* parent, const char* name, bool modal, WFlags fl connect( ListView, SIGNAL(pressed( QListViewItem*)), SLOT(listClicked(QListViewItem *)) ); - + // tmpFileName=fi.FilePath(); @@ -164,3 +166,3 @@ void fileSaver::closeEvent( QCloseEvent *e ) if(e->isAccepted()) { - e->accept(); + e->accept(); } else { |