개정판 cac163a4
UI 개선
Change-Id: I8ad667bbd2751c8596a8ea4f43c44b2d337d4caa
HYTOS/HYTOS/AirFinCooler.py | ||
---|---|---|
1 | 1 |
# -*- coding: utf-8 -*- |
2 | ||
3 |
# Form implementation generated from reading ui file 'ProjectDialog.ui' |
|
4 |
# |
|
5 |
# Created by: PyQt5 UI code generator 5.6 |
|
6 |
# |
|
7 |
# WARNING! All changes made in this file will be lost! |
|
2 |
"""This is AirFinCooler module""" |
|
8 | 3 | |
9 | 4 |
from PyQt5 import QtCore, QtGui, QtWidgets |
10 | 5 |
from PyQt5.QtWidgets import * |
... | ... | |
55 | 50 | |
56 | 51 |
self.ui = AirFinCooler_UI.Ui_AirFinCoolerDialog() |
57 | 52 |
self.ui.setupUi(self) |
53 |
self.ui.buttonBox.button(QDialogButtonBox.Ok).setIcon(QtGui.QIcon(':/images/OK.svg')) |
|
54 |
self.ui.buttonBox.button(QDialogButtonBox.Cancel).setIcon(QtGui.QIcon(':/images/Cancel.svg')) |
|
55 | ||
58 | 56 |
self._item = None |
59 | 57 |
self._modified = False |
60 | 58 |
HYTOS/HYTOS/Ball.py | ||
---|---|---|
1 | 1 |
# -*- coding: utf-8 -*- |
2 | ||
3 |
# Form implementation generated from reading ui file 'ProjectDialog.ui' |
|
4 |
# |
|
5 |
# Created by: PyQt5 UI code generator 5.6 |
|
6 |
# |
|
7 |
# WARNING! All changes made in this file will be lost! |
|
2 |
"""This is Ball module""" |
|
8 | 3 | |
9 | 4 |
from PyQt5 import QtCore, QtGui, QtWidgets |
10 | 5 |
from PyQt5.QtWidgets import * |
... | ... | |
55 | 50 | |
56 | 51 |
self.ui = Ball_UI.Ui_BallDialog() |
57 | 52 |
self.ui.setupUi(self) |
53 |
self.ui.buttonBox.button(QDialogButtonBox.Ok).setIcon(QtGui.QIcon(':/images/OK.svg')) |
|
54 |
self.ui.buttonBox.button(QDialogButtonBox.Cancel).setIcon(QtGui.QIcon(':/images/Cancel.svg')) |
|
55 | ||
58 | 56 |
self._item = None |
59 | 57 |
self._modified = False |
60 | 58 |
HYTOS/HYTOS/BatteryLimit.py | ||
---|---|---|
1 | 1 |
# -*- coding: utf-8 -*- |
2 | ||
3 |
# Form implementation generated from reading ui file 'ProjectDialog.ui' |
|
4 |
# |
|
5 |
# Created by: PyQt5 UI code generator 5.6 |
|
6 |
# |
|
7 |
# WARNING! All changes made in this file will be lost! |
|
2 |
"""This is BatteryLimit module""" |
|
8 | 3 | |
9 | 4 |
from PyQt5 import QtCore, QtGui, QtWidgets |
10 | 5 |
from PyQt5.QtWidgets import * |
... | ... | |
55 | 50 | |
56 | 51 |
self.ui = BatteryLimit_UI.Ui_BatteryLimitDialog() |
57 | 52 |
self.ui.setupUi(self) |
53 |
self.ui.buttonBox.button(QDialogButtonBox.Ok).setIcon(QtGui.QIcon(':/images/OK.svg')) |
|
54 |
self.ui.buttonBox.button(QDialogButtonBox.Cancel).setIcon(QtGui.QIcon(':/images/Cancel.svg')) |
|
55 | ||
58 | 56 |
self._item = None |
59 | 57 |
self._modified = False |
60 | 58 |
HYTOS/HYTOS/Coil.py | ||
---|---|---|
1 | 1 |
# -*- coding: utf-8 -*- |
2 | ||
3 |
# Form implementation generated from reading ui file 'ProjectDialog.ui' |
|
4 |
# |
|
5 |
# Created by: PyQt5 UI code generator 5.6 |
|
6 |
# |
|
7 |
# WARNING! All changes made in this file will be lost! |
|
2 |
"""This is Coil module""" |
|
8 | 3 | |
9 | 4 |
from PyQt5 import QtCore, QtGui, QtWidgets |
10 | 5 |
from PyQt5.QtWidgets import * |
... | ... | |
55 | 50 | |
56 | 51 |
self.ui = Coil_UI.Ui_CoilDialog() |
57 | 52 |
self.ui.setupUi(self) |
53 |
self.ui.buttonBox.button(QDialogButtonBox.Ok).setIcon(QtGui.QIcon(':/images/OK.svg')) |
|
54 |
self.ui.buttonBox.button(QDialogButtonBox.Cancel).setIcon(QtGui.QIcon(':/images/Cancel.svg')) |
|
55 | ||
58 | 56 |
self._item = None |
59 | 57 |
self._modified = False |
60 | 58 |
HYTOS/HYTOS/Compressor.py | ||
---|---|---|
1 | 1 |
# -*- coding: utf-8 -*- |
2 | ||
3 |
# Form implementation generated from reading ui file 'ProjectDialog.ui' |
|
4 |
# |
|
5 |
# Created by: PyQt5 UI code generator 5.6 |
|
6 |
# |
|
7 |
# WARNING! All changes made in this file will be lost! |
|
2 |
"""This is Compressor module""" |
|
8 | 3 | |
9 | 4 |
from PyQt5 import QtCore, QtGui, QtWidgets |
10 | 5 |
from PyQt5.QtWidgets import * |
... | ... | |
55 | 50 | |
56 | 51 |
self.ui = Compressor_UI.Ui_CompressorDialog() |
57 | 52 |
self.ui.setupUi(self) |
53 |
self.ui.buttonBox.button(QDialogButtonBox.Ok).setIcon(QtGui.QIcon(':/images/OK.svg')) |
|
54 |
self.ui.buttonBox.button(QDialogButtonBox.Cancel).setIcon(QtGui.QIcon(':/images/Cancel.svg')) |
|
55 | ||
58 | 56 |
self._item = None |
59 | 57 |
self._modified = False |
60 | 58 |
HYTOS/HYTOS/ConeRoof.py | ||
---|---|---|
1 | 1 |
# -*- coding: utf-8 -*- |
2 | ||
3 |
# Form implementation generated from reading ui file 'ProjectDialog.ui' |
|
4 |
# |
|
5 |
# Created by: PyQt5 UI code generator 5.6 |
|
6 |
# |
|
7 |
# WARNING! All changes made in this file will be lost! |
|
2 |
"""This is ConeRoof module""" |
|
8 | 3 | |
9 | 4 |
from PyQt5 import QtCore, QtGui, QtWidgets |
10 | 5 |
from PyQt5.QtWidgets import * |
... | ... | |
55 | 50 | |
56 | 51 |
self.ui = ConeRoof_UI.Ui_ConeRoofDialog() |
57 | 52 |
self.ui.setupUi(self) |
53 |
self.ui.buttonBox.button(QDialogButtonBox.Ok).setIcon(QtGui.QIcon(':/images/OK.svg')) |
|
54 |
self.ui.buttonBox.button(QDialogButtonBox.Cancel).setIcon(QtGui.QIcon(':/images/Cancel.svg')) |
|
55 | ||
58 | 56 |
self._item = None |
59 | 57 |
self._modified = False |
60 | 58 |
HYTOS/HYTOS/ConfigurationDialog.py | ||
---|---|---|
1 | 1 |
# coding: utf-8 |
2 |
""" This is Configuratio dialog module """ |
|
2 |
""" This is Configuration dialog module """
|
|
3 | 3 | |
4 | 4 |
import os |
5 | 5 |
import sys |
... | ... | |
24 | 24 | |
25 | 25 |
self.ui = Configuration_UI.Ui_ConfigurationDialog() |
26 | 26 |
self.ui.setupUi(self) |
27 |
self.ui.buttonBox.button(QDialogButtonBox.Ok).setIcon(QtGui.QIcon(':/images/OK.svg')) |
|
28 |
self.ui.buttonBox.button(QDialogButtonBox.Cancel).setIcon(QtGui.QIcon(':/images/Cancel.svg')) |
|
29 | ||
27 | 30 |
self.ui.tableWidget.setColumnCount(4) |
28 | 31 |
self.ui.tableWidget.setHorizontalHeaderLabels( |
29 | 32 |
[self.tr('Activity'), self.tr('Date'), self.tr('User'), self.tr('IP')]) |
HYTOS/HYTOS/CopyStreamData.py | ||
---|---|---|
1 | 1 |
# -*- coding: utf-8 -*- |
2 | ||
3 |
# Form implementation generated from reading ui file 'ProjectDialog.ui' |
|
4 |
# |
|
5 |
# Created by: PyQt5 UI code generator 5.6 |
|
6 |
# |
|
7 |
# WARNING! All changes made in this file will be lost! |
|
2 |
"""This is CopyStreamData module""" |
|
8 | 3 | |
9 | 4 |
import sys |
10 | 5 |
import os |
... | ... | |
38 | 33 | |
39 | 34 |
self.ui = CopyStreamData_UI.Ui_Dialog() |
40 | 35 |
self.ui.setupUi(self) |
36 |
self.ui.buttonBox.button(QDialogButtonBox.Ok).setIcon(QtGui.QIcon(':/images/OK.svg')) |
|
37 |
self.ui.buttonBox.button(QDialogButtonBox.Cancel).setIcon(QtGui.QIcon(':/images/Cancel.svg')) |
|
41 | 38 | |
42 | 39 |
self.isAccepted = False |
43 | 40 |
self.item = None |
HYTOS/HYTOS/DiameterEstimation_Vapor.py | ||
---|---|---|
1 | 1 |
# -*- coding: utf-8 -*- |
2 |
"""This is DiameterEstimation module""" |
|
2 | 3 | |
3 |
# Form implementation generated from reading ui file 'ProjectDialog.ui' |
|
4 |
# |
|
5 |
# Created by: PyQt5 UI code generator 5.6 |
|
6 |
# |
|
7 |
# WARNING! All changes made in this file will be lost! |
|
8 | 4 |
import sys |
9 | 5 |
from PyQt5.QtCore import * |
10 | 6 |
from PyQt5.QtGui import * |
... | ... | |
44 | 40 |
self.ui = DiameterEstimation_Vapor_UI.Ui_Dialog() |
45 | 41 | |
46 | 42 |
self.ui.setupUi(self) |
43 |
self.ui.buttonBox.button(QDialogButtonBox.Ok).setIcon(QIcon(':/images/OK.svg')) |
|
44 |
self.ui.buttonBox.button(QDialogButtonBox.Cancel).setIcon(QIcon(':/images/Cancel.svg')) |
|
47 | 45 | |
48 | 46 |
self.ui.lineEdit_Inlet_Pressure.setValidator(QtGui.QDoubleValidator(self.ui.lineEdit_Inlet_Pressure)) |
49 | 47 |
self.ui.lineEdit_Outlet_Pressure.setValidator(QtGui.QDoubleValidator(self.ui.lineEdit_Outlet_Pressure)) |
HYTOS/HYTOS/DomeRoof.py | ||
---|---|---|
1 | 1 |
# -*- coding: utf-8 -*- |
2 | ||
3 |
# Form implementation generated from reading ui file 'ProjectDialog.ui' |
|
4 |
# |
|
5 |
# Created by: PyQt5 UI code generator 5.6 |
|
6 |
# |
|
7 |
# WARNING! All changes made in this file will be lost! |
|
2 |
"""This is DomeRoof module""" |
|
8 | 3 | |
9 | 4 |
from PyQt5 import QtCore, QtGui, QtWidgets |
10 | 5 |
from PyQt5.QtWidgets import * |
... | ... | |
55 | 50 | |
56 | 51 |
self.ui = DomeRoof_UI.Ui_DomeRoofDialog() |
57 | 52 |
self.ui.setupUi(self) |
53 |
self.ui.buttonBox.button(QDialogButtonBox.Ok).setIcon(QtGui.QIcon(':/images/OK.svg')) |
|
54 |
self.ui.buttonBox.button(QDialogButtonBox.Cancel).setIcon(QtGui.QIcon(':/images/Cancel.svg')) |
|
55 | ||
58 | 56 |
self._item = None |
59 | 57 |
self._modified = False |
60 | 58 |
HYTOS/HYTOS/Drum_Horizontal.py | ||
---|---|---|
1 | 1 |
# -*- coding: utf-8 -*- |
2 | ||
3 |
# Form implementation generated from reading ui file 'ProjectDialog.ui' |
|
4 |
# |
|
5 |
# Created by: PyQt5 UI code generator 5.6 |
|
6 |
# |
|
7 |
# WARNING! All changes made in this file will be lost! |
|
2 |
"""This is Drum_Horizontal module""" |
|
8 | 3 | |
9 | 4 |
from PyQt5 import QtCore, QtGui, QtWidgets |
10 | 5 |
from PyQt5.QtWidgets import * |
... | ... | |
55 | 50 | |
56 | 51 |
self.ui = Drum_Horizontal_UI.Ui_Drum_HorizontalDialog() |
57 | 52 |
self.ui.setupUi(self) |
53 |
self.ui.buttonBox.button(QDialogButtonBox.Ok).setIcon(QtGui.QIcon(':/images/OK.svg')) |
|
54 |
self.ui.buttonBox.button(QDialogButtonBox.Cancel).setIcon(QtGui.QIcon(':/images/Cancel.svg')) |
|
55 | ||
58 | 56 |
self._item = None |
59 | 57 |
self._modified = False |
60 | 58 |
HYTOS/HYTOS/Drum_Vertical.py | ||
---|---|---|
1 | 1 |
# -*- coding: utf-8 -*- |
2 | ||
3 |
# Form implementation generated from reading ui file 'ProjectDialog.ui' |
|
4 |
# |
|
5 |
# Created by: PyQt5 UI code generator 5.6 |
|
6 |
# |
|
7 |
# WARNING! All changes made in this file will be lost! |
|
2 |
"""This is Drum_Vertical module""" |
|
8 | 3 | |
9 | 4 |
from PyQt5 import QtCore, QtGui, QtWidgets |
10 | 5 |
from PyQt5.QtWidgets import * |
... | ... | |
55 | 50 | |
56 | 51 |
self.ui = Drum_Vertical_UI.Ui_Drum_VerticalDialog() |
57 | 52 |
self.ui.setupUi(self) |
53 |
self.ui.buttonBox.button(QDialogButtonBox.Ok).setIcon(QtGui.QIcon(':/images/OK.svg')) |
|
54 |
self.ui.buttonBox.button(QDialogButtonBox.Cancel).setIcon(QtGui.QIcon(':/images/Cancel.svg')) |
|
55 | ||
58 | 56 |
self._item = None |
59 | 57 |
self._modified = False |
60 | 58 |
HYTOS/HYTOS/DualPacked.py | ||
---|---|---|
1 | 1 |
# -*- coding: utf-8 -*- |
2 | ||
3 |
# Form implementation generated from reading ui file 'ProjectDialog.ui' |
|
4 |
# |
|
5 |
# Created by: PyQt5 UI code generator 5.6 |
|
6 |
# |
|
7 |
# WARNING! All changes made in this file will be lost! |
|
2 |
"""This is DualPacked module""" |
|
8 | 3 | |
9 | 4 |
from PyQt5 import QtCore, QtGui, QtWidgets |
10 | 5 |
from PyQt5.QtWidgets import * |
... | ... | |
55 | 50 | |
56 | 51 |
self.ui = DualPacked_UI.Ui_DualPackedDialog() |
57 | 52 |
self.ui.setupUi(self) |
53 |
self.ui.buttonBox.button(QDialogButtonBox.Ok).setIcon(QtGui.QIcon(':/images/OK.svg')) |
|
54 |
self.ui.buttonBox.button(QDialogButtonBox.Cancel).setIcon(QtGui.QIcon(':/images/Cancel.svg')) |
|
55 | ||
58 | 56 |
self._item = None |
59 | 57 |
self._modified = False |
60 | 58 |
HYTOS/HYTOS/Filter.py | ||
---|---|---|
1 | 1 |
# -*- coding: utf-8 -*- |
2 | ||
3 |
# Form implementation generated from reading ui file 'ProjectDialog.ui' |
|
4 |
# |
|
5 |
# Created by: PyQt5 UI code generator 5.6 |
|
6 |
# |
|
7 |
# WARNING! All changes made in this file will be lost! |
|
2 |
"""This is Filter module""" |
|
8 | 3 | |
9 | 4 |
from PyQt5 import QtCore, QtGui, QtWidgets |
10 | 5 |
from PyQt5.QtWidgets import * |
... | ... | |
55 | 50 | |
56 | 51 |
self.ui = Filter_UI.Ui_FilterDialog() |
57 | 52 |
self.ui.setupUi(self) |
53 |
self.ui.buttonBox.button(QDialogButtonBox.Ok).setIcon(QtGui.QIcon(':/images/OK.svg')) |
|
54 |
self.ui.buttonBox.button(QDialogButtonBox.Cancel).setIcon(QtGui.QIcon(':/images/Cancel.svg')) |
|
55 | ||
58 | 56 |
self._item = None |
59 | 57 |
self._modified = False |
60 | 58 |
HYTOS/HYTOS/FittingsDialog.py | ||
---|---|---|
1 | 1 |
# -*- coding: utf-8 -*- |
2 |
"""This is FittingsDialog module""" |
|
2 | 3 | |
3 |
# Form implementation generated from reading ui file 'ProjectDialog.ui' |
|
4 |
# |
|
5 |
# Created by: PyQt5 UI code generator 5.6 |
|
6 |
# |
|
7 |
# WARNING! All changes made in this file will be lost! |
|
8 | 4 |
import os |
9 | 5 |
import sys |
10 | 6 |
# from PyQt5 import QtCore, QtGui, QtWidgets |
... | ... | |
58 | 54 | |
59 | 55 |
self.ui = Fittings_UI.Ui_Dialog() |
60 | 56 |
self.ui.setupUi(self) |
57 |
self.ui.buttonBox.button(QDialogButtonBox.Ok).setIcon(QIcon(':/images/OK.svg')) |
|
58 |
self.ui.buttonBox.button(QDialogButtonBox.Cancel).setIcon(QIcon(':/images/Cancel.svg')) |
|
61 | 59 | |
62 | 60 |
self.item = item |
63 | 61 |
self.current_tab_index = None |
HYTOS/HYTOS/GeometryData_HelpDialog.py | ||
---|---|---|
1 | 1 |
# -*- coding: utf-8 -*- |
2 | ||
3 |
# Form implementation generated from reading ui file 'ProjectDialog.ui' |
|
4 |
# |
|
5 |
# Created by: PyQt5 UI code generator 5.6 |
|
6 |
# |
|
7 |
# WARNING! All changes made in this file will be lost! |
|
2 |
"""This is GeometryData_HelpDialog module""" |
|
8 | 3 | |
9 | 4 |
from PyQt5 import QtCore, QtGui, QtWidgets |
10 | 5 |
from PyQt5.QtWidgets import * |
... | ... | |
21 | 16 | |
22 | 17 |
self.ui = GeometryData_Help_UI.Ui_Dialog() |
23 | 18 |
self.ui.setupUi(self) |
19 |
self.ui.buttonBox.button(QDialogButtonBox.Ok).setIcon(QtGui.QIcon(':/images/OK.svg')) |
|
20 |
self.ui.buttonBox.button(QDialogButtonBox.Cancel).setIcon(QtGui.QIcon(':/images/Cancel.svg')) |
|
24 | 21 | |
25 | 22 |
self.name = None |
26 | 23 |
HYTOS/HYTOS/GeometryData_MixedDialog.py | ||
---|---|---|
1 | 1 |
# -*- coding: utf-8 -*- |
2 | ||
3 |
# Form implementation generated from reading ui file 'ProjectDialog.ui' |
|
4 |
# |
|
5 |
# Created by: PyQt5 UI code generator 5.6 |
|
6 |
# |
|
7 |
# WARNING! All changes made in this file will be lost! |
|
2 |
"""This is GeometryData_MixedDialog module""" |
|
8 | 3 | |
9 | 4 |
from PyQt5 import QtCore, QtGui, QtWidgets |
10 | 5 |
from PyQt5.QtWidgets import * |
... | ... | |
52 | 47 | |
53 | 48 |
self.ui = GeometryData_Mixed_UI.Ui_Dialog() |
54 | 49 |
self.ui.setupUi(self) |
50 |
self.ui.buttonBox.button(QDialogButtonBox.Ok).setIcon(QtGui.QIcon(':/images/OK.svg')) |
|
51 |
self.ui.buttonBox.button(QDialogButtonBox.Cancel).setIcon(QtGui.QIcon(':/images/Cancel.svg')) |
|
55 | 52 | |
56 | 53 |
self.units = {} |
57 | 54 |
self.isAccepted = False |
HYTOS/HYTOS/Kompressor.py | ||
---|---|---|
1 | 1 |
# -*- coding: utf-8 -*- |
2 | ||
3 |
# Form implementation generated from reading ui file 'ProjectDialog.ui' |
|
4 |
# |
|
5 |
# Created by: PyQt5 UI code generator 5.6 |
|
6 |
# |
|
7 |
# WARNING! All changes made in this file will be lost! |
|
2 |
"""This is Kompressor module""" |
|
8 | 3 | |
9 | 4 |
from PyQt5 import QtCore, QtGui, QtWidgets |
10 | 5 |
from PyQt5.QtWidgets import * |
... | ... | |
55 | 50 | |
56 | 51 |
self.ui = Kompressor_UI.Ui_KompressorDialog() |
57 | 52 |
self.ui.setupUi(self) |
53 |
self.ui.buttonBox.button(QDialogButtonBox.Ok).setIcon(QtGui.QIcon(':/images/OK.svg')) |
|
54 |
self.ui.buttonBox.button(QDialogButtonBox.Cancel).setIcon(QtGui.QIcon(':/images/Cancel.svg')) |
|
55 | ||
58 | 56 |
self._item = None |
59 | 57 |
self._modified = False |
60 | 58 |
HYTOS/HYTOS/LineSizingCriteria.py | ||
---|---|---|
1 | 1 |
# -*- coding: utf-8 -*- |
2 |
"""This is LineSizingCriteria module""" |
|
2 | 3 | |
3 |
# Form implementation generated from reading ui file 'ProjectDialog.ui' |
|
4 |
# |
|
5 |
# Created by: PyQt5 UI code generator 5.6 |
|
6 |
# |
|
7 |
# WARNING! All changes made in this file will be lost! |
|
8 | 4 |
import sys |
9 | 5 |
from PyQt5.QtCore import * |
10 | 6 |
from PyQt5.QtGui import * |
... | ... | |
36 | 32 |
self.ui = LineSizingCriteria_UI.Ui_Dialog() |
37 | 33 | |
38 | 34 |
self.ui.setupUi(self) |
35 |
self.ui.buttonBox.button(QDialogButtonBox.Ok).setIcon(QIcon(':/images/OK.svg')) |
|
36 |
self.ui.buttonBox.button(QDialogButtonBox.Cancel).setIcon(QIcon(':/images/Cancel.svg')) |
|
37 | ||
39 | 38 |
self.isAccepted = False |
40 | 39 |
self.velocity = None |
41 | 40 |
self.dp_pressure = None |
HYTOS/HYTOS/LummusChart.py | ||
---|---|---|
1 | 1 |
# coding: utf-8 |
2 |
""" This is Configuratio dialog module """
|
|
2 |
""" This is LummusChart dialog module """
|
|
3 | 3 | |
4 | 4 |
import os |
5 | 5 |
import sys |
... | ... | |
19 | 19 | |
20 | 20 |
self.ui = LummusChart_UI.Ui_Dialog() |
21 | 21 |
self.ui.setupUi(self) |
22 |
self.ui.buttonBox.button(QDialogButtonBox.Ok).setIcon(QtGui.QIcon(':/images/OK.svg')) |
|
23 |
self.ui.buttonBox.button(QDialogButtonBox.Cancel).setIcon(QtGui.QIcon(':/images/Cancel.svg')) |
|
22 | 24 | |
23 | 25 |
def show_dialog(self): |
24 | 26 |
self.setWindowFlags(self.windowFlags() & ~QtCore.Qt.WindowContextHelpButtonHint) |
HYTOS/HYTOS/OptionsDialog.py | ||
---|---|---|
1 | 1 |
# coding: utf-8 |
2 |
""" This is Configuration dialog module """
|
|
2 |
""" This is OptionsDialog dialog module """
|
|
3 | 3 | |
4 | 4 |
import os |
5 | 5 |
import sys |
... | ... | |
25 | 25 | |
26 | 26 |
self.ui = Options_UI.Ui_OptionsDialog() |
27 | 27 |
self.ui.setupUi(self) |
28 |
self.ui.buttonBox.button(QDialogButtonBox.Ok).setIcon(QtGui.QIcon(':/images/OK.svg')) |
|
29 |
self.ui.buttonBox.button(QDialogButtonBox.Cancel).setIcon(QtGui.QIcon(':/images/Cancel.svg')) |
|
30 | ||
28 | 31 |
self.isAccepted = False |
29 | 32 |
_translate = QtCore.QCoreApplication.translate |
30 | 33 |
HYTOS/HYTOS/PlateHeatExchanger.py | ||
---|---|---|
1 | 1 |
# -*- coding: utf-8 -*- |
2 | ||
3 |
# Form implementation generated from reading ui file 'ProjectDialog.ui' |
|
4 |
# |
|
5 |
# Created by: PyQt5 UI code generator 5.6 |
|
6 |
# |
|
7 |
# WARNING! All changes made in this file will be lost! |
|
2 |
"""This is PlateHeatExchanger module""" |
|
8 | 3 | |
9 | 4 |
from PyQt5 import QtCore, QtGui, QtWidgets |
10 | 5 |
from PyQt5.QtWidgets import * |
... | ... | |
55 | 50 | |
56 | 51 |
self.ui = PlateHeatExchanger_UI.Ui_PlateHeatExchangerDialog() |
57 | 52 |
self.ui.setupUi(self) |
53 |
self.ui.buttonBox.button(QDialogButtonBox.Ok).setIcon(QtGui.QIcon(':/images/OK.svg')) |
|
54 |
self.ui.buttonBox.button(QDialogButtonBox.Cancel).setIcon(QtGui.QIcon(':/images/Cancel.svg')) |
|
55 | ||
58 | 56 |
self._item = None |
59 | 57 |
self._modified = False |
60 | 58 |
HYTOS/HYTOS/PressureGradient.py | ||
---|---|---|
1 | 1 |
# -*- coding: utf-8 -*- |
2 |
"""This is PressureGradient module""" |
|
2 | 3 | |
3 |
# Form implementation generated from reading ui file 'ProjectDialog.ui' |
|
4 |
# |
|
5 |
# Created by: PyQt5 UI code generator 5.6 |
|
6 |
# |
|
7 |
# WARNING! All changes made in this file will be lost! |
|
8 | 4 |
import sys |
9 | 5 |
from PyQt5.QtCore import * |
10 | 6 |
from PyQt5.QtGui import * |
... | ... | |
64 | 60 | |
65 | 61 |
self.ui = PressureGradient_UI.Ui_Dialog() |
66 | 62 |
self.ui.setupUi(self) |
63 |
self.ui.buttonBox.button(QDialogButtonBox.Ok).setIcon(QtGui.QIcon(':/images/OK.svg')) |
|
64 |
self.ui.buttonBox.button(QDialogButtonBox.Cancel).setIcon(QtGui.QIcon(':/images/Cancel.svg')) |
|
67 | 65 | |
68 | 66 |
self.item = item |
69 | 67 |
self.units = {} |
HYTOS/HYTOS/PressureVariation.py | ||
---|---|---|
1 | 1 |
# -*- coding: utf-8 -*- |
2 | ||
3 |
# Form implementation generated from reading ui file 'ProjectDialog.ui' |
|
4 |
# |
|
5 |
# Created by: PyQt5 UI code generator 5.6 |
|
6 |
# |
|
7 |
# WARNING! All changes made in this file will be lost! |
|
2 |
"""This is PressureVariation module""" |
|
8 | 3 | |
9 | 4 |
import sys |
10 | 5 |
from PyQt5 import QtCore, QtGui, QtWidgets |
... | ... | |
67 | 62 | |
68 | 63 |
self.ui = PressureVariation_UI.Ui_Dialog() |
69 | 64 |
self.ui.setupUi(self) |
65 |
self.ui.buttonBox.button(QDialogButtonBox.Ok).setIcon(QtGui.QIcon(':/images/OK.svg')) |
|
66 |
self.ui.buttonBox.button(QDialogButtonBox.Cancel).setIcon(QtGui.QIcon(':/images/Cancel.svg')) |
|
67 | ||
70 | 68 |
self.units = None |
71 | 69 |
self.item = None |
72 | 70 |
HYTOS/HYTOS/Pump.py | ||
---|---|---|
1 | 1 |
# -*- coding: utf-8 -*- |
2 | ||
3 |
# Form implementation generated from reading ui file 'ProjectDialog.ui' |
|
4 |
# |
|
5 |
# Created by: PyQt5 UI code generator 5.6 |
|
6 |
# |
|
7 |
# WARNING! All changes made in this file will be lost! |
|
2 |
"""This is Pump module""" |
|
8 | 3 | |
9 | 4 |
from PyQt5 import QtCore, QtGui, QtWidgets |
10 | 5 |
from PyQt5.QtWidgets import * |
... | ... | |
55 | 50 | |
56 | 51 |
self.ui = Pump_UI.Ui_PumpDialog() |
57 | 52 |
self.ui.setupUi(self) |
53 |
self.ui.buttonBox.button(QDialogButtonBox.Ok).setIcon(QtGui.QIcon(':/images/OK.svg')) |
|
54 |
self.ui.buttonBox.button(QDialogButtonBox.Cancel).setIcon(QtGui.QIcon(':/images/Cancel.svg')) |
|
55 | ||
58 | 56 |
self._item = None |
59 | 57 |
self._modified = False |
60 | 58 |
HYTOS/HYTOS/QLineDataListDialog.py | ||
---|---|---|
1 | 1 |
# coding: utf-8 |
2 |
"""This is LineDataListDialog module""" |
|
3 | ||
2 | 4 |
import os |
3 | 5 |
import sys |
4 | 6 |
from PyQt5.QtCore import * |
... | ... | |
10 | 12 |
import Line_Data_List_UI |
11 | 13 |
from AppDocData import AppDocData |
12 | 14 | |
15 | ||
13 | 16 |
class QLineDataListDialog(QDialog): |
14 | 17 |
def __init__(self, parent): |
15 | 18 |
QDialog.__init__(self, parent) |
16 | 19 | |
17 | 20 |
self.ui = Line_Data_List_UI.Ui_Dialog() |
18 | 21 |
self.ui.setupUi(self) |
22 |
self.ui.buttonBox.button(QDialogButtonBox.Ok).setIcon(QIcon(':/images/OK.svg')) |
|
23 |
self.ui.buttonBox.button(QDialogButtonBox.Cancel).setIcon(QIcon(':/images/Cancel.svg')) |
|
19 | 24 | |
20 | 25 |
self.ui.tableWidgetLineDataList.setSelectionMode(QAbstractItemView.SingleSelection) |
21 | 26 |
self.ui.tableWidgetLineDataList.setColumnCount(1) |
HYTOS/HYTOS/QSymbolDisplayDialog.py | ||
---|---|---|
1 | 1 |
# coding: utf-8 |
2 |
"""This is SymbolDisplayDialog module""" |
|
3 | ||
2 | 4 |
from PyQt5 import QtCore, QtGui, QtWidgets |
3 | 5 |
from PyQt5.QtWidgets import * |
4 | 6 |
from PyQt5.QtGui import * |
5 | 7 |
from QtImageViewer import QtImageViewer |
6 | 8 |
import UI_SymbolDisplay |
7 | 9 | |
10 | ||
8 | 11 |
class QSymbolDisplayDialog(QDialog): |
9 | 12 |
def __init__(self, image): |
10 | 13 |
QDialog.__init__(self) |
11 | 14 |
self.image = image |
12 | 15 |
self.ui = UI_SymbolDisplay.Ui_Dialog() |
13 | 16 |
self.ui.setupUi(self) |
17 |
self.ui.buttonBox.button(QDialogButtonBox.Ok).setIcon(QIcon(':/images/OK.svg')) |
|
18 |
self.ui.buttonBox.button(QDialogButtonBox.Cancel).setIcon(QIcon(':/images/Cancel.svg')) |
|
19 | ||
14 | 20 |
self.setupImageViewer() |
15 | 21 | |
16 | 22 |
''' |
HYTOS/HYTOS/Reactor.py | ||
---|---|---|
1 | 1 |
# -*- coding: utf-8 -*- |
2 | ||
3 |
# Form implementation generated from reading ui file 'ProjectDialog.ui' |
|
4 |
# |
|
5 |
# Created by: PyQt5 UI code generator 5.6 |
|
6 |
# |
|
7 |
# WARNING! All changes made in this file will be lost! |
|
2 |
"""This is Reactor module""" |
|
8 | 3 | |
9 | 4 |
from PyQt5 import QtCore, QtGui, QtWidgets |
10 | 5 |
from PyQt5.QtWidgets import * |
... | ... | |
55 | 50 | |
56 | 51 |
self.ui = Reactor_UI.Ui_ReactorDialog() |
57 | 52 |
self.ui.setupUi(self) |
53 |
self.ui.buttonBox.button(QDialogButtonBox.Ok).setIcon(QtGui.QIcon(':/images/OK.svg')) |
|
54 |
self.ui.buttonBox.button(QDialogButtonBox.Cancel).setIcon(QtGui.QIcon(':/images/Cancel.svg')) |
|
55 | ||
58 | 56 |
self._item = None |
59 | 57 |
self._modified = False |
60 | 58 |
HYTOS/HYTOS/Reducer.py | ||
---|---|---|
1 | 1 |
# -*- coding: utf-8 -*- |
2 | ||
3 |
# Form implementation generated from reading ui file 'ProjectDialog.ui' |
|
4 |
# |
|
5 |
# Created by: PyQt5 UI code generator 5.6 |
|
6 |
# |
|
7 |
# WARNING! All changes made in this file will be lost! |
|
2 |
"""This is Reducer module""" |
|
8 | 3 | |
9 | 4 |
from PyQt5 import QtCore, QtGui, QtWidgets |
10 | 5 |
from PyQt5.QtWidgets import * |
... | ... | |
55 | 50 | |
56 | 51 |
self.ui = Reducer_UI.Ui_ReducerDialog() |
57 | 52 |
self.ui.setupUi(self) |
53 |
self.ui.buttonBox.button(QDialogButtonBox.Ok).setIcon(QtGui.QIcon(':/images/OK.svg')) |
|
54 |
self.ui.buttonBox.button(QDialogButtonBox.Cancel).setIcon(QtGui.QIcon(':/images/Cancel.svg')) |
|
55 | ||
58 | 56 |
self._item = None |
59 | 57 |
self._modified = False |
60 | 58 |
HYTOS/HYTOS/RoughnessDialog.py | ||
---|---|---|
62 | 62 |
QDialog.__init__(self) |
63 | 63 |
self.ui = Roughness_UI.Ui_RoughnessDialog() |
64 | 64 |
self.ui.setupUi(self) |
65 |
self.ui.buttonBox.button(QDialogButtonBox.Ok).setIcon(QIcon(':/images/OK.svg')) |
|
66 |
self.ui.buttonBox.button(QDialogButtonBox.Cancel).setIcon(QIcon(':/images/Cancel.svg')) |
|
67 | ||
65 | 68 |
self.unit = None |
66 | 69 |
self.isAccepted = False |
67 | 70 |
HYTOS/HYTOS/Roughness_HagenDialog.py | ||
---|---|---|
1 | 1 |
# coding: utf-8 |
2 |
""" This is Configuratio dialog module """
|
|
2 |
""" This is Roughness_Hagen dialog module """
|
|
3 | 3 | |
4 | 4 |
import os |
5 | 5 |
import sys |
... | ... | |
31 | 31 |
QDialog.__init__(self) |
32 | 32 |
self.ui = Roughness_Hagen_UI.Ui_RoughnessDialog() |
33 | 33 |
self.ui.setupUi(self) |
34 |
self.ui.buttonBox.button(QDialogButtonBox.Ok).setIcon(QIcon(':/images/OK.svg')) |
|
35 |
self.ui.buttonBox.button(QDialogButtonBox.Cancel).setIcon(QIcon(':/images/Cancel.svg')) |
|
36 | ||
34 | 37 |
self.unit = None |
35 | 38 |
self.isAccepted = False |
36 | 39 |
HYTOS/HYTOS/ShlTubHeatExchanger.py | ||
---|---|---|
1 | 1 |
# -*- coding: utf-8 -*- |
2 | ||
3 |
# Form implementation generated from reading ui file 'ProjectDialog.ui' |
|
4 |
# |
|
5 |
# Created by: PyQt5 UI code generator 5.6 |
|
6 |
# |
|
7 |
# WARNING! All changes made in this file will be lost! |
|
2 |
"""This is ShlTubHeatExchanger module""" |
|
8 | 3 | |
9 | 4 |
from PyQt5 import QtCore, QtGui, QtWidgets |
10 | 5 |
from PyQt5.QtWidgets import * |
... | ... | |
55 | 50 | |
56 | 51 |
self.ui = ShlTubHeatExchanger_UI.Ui_ShlTubHeatExchangerDialog() |
57 | 52 |
self.ui.setupUi(self) |
53 |
self.ui.buttonBox.button(QDialogButtonBox.Ok).setIcon(QtGui.QIcon(':/images/OK.svg')) |
|
54 |
self.ui.buttonBox.button(QDialogButtonBox.Cancel).setIcon(QtGui.QIcon(':/images/Cancel.svg')) |
|
55 | ||
58 | 56 |
self._item = None |
59 | 57 |
self._modified = False |
60 | 58 |
HYTOS/HYTOS/SinglePacked.py | ||
---|---|---|
1 | 1 |
# -*- coding: utf-8 -*- |
2 | ||
3 |
# Form implementation generated from reading ui file 'ProjectDialog.ui' |
|
4 |
# |
|
5 |
# Created by: PyQt5 UI code generator 5.6 |
|
6 |
# |
|
7 |
# WARNING! All changes made in this file will be lost! |
|
2 |
"""This is SinglePacked module""" |
|
8 | 3 | |
9 | 4 |
from PyQt5 import QtCore, QtGui, QtWidgets |
10 | 5 |
from PyQt5.QtWidgets import * |
... | ... | |
55 | 50 | |
56 | 51 |
self.ui = SinglePacked_UI.Ui_SinglePackedDialog() |
57 | 52 |
self.ui.setupUi(self) |
53 |
self.ui.buttonBox.button(QDialogButtonBox.Ok).setIcon(QtGui.QIcon(':/images/OK.svg')) |
|
54 |
self.ui.buttonBox.button(QDialogButtonBox.Cancel).setIcon(QtGui.QIcon(':/images/Cancel.svg')) |
|
55 | ||
58 | 56 |
self._item = None |
59 | 57 |
self._modified = False |
60 | 58 |
HYTOS/HYTOS/Strainer_T.py | ||
---|---|---|
1 | 1 |
# -*- coding: utf-8 -*- |
2 | ||
3 |
# Form implementation generated from reading ui file 'ProjectDialog.ui' |
|
4 |
# |
|
5 |
# Created by: PyQt5 UI code generator 5.6 |
|
6 |
# |
|
7 |
# WARNING! All changes made in this file will be lost! |
|
2 |
"""This is Strainer_T module""" |
|
8 | 3 | |
9 | 4 |
from PyQt5 import QtCore, QtGui, QtWidgets |
10 | 5 |
from PyQt5.QtWidgets import * |
... | ... | |
55 | 50 | |
56 | 51 |
self.ui = Strainer_T_UI.Ui_Strainer_T_Dialog() |
57 | 52 |
self.ui.setupUi(self) |
53 |
self.ui.buttonBox.button(QDialogButtonBox.Ok).setIcon(QtGui.QIcon(':/images/OK.svg')) |
|
54 |
self.ui.buttonBox.button(QDialogButtonBox.Cancel).setIcon(QtGui.QIcon(':/images/Cancel.svg')) |
|
55 | ||
58 | 56 |
self._item = None |
59 | 57 |
self._modified = False |
60 | 58 |
HYTOS/HYTOS/Strainer_Y.py | ||
---|---|---|
1 | 1 |
# -*- coding: utf-8 -*- |
2 | ||
3 |
# Form implementation generated from reading ui file 'ProjectDialog.ui' |
|
4 |
# |
|
5 |
# Created by: PyQt5 UI code generator 5.6 |
|
6 |
# |
|
7 |
# WARNING! All changes made in this file will be lost! |
|
2 |
"""This is Strainer_Y module""" |
|
8 | 3 | |
9 | 4 |
from PyQt5 import QtCore, QtGui, QtWidgets |
10 | 5 |
from PyQt5.QtWidgets import * |
... | ... | |
55 | 50 | |
56 | 51 |
self.ui = Strainer_Y_UI.Ui_Strainer_Y_Dialog() |
57 | 52 |
self.ui.setupUi(self) |
53 |
self.ui.buttonBox.button(QDialogButtonBox.Ok).setIcon(QtGui.QIcon(':/images/OK.svg')) |
|
54 |
self.ui.buttonBox.button(QDialogButtonBox.Cancel).setIcon(QtGui.QIcon(':/images/Cancel.svg')) |
|
55 | ||
58 | 56 |
self._item = None |
59 | 57 |
self._modified = False |
60 | 58 |
HYTOS/HYTOS/SymbolEditorDialog.py | ||
---|---|---|
1 | 1 |
# coding: utf-8 |
2 |
"""This is SymbolEditor module""" |
|
2 | 3 | |
3 | 4 |
from PyQt5 import QtCore, QtGui, QtWidgets |
4 | 5 |
from PyQt5.QtCore import pyqtSlot, QRectF |
... | ... | |
36 | 37 |
self.setWindowFlag(Qt.WindowMinMaxButtonsHint) |
37 | 38 |
self.ui = SymbolEditor_UI.Ui_Dialog() |
38 | 39 |
self.ui.setupUi(self) |
40 |
self.ui.buttonBox.button(QDialogButtonBox.Ok).setIcon(QIcon(':/images/OK.svg')) |
|
41 |
self.ui.buttonBox.button(QDialogButtonBox.Cancel).setIcon(QIcon(':/images/Cancel.svg')) |
|
42 | ||
39 | 43 |
self.ui.pushButtonSvgFilePath.clicked.connect(self.select_svg_file) |
40 | 44 |
|
41 | 45 |
self.ui.tableWidgetConnList.setColumnCount(3) |
HYTOS/HYTOS/Tray.py | ||
---|---|---|
1 | 1 |
# -*- coding: utf-8 -*- |
2 | ||
3 |
# Form implementation generated from reading ui file 'ProjectDialog.ui' |
|
4 |
# |
|
5 |
# Created by: PyQt5 UI code generator 5.6 |
|
6 |
# |
|
7 |
# WARNING! All changes made in this file will be lost! |
|
2 |
"""This is Tray module""" |
|
8 | 3 | |
9 | 4 |
from PyQt5 import QtCore, QtGui, QtWidgets |
10 | 5 |
from PyQt5.QtWidgets import * |
... | ... | |
55 | 50 | |
56 | 51 |
self.ui = Tray_UI.Ui_TrayDialog() |
57 | 52 |
self.ui.setupUi(self) |
53 |
self.ui.buttonBox.button(QDialogButtonBox.Ok).setIcon(QtGui.QIcon(':/images/OK.svg')) |
|
54 |
self.ui.buttonBox.button(QDialogButtonBox.Cancel).setIcon(QtGui.QIcon(':/images/Cancel.svg')) |
|
55 | ||
58 | 56 |
self._item = None |
59 | 57 |
self._modified = False |
60 | 58 |
HYTOS/HYTOS/Valve_Control.py | ||
---|---|---|
1 | 1 |
# -*- coding: utf-8 -*- |
2 | ||
3 |
# Form implementation generated from reading ui file 'ProjectDialog.ui' |
|
4 |
# |
|
5 |
# Created by: PyQt5 UI code generator 5.6 |
|
6 |
# |
|
7 |
# WARNING! All changes made in this file will be lost! |
|
2 |
"""This is Valve_Control module""" |
|
8 | 3 | |
9 | 4 |
from PyQt5 import QtCore, QtGui, QtWidgets |
10 | 5 |
from PyQt5.QtWidgets import * |
... | ... | |
55 | 50 | |
56 | 51 |
self.ui = Valve_Control_UI.Ui_Valve_ControlDialog() |
57 | 52 |
self.ui.setupUi(self) |
53 |
self.ui.buttonBox.button(QDialogButtonBox.Ok).setIcon(QtGui.QIcon(':/images/OK.svg')) |
|
54 |
self.ui.buttonBox.button(QDialogButtonBox.Cancel).setIcon(QtGui.QIcon(':/images/Cancel.svg')) |
|
55 | ||
58 | 56 |
self._item = None |
59 | 57 |
self._modified = False |
60 | 58 |
HYTOS/HYTOS/Valve_Manual.py | ||
---|---|---|
1 | 1 |
# -*- coding: utf-8 -*- |
2 | ||
3 |
# Form implementation generated from reading ui file 'ProjectDialog.ui' |
|
4 |
# |
|
5 |
# Created by: PyQt5 UI code generator 5.6 |
|
6 |
# |
|
7 |
# WARNING! All changes made in this file will be lost! |
|
2 |
"""This is Valve_Manual module""" |
|
8 | 3 | |
9 | 4 |
from PyQt5 import QtCore, QtGui, QtWidgets |
10 | 5 |
from PyQt5.QtWidgets import * |
... | ... | |
55 | 50 | |
56 | 51 |
self.ui = Valve_Manual_UI.Ui_Valve_ManualDialog() |
57 | 52 |
self.ui.setupUi(self) |
53 |
self.ui.buttonBox.button(QDialogButtonBox.Ok).setIcon(QtGui.QIcon(':/images/OK.svg')) |
|
54 |
self.ui.buttonBox.button(QDialogButtonBox.Cancel).setIcon(QtGui.QIcon(':/images/Cancel.svg')) |
|
55 | ||
58 | 56 |
self._item = None |
59 | 57 |
self._modified = False |
60 | 58 |
내보내기 Unified diff