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
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
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.
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
Hi,
I derived from QFileSystemModel to have check boxes on files and
directories. It works.
I want to recursively check all files and all directories within checked
one, but rowCount() for checked directory returns 0 if this directory
wasn't expanded in tree view.
I played with
I have a QFileSystemModel which set to my QTreeView as model. Somefolder
structure is present in the root. When some folder does not have any child
folder still the expand indicator(Triangle shape) is appearing left side.
How can I stop it not to appear if no folder is present. Any help is highly
I have QFileSystemModel in my QTreeView. When click on a directory in the
model I want to enable the name to be edited just like windows folders. How
can I make it enabled and let user write the new name. Any help is
appreciated.
--
Thanks Regards
Sujan
Hi all,
I have this minimal example:
-
#include QApplication
#include QFileSystemModel
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QFileSystemModel* fileSystemModel = new QFileSystemModel(0);
fileSystemModel-setRootPath(QDir::homePath());
On Tue, Jan 22, 2013 at 12:47 PM, Wilhelm wilhelm.me...@fh-kl.de wrote:
Hi all,
I have this minimal example:
-
#include QApplication
#include QFileSystemModel
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QFileSystemModel* fileSystemModel = new
Am 22.01.2013 08:50, schrieb Mandeep Sandhu:
On Tue, Jan 22, 2013 at 12:47 PM, Wilhelm wilhelm.me...@fh-kl.de wrote:
Hi all,
I have this minimal example:
-
#include QApplication
#include QFileSystemModel
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
10 matches
Mail list logo