Jump to content

I need help with a tool I'm developing using kRPC, python and QT


Ghosty141

Recommended Posts

So, here we go.

I had/have the idea of creating a mfd (MultiFunctionalDisplay, what raster prop monitor basically is) outside of KSP using the kRPC mod and python.

Doing the readouts and whatnot isn't the problem but the UI is. Currently it looks like this (pic) and I'd be great to have somebody who knows python and QT/qtpy and could help me making the actual display (the switching screens, displaying the navball and so on) since I'm fairly new ot the whole thing and I'm currently a little out of ideas.

To people who would like know why I want such a display: There would be soo many new things to implement like imagine all the graphs you could draw using matplot for example, it would also be awesome for the people who have the Thrustmaster Cougar MFD, you can also calculate a excrementston of things which may not be possible inside of KSP/RPM. 

ui.py is the .qt (xml) code from the UI, translated by pyqt4 and ksp.py are the readouts done through the kRPC plugin stored in dictionaries for the moment.

ui.py 

ksp.py

 

I hope somebody could help since once the way how to create the tabs is figured out, the other stuff becomes rather simple and should be rather easy to do.

And if somebody wonders how to execute the following code: 1. downlaod python 2. pip install krpc 3. pyqt4 wheel (wheels = installer for binaries/packages) is available on http://www.lfd.uci.edu/~gohlke/pythonlibs/ 4. run the code.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...