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.
The text was updated successfully, but these errors were encountered:
@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.
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();
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.