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

Cannot access MenuItem and dealing with js on a QtQuick application #70

Open
jacquesknipper opened this issue Feb 20, 2020 · 2 comments

Comments

@jacquesknipper
Copy link

jacquesknipper commented Feb 20, 2020

Hello!

I'm actively looking at funq and I many questions, related to using funq with a QtQuick application.
Instead of opening many threads, allow me to put that here so it's easier, if you don't mind.

  1. How can we access MenuItems?
    I have a MenuBar that doesn't seem to be nested in my ApplicationWindow (in the qml file it is, but I cannot access it though my QQuickWindow, and I need to access them to open differents windows of my application. How can I achieve that with funq?

  2. Can I access javascripts functions natively with funq?
    That would be super interesting for my use case, can I do that through any specific usage of funq like call_slots?

  3. How shortcut is working?
    I am trying to call shortcuts from my main QuickWindow but looks like it does not work. I my application, shortcuts are linked to MenuItems, should I call shortcut method from MenuItem once I figure how to access them? Or should I be able to call shortcut from my main window? (which I can when doing manual testing).

Also I'm curious on how many people are using this tool, do you have any idea? Is there any plan to extend it or is it all working fine and complete enough for current users?

Thanks for you help, happy to contribute if needs be :)
Jacques

@jacquesknipper jacquesknipper changed the title Cannot access MenuItem Cannot access MenuItem and dealing with js on a QtQuick application Feb 20, 2020
@jacquesknipper
Copy link
Author

Hi,
I've been trying a lot of things but I feel like funq only allows to click on QtQuickItems and that's all, no way to call slots or anything else, am I wrong?

Does that mean that funq is not mature enough for QtQuick?

Thanks for your help :)

@rafaeldelucena
Copy link
Collaborator

rafaeldelucena commented Apr 3, 2020

@jacquesknipper Do you have code examples of 1, 2 or 3?

Does that mean that funq is not mature enough for QtQuick?

AFAIK funq do not support detecting events in applications.

There lot of features that are not covered yet, this project is only maintained by good will, if you want to help adding some of those features, I would help you.

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

2 participants