Re: [Interest] QColumnView and QTreeView using same model
I have found when I use a custom model, most issues using views, are tied to an issue of some corner case condition in the model not being handled correctly. ~~Scott Original message From: Michael Jackson Date: 5/3/22 3:05 PM (GMT-08:00) To: Scott Bloom , Qt Interest List Subject: Re: QColumnView and QTreeView using same model No idea that existed. Now just trying to figure out how to translate qmake instructions to modern CMake instructions to be able to link against it. -- Mike Jackson On 5/3/22, 4:41 PM, "Scott Bloom" mailto:sc...@towel42.com>> wrote: Have you run the modeltest on it? Scott From: Interest On Behalf Of Michael Jackson Sent: Tuesday, May 3, 2022 12:57 PM To: Qt Interest List Subject: [Interest] QColumnView and QTreeView using same model I have a custom QAbstractItemModel implementation that works correctly when using a QTreeView, i.e., I can open the complete hierarchy of the tree without any issues. I switched up to the QColumnView due to size constraints and now using the same exact instance of the model I can only navigate into the first item that has children. Other items at the root level that have children are shown with the little graphic arrow as having children but none of the children are actually listed in the next column over. I even put both the QTreeView and the QColumnView into my Widget at the same time with the same instance of the model and the QTreeView does not have any problems displaying the various levels. Has anyone else seen something like this? I took at look at the Qt bug database and nothing really stuck out. I tried a QFileSystemModel for giggles and that worked as expected. So clearly I’ve got something sort of messed up in my custom model that allows the treeview to work but not the columnview. Odd. -- Mike Jackson ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest
Re: [Interest] QColumnView and QTreeView using same model
No idea that existed. Now just trying to figure out how to translate qmake instructions to modern CMake instructions to be able to link against it. -- Mike Jackson On 5/3/22, 4:41 PM, "Scott Bloom" wrote: Have you run the modeltest on it? Scott From: Interest On Behalf Of Michael Jackson Sent: Tuesday, May 3, 2022 12:57 PM To: Qt Interest List Subject: [Interest] QColumnView and QTreeView using same model I have a custom QAbstractItemModel implementation that works correctly when using a QTreeView, i.e., I can open the complete hierarchy of the tree without any issues. I switched up to the QColumnView due to size constraints and now using the same exact instance of the model I can only navigate into the first item that has children. Other items at the root level that have children are shown with the little graphic arrow as having children but none of the children are actually listed in the next column over. I even put both the QTreeView and the QColumnView into my Widget at the same time with the same instance of the model and the QTreeView does not have any problems displaying the various levels. Has anyone else seen something like this? I took at look at the Qt bug database and nothing really stuck out. I tried a QFileSystemModel for giggles and that worked as expected. So clearly I’ve got something sort of messed up in my custom model that allows the treeview to work but not the columnview. Odd. -- Mike Jackson ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest
Re: [Interest] QColumnView and QTreeView using same model
Have you run the modeltest on it? Scott From: Interest On Behalf Of Michael Jackson Sent: Tuesday, May 3, 2022 12:57 PM To: Qt Interest List Subject: [Interest] QColumnView and QTreeView using same model I have a custom QAbstractItemModel implementation that works correctly when using a QTreeView, i.e., I can open the complete hierarchy of the tree without any issues. I switched up to the QColumnView due to size constraints and now using the same exact instance of the model I can only navigate into the first item that has children. Other items at the root level that have children are shown with the little graphic arrow as having children but none of the children are actually listed in the next column over. I even put both the QTreeView and the QColumnView into my Widget at the same time with the same instance of the model and the QTreeView does not have any problems displaying the various levels. Has anyone else seen something like this? I took at look at the Qt bug database and nothing really stuck out. I tried a QFileSystemModel for giggles and that worked as expected. So clearly I’ve got something sort of messed up in my custom model that allows the treeview to work but not the columnview. Odd. -- Mike Jackson ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest
[Interest] Issues with latest Qt MaintenanceTool and Kaspersky
Hello Qt Team, I just ran the updater using the MaintenanceTool. After the update, the MaintenanceTool got listed as malware by Kaspersky Anti-Virus and removed from the system. Refer to the screenshot below: [image: image.png] [image: image.png] I have been using both Qt and KAV together for the last several years without any issues. Are *deferredrenamekERbOS.vbs* and *deferredrenameQIoNFA.vbs* included in the MaintenanceTool package? Why suddenly did the anti-virus start listing it as malware? Has anyone else observed this? Thanks & Regards, Nibedit ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest
[Interest] QColumnView and QTreeView using same model
I have a custom QAbstractItemModel implementation that works correctly when using a QTreeView, i.e., I can open the complete hierarchy of the tree without any issues. I switched up to the QColumnView due to size constraints and now using the same exact instance of the model I can only navigate into the first item that has children. Other items at the root level that have children are shown with the little graphic arrow as having children but none of the children are actually listed in the next column over. I even put both the QTreeView and the QColumnView into my Widget at the same time with the same instance of the model and the QTreeView does not have any problems displaying the various levels. Has anyone else seen something like this? I took at look at the Qt bug database and nothing really stuck out. I tried a QFileSystemModel for giggles and that worked as expected. So clearly I’ve got something sort of messed up in my custom model that allows the treeview to work but not the columnview. Odd. -- Mike Jackson ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest