ibridgesgui 0.2.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. ibridgesgui/__init__.py +1 -0
  2. ibridgesgui/__main__.py +164 -0
  3. ibridgesgui/_version.py +16 -0
  4. ibridgesgui/browser.py +625 -0
  5. ibridgesgui/config.py +250 -0
  6. ibridgesgui/gui_utils.py +118 -0
  7. ibridgesgui/icons/arrow-left.png +0 -0
  8. ibridgesgui/icons/arrow-right.png +0 -0
  9. ibridgesgui/icons/arrow-up.png +0 -0
  10. ibridgesgui/icons/home.png +0 -0
  11. ibridgesgui/icons/iBridges.ico +0 -0
  12. ibridgesgui/icons/loading_circle.gif +0 -0
  13. ibridgesgui/icons/nosync.png +0 -0
  14. ibridgesgui/icons/refresh.png +0 -0
  15. ibridgesgui/icons/syncing.png +0 -0
  16. ibridgesgui/info.py +53 -0
  17. ibridgesgui/irods_tree_model.py +158 -0
  18. ibridgesgui/login.py +101 -0
  19. ibridgesgui/popup_widgets.py +237 -0
  20. ibridgesgui/search.py +285 -0
  21. ibridgesgui/sync.py +289 -0
  22. ibridgesgui/threads.py +251 -0
  23. ibridgesgui/ui_files/.py +118 -0
  24. ibridgesgui/ui_files/ExampleTab.py +87 -0
  25. ibridgesgui/ui_files/ExampleTab.ui +93 -0
  26. ibridgesgui/ui_files/MainMenu.py +121 -0
  27. ibridgesgui/ui_files/MainMenu.ui +171 -0
  28. ibridgesgui/ui_files/__init__.py +1 -0
  29. ibridgesgui/ui_files/configCheck.py +96 -0
  30. ibridgesgui/ui_files/configCheck.ui +142 -0
  31. ibridgesgui/ui_files/createCollection.py +82 -0
  32. ibridgesgui/ui_files/createCollection.ui +153 -0
  33. ibridgesgui/ui_files/dataTransferState.py +114 -0
  34. ibridgesgui/ui_files/dataTransferState.ui +187 -0
  35. ibridgesgui/ui_files/irodsLogin.py +134 -0
  36. ibridgesgui/ui_files/irodsLogin.ui +237 -0
  37. ibridgesgui/ui_files/renameItem.py +77 -0
  38. ibridgesgui/ui_files/renameItem.ui +151 -0
  39. ibridgesgui/ui_files/tabBrowser.py +525 -0
  40. ibridgesgui/ui_files/tabBrowser.ui +829 -0
  41. ibridgesgui/ui_files/tabInfo.py +207 -0
  42. ibridgesgui/ui_files/tabInfo.ui +356 -0
  43. ibridgesgui/ui_files/tabSearch.py +233 -0
  44. ibridgesgui/ui_files/tabSearch.ui +400 -0
  45. ibridgesgui/ui_files/tabSync.py +223 -0
  46. ibridgesgui/ui_files/tabSync.ui +481 -0
  47. ibridgesgui/ui_files/tabUpDownload.py +303 -0
  48. ibridgesgui/ui_files/tabUpDownload.ui +460 -0
  49. ibridgesgui-0.2.0.dist-info/LICENSE +674 -0
  50. ibridgesgui-0.2.0.dist-info/METADATA +787 -0
  51. ibridgesgui-0.2.0.dist-info/RECORD +54 -0
  52. ibridgesgui-0.2.0.dist-info/WHEEL +5 -0
  53. ibridgesgui-0.2.0.dist-info/entry_points.txt +2 -0
  54. ibridgesgui-0.2.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,87 @@
