Maemo: Improve file selection dialog for publishing.

- Make sure file names are completely visible.
- Show hidden files.
- Pre-unselect files of types unlikely to be included in the package.
This commit is contained in:
Christian Kandeler
2010-12-17 13:17:35 +01:00
parent a7319f382d
commit 0246a11aa7
3 changed files with 33 additions and 0 deletions

View File

@@ -54,8 +54,10 @@ MaemoPublishingFileSelectionDialog::MaemoPublishingFileSelectionDialog(const QSt
ui->setupUi(this);
m_projectModel = new MaemoPublishedProjectModel(this);
const QModelIndex rootIndex = m_projectModel->setRootPath(projectPath);
m_projectModel->initFilesToExclude();
ui->projectView->setModel(m_projectModel);
ui->projectView->setRootIndex(rootIndex);
ui->projectView->header()->setResizeMode(0, QHeaderView::ResizeToContents);
}
MaemoPublishingFileSelectionDialog::~MaemoPublishingFileSelectionDialog()