Re: [Interest] QFileSystemModel

2016-08-07 Thread Igor Mironchik
Hello, On 07.08.2016 13:29, André Somers wrote: Use a proxy model instead, such as CheckableProxyModel. Google for it, the example app works in a QFileSystemModel. You do *not* want to iterate deep into a tree model such as QFSM just for keeping track of checked states... It's really amazin

Re: [Interest] QFileSystemModel

2016-08-07 Thread Igor Mironchik
Hi, On 07.08.2016 13:29, André Somers wrote: Use a proxy model instead, such as CheckableProxyModel. Google for it, the example app works in a QFileSystemModel. You do *not* want to iterate deep into a tree model such as QFSM just for keeping track of checked states... I found. Nice. It wor

Re: [Interest] QFileSystemModel

2016-08-07 Thread Igor Mironchik
Hi, On 07.08.2016 13:29, André Somers wrote: Use a proxy model instead, such as CheckableProxyModel. Google for it, the example app works in a QFileSystemModel. You do *not* want to iterate deep into a tree model such as QFSM just for keeping track of checked states... Interesting idea. But

Re: [Interest] QFileSystemModel

2016-08-07 Thread André Somers
Use a proxy model instead, such as CheckableProxyModel. Google for it, the example app works in a QFileSystemModel. You do *not* want to iterate deep into a tree model such as QFSM just for keeping track of checked states... André Verstuurd vanaf mijn iPhone > Op 7 aug. 2016 om 11:21 heeft Igo

Re: [Interest] QFileSystemModel broken in Qt5? (minimal example)

2013-01-21 Thread Wilhelm
Am 22.01.2013 08:50, schrieb Mandeep Sandhu: > On Tue, Jan 22, 2013 at 12:47 PM, Wilhelm wrote: >> Hi all, >> >> I have this minimal example: >> >> - >> #include >> #include >> >> int main(int argc, char *argv[]) >> { >> QApplication a(argc, argv); >> >> QFileSystemModel* fileSys

Re: [Interest] QFileSystemModel broken in Qt5? (minimal example)

2013-01-21 Thread Mandeep Sandhu
On Tue, Jan 22, 2013 at 12:47 PM, Wilhelm wrote: > Hi all, > > I have this minimal example: > > - > #include > #include > > int main(int argc, char *argv[]) > { > QApplication a(argc, argv); > > QFileSystemModel* fileSystemModel = new QFileSystemModel(0); > fileSystemModel->se