프로젝트

일반

사용자정보

개정판 e8ff15dd

IDe8ff15ddf9f0f745b8e789152377e99c71c9bb2e
상위 452e4adb
하위 1158dce2

함의성이(가) 6년 이상 전에 추가함

issue #655 : ui change

차이점 보기:

DTI_PID/DTI_PID/ItemDataExportDialog.py
99 99
        self.ui.pushButtonItemDataFormat.clicked.connect(self.show_item_data_format_dialog)
100 100
        self.ui.comboBoxDoc.currentTextChanged.connect(self.docNameChanged)
101 101
        self.ui.pushButtonExport.clicked.connect(self.save_excel)
102
        self.ui.pushButtonClose.clicked.connect(self.pushButtonCloseClicked)
103

  
104
    '''
105
        @brief      dialog close
106
        @author     euisung
107
        @date       2018.10.29
108
    '''
109
    def pushButtonCloseClicked(self):
110
        QDialog.reject(self)
102 111

  
103 112
    '''
104 113
        @brief      setting commbobox Data
DTI_PID/DTI_PID/ItemDataExport_UI.py
1 1
# -*- coding: utf-8 -*-
2 2

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

  
......
26 26
        self.pushButtonExport.setMaximumSize(QtCore.QSize(64, 24))
27 27
        self.pushButtonExport.setObjectName("pushButtonExport")
28 28
        self.horizontalLayout.addWidget(self.pushButtonExport)
29
        self.buttonBox = QtWidgets.QDialogButtonBox(ItemDataExportDialog)
30
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
31
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
32
        self.buttonBox.setObjectName("buttonBox")
33
        self.horizontalLayout.addWidget(self.buttonBox)
29
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
30
        self.horizontalLayout.addItem(spacerItem)
31
        self.pushButtonClose = QtWidgets.QPushButton(ItemDataExportDialog)
32
        self.pushButtonClose.setObjectName("pushButtonClose")
33
        self.horizontalLayout.addWidget(self.pushButtonClose)
34 34
        self.gridLayout.addLayout(self.horizontalLayout, 5, 1, 1, 1)
35 35
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
36 36
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
37
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
38
        self.horizontalLayout_2.addItem(spacerItem)
37
        spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
38
        self.horizontalLayout_2.addItem(spacerItem1)
39 39
        self.pushButtonItemDataFormat = QtWidgets.QPushButton(ItemDataExportDialog)
40 40
        self.pushButtonItemDataFormat.setObjectName("pushButtonItemDataFormat")
41 41
        self.horizontalLayout_2.addWidget(self.pushButtonItemDataFormat)
......
101 101

  
102 102
        self.retranslateUi(ItemDataExportDialog)
103 103
        self.tabWidget.setCurrentIndex(0)
104
        self.buttonBox.accepted.connect(ItemDataExportDialog.accept)
105
        self.buttonBox.rejected.connect(ItemDataExportDialog.reject)
106 104
        QtCore.QMetaObject.connectSlotsByName(ItemDataExportDialog)
107 105

  
108 106
    def retranslateUi(self, ItemDataExportDialog):
109 107
        _translate = QtCore.QCoreApplication.translate
110 108
        ItemDataExportDialog.setWindowTitle(_translate("ItemDataExportDialog", "리스트 출력"))
111 109
        self.pushButtonExport.setText(_translate("ItemDataExportDialog", "Export"))
110
        self.pushButtonClose.setText(_translate("ItemDataExportDialog", "Close"))
112 111
        self.pushButtonItemDataFormat.setText(_translate("ItemDataExportDialog", "리스트 양식 설정"))
113 112
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabLineList), _translate("ItemDataExportDialog", "라인 리스트"))
114 113
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabEquipmentList), _translate("ItemDataExportDialog", "장치 리스트"))
DTI_PID/DTI_PID/UI/ItemDataExport.ui
38 38
      </widget>
39 39
     </item>
40 40
     <item>
41
      <widget class="QDialogButtonBox" name="buttonBox">
41
      <spacer name="horizontalSpacer_2">
42 42
       <property name="orientation">
43 43
        <enum>Qt::Horizontal</enum>
44 44
       </property>
45
       <property name="standardButtons">
46
        <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
45
       <property name="sizeHint" stdset="0">
46
        <size>
47
         <width>40</width>
48
         <height>20</height>
49
        </size>
50
       </property>
51
      </spacer>
52
     </item>
53
     <item>
54
      <widget class="QPushButton" name="pushButtonClose">
55
       <property name="text">
56
        <string>Close</string>
47 57
       </property>
48 58
      </widget>
49 59
     </item>
......
238 248
  </layout>
239 249
 </widget>
240 250
 <resources/>
241
 <connections>
242
  <connection>
243
   <sender>buttonBox</sender>
244
   <signal>accepted()</signal>
245
   <receiver>ItemDataExportDialog</receiver>
246
   <slot>accept()</slot>
247
   <hints>
248
    <hint type="sourcelabel">
249
     <x>248</x>
250
     <y>254</y>
251
    </hint>
252
    <hint type="destinationlabel">
253
     <x>157</x>
254
     <y>274</y>
255
    </hint>
256
   </hints>
257
  </connection>
258
  <connection>
259
   <sender>buttonBox</sender>
260
   <signal>rejected()</signal>
261
   <receiver>ItemDataExportDialog</receiver>
262
   <slot>reject()</slot>
263
   <hints>
264
    <hint type="sourcelabel">
265
     <x>316</x>
266
     <y>260</y>
267
    </hint>
268
    <hint type="destinationlabel">
269
     <x>286</x>
270
     <y>274</y>
271
    </hint>
272
   </hints>
273
  </connection>
274
 </connections>
251
 <connections/>
275 252
</ui>

내보내기 Unified diff

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