프로젝트

일반

사용자정보

개정판 4d51b770

ID4d51b7700047ff3168d9354578e20649886e5719
상위 c2b492cf
하위 93b4a184

백흠경이(가) 6년 이상 전에 추가함

Disable Azure OCR radio button

차이점 보기:

DTI_PID/DTI_PID/ConfigurationDialog.py
126 126
            self.ui.comboBoxColorOption.addItem(prop)
127 127

  
128 128
        configs = docData.getConfigs('Line No', 'Configuration')
129
        if len(configs) == 1:
129
        if len(configs) == 1 and configs[0].value is not None:
130 130
            for value in configs[0].value.split(self.delimiter):
131 131
            #for value in configs[0].value.split(self.ui.lineEdit.text()):
132 132
                self.itemModel.appendRow(QStandardItem(value))
DTI_PID/DTI_PID/Configuration_UI.py
1 1
# -*- coding: utf-8 -*-
2 2

  
3
# Form implementation generated from reading ui file './UI/Configuration.ui'
3
# Form implementation generated from reading ui file '.\ui\Configuration.ui'
4 4
#
5
# Created by: PyQt5 UI code generator 5.9.2
5
# Created by: PyQt5 UI code generator 5.10.1
6 6
#
7 7
# WARNING! All changes made in this file will be lost!
8 8

  
......
36 36
        self.label_19.setObjectName("label_19")
37 37
        self.horizontalLayout_14.addWidget(self.label_19)
38 38
        self.textAreaTypeARadioButton = QtWidgets.QRadioButton(self.groupBoxText)
39
        self.textAreaTypeARadioButton.setEnabled(False)
39 40
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
40 41
        sizePolicy.setHorizontalStretch(0)
41 42
        sizePolicy.setVerticalStretch(0)
42 43
        sizePolicy.setHeightForWidth(self.textAreaTypeARadioButton.sizePolicy().hasHeightForWidth())
43 44
        self.textAreaTypeARadioButton.setSizePolicy(sizePolicy)
44
        self.textAreaTypeARadioButton.setChecked(True)
45
        self.textAreaTypeARadioButton.setChecked(False)
45 46
        self.textAreaTypeARadioButton.setObjectName("textAreaTypeARadioButton")
46 47
        self.buttonGroup = QtWidgets.QButtonGroup(ConfigurationDialog)
47 48
        self.buttonGroup.setObjectName("buttonGroup")
......
53 54
        sizePolicy.setVerticalStretch(0)
54 55
        sizePolicy.setHeightForWidth(self.textAreaTypeBRadioButton.sizePolicy().hasHeightForWidth())
55 56
        self.textAreaTypeBRadioButton.setSizePolicy(sizePolicy)
57
        self.textAreaTypeBRadioButton.setChecked(True)
56 58
        self.textAreaTypeBRadioButton.setObjectName("textAreaTypeBRadioButton")
57 59
        self.buttonGroup.addButton(self.textAreaTypeBRadioButton)
58 60
        self.horizontalLayout_14.addWidget(self.textAreaTypeBRadioButton)
DTI_PID/DTI_PID/UI/Configuration.ui
51 51
              </item>
52 52
              <item>
53 53
               <widget class="QRadioButton" name="textAreaTypeARadioButton">
54
                <property name="enabled">
55
                 <bool>false</bool>
56
                </property>
54 57
                <property name="sizePolicy">
55 58
                 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
56 59
                  <horstretch>0</horstretch>
......
61 64
                 <string>Type A</string>
62 65
                </property>
63 66
                <property name="checked">
64
                 <bool>true</bool>
67
                 <bool>false</bool>
65 68
                </property>
66 69
                <attribute name="buttonGroup">
67 70
                 <string notr="true">buttonGroup</string>
......
79 82
                <property name="text">
80 83
                 <string>Type B</string>
81 84
                </property>
85
                <property name="checked">
86
                 <bool>true</bool>
87
                </property>
82 88
                <attribute name="buttonGroup">
83 89
                 <string notr="true">buttonGroup</string>
84 90
                </attribute>

내보내기 Unified diff

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