Add and implement pages and page dialog.

This commit is contained in:
Petr Mrázek 2014-06-02 00:49:53 +02:00
parent 48d3052ac1
commit f485885757
21 changed files with 1357 additions and 17 deletions

View file

@ -26,6 +26,7 @@
ModList::ModList(const QString &dir, const QString &list_file)
: QAbstractListModel(), m_dir(dir), m_list_file(list_file)
{
ensureFolderPathExists(m_dir.absolutePath());
m_dir.setFilter(QDir::Readable | QDir::NoDotAndDotDot | QDir::Files | QDir::Dirs |
QDir::NoSymLinks);
m_dir.setSorting(QDir::Name | QDir::IgnoreCase | QDir::LocaleAware);