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.
- ibridgesgui/__init__.py +1 -0
- ibridgesgui/__main__.py +164 -0
- ibridgesgui/_version.py +16 -0
- ibridgesgui/browser.py +625 -0
- ibridgesgui/config.py +250 -0
- ibridgesgui/gui_utils.py +118 -0
- ibridgesgui/icons/arrow-left.png +0 -0
- ibridgesgui/icons/arrow-right.png +0 -0
- ibridgesgui/icons/arrow-up.png +0 -0
- ibridgesgui/icons/home.png +0 -0
- ibridgesgui/icons/iBridges.ico +0 -0
- ibridgesgui/icons/loading_circle.gif +0 -0
- ibridgesgui/icons/nosync.png +0 -0
- ibridgesgui/icons/refresh.png +0 -0
- ibridgesgui/icons/syncing.png +0 -0
- ibridgesgui/info.py +53 -0
- ibridgesgui/irods_tree_model.py +158 -0
- ibridgesgui/login.py +101 -0
- ibridgesgui/popup_widgets.py +237 -0
- ibridgesgui/search.py +285 -0
- ibridgesgui/sync.py +289 -0
- ibridgesgui/threads.py +251 -0
- ibridgesgui/ui_files/.py +118 -0
- ibridgesgui/ui_files/ExampleTab.py +87 -0
- ibridgesgui/ui_files/ExampleTab.ui +93 -0
- ibridgesgui/ui_files/MainMenu.py +121 -0
- ibridgesgui/ui_files/MainMenu.ui +171 -0
- ibridgesgui/ui_files/__init__.py +1 -0
- ibridgesgui/ui_files/configCheck.py +96 -0
- ibridgesgui/ui_files/configCheck.ui +142 -0
- ibridgesgui/ui_files/createCollection.py +82 -0
- ibridgesgui/ui_files/createCollection.ui +153 -0
- ibridgesgui/ui_files/dataTransferState.py +114 -0
- ibridgesgui/ui_files/dataTransferState.ui +187 -0
- ibridgesgui/ui_files/irodsLogin.py +134 -0
- ibridgesgui/ui_files/irodsLogin.ui +237 -0
- ibridgesgui/ui_files/renameItem.py +77 -0
- ibridgesgui/ui_files/renameItem.ui +151 -0
- ibridgesgui/ui_files/tabBrowser.py +525 -0
- ibridgesgui/ui_files/tabBrowser.ui +829 -0
- ibridgesgui/ui_files/tabInfo.py +207 -0
- ibridgesgui/ui_files/tabInfo.ui +356 -0
- ibridgesgui/ui_files/tabSearch.py +233 -0
- ibridgesgui/ui_files/tabSearch.ui +400 -0
- ibridgesgui/ui_files/tabSync.py +223 -0
- ibridgesgui/ui_files/tabSync.ui +481 -0
- ibridgesgui/ui_files/tabUpDownload.py +303 -0
- ibridgesgui/ui_files/tabUpDownload.ui +460 -0
- ibridgesgui-0.2.0.dist-info/LICENSE +674 -0
- ibridgesgui-0.2.0.dist-info/METADATA +787 -0
- ibridgesgui-0.2.0.dist-info/RECORD +54 -0
- ibridgesgui-0.2.0.dist-info/WHEEL +5 -0
- ibridgesgui-0.2.0.dist-info/entry_points.txt +2 -0
- ibridgesgui-0.2.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<ui version="4.0">
|
|
3
|
+
<class>Dialog</class>
|
|
4
|
+
<widget class="QDialog" name="Dialog">
|
|
5
|
+
<property name="geometry">
|
|
6
|
+
<rect>
|
|
7
|
+
<x>0</x>
|
|
8
|
+
<y>0</y>
|
|
9
|
+
<width>1034</width>
|
|
10
|
+
<height>429</height>
|
|
11
|
+
</rect>
|
|
12
|
+
</property>
|
|
13
|
+
<property name="windowTitle">
|
|
14
|
+
<string>Dialog</string>
|
|
15
|
+
</property>
|
|
16
|
+
<property name="styleSheet">
|
|
17
|
+
<string notr="true">QWidget
|
|
18
|
+
{
|
|
19
|
+
color: rgb(86, 184, 139);
|
|
20
|
+
background-color: rgb(54, 54, 54);
|
|
21
|
+
font: 14pt
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
QTextEdit
|
|
25
|
+
{
|
|
26
|
+
background-color: rgb(85, 87, 83);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
QLabel#error_label
|
|
30
|
+
{
|
|
31
|
+
color: rgb(217, 174, 23);
|
|
32
|
+
}</string>
|
|
33
|
+
</property>
|
|
34
|
+
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
35
|
+
<item>
|
|
36
|
+
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
37
|
+
<item>
|
|
38
|
+
<widget class="QComboBox" name="envbox"/>
|
|
39
|
+
</item>
|
|
40
|
+
<item>
|
|
41
|
+
<widget class="QPushButton" name="new_button">
|
|
42
|
+
<property name="text">
|
|
43
|
+
<string>New Config</string>
|
|
44
|
+
</property>
|
|
45
|
+
</widget>
|
|
46
|
+
</item>
|
|
47
|
+
<item>
|
|
48
|
+
<spacer name="horizontalSpacer">
|
|
49
|
+
<property name="orientation">
|
|
50
|
+
<enum>Qt::Horizontal</enum>
|
|
51
|
+
</property>
|
|
52
|
+
<property name="sizeHint" stdset="0">
|
|
53
|
+
<size>
|
|
54
|
+
<width>40</width>
|
|
55
|
+
<height>20</height>
|
|
56
|
+
</size>
|
|
57
|
+
</property>
|
|
58
|
+
</spacer>
|
|
59
|
+
</item>
|
|
60
|
+
</layout>
|
|
61
|
+
</item>
|
|
62
|
+
<item>
|
|
63
|
+
<layout class="QVBoxLayout" name="verticalLayout">
|
|
64
|
+
<item>
|
|
65
|
+
<widget class="QTextEdit" name="env_field"/>
|
|
66
|
+
</item>
|
|
67
|
+
<item>
|
|
68
|
+
<layout class="QHBoxLayout" name="horizontalLayout_4">
|
|
69
|
+
<item>
|
|
70
|
+
<widget class="QPushButton" name="check_button">
|
|
71
|
+
<property name="text">
|
|
72
|
+
<string>Check</string>
|
|
73
|
+
</property>
|
|
74
|
+
</widget>
|
|
75
|
+
</item>
|
|
76
|
+
<item>
|
|
77
|
+
<spacer name="horizontalSpacer_3">
|
|
78
|
+
<property name="orientation">
|
|
79
|
+
<enum>Qt::Horizontal</enum>
|
|
80
|
+
</property>
|
|
81
|
+
<property name="sizeHint" stdset="0">
|
|
82
|
+
<size>
|
|
83
|
+
<width>40</width>
|
|
84
|
+
<height>20</height>
|
|
85
|
+
</size>
|
|
86
|
+
</property>
|
|
87
|
+
</spacer>
|
|
88
|
+
</item>
|
|
89
|
+
<item>
|
|
90
|
+
<widget class="QLabel" name="error_label">
|
|
91
|
+
<property name="text">
|
|
92
|
+
<string/>
|
|
93
|
+
</property>
|
|
94
|
+
</widget>
|
|
95
|
+
</item>
|
|
96
|
+
</layout>
|
|
97
|
+
</item>
|
|
98
|
+
</layout>
|
|
99
|
+
</item>
|
|
100
|
+
<item>
|
|
101
|
+
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
102
|
+
<item>
|
|
103
|
+
<widget class="QPushButton" name="save_button">
|
|
104
|
+
<property name="text">
|
|
105
|
+
<string>Save</string>
|
|
106
|
+
</property>
|
|
107
|
+
</widget>
|
|
108
|
+
</item>
|
|
109
|
+
<item>
|
|
110
|
+
<widget class="QPushButton" name="save_as_button">
|
|
111
|
+
<property name="text">
|
|
112
|
+
<string>Save as</string>
|
|
113
|
+
</property>
|
|
114
|
+
</widget>
|
|
115
|
+
</item>
|
|
116
|
+
<item>
|
|
117
|
+
<spacer name="horizontalSpacer_2">
|
|
118
|
+
<property name="orientation">
|
|
119
|
+
<enum>Qt::Horizontal</enum>
|
|
120
|
+
</property>
|
|
121
|
+
<property name="sizeHint" stdset="0">
|
|
122
|
+
<size>
|
|
123
|
+
<width>40</width>
|
|
124
|
+
<height>20</height>
|
|
125
|
+
</size>
|
|
126
|
+
</property>
|
|
127
|
+
</spacer>
|
|
128
|
+
</item>
|
|
129
|
+
<item>
|
|
130
|
+
<widget class="QPushButton" name="close_button">
|
|
131
|
+
<property name="text">
|
|
132
|
+
<string>Close</string>
|
|
133
|
+
</property>
|
|
134
|
+
</widget>
|
|
135
|
+
</item>
|
|
136
|
+
</layout>
|
|
137
|
+
</item>
|
|
138
|
+
</layout>
|
|
139
|
+
</widget>
|
|
140
|
+
<resources/>
|
|
141
|
+
<connections/>
|
|
142
|
+
</ui>
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# Form implementation generated from reading ui file 'ibridgesgui/ui_files/createCollection.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_createCollection(object):
|
|
13
|
+
def setupUi(self, createCollection):
|
|
14
|
+
createCollection.setObjectName("createCollection")
|
|
15
|
+
createCollection.resize(500, 200)
|
|
16
|
+
createCollection.setMinimumSize(QtCore.QSize(500, 200))
|
|
17
|
+
createCollection.setMaximumSize(QtCore.QSize(500, 200))
|
|
18
|
+
createCollection.setStyleSheet(
|
|
19
|
+
"QWidget\n"
|
|
20
|
+
"{\n"
|
|
21
|
+
" color: rgb(86, 184, 139);\n"
|
|
22
|
+
" background-color: rgb(54, 54, 54);\n"
|
|
23
|
+
" font: 16pt\n"
|
|
24
|
+
"}\n"
|
|
25
|
+
"\n"
|
|
26
|
+
"QLineEdit\n"
|
|
27
|
+
"{\n"
|
|
28
|
+
" background-color: rgb(85, 87, 83);\n"
|
|
29
|
+
" border-color: rgb(217, 174, 23)\n"
|
|
30
|
+
"}\n"
|
|
31
|
+
"\n"
|
|
32
|
+
"QLabel#error_label\n"
|
|
33
|
+
"{\n"
|
|
34
|
+
" color: rgb(217, 174, 23);\n"
|
|
35
|
+
"}\n"
|
|
36
|
+
"\n"
|
|
37
|
+
""
|
|
38
|
+
)
|
|
39
|
+
self.verticalLayout = QtWidgets.QVBoxLayout(createCollection)
|
|
40
|
+
self.verticalLayout.setObjectName("verticalLayout")
|
|
41
|
+
self.horizontalLayout = QtWidgets.QHBoxLayout()
|
|
42
|
+
self.horizontalLayout.setObjectName("horizontalLayout")
|
|
43
|
+
self.label = QtWidgets.QLabel(parent=createCollection)
|
|
44
|
+
self.label.setObjectName("label")
|
|
45
|
+
self.horizontalLayout.addWidget(self.label)
|
|
46
|
+
spacerItem = QtWidgets.QSpacerItem(
|
|
47
|
+
10, 20, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Minimum
|
|
48
|
+
)
|
|
49
|
+
self.horizontalLayout.addItem(spacerItem)
|
|
50
|
+
self.verticalLayout.addLayout(self.horizontalLayout)
|
|
51
|
+
self.coll_path_input = QtWidgets.QLineEdit(parent=createCollection)
|
|
52
|
+
self.coll_path_input.setObjectName("coll_path_input")
|
|
53
|
+
self.verticalLayout.addWidget(self.coll_path_input)
|
|
54
|
+
self.error_label = QtWidgets.QLabel(parent=createCollection)
|
|
55
|
+
self.error_label.setStyleSheet("")
|
|
56
|
+
self.error_label.setText("")
|
|
57
|
+
self.error_label.setObjectName("error_label")
|
|
58
|
+
self.verticalLayout.addWidget(self.error_label)
|
|
59
|
+
spacerItem1 = QtWidgets.QSpacerItem(
|
|
60
|
+
20, 10, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Minimum
|
|
61
|
+
)
|
|
62
|
+
self.verticalLayout.addItem(spacerItem1)
|
|
63
|
+
self.buttonBox = QtWidgets.QDialogButtonBox(parent=createCollection)
|
|
64
|
+
self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
|
|
65
|
+
self.buttonBox.setStandardButtons(
|
|
66
|
+
QtWidgets.QDialogButtonBox.StandardButton.Cancel
|
|
67
|
+
| QtWidgets.QDialogButtonBox.StandardButton.Ok
|
|
68
|
+
)
|
|
69
|
+
self.buttonBox.setObjectName("buttonBox")
|
|
70
|
+
self.verticalLayout.addWidget(self.buttonBox)
|
|
71
|
+
|
|
72
|
+
self.retranslateUi(createCollection)
|
|
73
|
+
self.buttonBox.accepted.connect(createCollection.accept) # type: ignore
|
|
74
|
+
self.buttonBox.rejected.connect(createCollection.reject) # type: ignore
|
|
75
|
+
QtCore.QMetaObject.connectSlotsByName(createCollection)
|
|
76
|
+
|
|
77
|
+
def retranslateUi(self, createCollection):
|
|
78
|
+
_translate = QtCore.QCoreApplication.translate
|
|
79
|
+
createCollection.setWindowTitle(_translate("createCollection", "New Collection"))
|
|
80
|
+
self.label.setText(
|
|
81
|
+
_translate("createCollection", "iRODS path /")
|
|
82
|
+
)
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<ui version="4.0">
|
|
3
|
+
<class>createCollection</class>
|
|
4
|
+
<widget class="QDialog" name="createCollection">
|
|
5
|
+
<property name="geometry">
|
|
6
|
+
<rect>
|
|
7
|
+
<x>0</x>
|
|
8
|
+
<y>0</y>
|
|
9
|
+
<width>500</width>
|
|
10
|
+
<height>200</height>
|
|
11
|
+
</rect>
|
|
12
|
+
</property>
|
|
13
|
+
<property name="minimumSize">
|
|
14
|
+
<size>
|
|
15
|
+
<width>500</width>
|
|
16
|
+
<height>200</height>
|
|
17
|
+
</size>
|
|
18
|
+
</property>
|
|
19
|
+
<property name="maximumSize">
|
|
20
|
+
<size>
|
|
21
|
+
<width>500</width>
|
|
22
|
+
<height>200</height>
|
|
23
|
+
</size>
|
|
24
|
+
</property>
|
|
25
|
+
<property name="windowTitle">
|
|
26
|
+
<string>New Collection</string>
|
|
27
|
+
</property>
|
|
28
|
+
<property name="styleSheet">
|
|
29
|
+
<string notr="true">QWidget
|
|
30
|
+
{
|
|
31
|
+
color: rgb(86, 184, 139);
|
|
32
|
+
background-color: rgb(54, 54, 54);
|
|
33
|
+
font: 16pt
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
QLineEdit
|
|
37
|
+
{
|
|
38
|
+
background-color: rgb(85, 87, 83);
|
|
39
|
+
border-color: rgb(217, 174, 23)
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
QLabel#error_label
|
|
43
|
+
{
|
|
44
|
+
color: rgb(217, 174, 23);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
</string>
|
|
48
|
+
</property>
|
|
49
|
+
<layout class="QVBoxLayout" name="verticalLayout">
|
|
50
|
+
<item>
|
|
51
|
+
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
52
|
+
<item>
|
|
53
|
+
<widget class="QLabel" name="label">
|
|
54
|
+
<property name="text">
|
|
55
|
+
<string>iRODS path /</string>
|
|
56
|
+
</property>
|
|
57
|
+
</widget>
|
|
58
|
+
</item>
|
|
59
|
+
<item>
|
|
60
|
+
<spacer name="horizontalSpacer">
|
|
61
|
+
<property name="orientation">
|
|
62
|
+
<enum>Qt::Horizontal</enum>
|
|
63
|
+
</property>
|
|
64
|
+
<property name="sizeType">
|
|
65
|
+
<enum>QSizePolicy::Minimum</enum>
|
|
66
|
+
</property>
|
|
67
|
+
<property name="sizeHint" stdset="0">
|
|
68
|
+
<size>
|
|
69
|
+
<width>10</width>
|
|
70
|
+
<height>20</height>
|
|
71
|
+
</size>
|
|
72
|
+
</property>
|
|
73
|
+
</spacer>
|
|
74
|
+
</item>
|
|
75
|
+
</layout>
|
|
76
|
+
</item>
|
|
77
|
+
<item>
|
|
78
|
+
<widget class="QLineEdit" name="coll_path_input"/>
|
|
79
|
+
</item>
|
|
80
|
+
<item>
|
|
81
|
+
<widget class="QLabel" name="error_label">
|
|
82
|
+
<property name="styleSheet">
|
|
83
|
+
<string notr="true"/>
|
|
84
|
+
</property>
|
|
85
|
+
<property name="text">
|
|
86
|
+
<string/>
|
|
87
|
+
</property>
|
|
88
|
+
</widget>
|
|
89
|
+
</item>
|
|
90
|
+
<item>
|
|
91
|
+
<spacer name="verticalSpacer">
|
|
92
|
+
<property name="orientation">
|
|
93
|
+
<enum>Qt::Vertical</enum>
|
|
94
|
+
</property>
|
|
95
|
+
<property name="sizeType">
|
|
96
|
+
<enum>QSizePolicy::Minimum</enum>
|
|
97
|
+
</property>
|
|
98
|
+
<property name="sizeHint" stdset="0">
|
|
99
|
+
<size>
|
|
100
|
+
<width>20</width>
|
|
101
|
+
<height>10</height>
|
|
102
|
+
</size>
|
|
103
|
+
</property>
|
|
104
|
+
</spacer>
|
|
105
|
+
</item>
|
|
106
|
+
<item>
|
|
107
|
+
<widget class="QDialogButtonBox" name="buttonBox">
|
|
108
|
+
<property name="orientation">
|
|
109
|
+
<enum>Qt::Horizontal</enum>
|
|
110
|
+
</property>
|
|
111
|
+
<property name="standardButtons">
|
|
112
|
+
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
|
113
|
+
</property>
|
|
114
|
+
</widget>
|
|
115
|
+
</item>
|
|
116
|
+
</layout>
|
|
117
|
+
</widget>
|
|
118
|
+
<resources/>
|
|
119
|
+
<connections>
|
|
120
|
+
<connection>
|
|
121
|
+
<sender>buttonBox</sender>
|
|
122
|
+
<signal>accepted()</signal>
|
|
123
|
+
<receiver>createCollection</receiver>
|
|
124
|
+
<slot>accept()</slot>
|
|
125
|
+
<hints>
|
|
126
|
+
<hint type="sourcelabel">
|
|
127
|
+
<x>248</x>
|
|
128
|
+
<y>254</y>
|
|
129
|
+
</hint>
|
|
130
|
+
<hint type="destinationlabel">
|
|
131
|
+
<x>157</x>
|
|
132
|
+
<y>274</y>
|
|
133
|
+
</hint>
|
|
134
|
+
</hints>
|
|
135
|
+
</connection>
|
|
136
|
+
<connection>
|
|
137
|
+
<sender>buttonBox</sender>
|
|
138
|
+
<signal>rejected()</signal>
|
|
139
|
+
<receiver>createCollection</receiver>
|
|
140
|
+
<slot>reject()</slot>
|
|
141
|
+
<hints>
|
|
142
|
+
<hint type="sourcelabel">
|
|
143
|
+
<x>316</x>
|
|
144
|
+
<y>260</y>
|
|
145
|
+
</hint>
|
|
146
|
+
<hint type="destinationlabel">
|
|
147
|
+
<x>286</x>
|
|
148
|
+
<y>274</y>
|
|
149
|
+
</hint>
|
|
150
|
+
</hints>
|
|
151
|
+
</connection>
|
|
152
|
+
</connections>
|
|
153
|
+
</ui>
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
"""Created by: PyQt6 UI code generator from the corresponding UI file
|
|
2
|
+
|
|
3
|
+
WARNING: Any manual changes made to this file will be lost when pyuic6 is
|
|
4
|
+
run again. Do not edit this file unless you know what you are doing.
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
from PyQt6 import QtCore, QtWidgets
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class Ui_dataTransferState(object):
|
|
11
|
+
def setupUi(self, dataTransferState):
|
|
12
|
+
dataTransferState.setObjectName("dataTransferState")
|
|
13
|
+
dataTransferState.resize(443, 206)
|
|
14
|
+
dataTransferState.setStyleSheet(
|
|
15
|
+
"QWidget\n"
|
|
16
|
+
"{\n"
|
|
17
|
+
" color: rgb(86, 184, 139);\n"
|
|
18
|
+
" background-color: rgb(54, 54, 54);\n"
|
|
19
|
+
" selection-background-color: rgb(58, 152, 112);\n"
|
|
20
|
+
"}"
|
|
21
|
+
)
|
|
22
|
+
self.gridLayout_2 = QtWidgets.QGridLayout(dataTransferState)
|
|
23
|
+
self.gridLayout_2.setObjectName("gridLayout_2")
|
|
24
|
+
self.groupBox = QtWidgets.QGroupBox(dataTransferState)
|
|
25
|
+
self.groupBox.setTitle("")
|
|
26
|
+
self.groupBox.setObjectName("groupBox")
|
|
27
|
+
self.gridLayout = QtWidgets.QGridLayout(self.groupBox)
|
|
28
|
+
self.gridLayout.setObjectName("gridLayout")
|
|
29
|
+
self.cancelBtn = QtWidgets.QPushButton(self.groupBox)
|
|
30
|
+
self.cancelBtn.setObjectName("cancelBtn")
|
|
31
|
+
self.gridLayout.addWidget(self.cancelBtn, 1, 3, 1, 1)
|
|
32
|
+
self.confirmBtn = QtWidgets.QPushButton(self.groupBox)
|
|
33
|
+
self.confirmBtn.setObjectName("confirmBtn")
|
|
34
|
+
self.gridLayout.addWidget(self.confirmBtn, 1, 4, 1, 1)
|
|
35
|
+
self.statusLbl = QtWidgets.QLabel(self.groupBox)
|
|
36
|
+
self.statusLbl.setObjectName("statusLbl")
|
|
37
|
+
self.gridLayout.addWidget(self.statusLbl, 0, 3, 1, 1)
|
|
38
|
+
self.gridLayout_2.addWidget(self.groupBox, 4, 0, 1, 4)
|
|
39
|
+
self.verticalLayout = QtWidgets.QVBoxLayout()
|
|
40
|
+
self.verticalLayout.setObjectName("verticalLayout")
|
|
41
|
+
self.loadingLbl = QtWidgets.QLabel(dataTransferState)
|
|
42
|
+
self.loadingLbl.setMinimumSize(QtCore.QSize(100, 100))
|
|
43
|
+
self.loadingLbl.setText("")
|
|
44
|
+
self.loadingLbl.setObjectName("loadingLbl")
|
|
45
|
+
self.verticalLayout.addWidget(self.loadingLbl)
|
|
46
|
+
self.gridLayout_2.addLayout(self.verticalLayout, 0, 2, 4, 2)
|
|
47
|
+
self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
|
|
48
|
+
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
|
|
49
|
+
self.numDiffLabel = QtWidgets.QLabel(dataTransferState)
|
|
50
|
+
self.numDiffLabel.setObjectName("numDiffLabel")
|
|
51
|
+
self.horizontalLayout_2.addWidget(self.numDiffLabel)
|
|
52
|
+
self.ChecksumLbl = QtWidgets.QLabel(dataTransferState)
|
|
53
|
+
self.ChecksumLbl.setFrameShape(QtWidgets.QFrame.Shape.NoFrame)
|
|
54
|
+
self.ChecksumLbl.setObjectName("ChecksumLbl")
|
|
55
|
+
self.horizontalLayout_2.addWidget(self.ChecksumLbl)
|
|
56
|
+
spacerItem = QtWidgets.QSpacerItem(
|
|
57
|
+
40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum
|
|
58
|
+
)
|
|
59
|
+
self.horizontalLayout_2.addItem(spacerItem)
|
|
60
|
+
self.ChecksumSizeLbl = QtWidgets.QLabel(dataTransferState)
|
|
61
|
+
self.ChecksumSizeLbl.setObjectName("ChecksumSizeLbl")
|
|
62
|
+
self.horizontalLayout_2.addWidget(self.ChecksumSizeLbl)
|
|
63
|
+
spacerItem1 = QtWidgets.QSpacerItem(
|
|
64
|
+
40, 20, QtWidgets.QSizePolicy.Policy.Fixed, QtWidgets.QSizePolicy.Policy.Minimum
|
|
65
|
+
)
|
|
66
|
+
self.horizontalLayout_2.addItem(spacerItem1)
|
|
67
|
+
self.gridLayout_2.addLayout(self.horizontalLayout_2, 0, 0, 2, 1)
|
|
68
|
+
self.horizontalLayout = QtWidgets.QHBoxLayout()
|
|
69
|
+
self.horizontalLayout.setObjectName("horizontalLayout")
|
|
70
|
+
self.numAddLabel = QtWidgets.QLabel(dataTransferState)
|
|
71
|
+
self.numAddLabel.setObjectName("numAddLabel")
|
|
72
|
+
self.horizontalLayout.addWidget(self.numAddLabel)
|
|
73
|
+
self.newFiles = QtWidgets.QLabel(dataTransferState)
|
|
74
|
+
self.newFiles.setObjectName("newFiles")
|
|
75
|
+
self.horizontalLayout.addWidget(self.newFiles)
|
|
76
|
+
spacerItem2 = QtWidgets.QSpacerItem(
|
|
77
|
+
40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum
|
|
78
|
+
)
|
|
79
|
+
self.horizontalLayout.addItem(spacerItem2)
|
|
80
|
+
self.newFSizeLbl = QtWidgets.QLabel(dataTransferState)
|
|
81
|
+
self.newFSizeLbl.setObjectName("newFSizeLbl")
|
|
82
|
+
self.horizontalLayout.addWidget(self.newFSizeLbl)
|
|
83
|
+
spacerItem3 = QtWidgets.QSpacerItem(
|
|
84
|
+
40, 20, QtWidgets.QSizePolicy.Policy.Fixed, QtWidgets.QSizePolicy.Policy.Minimum
|
|
85
|
+
)
|
|
86
|
+
self.horizontalLayout.addItem(spacerItem3)
|
|
87
|
+
self.gridLayout_2.addLayout(self.horizontalLayout, 2, 0, 2, 1)
|
|
88
|
+
|
|
89
|
+
self.retranslateUi(dataTransferState)
|
|
90
|
+
QtCore.QMetaObject.connectSlotsByName(dataTransferState)
|
|
91
|
+
|
|
92
|
+
def retranslateUi(self, dataTransferState):
|
|
93
|
+
_translate = QtCore.QCoreApplication.translate
|
|
94
|
+
dataTransferState.setWindowTitle(_translate("dataTransferState", "Dialog"))
|
|
95
|
+
self.cancelBtn.setText(_translate("dataTransferState", "Cancel"))
|
|
96
|
+
self.confirmBtn.setText(_translate("dataTransferState", "Upload"))
|
|
97
|
+
self.statusLbl.setText(_translate("dataTransferState", "Loading"))
|
|
98
|
+
self.numDiffLabel.setText(_translate("dataTransferState", "0"))
|
|
99
|
+
self.ChecksumLbl.setText(_translate("dataTransferState", "Items to update (overwrite)"))
|
|
100
|
+
self.ChecksumSizeLbl.setText(_translate("dataTransferState", "0"))
|
|
101
|
+
self.numAddLabel.setText(_translate("dataTransferState", "0"))
|
|
102
|
+
self.newFiles.setText(_translate("dataTransferState", "New items "))
|
|
103
|
+
self.newFSizeLbl.setText(_translate("dataTransferState", "0"))
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
if __name__ == "__main__":
|
|
107
|
+
import sys
|
|
108
|
+
|
|
109
|
+
app = QtWidgets.QApplication(sys.argv)
|
|
110
|
+
dataTransferState = QtWidgets.QDialog()
|
|
111
|
+
ui = Ui_dataTransferState()
|
|
112
|
+
ui.setupUi(dataTransferState)
|
|
113
|
+
dataTransferState.show()
|
|
114
|
+
sys.exit(app.exec())
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<ui version="4.0">
|
|
3
|
+
<class>dataTransferState</class>
|
|
4
|
+
<widget class="QDialog" name="dataTransferState">
|
|
5
|
+
<property name="geometry">
|
|
6
|
+
<rect>
|
|
7
|
+
<x>0</x>
|
|
8
|
+
<y>0</y>
|
|
9
|
+
<width>443</width>
|
|
10
|
+
<height>206</height>
|
|
11
|
+
</rect>
|
|
12
|
+
</property>
|
|
13
|
+
<property name="windowTitle">
|
|
14
|
+
<string>Dialog</string>
|
|
15
|
+
</property>
|
|
16
|
+
<property name="styleSheet">
|
|
17
|
+
<string notr="true">QWidget
|
|
18
|
+
{
|
|
19
|
+
color: rgb(86, 184, 139);
|
|
20
|
+
background-color: rgb(54, 54, 54);
|
|
21
|
+
selection-background-color: rgb(58, 152, 112);
|
|
22
|
+
}</string>
|
|
23
|
+
</property>
|
|
24
|
+
<layout class="QGridLayout" name="gridLayout_2">
|
|
25
|
+
<item row="4" column="0" colspan="4">
|
|
26
|
+
<widget class="QGroupBox" name="groupBox">
|
|
27
|
+
<property name="title">
|
|
28
|
+
<string/>
|
|
29
|
+
</property>
|
|
30
|
+
<layout class="QGridLayout" name="gridLayout">
|
|
31
|
+
<item row="1" column="3">
|
|
32
|
+
<widget class="QPushButton" name="cancelBtn">
|
|
33
|
+
<property name="text">
|
|
34
|
+
<string>Cancel</string>
|
|
35
|
+
</property>
|
|
36
|
+
</widget>
|
|
37
|
+
</item>
|
|
38
|
+
<item row="1" column="4">
|
|
39
|
+
<widget class="QPushButton" name="confirmBtn">
|
|
40
|
+
<property name="text">
|
|
41
|
+
<string>Upload</string>
|
|
42
|
+
</property>
|
|
43
|
+
</widget>
|
|
44
|
+
</item>
|
|
45
|
+
<item row="0" column="3">
|
|
46
|
+
<widget class="QLabel" name="statusLbl">
|
|
47
|
+
<property name="text">
|
|
48
|
+
<string>Loading</string>
|
|
49
|
+
</property>
|
|
50
|
+
</widget>
|
|
51
|
+
</item>
|
|
52
|
+
</layout>
|
|
53
|
+
</widget>
|
|
54
|
+
</item>
|
|
55
|
+
<item row="0" column="2" rowspan="4" colspan="2">
|
|
56
|
+
<layout class="QVBoxLayout" name="verticalLayout">
|
|
57
|
+
<item>
|
|
58
|
+
<widget class="QLabel" name="loadingLbl">
|
|
59
|
+
<property name="minimumSize">
|
|
60
|
+
<size>
|
|
61
|
+
<width>100</width>
|
|
62
|
+
<height>100</height>
|
|
63
|
+
</size>
|
|
64
|
+
</property>
|
|
65
|
+
<property name="text">
|
|
66
|
+
<string/>
|
|
67
|
+
</property>
|
|
68
|
+
</widget>
|
|
69
|
+
</item>
|
|
70
|
+
</layout>
|
|
71
|
+
</item>
|
|
72
|
+
<item row="0" column="0" rowspan="2">
|
|
73
|
+
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
74
|
+
<item>
|
|
75
|
+
<widget class="QLabel" name="numDiffLabel">
|
|
76
|
+
<property name="text">
|
|
77
|
+
<string>0</string>
|
|
78
|
+
</property>
|
|
79
|
+
</widget>
|
|
80
|
+
</item>
|
|
81
|
+
<item>
|
|
82
|
+
<widget class="QLabel" name="ChecksumLbl">
|
|
83
|
+
<property name="frameShape">
|
|
84
|
+
<enum>QFrame::NoFrame</enum>
|
|
85
|
+
</property>
|
|
86
|
+
<property name="text">
|
|
87
|
+
<string>Items to update (overwrite)</string>
|
|
88
|
+
</property>
|
|
89
|
+
</widget>
|
|
90
|
+
</item>
|
|
91
|
+
<item>
|
|
92
|
+
<spacer name="horizontalSpacer_3">
|
|
93
|
+
<property name="orientation">
|
|
94
|
+
<enum>Qt::Horizontal</enum>
|
|
95
|
+
</property>
|
|
96
|
+
<property name="sizeHint" stdset="0">
|
|
97
|
+
<size>
|
|
98
|
+
<width>40</width>
|
|
99
|
+
<height>20</height>
|
|
100
|
+
</size>
|
|
101
|
+
</property>
|
|
102
|
+
</spacer>
|
|
103
|
+
</item>
|
|
104
|
+
<item>
|
|
105
|
+
<widget class="QLabel" name="ChecksumSizeLbl">
|
|
106
|
+
<property name="text">
|
|
107
|
+
<string>0</string>
|
|
108
|
+
</property>
|
|
109
|
+
</widget>
|
|
110
|
+
</item>
|
|
111
|
+
<item>
|
|
112
|
+
<spacer name="horizontalSpacer_2">
|
|
113
|
+
<property name="orientation">
|
|
114
|
+
<enum>Qt::Horizontal</enum>
|
|
115
|
+
</property>
|
|
116
|
+
<property name="sizeType">
|
|
117
|
+
<enum>QSizePolicy::Fixed</enum>
|
|
118
|
+
</property>
|
|
119
|
+
<property name="sizeHint" stdset="0">
|
|
120
|
+
<size>
|
|
121
|
+
<width>40</width>
|
|
122
|
+
<height>20</height>
|
|
123
|
+
</size>
|
|
124
|
+
</property>
|
|
125
|
+
</spacer>
|
|
126
|
+
</item>
|
|
127
|
+
</layout>
|
|
128
|
+
</item>
|
|
129
|
+
<item row="2" column="0" rowspan="2">
|
|
130
|
+
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
131
|
+
<item>
|
|
132
|
+
<widget class="QLabel" name="numAddLabel">
|
|
133
|
+
<property name="text">
|
|
134
|
+
<string>0</string>
|
|
135
|
+
</property>
|
|
136
|
+
</widget>
|
|
137
|
+
</item>
|
|
138
|
+
<item>
|
|
139
|
+
<widget class="QLabel" name="newFiles">
|
|
140
|
+
<property name="text">
|
|
141
|
+
<string>New items </string>
|
|
142
|
+
</property>
|
|
143
|
+
</widget>
|
|
144
|
+
</item>
|
|
145
|
+
<item>
|
|
146
|
+
<spacer name="horizontalSpacer_4">
|
|
147
|
+
<property name="orientation">
|
|
148
|
+
<enum>Qt::Horizontal</enum>
|
|
149
|
+
</property>
|
|
150
|
+
<property name="sizeHint" stdset="0">
|
|
151
|
+
<size>
|
|
152
|
+
<width>40</width>
|
|
153
|
+
<height>20</height>
|
|
154
|
+
</size>
|
|
155
|
+
</property>
|
|
156
|
+
</spacer>
|
|
157
|
+
</item>
|
|
158
|
+
<item>
|
|
159
|
+
<widget class="QLabel" name="newFSizeLbl">
|
|
160
|
+
<property name="text">
|
|
161
|
+
<string>0</string>
|
|
162
|
+
</property>
|
|
163
|
+
</widget>
|
|
164
|
+
</item>
|
|
165
|
+
<item>
|
|
166
|
+
<spacer name="horizontalSpacer">
|
|
167
|
+
<property name="orientation">
|
|
168
|
+
<enum>Qt::Horizontal</enum>
|
|
169
|
+
</property>
|
|
170
|
+
<property name="sizeType">
|
|
171
|
+
<enum>QSizePolicy::Fixed</enum>
|
|
172
|
+
</property>
|
|
173
|
+
<property name="sizeHint" stdset="0">
|
|
174
|
+
<size>
|
|
175
|
+
<width>40</width>
|
|
176
|
+
<height>20</height>
|
|
177
|
+
</size>
|
|
178
|
+
</property>
|
|
179
|
+
</spacer>
|
|
180
|
+
</item>
|
|
181
|
+
</layout>
|
|
182
|
+
</item>
|
|
183
|
+
</layout>
|
|
184
|
+
</widget>
|
|
185
|
+
<resources/>
|
|
186
|
+
<connections/>
|
|
187
|
+
</ui>
|