menu

NodeGui

A library for building cross-platform native desktop applications with Node.js and CSS.

Channels
Team

NodeGUI watercooler

September 1, 2019 at 8:40am
Show previous messages

April 13, 2020 at 11:28am
And thanks for taking the time to work on this project
  • reply
  • like
I lot of devs like me really appreciate it.
  • reply
  • like

May 8, 2020 at 3:17pm
hi , may I ask why there is no className props for react-nodegui? I'm just curious about it. Thanks!
  • reply
  • like
hi , may I ask why there is no className props for react-nodegui? I'm just curious about it. Thanks!
Hi To understand why there is no className we have to understand that React NodeGui doesnt run inside a browser. The css and elements you see are actually native widget api. The css spec is provided by Qt which supports styling using something they call as ObjectName. An objectName is a somewhat unique name you assign to each widget you create in qt so that you can style them separately. This concept of objectName is what is exposed as id in react nodegui.
But since qt does support assigning same objectName to multiple widgets. You can essentially assign same id to multiple widgets and style them all together (which is somewhat similar to that of className`
  • reply
  • like

June 18, 2020 at 11:59am
Hi, is it possible to remove a cancel button from a QProgressDialog? Normally it could be done with setCancelButton(null) but there is no method like that
  • reply
  • like

August 1, 2020 at 2:07am
Hi To understand why there is no className we have to understand that React NodeGui doesnt run inside a browser. The css and elements you see are actually native widget api. The css spec is provided by Qt which supports styling using something they call as ObjectName. An objectName is a somewhat unique name you assign to each widget you create in qt so that you can style them separately. This concept of objectName is what is exposed as id in react nodegui.
But since qt does support assigning same objectName to multiple widgets. You can essentially assign same id to multiple widgets and style them all together (which is somewhat similar to that of className`
so multiple widgets can have the same object name, but can a widget have multiple object names?
  • reply
  • like

August 10, 2020 at 10:39pm
Hello goodday! I'm enjoying nodeGUI. I was wondering how to access this from an <Button on={buttonHandler}>Click me</Button> call to buttonHandler = { clicked: () => { } } as per https://react.nodegui.org/docs/guides/handle-events except I'm using a class component and I would like this for setState
  • reply
  • like

September 10, 2020 at 7:41pm
hello! i was wondering which is a more active community? here on spectrum, or in slack? i am having troubles joining the slack community as i would prefer to add it to my exiting slack account which is part of a different community. i think i would need an invite rather than a link to the community. anyone here that can help with that?
  • reply
  • like

September 19, 2020 at 3:31pm
hello! i was wondering which is a more active community? here on spectrum, or in slack? i am having troubles joining the slack community as i would prefer to add it to my exiting slack account which is part of a different community. i think i would need an invite rather than a link to the community. anyone here that can help with that?
Dont think there is a slack, and think this chat is abandoned
  • reply
  • like

November 11, 2020 at 1:04pm
Hi, everyone . Is it possible to rename .node and index.js files into your own before building ? using nodegui If so, how, I can not understand
  • reply
  • like

November 17, 2020 at 7:46pm
Why is my new rule component isn't being displayed? Here is my code
  • reply
  • like

December 16, 2020 at 9:24pm
Has anyone built anything somewhat complex with NodeGUI yet?
  • reply
  • like
Is there a showcase anywhere?
  • reply
  • like

December 20, 2020 at 6:42am
Hi! How can I get size of some element or window? I want to subscribe to resize event and collapse side panel if width less then "x" pixels
Edited
  • reply
  • like

January 5, 2021 at 9:41pm
Curious if this project is still active. I was thinking of using it for a demo project and contributing to it.
  • reply
  • like

January 9, 2021 at 5:57pm
Can anyone install nodegui on windows?
  • reply
  • like
I wanted to test it out, but npm install is giving me an error
  • reply
  • like
  • reply
  • like
here's the log
  • reply
  • like
wow I can't belive it, that cm.exe error is because I'm running from bash inside vscode
  • reply
  • like
I've tried it again with regular cmd and managed to get the nodegui-starter running....
  • reply
  • like
In short, solved it myself
  • reply
  • like

March 8, 2021 at 1:36pm
Same has (fca) i can't start react-nodegui-starter on windows :( cmake version 3.19.6 node v14.15.4 npm 6.14.10 vs studio 2019 Full verbose log there : https://gist.github.com/evandikt/858053b3301551770655809d9cf8f641#file-log-1-L11010
  • reply
  • like

March 23, 2021 at 9:55pm
Hi to all, maybe a stupid question but is it possible to create DBMS applications with NodeGui, i.e. developing a desktop app with NodeGui and sqlite3?
  • reply
  • like