From 1b566b64f99df596f6f814ab8a7634ea889d3b8c Mon Sep 17 00:00:00 2001 From: ldam <ldam@passcal.nmt.edu> Date: Fri, 3 Nov 2023 08:55:09 -0600 Subject: [PATCH] add line to print out the result for the valueColor dialogs --- .../edit_value_color_dialog/line_dot_dialog.py | 1 + .../edit_value_color_dialog/tri_color_lines_dialog.py | 1 + .../value_color_helper/edit_value_color_dialog/up_down_dialog.py | 1 + 3 files changed, 3 insertions(+) diff --git a/sohstationviewer/view/db_config/value_color_helper/edit_value_color_dialog/line_dot_dialog.py b/sohstationviewer/view/db_config/value_color_helper/edit_value_color_dialog/line_dot_dialog.py index 3a565c7e0..6f794f158 100644 --- a/sohstationviewer/view/db_config/value_color_helper/edit_value_color_dialog/line_dot_dialog.py +++ b/sohstationviewer/view/db_config/value_color_helper/edit_value_color_dialog/line_dot_dialog.py @@ -105,4 +105,5 @@ if __name__ == '__main__': app = QtWidgets.QApplication(sys.argv) test = LineDotDialog(None, "Line:#00FF00|Dot:#00FF00") test.exec_() + print("result:", test.value_color_str) sys.exit(app.exec_()) diff --git a/sohstationviewer/view/db_config/value_color_helper/edit_value_color_dialog/tri_color_lines_dialog.py b/sohstationviewer/view/db_config/value_color_helper/edit_value_color_dialog/tri_color_lines_dialog.py index f84a7db4c..9ca2b88d6 100644 --- a/sohstationviewer/view/db_config/value_color_helper/edit_value_color_dialog/tri_color_lines_dialog.py +++ b/sohstationviewer/view/db_config/value_color_helper/edit_value_color_dialog/tri_color_lines_dialog.py @@ -106,4 +106,5 @@ if __name__ == '__main__': app = QtWidgets.QApplication(sys.argv) test = TriColorLinesDialog(None, '-1:#FF00FF|0:#FF0000|1:#00FF00') test.exec_() + print("result:", test.value_color_str) sys.exit(app.exec_()) diff --git a/sohstationviewer/view/db_config/value_color_helper/edit_value_color_dialog/up_down_dialog.py b/sohstationviewer/view/db_config/value_color_helper/edit_value_color_dialog/up_down_dialog.py index bc8618e5e..477db73ae 100644 --- a/sohstationviewer/view/db_config/value_color_helper/edit_value_color_dialog/up_down_dialog.py +++ b/sohstationviewer/view/db_config/value_color_helper/edit_value_color_dialog/up_down_dialog.py @@ -85,4 +85,5 @@ if __name__ == '__main__': app = QtWidgets.QApplication(sys.argv) test = UpDownDialog(None, 'Down:#FF0000|Up:#00FF00') test.exec_() + print("result:", test.value_color_str) sys.exit(app.exec_()) -- GitLab