Skip to content

Commit

Permalink
qtdragon_hd_vert -add a vertical version of qtdragon_hd
Browse files Browse the repository at this point in the history
Mr, Mass from forum supplied this. Thank you
  • Loading branch information
c-morley committed Mar 4, 2025
1 parent f4c6e61 commit f6a4bdb
Show file tree
Hide file tree
Showing 61 changed files with 24,130 additions and 0 deletions.
524 changes: 524 additions & 0 deletions share/qtvcp/screens/qtdragon_hd_vert/argentium.qss

Large diffs are not rendered by default.

546 changes: 546 additions & 0 deletions share/qtvcp/screens/qtdragon_hd_vert/brushed_metal_color.qss

Large diffs are not rendered by default.

453 changes: 453 additions & 0 deletions share/qtvcp/screens/qtdragon_hd_vert/dark.qss

Large diffs are not rendered by default.

482 changes: 482 additions & 0 deletions share/qtvcp/screens/qtdragon_hd_vert/dark_grey.qss

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
99:probe.png
0:not_found.png
1:ball_end_mill.png
23:tool_icons.txt
4:upcut_spiral.png
21:ball_end_mill.png
12:ball_end_mill.png
8:surfacing.png
15:vbit-90deg.png
10:center_drill.png
13:ball_end_mill.png
11:ball_end_mill.png
14:ball_end_mill.png
33:drill.png
34:upcut_spiral.png
26:center_drill.png
6:surfacing.png
16:center_drill.png
2:upcut_spiral.png
9:upcut_spiral.png
13 changes: 13 additions & 0 deletions share/qtvcp/screens/qtdragon_hd_vert/languages/langfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash

if [ $# -eq 0 ]; then
echo -e '\nlocale is missing\n'
exit
elif [ ${#1} -ne 2 ]; then
echo -e '\nlocale needs to be two characters\n'
exit
fi

echo -e '\ncreating language translation file qtdragon_hd_'"$1"'.ts\n'

pylupdate5 ./*.py ../*.py ../../../../../lib/python/qtvcp/widgets/*.py -ts "qtdragon_hd_$1.ts"
241 changes: 241 additions & 0 deletions share/qtvcp/screens/qtdragon_hd_vert/metal.qss
Original file line number Diff line number Diff line change
@@ -0,0 +1,241 @@
QMainWindow {
background-image: url(:/images/images/brushed_metal.png);
}


/** Pushbuttons **/
QToolButton,
QPushButton,
ActionButton,
SystemToolButton,
AxisToolButton {
border: 2px solid black;
border-radius: 4px;
font: 10pt "Lato Heavy";
}

QPushButton:checked,
QToolButton:checked,
QPushButton:pressed {
border-color: blue;
color: #0000FF;
}

QPushButton:hover,
ActionButton:hover,
SystemToolButton:hover,
AxisToolButton:hover {
border: 2px solid blue;
}

QPushButton:disabled,
ActionButton:disabled {
color: gray;
}

ActionButton#action_machine_on {
color: #FF0000;
}

ActionButton#action_machine_on[isStateOn=true] {
color: #00FF00;
}

ActionButton#action_estop {
color: #00FF00;
}

ActionButton#action_estop:checked {
color: #FF0000;
}

QLabel {
font: 10pt "Lato Heavy";
color: black;
}

QLabel#label_axis_x,
QLabel#label_axis_y,
QLabel#label_axis_z,
QLabel#label_axis_a,
QLabel#label_axis_4,
QLabel#label_axis_5 {
border: 2px solid black;
border-radius: 4px;
font: 20pt "Lato Heavy";
color: blue;
}

StatusLabel,
StateLabel {
background: rgb(250, 250, 250);
font: 10pt "Lato Heavy";
color: black;
}

DROLabel,
StatusLabel#status_rpm {
border: 1px solid black;
border-radius: 4px;
font: 20pt "Lato Heavy";
}

DROLabel[isHomed=false] {
color: red;
}

QLineEdit {
background: rgb(250, 250, 250);
border: 1px solid;
border-left-color: black;
border-top-color: black;
border-right-color: white;
border-bottom-color: white;
font: 10pt "Lato Heavy";
}

QTextEdit {
background: rgb(250,250,250);
font: 10pt "Lato";
}

QCheckBox {
font: 10pt "Lato Heavy";
}

QComboBox {
border: 1px solid black;
min-width: 120px;
font: 10pt "Lato Heavy";
color: black;
}

QGroupBox::title {
subcontrol-origin: margin;
padding: 0 3px;
color: black;
}

QGroupBox {
border: 1px solid black;
border-radius: 4px;
margin-top: 16px;
font: 10pt "Lato Heavy";
}

