Ignore:
Timestamp:
Nov 18, 2020 9:05:50 AM (4 years ago)
Author:
maronga
Message:

minor fix in palmrungui, added support for -W option

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SCRIPTS/palmrungui

    r4670 r4789  
    2020# Current revisions:
    2121# -----------------
    22 # 
    23 # 
     22#
     23#
    2424# Former revisions:
    2525# -----------------
    2626# $Id$
     27# Bugfix: set check boxes for cyclic fill and svf I/O when loading job from history.
     28# Added support for option -W (wait for job; dependency mode)
     29#
     30#
     31# 4670 2020-09-09 17:27:45Z maronga
    2732# Ported to PyQt5, removed support for user parameters. Added support for Option
    2833# "-V" (do not re-build pre-built source code). Changed activation strings
     
    691696            tmptext = self.group_execution.findChild(QtWidgets.QLineEdit,"line_account").text()
    692697            self.change_commandline("A",tmptext)
    693        
     698
     699        elif ( self.sender() == self.group_execution.findChild(QtWidgets.QLineEdit,"line_wait")):
     700            tmptext = self.group_execution.findChild(QtWidgets.QLineEdit,"line_wait").text()
     701            self.change_commandline("W",tmptext)
     702
    694703        elif ( self.sender() ==  self.group_execution.findChild(QtWidgets.QLineEdit,"line_pe")):
    695704            tmptext = self.group_execution.findChild(QtWidgets.QLineEdit,"line_pe").text()
     
    786795            self.deactivate_flag("B")
    787796   
    788         status = self.group_execution.findChild(QtWidgets.QCheckBox,"check_verbose" ).checkState()
     797        status = self.groupBox.findChild(QtWidgets.QCheckBox,"check_verbose" ).checkState()
    789798        if (status == 2):
    790799            self.activate_flag("v")
     
    961970            elif ( parameter == "A"):
    962971                self.group_execution.findChild(QtWidgets.QLineEdit,"line_account").setText(options)
    963              
     972
     973            elif ( parameter == "W"):
     974                self.group_execution.findChild(QtWidgets.QLineEdit,"line_wait").setText(options)
     975
    964976            elif ( parameter == "X"):
    965977                self.group_execution.findChild(QtWidgets.QLineEdit,"line_pe").setText(options)
     
    975987             
    976988            elif ( parameter == "v"):
    977                 self.group_execution.findChild(QtWidgets.QCheckBox,"check_verbose").setChecked(True)
     989                self.groupBox.findChild(QtWidgets.QCheckBox,"check_verbose").setChecked(True)
    978990                         
    979991            elif ( parameter == "b"):
     
    10731085                        self.group_execution.findChild(QtWidgets.QCheckBox,"check_restarts").setChecked(True)
    10741086
     1087                    if (options_all == "rec"):
     1088                        self.group_execution.findChild(QtWidgets.QCheckBox,"check_cycfill").setChecked(True)
     1089
     1090                    if (options_all == "svfin"):
     1091                        self.group_execution.findChild(QtWidgets.QCheckBox,"check_svf").setChecked(True)
     1092
     1093                    if (options_all == "svfout"):
     1094                        self.group_execution.findChild(QtWidgets.QCheckBox,"check_svf_2").setChecked(True)
     1095
    10751096                    j = j+1
    10761097            i = i-1
Note: See TracChangeset for help on using the changeset viewer.