CS-Lab Support Forum for CNC Community

Help to run this brand-new forum and stay with us.
Ask your questions, we are here to help! 

 

Forum Navigation
You need to log in to create posts and topics.

Customize OffsetTable and PathView

Hi

Is it possible to customize the OffsetTable? Make columns and fonts larger? Give the line ofe the selected Offset a different Background-Color? 

Can I "draw" The Work-Area and my Toolchanger into the PathView or Make it visible otherwise?

Thanks in advance

reazor

 

 

I’ve attached a screenshot showing a simple customization of the table widget example (see the CSS section).
For additional parameters, you can refer to the Qt Style Sheet Reference and read about QTableView styling.

CSS support in Qt (the framework used in simCNC) is somewhat limited, but still quite powerful if you take the time to explore it.

Customization of the path view is not currently possible, besides colors.
 
Here's some example of offsets table styling:

#id {
font-size: 10px;
color: red;
}

#id QHeaderView::section {
font-size: 24px;
background-color: blue;
color: white;
}
For more information refer to: https://doc.qt.io/archives/qt-5.15/stylesheet.html and look for QTableView or QTableWidget.

Regarding to path view - currently there is no option to add own shapes or 3D models. You can only tweak the colors (look colors.css file in the screen directory).

PARTNERS:

 

USA

Germany

Slovenia / Bosnia

Spain

South Africa

UNI-CAM

The Netherlands

Portugal

Greece

  Distrib milionis logo

Hungary

Distrib logot

Bulgaria

Master

Kenya

Proteq Automation

Egypt

Germanelectronix

China

Jun Ma

Serbia

ALCO

Italy

LVL tech r

Denmark

Varntoft Dania

Finland