QProgressBar {
background-color: rgb(250, 250, 250);
border: 1px solid black;
border-radius: 4px;
font: 9 pt "Lato Heavy";
}

QProgressBar::chunk {
background: qlineargradient(x1: 0, y1: 0.2, x2: 1, y2: 1,
stop: 0 #bbf, stop: 1 #55f);
}

.QFrame {
}

QHeaderView {
background-color: #B0B0D0;
border: 0px transparent #32414B;
padding: 0px;
margin: 0px;
border-radius: 0px;
font: 10pt "Lato Heavy";
}

QHeaderView::section::vertical::first, QHeaderView::section::vertical::only-one {
width: 60px;
}

OriginOffsetView, ToolOffsetView {
font: 10pt "Lato Heavy";
}

QSlider::groove:horizontal {
border: 1px black;
height: 12px;
}

QSlider::groove:vertical {
border: 1px black;
width: 12px;
}

QSlider::sub-page:horizontal {
background: qlineargradient(x1: 0, y1: 0.2, x2: 1, y2: 1,
stop: 0 #bbf stop: 1 #55f);
border: 1px solid #777;
border-radius: 3px;
height: 12px;
}

QSlider::add-page:horizontal {
background: white;
border: 1px solid #777;
border-radius: 3px;
width: 12px;
}

QSlider::add-page:vertical {
background: qlineargradient(x1: 0, y1: 0.2, x2: 1, y2: 1,
stop: 0 #bbf, stop: 1 #55f);
border: 1px solid #777;
border-radius: 3px;
height: 12px;
}

QSlider::sub-page:vertical {
background: white;
border: 1px solid #777;
border-radius: 3px;
width: 12px;
}

QSlider::handle:horizontal {
background: lightgray;
border: 1px solid black;
width: 12px;
margin-top: -2px;
margin-bottom: -2px;
border-radius: 2px;
}

QSlider::handle:vertical {
background: lightgray;
border: 1px solid black;
height: 12px;
margin-top: -2px;
margin-bottom: -2px;
border-radius: 2px;
}

QDialog{
background-image: url(:/images/images/brushed_metal.png);
}
ToolDialog QPushButton, AboutDialog QPushButton{
width: 100px;
height: 40px;
}
EntryDialog QPushButton, CloseDialog QPushButton{
width: 80px;
height: 40px;
}

QCheckBox::indicator:checked {
image: url(:/buttons/images/checked.png);
background-color: lightgray;
height: 25px;
width: 25px;
}

QCheckBox::indicator:unchecked {
image: url(:/buttons/images/unchecked.png);
background-color: darkgray;
height: 25px;
width: 25px;
}

45 changes: 45 additions & 0 deletions share/qtvcp/screens/qtdragon_hd_vert/qtdragon_hd_vert.qrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<RCC>
<qresource prefix="buttons">
<file>images/w_plus_jog_button.png</file>
<file>images/w_minus_jog_button.png</file>
<file>images/v_plus_jog_button.png</file>
<file>images/v_minus_jog_button.png</file>
<file>images/u_plus_jog_button.png</file>
<file>images/u_minus_jog_button.png</file>
<file>images/b_plus_jog_button.png</file>
<file>images/b_minus_jog_button.png</file>
<file>images/c_plus_jog_button.png</file>
<file>images/c_minus_jog_button.png</file>
<file>images/zoom.png</file>
<file>images/unchecked.png</file>
<file>images/spindle_ccw.gif</file>
<file>images/spindle_cw.gif</file>
<file>images/E-Stop.gif</file>
<file>images/estopred.png</file>
<file>images/Estop.png</file>
<file>images/Estop_reset.png</file>
<file>images/spindle_rev.png</file>
<file>images/spindle_fwd.png</file>
<file>images/spindle_pause.png</file>
<file>images/spindle_stop.png</file>
<file>images/slide_off.png</file>
<file>images/slide_on.png</file>
<file>images/checked.png</file>
<file>images/Right_arrow.png</file>
<file>images/Left_arrow.png</file>
<file>images/a_minus_jog_button.png</file>
<file>images/a_plus_jog_button.png</file>
<file>images/x_plus_jog_button.png</file>
<file>images/x_minus_jog_button.png</file>
<file>images/z_minus_jog_button.png</file>
<file>images/z_plus_jog_button.png</file>
<file>images/y_minus_jog_button.png</file>
<file>images/y_plus_jog_button.png</file>
</qresource>
<qresource prefix="images">
<file>images/atc_spindle_tool.png</file>
<file>images/brushed_metal.png</file>
<file>images/silver_dragon.png</file>
<file>images/tool_probe.png</file>
</qresource>
</RCC>
Loading

0 comments on commit f6a4bdb

Please sign in to comment.