Posts
Chat
Members
Info
April 13, 2020 at 11:24am
A quick way would be to use the node-canvas api to generate a image url from the canvas and set it to QLabel.
That is a good idea. I will try it out.
Good luck on your efforts integrating
node-canvas
:)And thanks for taking the time to work on this project
I lot of devs like me really appreciate it.
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!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`
June 18, 2020 at 11:59am
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?
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 setStateSeptember 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?
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
November 11, 2020 at 1:04pm
November 17, 2020 at 7:46pm
Why is my new rule component isn't being displayed? Here is my code
December 16, 2020 at 9:24pm
Is there a showcase anywhere?
December 20, 2020 at 6:42am
January 5, 2021 at 9:41pm
January 9, 2021 at 5:57pm
I wanted to test it out, but npm install is giving me an error
"prebuild-install http 404 https://github.com/nodegui/nodegui/releases/download/v0.28.0/nodegui-v0.28.0-napi-v3-win32-x64.tar.gz"
here's the log
wow I can't belive it, that cm.exe error is because I'm running from bash inside vscode
I've tried it again with regular cmd and managed to get the nodegui-starter running....
In short, solved it myself