1
+ # Form implementation generated from reading ui file 'gui/ui_files/example_tab.ui'
2
+ #
3
+ # Created by: PyQt6 UI code generator 6.3.1
4
+ #
5
+ # WARNING: Any manual changes made to this file will be lost when pyuic6 is
6
+ # run again. Do not edit this file unless you know what you are doing.
7
+
8
+
9
+ from PyQt6 import QtCore, QtWidgets
10
+
11
+
12
+ class Ui_ExampleTab(object):
13
+ def setupUi(self, Form):
14
+ Form.setObjectName("Form")
15
+ Form.resize(767, 429)
16
+ Form.setStyleSheet(
17
+ "QWidget\n"
18
+ "{\n"
19
+ " background-color: rgb(54, 54, 54);\n"
20
+ " color: rgb(86, 184, 139);\n"
21
+ " border-color: rgb(217, 174, 23);\n"
22
+ "}\n"
23
+ "\n"
24
+ "QLineEdit\n"
25
+ "{\n"
26
+ " background-color: rgb(85, 87, 83);\n"
27
+ " border-color: rgb(217, 174, 23);\n"
28
+ "}\n"
29
+ "\n"
30
+ "QTreeView\n"
31
+ "{\n"
32
+ "background-color: rgb(85, 87, 83);\n"
33
+ "}\n"
34
+ "\n"
35
+ "QLabel#errorLabel\n"
36
+ "{\n"
37
+ " color: rgb(217, 174, 23);\n"
38
+ "}"
39
+ )
40
+ self.verticalLayout = QtWidgets.QVBoxLayout(Form)
41
+ self.verticalLayout.setObjectName("verticalLayout")
42
+ self.horizontalLayout = QtWidgets.QHBoxLayout()
43
+ self.horizontalLayout.setObjectName("horizontalLayout")
44
+ self.formLayout = QtWidgets.QFormLayout()
45
+ self.formLayout.setObjectName("formLayout")
46
+ self.label = QtWidgets.QLabel(Form)
47
+ self.label.setObjectName("label")
48
+ self.formLayout.setWidget(0, QtWidgets.QFormLayout.ItemRole.LabelRole, self.label)
49
+ self.label_2 = QtWidgets.QLabel(Form)
50
+ self.label_2.setObjectName("label_2")
51
+ self.formLayout.setWidget(2, QtWidgets.QFormLayout.ItemRole.LabelRole, self.label_2)
52
+ self.error_label = QtWidgets.QLabel(Form)
53
+ self.error_label.setText("")
54
+ self.error_label.setObjectName("error_label")
55
+ self.formLayout.setWidget(2, QtWidgets.QFormLayout.ItemRole.FieldRole, self.error_label)
56
+ self.textField = QtWidgets.QLineEdit(Form)
57
+ self.textField.setObjectName("textField")
58
+ self.formLayout.setWidget(0, QtWidgets.QFormLayout.ItemRole.FieldRole, self.textField)
59
+ spacerItem = QtWidgets.QSpacerItem(
60
+ 20, 40, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding
61
+ )
62
+ self.formLayout.setItem(1, QtWidgets.QFormLayout.ItemRole.FieldRole, spacerItem)
63
+ self.horizontalLayout.addLayout(self.formLayout)
64
+ self.irodsTreeView = QtWidgets.QTreeView(Form)
65
+ self.irodsTreeView.setObjectName("irodsTreeView")
66
+ self.horizontalLayout.addWidget(self.irodsTreeView)
67
+ self.verticalLayout.addLayout(self.horizontalLayout)
68
+
69
+ self.retranslateUi(Form)
70
+ QtCore.QMetaObject.connectSlotsByName(Form)
71
+
72
+ def retranslateUi(self, Form):
73
+ _translate = QtCore.QCoreApplication.translate
74
+ Form.setWindowTitle(_translate("Form", "Form"))
75
+ self.label.setText(_translate("Form", "Info Text"))
76
+ self.label_2.setText(_translate("Form", "Error Label"))
77
+
78
+
79
+ if __name__ == "__main__":
80
+ import sys
81
+
82
+ app = QtWidgets.QApplication(sys.argv)
83
+ Form = QtWidgets.QWidget()
84
+ ui = Ui_Form()
85
+ ui.setupUi(Form)
86
+ Form.show()
87
+ sys.exit(app.exec())
@@ -0,0 +1,93 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <ui version="4.0">
3
+ <class>Form</class>
4
+ <widget class="QWidget" name="Form">
5
+ <property name="geometry">
6
+ <rect>
7
+ <x>0</x>
8
+ <y>0</y>
9
+ <width>767</width>
10
+ <height>429</height>
11
+ </rect>
12
+ </property>
13
+ <property name="windowTitle">
14
+ <string>Form</string>
15
+ </property>
16
+ <property name="styleSheet">
17
+ <string notr="true">QWidget
18
+ {
19
+ background-color: rgb(54, 54, 54);
20
+ color: rgb(86, 184, 139);
21
+ border-color: rgb(217, 174, 23);
22
+ }
23
+
24
+ QLineEdit
25
+ {
26
+ background-color: rgb(85, 87, 83);
27
+ border-color: rgb(217, 174, 23);
28
+ }
29
+
30
+ QTreeView
31
+ {
32
+ background-color: rgb(85, 87, 83);
33
+ }
34
+
35
+ QLabel#error_label
36
+ {
37
+ color: rgb(217, 174, 23);
38
+ }</string>
39
+ </property>
40
+ <layout class="QVBoxLayout" name="verticalLayout">
41
+ <item>
42
+ <layout class="QHBoxLayout" name="horizontalLayout">
43
+ <item>
44
+ <layout class="QFormLayout" name="formLayout">
45
+ <item row="0" column="0">
46
+ <widget class="QLabel" name="label">
47
+ <property name="text">
48
+ <string>Info Text</string>
49
+ </property>
50
+ </widget>
51
+ </item>
52
+ <item row="2" column="0">
53
+ <widget class="QLabel" name="label_2">
54
+ <property name="text">
55
+ <string>Error Label</string>
56
+ </property>
57
+ </widget>
58
+ </item>
59
+ <item row="2" column="1">
60
+ <widget class="QLabel" name="error_label">
61
+ <property name="text">
62
+ <string/>
63
+ </property>
64
+ </widget>
65
+ </item>
66
+ <item row="0" column="1">
67
+ <widget class="QLineEdit" name="textField"/>
68
+ </item>
69
+ <item row="1" column="1">
70
+ <spacer name="verticalSpacer">
71
+ <property name="orientation">
72
+ <enum>Qt::Vertical</enum>
73
+ </property>
74
+ <property name="sizeHint" stdset="0">
75
+ <size>
76
+ <width>20</width>
77
+ <height>40</height>
78
+ </size>
79
+ </property>
80
+ </spacer>
81
+ </item>
82
+ </layout>
83
+ </item>
84
+ <item>
85
+ <widget class="QTreeView" name="irodsTreeView"/>
86
+ </item>
87
+ </layout>
88
+ </item>
89
+ </layout>
90
+ </widget>
91
+ <resources/>
92
+ <connections/>
93
+ </ui>
@@ -0,0 +1,121 @@
1
+ # Form implementation generated from reading ui file 'ibridgesgui/ui_files/MainMenu.ui'
2
+ #
3
+ # Created by: PyQt6 UI code generator 6.4.2
4
+ #
5
+ # WARNING: Any manual changes made to this file will be lost when pyuic6 is
6
+ # run again. Do not edit this file unless you know what you are doing.
7
+
8
+
9
+ from PyQt6 import QtCore, QtGui, QtWidgets
10
+
11
+
12
+ class Ui_MainWindow(object):
13
+ def setupUi(self, MainWindow):
14
+ MainWindow.setObjectName("MainWindow")
15
+ MainWindow.resize(1300, 850)
16
+ MainWindow.setMinimumSize(QtCore.QSize(1300, 850))
17
+ MainWindow.setStyleSheet("QWidget\n"
18
+ "{\n"
19
+ " color: rgb(86, 184, 139);\n"
20
+ " background-color: rgb(54, 54, 54);\n"
21
+ " selection-background-color: rgb(58, 152, 112);\n"
22
+ " font: 16pt;\n"
23
+ "}\n"
24
+ "\n"
25
+ "QTabBar::tab:top:selected {\n"
26
+ " background-color: rgb(58, 152, 112);\n"
27
+ " color: rgb(54, 54, 54);\n"
28
+ "}\n"
29
+ "\n"
30
+ "QLabel#error_label\n"
31
+ "{\n"
32
+ " color: rgb(217, 174, 23);\n"
33
+ " font: 18pt;\n"
34
+ "}\n"
35
+ "")
36
+ self.centralwidget = QtWidgets.QWidget(parent=MainWindow)
37
+ self.centralwidget.setStyleSheet("")
38
+ self.centralwidget.setObjectName("centralwidget")
39
+ self.verticalLayout = QtWidgets.QVBoxLayout(self.centralwidget)
40
+ self.verticalLayout.setObjectName("verticalLayout")
41
+ self.tab_widget = QtWidgets.QTabWidget(parent=self.centralwidget)
42
+ self.tab_widget.setMinimumSize(QtCore.QSize(600, 500))
43
+ font = QtGui.QFont()
44
+ font.setPointSize(16)
45
+ font.setBold(False)
46
+ font.setItalic(False)
47
+ font.setWeight(50)
48
+ self.tab_widget.setFont(font)
49
+ self.tab_widget.setObjectName("tab_widget")
50
+ self.verticalLayout.addWidget(self.tab_widget)
51
+ self.error_label = QtWidgets.QLabel(parent=self.centralwidget)
52
+ self.error_label.setText("")
53
+ self.error_label.setObjectName("error_label")
54
+ self.verticalLayout.addWidget(self.error_label)
55
+ MainWindow.setCentralWidget(self.centralwidget)
56
+ self.menubar = QtWidgets.QMenuBar(parent=MainWindow)
57
+ self.menubar.setGeometry(QtCore.QRect(0, 0, 1300, 24))
58
+ font = QtGui.QFont()
59
+ font.setPointSize(16)
60
+ font.setBold(False)
61
+ font.setItalic(False)
62
+ font.setWeight(50)
63
+ self.menubar.setFont(font)
64
+ self.menubar.setObjectName("menubar")
65
+ self.main_menu = QtWidgets.QMenu(parent=self.menubar)
66
+ font = QtGui.QFont()
67
+ font.setPointSize(16)
68
+ font.setBold(False)
69
+ font.setItalic(False)
70
+ font.setWeight(50)
71
+ self.main_menu.setFont(font)
72
+ self.main_menu.setObjectName("main_menu")
73
+ self.config_menu = QtWidgets.QMenu(parent=self.menubar)
74
+ self.config_menu.setObjectName("config_menu")
75
+ MainWindow.setMenuBar(self.menubar)
76
+ self.action_close_session = QtGui.QAction(parent=MainWindow)
77
+ font = QtGui.QFont()
78
+ self.action_close_session.setFont(font)
79
+ self.action_close_session.setObjectName("action_close_session")
80
+ self.action_exit = QtGui.QAction(parent=MainWindow)
81
+ font = QtGui.QFont()
82
+ self.action_exit.setFont(font)
83
+ self.action_exit.setObjectName("action_exit")
84
+ self.actionSearch = QtGui.QAction(parent=MainWindow)
85
+ font = QtGui.QFont()
86
+ self.actionSearch.setFont(font)
87
+ self.actionSearch.setObjectName("actionSearch")
88
+ self.actionSaveConfig = QtGui.QAction(parent=MainWindow)
89
+ font = QtGui.QFont()
90
+ self.actionSaveConfig.setFont(font)
91
+ self.actionSaveConfig.setObjectName("actionSaveConfig")
92
+ self.action_connect = QtGui.QAction(parent=MainWindow)
93
+ self.action_connect.setObjectName("action_connect")
94
+ self.action_check_configuration = QtGui.QAction(parent=MainWindow)
95
+ self.action_check_configuration.setObjectName("action_check_configuration")
96
+ self.action_add_configuration = QtGui.QAction(parent=MainWindow)
97
+ self.action_add_configuration.setObjectName("action_add_configuration")
98
+ self.main_menu.addAction(self.action_connect)
99
+ self.main_menu.addAction(self.action_close_session)
100
+ self.main_menu.addAction(self.action_exit)
101
+ self.config_menu.addAction(self.action_check_configuration)
102
+ self.config_menu.addAction(self.action_add_configuration)
103
+ self.menubar.addAction(self.main_menu.menuAction())
104
+ self.menubar.addAction(self.config_menu.menuAction())
105
+
106
+ self.retranslateUi(MainWindow)
107
+ self.tab_widget.setCurrentIndex(-1)
108
+ QtCore.QMetaObject.connectSlotsByName(MainWindow)
109
+
110
+ def retranslateUi(self, MainWindow):
111
+ _translate = QtCore.QCoreApplication.translate
112
+ MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
113
+ self.main_menu.setTitle(_translate("MainWindow", "Connect"))
114
+ self.config_menu.setTitle(_translate("MainWindow", "Configure"))
115
+ self.action_close_session.setText(_translate("MainWindow", "Close Connection"))
116
+ self.action_exit.setText(_translate("MainWindow", "Exit iBridges"))
117
+ self.actionSearch.setText(_translate("MainWindow", "Search"))
118
+ self.actionSaveConfig.setText(_translate("MainWindow", "Save configuration"))
119
+ self.action_connect.setText(_translate("MainWindow", "Connect to iRODS"))
120
+ self.action_check_configuration.setText(_translate("MainWindow", "Check Configuration"))
121
+ self.action_add_configuration.setText(_translate("MainWindow", "Add Configuration"))
@@ -0,0 +1,171 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <ui version="4.0">
3
+ <class>MainWindow</class>
4
+ <widget class="QMainWindow" name="MainWindow">
5
+ <property name="geometry">
6
+ <rect>
7
+ <x>0</x>
8
+ <y>0</y>
9
+ <width>1300</width>
10
+ <height>850</height>
11
+ </rect>
12
+ </property>
13
+ <property name="minimumSize">
14
+ <size>
15
+ <width>1300</width>
16
+ <height>850</height>
17
+ </size>
18
+ </property>
19
+ <property name="windowTitle">
20
+ <string>MainWindow</string>
21
+ </property>
22
+ <property name="styleSheet">
23
+ <string notr="true">QWidget
24
+ {
25
+ color: rgb(86, 184, 139);
26
+ background-color: rgb(54, 54, 54);
27
+ selection-background-color: rgb(58, 152, 112);
28
+ font: 16pt;
29
+ }
30
+
31
+ QTabBar::tab:top:selected {
32
+ background-color: rgb(58, 152, 112);
33
+ color: rgb(54, 54, 54);
34
+ }
35
+
36
+ QLabel#error_label
37
+ {
38
+ color: rgb(217, 174, 23);
39
+ font: 18pt;
40
+ }
41
+ </string>
42
+ </property>
43
+ <widget class="QWidget" name="centralwidget">
44
+ <property name="styleSheet">
45
+ <string notr="true"/>
46
+ </property>
47
+ <layout class="QVBoxLayout" name="verticalLayout">
48
+ <item>
49
+ <widget class="QTabWidget" name="tab_widget">
50
+ <property name="minimumSize">
51
+ <size>
52
+ <width>600</width>
53
+ <height>500</height>
54
+ </size>
55
+ </property>
56
+ <property name="font">
57
+ <font>
58
+ <pointsize>16</pointsize>
59
+ <weight>50</weight>
60
+ <italic>false</italic>
61
+ <bold>false</bold>
62
+ </font>
63
+ </property>
64
+ <property name="currentIndex">
65
+ <number>-1</number>
66
+ </property>
67
+ </widget>
68
+ </item>
69
+ <item>
70
+ <widget class="QLabel" name="error_label">
71
+ <property name="text">
72
+ <string/>
73
+ </property>
74
+ </widget>
75
+ </item>
76
+ </layout>
77
+ </widget>
78
+ <widget class="QMenuBar" name="menubar">
79
+ <property name="geometry">
80
+ <rect>
81
+ <x>0</x>
82
+ <y>0</y>
83
+ <width>1300</width>
84
+ <height>24</height>
85
+ </rect>
86
+ </property>
87
+ <property name="font">
88
+ <font>
89
+ <pointsize>16</pointsize>
90
+ <weight>50</weight>
91
+ <italic>false</italic>
92
+ <bold>false</bold>
93
+ </font>
94
+ </property>
95
+ <widget class="QMenu" name="main_menu">
96
+ <property name="font">
97
+ <font>
98
+ <pointsize>16</pointsize>
99
+ <weight>50</weight>
100
+ <italic>false</italic>
101
+ <bold>false</bold>
102
+ </font>
103
+ </property>
104
+ <property name="title">
105
+ <string>Connect</string>
106
+ </property>
107
+ <addaction name="action_connect"/>
108
+ <addaction name="action_close_session"/>
109
+ <addaction name="action_exit"/>
110
+ </widget>
111
+ <widget class="QMenu" name="config_menu">
112
+ <property name="title">
113
+ <string>Configure</string>
114
+ </property>
115
+ <addaction name="action_check_configuration"/>
116
+ <addaction name="action_add_configuration"/>
117
+ </widget>
118
+ <addaction name="main_menu"/>
119
+ <addaction name="config_menu"/>
120
+ </widget>
121
+ <action name="action_close_session">
122
+ <property name="text">
123
+ <string>Close Connection</string>
124
+ </property>
125
+ <property name="font">
126
+ <font/>
127
+ </property>
128
+ </action>
129
+ <action name="action_exit">
130
+ <property name="text">
131
+ <string>Exit iBridges</string>
132
+ </property>
133
+ <property name="font">
134
+ <font/>
135
+ </property>
136
+ </action>
137
+ <action name="actionSearch">
138
+ <property name="text">
139
+ <string>Search</string>
140
+ </property>
141
+ <property name="font">
142
+ <font/>
143
+ </property>
144
+ </action>
145
+ <action name="actionSaveConfig">
146
+ <property name="text">
147
+ <string>Save configuration</string>
148
+ </property>
149
+ <property name="font">
150
+ <font/>
151
+ </property>
152
+ </action>
153
+ <action name="action_connect">
154
+ <property name="text">
155
+ <string>Connect to iRODS</string>
156
+ </property>
157
+ </action>
158
+ <action name="action_check_configuration">
159
+ <property name="text">
160
+ <string>Check Configuration</string>
161
+ </property>
162
+ </action>
163
+ <action name="action_add_configuration">
164
+ <property name="text">
165
+ <string>Add Configuration</string>
166
+ </property>
167
+ </action>
168
+ </widget>
169
+ <resources/>
170
+ <connections/>
171
+ </ui>
@@ -0,0 +1 @@
1
+ """Init ui-files"""
@@ -0,0 +1,96 @@
1
+ # Form implementation generated from reading ui file 'ibridgesgui/ui_files/configCheck.ui'
2
+ #
3
+ # Created by: PyQt6 UI code generator 6.6.1
4
+ #
5
+ # WARNING: Any manual changes made to this file will be lost when pyuic6 is
6
+ # run again. Do not edit this file unless you know what you are doing.
7
+
8
+
9
+ from PyQt6 import QtCore, QtWidgets
10
+
11
+
12
+ class Ui_configCheck(object):
13
+ def setupUi(self, Dialog):
14
+ Dialog.setObjectName("Dialog")
15
+ Dialog.resize(1034, 429)
16
+ Dialog.setStyleSheet(
17
+ "QWidget\n"
18
+ "{\n"
19
+ " color: rgb(86, 184, 139);\n"
20
+ " background-color: rgb(54, 54, 54);\n"
21
+ " font: 14pt\n"
22
+ "}\n"
23
+ "\n"
24
+ "QTextEdit\n"
25
+ "{\n"
26
+ " background-color: rgb(85, 87, 83);\n"
27
+ "}\n"
28
+ "\n"
29
+ "QLabel#error_label\n"
30
+ "{\n"
31
+ " color: rgb(217, 174, 23);\n"
32
+ "}"
33
+ )
34
+ self.verticalLayout_2 = QtWidgets.QVBoxLayout(Dialog)
35
+ self.verticalLayout_2.setObjectName("verticalLayout_2")
36
+ self.horizontalLayout = QtWidgets.QHBoxLayout()
37
+ self.horizontalLayout.setObjectName("horizontalLayout")
38
+ self.envbox = QtWidgets.QComboBox(parent=Dialog)
39
+ self.envbox.setObjectName("envbox")
40
+ self.horizontalLayout.addWidget(self.envbox)
41
+ self.new_button = QtWidgets.QPushButton(parent=Dialog)
42
+ self.new_button.setObjectName("new_button")
43
+ self.horizontalLayout.addWidget(self.new_button)
44
+ spacerItem = QtWidgets.QSpacerItem(
45
+ 40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum
46
+ )
47
+ self.horizontalLayout.addItem(spacerItem)
48
+ self.verticalLayout_2.addLayout(self.horizontalLayout)
49
+ self.verticalLayout = QtWidgets.QVBoxLayout()
50
+ self.verticalLayout.setObjectName("verticalLayout")
51
+ self.env_field = QtWidgets.QTextEdit(parent=Dialog)
52
+ self.env_field.setObjectName("env_field")
53
+ self.verticalLayout.addWidget(self.env_field)
54
+ self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
55
+ self.horizontalLayout_4.setObjectName("horizontalLayout_4")
56
+ self.check_button = QtWidgets.QPushButton(parent=Dialog)
57
+ self.check_button.setObjectName("check_button")
58
+ self.horizontalLayout_4.addWidget(self.check_button)
59
+ spacerItem1 = QtWidgets.QSpacerItem(
60
+ 40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum
61
+ )
62
+ self.horizontalLayout_4.addItem(spacerItem1)
63
+ self.error_label = QtWidgets.QLabel(parent=Dialog)
64
+ self.error_label.setText("")
65
+ self.error_label.setObjectName("error_label")
66
+ self.horizontalLayout_4.addWidget(self.error_label)
67
+ self.verticalLayout.addLayout(self.horizontalLayout_4)
68
+ self.verticalLayout_2.addLayout(self.verticalLayout)
69
+ self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
70
+ self.horizontalLayout_2.setObjectName("horizontalLayout_2")
71
+ self.save_button = QtWidgets.QPushButton(parent=Dialog)
72
+ self.save_button.setObjectName("save_button")
73
+ self.horizontalLayout_2.addWidget(self.save_button)
74
+ self.save_as_button = QtWidgets.QPushButton(parent=Dialog)
75
+ self.save_as_button.setObjectName("save_as_button")
76
+ self.horizontalLayout_2.addWidget(self.save_as_button)
77
+ spacerItem2 = QtWidgets.QSpacerItem(
78
+ 40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum
79
+ )
80
+ self.horizontalLayout_2.addItem(spacerItem2)
81
+ self.close_button = QtWidgets.QPushButton(parent=Dialog)
82
+ self.close_button.setObjectName("close_button")
83
+ self.horizontalLayout_2.addWidget(self.close_button)
84
+ self.verticalLayout_2.addLayout(self.horizontalLayout_2)
85
+
86
+ self.retranslateUi(Dialog)
87
+ QtCore.QMetaObject.connectSlotsByName(Dialog)
88
+
89
+ def retranslateUi(self, Dialog):
90
+ _translate = QtCore.QCoreApplication.translate
91
+ Dialog.setWindowTitle(_translate("Dialog", "Dialog"))
92
+ self.new_button.setText(_translate("Dialog", "New Config"))
93
+ self.check_button.setText(_translate("Dialog", "Check"))
94
+ self.save_button.setText(_translate("Dialog", "Save"))
95
+ self.save_as_button.setText(_translate("Dialog", "Save as"))
96
+ self.close_button.setText(_translate("Dialog", "Close"))