You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How to make contributions (adding features, methods etc)? #36
Hi,
I'm exploring this project right now and I have to say its pretty frickin awesome 👍
I would like to evaluate it as a platform for my next project and was wondering how could I tacke moving with mouse/changing position of a window with WindowType.FramelessWindowHint flag (as used in weather widget example)?
The setGeometry/move seems to be lacking implementation? Or I'm just simply missing something?
Ohhh! And sorry for using issue tracker as a community board but I did not see any other communication channel available.
Yes, I setGeometry/move are not yet implemented. Maybe you can raise a PR for the same ?
And regarding using issue tracker as a community board, i think thats perfectly fine. Issue tracker would prove as a searcheable location for finding stuff.
You can get started following the contributors guide or maybe looking around the codebase.
And in any doubt you can ping back here and I ll be happy to help. @Uriziel01
@master-atul just to be sure, would it be sufficient workflow if I would (in my test project) go into node-modules/@nodegui/nodegui/ and after adding setGeometry method into appropriate files (in this case in src/cpp/QtWidgets/QWidget/qwidget_macro.h and src/lib/QtGui/QWidget/index.ts) and just rebuilding it there with npm run build?
I have to say I would love to contribute in this project but feel a little bit intimidated with the whole installing QT (which is apparently 3.7G in size) and rebuilding Qode process.
EDIT:
I just checked it and just like that setGeometry method was implemented as is working as intended, will work on a proper PR tomorrow :)
Hi @Uriziel01 You could basically clone @nodegui/nodegui repo and then
add a test inside demo.ts file.
You can run this demo.ts using npm run dev.
Lets say you wanted to add widget.move
you could add a test in demo.ts file as
const widget = new QWidget();
widget.move(500,300);
Then run the file as npm run dev.
Then basically work your way backwards by adding the correct implementation inside qwidget_macro and qwidget/index.ts
And you dont need to install Qt nor build Qode from scratch. The prebuilt binaries are installed when you do npm install. also Qt include headers and dlls are also installed when @nodegui/qode is installed.
For future contributors:
This PR can be used as a reference to contributors who are starting. It is precise and contains exactly what is needed to get started. #39
Activity
a7ul commentedon Aug 21, 2019
Yes, I setGeometry/move are not yet implemented. Maybe you can raise a PR for the same ?
And regarding using issue tracker as a community board, i think thats perfectly fine. Issue tracker would prove as a searcheable location for finding stuff.
You can get started following the contributors guide or maybe looking around the codebase.
And in any doubt you can ping back here and I ll be happy to help. @Uriziel01
Uriziel01 commentedon Aug 21, 2019
@master-atul just to be sure, would it be sufficient workflow if I would (in my test project) go intonode-modules/@nodegui/nodegui/and after addingsetGeometrymethod into appropriate files (in this case insrc/cpp/QtWidgets/QWidget/qwidget_macro.handsrc/lib/QtGui/QWidget/index.ts) and just rebuilding it there withnpm run build?I have to say I would love to contribute in this project but feel a little bit intimidated with the whole installing QT (which is apparently 3.7G in size) and rebuildingQodeprocess.EDIT:
I just checked it and just like that
setGeometrymethod was implemented as is working as intended, will work on a proper PR tomorrow :)a7ul commentedon Aug 21, 2019
Hi @Uriziel01 You could basically clone @nodegui/nodegui repo and then
add a test inside demo.ts file.
You can run this demo.ts using
npm run dev.Lets say you wanted to add
widget.moveyou could add a test in demo.ts file as
Then run the file as
npm run dev.Then basically work your way backwards by adding the correct implementation inside
qwidget_macroandqwidget/index.tsAnd you dont need to install Qt nor build Qode from scratch. The prebuilt binaries are installed when you do npm install. also Qt include headers and dlls are also installed when @nodegui/qode is installed.
[-]Is Frameless window missing move method?[/-][+]How to make contributions (adding features, methods etc)?[/+]a7ul commentedon Aug 22, 2019
For future contributors:
This PR can be used as a reference to contributors who are starting. It is precise and contains exactly what is needed to get started. #39
Special thanks to @Uriziel01