Skip to content

Commit f24b64e

Browse files
committed
qtdragon/hd -make the standard qss have a dark them gcode highlight
1 parent 5ca6e30 commit f24b64e

2 files changed

Lines changed: 54 additions & 0 deletions

File tree

share/qtvcp/screens/qtdragon/qtdragon.qss

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,3 +458,30 @@ QTabBar::tab:!selected {
458458
margin-top: 2px; /* make non-selected tabs look smaller */
459459
}
460460

461+
/** GCode Display **/
462+
EditorBase {
463+
qproperty-styleColorBackground: #202020;
464+
qproperty-styleColorMarginBackground: #303030;
465+
qproperty-styleColorMarginText: #00aaff;
466+
qproperty-styleColorMarkerBackground: #505050;
467+
qproperty-styleColorSelectionBackground: #006aff;
468+
qproperty-styleColorSelectionText: #ffffff;
469+
qproperty-styleFont: "DejaVu Sans Mono,12,-1,5,50,0,0,0,1,0"; /* default */
470+
qproperty-styleFont0: "DejaVu Sans Mono,12,-1,5,50,0,0,0,1,0";
471+
qproperty-styleFont1: "DejaVu Sans Mono,12,-1,5,50,1,0,0,1,0";
472+
qproperty-styleFont2: "DejaVu Sans Mono,12,-1,5,90,0,0,0,1,0";
473+
qproperty-styleFont3: "DejaVu Sans Mono,12,-1,5,90,0,0,0,1,0";
474+
qproperty-styleFont4: "DejaVu Sans Mono,12,-1,5,90,0,0,0,1,0";
475+
qproperty-styleFont5: "DejaVu Sans Mono,12,-1,5,90,0,0,0,1,0";
476+
qproperty-styleFont6: "DejaVu Sans Mono,12,-1,5,90,0,0,0,1,0";
477+
qproperty-styleFont7: "DejaVu Sans Mono,12,-1,5,90,0,0,0,1,0";
478+
qproperty-styleFontMargin: "DejaVu Sans Mono,8,-1,5,50,0,0,0,1,0";
479+
qproperty-styleColor0: #efefef; /* default */
480+
qproperty-styleColor1: white; /* LineNo & Comments */
481+
qproperty-styleColor2: blue; /* Gcodes */
482+
qproperty-styleColor3: lightgreen; /* Mcodes */
483+
qproperty-styleColor4: yellow; /* Axes */
484+
qproperty-styleColor5: red; /* Other (feed, spindle, radius, etc) */
485+
qproperty-styleColor6: #8282aa; /* Axes Values */
486+
qproperty-styleColor7: #cd6197; /* Other Values */
487+
}

share/qtvcp/screens/qtdragon_hd/qtdragon_hd.qss

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -448,3 +448,30 @@ QTabBar::tab:selected {
448448
QTabBar::tab:!selected {
449449
margin-top: 2px; /* make non-selected tabs look smaller */
450450
}
451+
/** GCode Display **/
452+
EditorBase {
453+
qproperty-styleColorBackground: #202020;
454+
qproperty-styleColorMarginBackground: #303030;
455+
qproperty-styleColorMarginText: #00aaff;
456+
qproperty-styleColorMarkerBackground: #505050;
457+
qproperty-styleColorSelectionBackground: #006aff;
458+
qproperty-styleColorSelectionText: #ffffff;
459+
qproperty-styleFont: "DejaVu Sans Mono,12,-1,5,50,0,0,0,1,0"; /* default */
460+
qproperty-styleFont0: "DejaVu Sans Mono,12,-1,5,50,0,0,0,1,0";
461+
qproperty-styleFont1: "DejaVu Sans Mono,12,-1,5,50,1,0,0,1,0";
462+
qproperty-styleFont2: "DejaVu Sans Mono,12,-1,5,90,0,0,0,1,0";
463+
qproperty-styleFont3: "DejaVu Sans Mono,12,-1,5,90,0,0,0,1,0";
464+
qproperty-styleFont4: "DejaVu Sans Mono,12,-1,5,90,0,0,0,1,0";
465+
qproperty-styleFont5: "DejaVu Sans Mono,12,-1,5,90,0,0,0,1,0";
466+
qproperty-styleFont6: "DejaVu Sans Mono,12,-1,5,90,0,0,0,1,0";
467+
qproperty-styleFont7: "DejaVu Sans Mono,12,-1,5,90,0,0,0,1,0";
468+
qproperty-styleFontMargin: "DejaVu Sans Mono,8,-1,5,50,0,0,0,1,0";
469+
qproperty-styleColor0: #efefef; /* default */
470+
qproperty-styleColor1: white; /* LineNo & Comments */
471+
qproperty-styleColor2: blue; /* Gcodes */
472+
qproperty-styleColor3: lightgreen; /* Mcodes */
473+
qproperty-styleColor4: yellow; /* Axes */
474+
qproperty-styleColor5: red; /* Other (feed, spindle, radius, etc) */
475+
qproperty-styleColor6: #8282aa; /* Axes Values */
476+
qproperty-styleColor7: #cd6197; /* Other Values */
477+
}

0 commit comments

Comments
 (0)