Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I need to somehow trigger the tileAdded event on TilesGrid when loading and pinning tiles, tileMoved when resizing them, and (if it has it, but if not I can just do the inverse of tileAdded) tileRemoved when unpinning tiles. #252

Open
DrewNaylor opened this issue Aug 12, 2023 · 0 comments

Comments

@DrewNaylor
Copy link
Owner

That might help it be a little less unusable and allow tiles to at least be manually positioned by row and column in the config file until I can get drag and drop to not break (guess I could add a config file option if it's still too broken to be useable by the time I want to get a new version out, but that option should be in an experimental/developer options file along with other related options, as I want to have a page like Android's Developer Options in Settings because it's cool). Of course I also need to figure out how best to load in the tiles in case I can't use the Repeater where I'm doing it and if that's causing all the issues (at least now I have tiles connected to all the signals I need them to be connected to, so that's good; just need to allow the signal connection code to be called from TilesGrid.qml in case I need to remove the repeater there and have it work like I used to with the property aliases for the model and delegate; this won't allow for me to have different types of delegates so tiles will need to be a superclass and change its functionality if it's supposed to be a folder instead of a tile, but different ways of displaying data [Iconic, etc.] should be fine to handle in a similar way to what I do with the solid vs. tile wallpaper background).

The reason I need to do tileAdded when loading and pinning tiles is because they'll not be properly added to the grid until they're manually moved for the first time (they'll also be slightly too small), and tileMoved for resizing is for making sure the resized tile and others it would collide with move properly if there's no room. Also need to do tileRemoved when unpinning them. I also need to figure out a way to have tiles resized to small go into adjacent small tile-sized gaps if that feels good to use, because I think that was a feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant