Hide tool table columns

More
8 years 6 months ago #109395 by Wischi
Hello,

i really like the gui of gmoccappy but I want to change the tool table columns. I don't really need the Pocket, X, Y and C column. I already looked at the tooleditor widget at the gladevcp wiki site, but I can't figure out how to hide the columns. How does it work?

Thanks

Please Log in to join the conversation.

More
8 years 6 months ago #109401 by andypugh
Replied by andypugh on topic Hide tool table columns
It is done by adding settings to the INI file:
linuxcnc.org/docs/html/gui/tooledit.html#_column_selection

Please Log in to join the conversation.

More
8 years 6 months ago #109403 by Wischi
Replied by Wischi on topic Hide tool table columns
I tried it but it didn't work in gmoccapy, only in Axis it showed only the selected columns.

Please Log in to join the conversation.

More
8 years 6 months ago #109415 by cmorley
Replied by cmorley on topic Hide tool table columns
Gmoccapy uses the gladevcp widget tooledit:
linuxcnc.org/docs/devel/html/gui/gladevc...ml#gladevcp:tooledit

I'm not sure if Gmoccapy allows easy user customization - but you could easily modify it's python code to do what you want.
I bet Norbert will chime in to give you more direction.

Chris M

Please Log in to join the conversation.

More
8 years 6 months ago #109425 by Wischi
Replied by Wischi on topic Hide tool table columns
I found a solution:

Open gmoccapy in /usr/bin with mousepad as root. Find the line:
Code:
self.widgets.tooledit1.set_visible( "%s" % axis, True )

add this line under it:
Code:
self.widgets.tooledit1.set_visible( "pxyca", False )

Now I only have: Select, tool #, Z, diameter and comment. I think it looks more clean this way.


Thanks

Please Log in to join the conversation.

More
8 years 6 months ago #109576 by newbynobi
Replied by newbynobi on topic Hide tool table columns
If you set up a new tool, you might get problems, because you hide the p column, so linuxcnc will place all tools in pocket 0.

I added to my todo list the ini reading for the option to hide columns.

Norbert

Please Log in to join the conversation.

More
4 years 6 months ago #240030 by HalaszAttila
Hello,

any changes in this topic? Is this possible to hide colums in gmoccapy?

Please Log in to join the conversation.

More
4 years 6 months ago #240034 by Wischi
Replied by Wischi on topic Hide tool table columns
Hello,

I used the solution from my reply #109425 for a long time. Never had any problems.

Please Log in to join the conversation.

Time to create page: 0.184 seconds
Powered by Kunena Forum