You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While adding tests for VFS(#8651 (comment)) we needed to verify if it was enabled or not using a purple banner with text Virtual file support is enabled.. However, while adding this test we could not find an object for that. It was inside another object as it can be seen in the image below.
The element that we want for this test to work does not have a UI file. It is a custom paint job based on model. This make testing a little bit hard.
Possible Solution
For now we have added the test here #8835 and verified the enabling/disabling of VFS using the enable/disable VFS button which is an object names.stack_folderList_QTreeView, "_1" at 718,27. But it would be better if we could get an object for the VFS enabled element.
The text was updated successfully, but these errors were encountered:
As I said before the delegate just directly paints the text.
The above screenshot shows me that you get a QModelIndex, you need to access the data() function of that object and query for FolderStatusDelegate::FolderInfoMsg value 362.
Now on how you can get the value from a QModelIndex, no idea but I'm pretty sure squish supports it.
Description
While adding tests for VFS(#8651 (comment)) we needed to verify if it was enabled or not using a purple banner with text
Virtual file support is enabled.
. However, while adding this test we could not find an object for that. It was inside another object as it can be seen in the image below.The element that we want for this test to work does not have a UI file. It is a custom paint job based on model. This make testing a little bit hard.
Possible Solution
For now we have added the test here #8835 and verified the enabling/disabling of VFS using the enable/disable VFS button which is an object
names.stack_folderList_QTreeView, "_1"
at718,27
. But it would be better if we could get an object for the VFS enabled element.The text was updated successfully, but these errors were encountered: