diff options
| author | Stefan Suhren <suhren.stefan@fh-swf.de> | 2015-06-15 08:15:33 +0200 |
|---|---|---|
| committer | Stefan Suhren <suhren.stefan@fh-swf.de> | 2015-06-15 08:15:33 +0200 |
| commit | 6d1bf7ac96342492085d4d6e1cf59ebf2b722285 (patch) | |
| tree | 8e1a3bd91072afdb287224b8123506e72322678f | |
| parent | 7690b26ad7fe0966d0bf86bd1a9b3f89391b7a4b (diff) | |
| download | BankProgramm-6d1bf7ac96342492085d4d6e1cf59ebf2b722285.tar.gz BankProgramm-6d1bf7ac96342492085d4d6e1cf59ebf2b722285.zip | |
Sort and resize columns
| -rw-r--r-- | mainwindow.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mainwindow.cpp b/mainwindow.cpp index 162d33b..84604b8 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -84,6 +84,9 @@ void MainWindow::on_actionLoad_triggered() line = txtStream.readLine(); } + ui->tableWidget->resizeColumnsToContents(); + ui->tableWidget->setSortingEnabled(true); + openFile.close(); } } |
