question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Question: Any plans for native menu items?

See original GitHub issue

Hello, look like a really promising project.

Do you know if it’s possible and if it would be hard to provide a way to create native menu like File Edit, etc ?

Something like this : https://electronjs.org/docs/api/menu

maybe even something like dock menu : https://electronjs.org/docs/tutorial/macos-dock

I didn’t use Qt in many many years but would making the bindings be a hard thing to do?

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:3
  • Comments:5

github_iconTop GitHub Comments

3reactions
a7ulcommented, Aug 30, 2019

Yes, yes, You can follow the contributors guide to help with the project, docs, testing. https://nodegui.github.io/nodegui/#/development/README @wcastand It is fairly straightforward to get started. I would recommend you start by adding an unexported method to an existing widget. For example: You could add the corresponding Qt method to QProgressbar https://doc.qt.io/qt-5/qprogressbar.html#textVisible-prop to get a grip on it.

Once that is done maybe you can helpout with QMenu which achieves the native menu items

This PR can be used as a guide https://github.com/nodegui/nodegui/issues/36 https://github.com/nodegui/nodegui/pull/39

2reactions
a7ulcommented, Aug 30, 2019

Hi @wcastand Its not implemented yet, but Yes, we can support this since Qt supports it. It will be implemented soon.

Read more comments on GitHub >

github_iconTop Results From Across the Web

American Indian Traditional Foods in USDA School Meals ...
To get started, ask yourself the following questions to assess your options for incorporating traditional foods: What menu items do I currently offer?...
Read more >
Building Accessible Menu Systems - Smashing Magazine
Creating inclusive experiences is a question of using the right ... Native menus on many platforms indicate chosen items using check marks.
Read more >
988 Frequently Asked Questions - SAMHSA
988 Frequently Asked Questions. Full 988 implementation requires a bold vision for a crisis care system that provides direct, life-saving services to all...
Read more >
Food Distribution Program on Indian Reservations
Food Distribution Program on Indian Reservations. FDPIR offers a wide variety of fresh fruits and vegetables, frozen meats, whole grains, and traditional foods....
Read more >
Native Knowledge 360° - Interactive Teaching Resources
Native Knowledge 360° is the National Museum of the American Indian's national ... interactive teaching resources and lesson plans for all grade levels....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found