Screen shots of gui designs

More
8 years 10 months ago #102898 by cmorley
Replied by cmorley on topic Screen shots of gui designs
In this sample screen I use dialogs a lot.
I could probably hide the graphics and dro and intergrate the dialogs screen there.
If I did that the darkening overlay would not be very useful - though I may be able to get it to darken every thing but the window.
The chips image in the overlay may be a bit cheesy - just trying different things.

Chris M

Please Log in or Create an account to join the conversation.

More
8 years 10 months ago #103863 by cmorley
Replied by cmorley on topic Screen shots of gui designs


Video shows process of building a custom screen.
Obviously not pretty or very useful but shows the process.

uses pyqt5 with python2 and the graphics widget uses native pyqt.

Now I need someone to build a really good and pretty screen...

Chris M
The following user(s) said Thank You: KCJ, pavelshakal

Please Log in or Create an account to join the conversation.

More
8 years 10 months ago #103866 by KCJ
Replied by KCJ on topic Screen shots of gui designs
Chris, great work! I can't wait to get back from vacation so I can check it out and see about making a full UI.

-Kurt

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago #104352 by persei8
Replied by persei8 on topic Screen shots of gui designs
Sorry to be a PITA. I managed to download (clone) qtvcp_py2 and build and install it, but now when I run it like so:

$ linuxcnc qtdefault.ini
LINUXCNC - 2.8.0~pre1
Machine configuration directory is '/home/jim/linuxcnc/configs/sim.qtscreen'
Machine configuration file is 'qtdefault.ini'
Starting LinuxCNC...
emc/iotask/ioControl.cc 768: can't load tool table.
Found file(lib): /usr/share/linuxcnc/hallib/core_sim.hal
Note: Using POSIX realtime
Found file(lib): /usr/share/linuxcnc/hallib/sim_spindle_encoder.hal
Found file(lib): /usr/share/linuxcnc/hallib/simulated_home.hal
Found file(REL): ./check_constraints.hal
Traceback (most recent call last):
File "/usr/bin/qtscreen", line 8, in <module>
from qtvcp.core import Status
ImportError: No module named qtvcp.core
Shutting down and cleaning up LinuxCNC...

At github.com/LinuxCNC/linuxcnc/tree/770a0f...339/lib/python/qtvcp there is no clone or download button, so how do I get the qtvcp module and where does it go when I get it?

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago #104360 by persei8
Replied by persei8 on topic Screen shots of gui designs
OK I got that resolved, but now it's:

Traceback (most recent call last):
File "/usr/bin/qtscreen", line 23, in <module>
from qtvcp import qt_makepins, qt_makegui
File "/usr/lib/python2.7/dist-packages/qtvcp/qt_makepins.py", line 24, in <module>
from qtvcp.qt_glib import QComponent
ImportError: No module named qt_glib
Shutting down and cleaning up LinuxCNC...

I resolved the first issue by creating a symlink to the linuxcnc-qt5vcp_py2 directory, but this time, there really is no module named qt_glib.

Please Log in or Create an account to join the conversation.

More
8 years 9 months ago - 8 years 9 months ago #104367 by KCJ
Replied by KCJ on topic Screen shots of gui designs
You probably should be building LCNC from source to use the development branches. It sounds like you might not be doing that. I can walk you thru that if needed. I am going to checkout the qt5vcp_py2 branch in a bit here myself.

EDIT:

At github.com/LinuxCNC/linuxcnc/tree/770a0f...339/lib/python/qtvcp there is no clone or download button, so how do I get the qtvcp module and where does it go when I get it?


You need to have git installed and configured. Then
Code:
git clone https://github.com/LinuxCNC/linuxcnc.git linuxcnc-dev cd linuxcnc-dev git checkout qt5vcp_py2

That will give you a directory with the qt5vcp_py2 branch, than build that as a RIP. Follow the directions here: www.wiki.eusurplus.com/index.php?title=LinuxCNC_Run_In_Place

Don't hesitate to ask if you still are having trouble.
Last edit: 8 years 9 months ago by KCJ. Reason: Forum ate the https
The following user(s) said Thank You: persei8

Please Log in or Create an account to join the conversation.

Time to create page: 0.502 seconds
Powered by Kunena Forum