프로젝트

일반

사용자정보

개정판 141c4901

ID141c4901001c0c49f7c35cb107c398a98134b002
상위 2737caa7
하위 64c97ede

김연진이(가) 약 5년 전에 추가함

issue #1054 : 스트림 데이타 입력

Change-Id: I645176deb7d5559e230481ca1d5d93c4a6689a26

차이점 보기:

HYTOS/HYTOS/StreamDataDialog.py
319 319
        if is_not_blank(text):
320 320
            # Equivalent Length Cal Clear
321 321
            self.ui.lineEdit_Fitting_Length.clear()
322
            self.ui.lineEdit_Fitting_Length.setStyleSheet('QLineEdit {background-color: rgb(237,237,237);}')
322 323
            self.ui.lineEdit_Fitting_K.clear()
324
            self.ui.lineEdit_Fitting_K.setStyleSheet('QLineEdit {background-color: rgb(237,237,237);}')
323 325
            self.ui.lineEdit_Equivalent_Length_Cal.clear()
324

  
326
            self.ui.lineEdit_Equivalent_Length_Cal.setStyleSheet('QLineEdit {background-color: rgb(237,237,237);}')
327
        else:
328
            self.ui.lineEdit_Equivalent_Length_Input.setStyleSheet('QLineEdit {background-color: white;}')
325 329
    def flowrate_change_event(self, text):
326 330
        if self.sender() == self.ui.lineEdit_Flowrate_Mass_Liquid:
327 331
            if is_not_blank(text):
328 332
                self.ui.lineEdit_Flowrate_Volume.clear()
329
                # self.ui.lineEdit_Flowrate_Volume.setStyleSheet('QLineEdit {background-color: gray;}')
330
                # self.ui.lineEdit_Flowrate_Mass_Liquid.setStyleSheet('QLineEdit {background-color: white;}')
333
                self.ui.lineEdit_Flowrate_Volume.setStyleSheet('QLineEdit {background-color: rgb(237,237,237);}')
334
                self.ui.lineEdit_Flowrate_Mass_Liquid.setStyleSheet('QLineEdit {background-color: white;}')
331 335
        else:
332 336
            if is_not_blank(text):
333 337
                self.ui.lineEdit_Flowrate_Mass_Liquid.clear()
334
                # self.ui.lineEdit_Flowrate_Mass_Liquid.setStyleSheet('QLineEdit {background-color: gray;}')
335
                # self.ui.lineEdit_Flowrate_Volume.setStyleSheet('QLineEdit {background-color: white;}')
338
                self.ui.lineEdit_Flowrate_Mass_Liquid.setStyleSheet('QLineEdit {background-color: rgb(237,237,237);}')
339
                self.ui.lineEdit_Flowrate_Volume.setStyleSheet('QLineEdit {background-color: white;}')
336 340

  
337 341

  
338 342
    def initialize(self):
......
765 769
            if isAccepted:
766 770
                self.ui.label_current_tab_index.setText(str(current_tab_index))
767 771
                self.ui.lineEdit_Equivalent_Length_Input.clear()
772
                self.ui.lineEdit_Equivalent_Length_Input.setStyleSheet('QLineEdit {background-color: rgb(237,237,237);}')
768 773
                self.ui.lineEdit_Fitting_Length.clear()
774
                self.ui.lineEdit_Fitting_Length.setStyleSheet('QLineEdit {background-color: white;}')
769 775
                self.ui.lineEdit_Fitting_K.clear()
776
                self.ui.lineEdit_Fitting_K.setStyleSheet('QLineEdit {background-color: white;}')
770 777
                self.ui.lineEdit_Equivalent_Length_Cal.clear()
778
                self.ui.lineEdit_Equivalent_Length_Cal.setStyleSheet('QLineEdit {background-color: white;}')
771 779

  
772 780
                if fittings_length > 0:
773 781
                    # Equivalent Length Method

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)