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,134 @@
|
|
|
1
|
+
# Form implementation generated from reading ui file 'ibridgesgui/ui_files/irodsLogin.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, QtGui, QtWidgets
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class Ui_irodsLogin(object):
|
|
13
|
+
def setupUi(self, irodsLogin):
|
|
14
|
+
irodsLogin.setObjectName("irodsLogin")
|
|
15
|
+
irodsLogin.resize(770, 332)
|
|
16
|
+
irodsLogin.setMinimumSize(QtCore.QSize(770, 320))
|
|
17
|
+
irodsLogin.setStyleSheet(
|
|
18
|
+
"QWidget\n"
|
|
19
|
+
"{\n"
|
|
20
|
+
" background-color: rgb(54, 54, 54);\n"
|
|
21
|
+
" color: rgb(86, 184, 139);\n"
|
|
22
|
+
" border-color: rgb(217, 174, 23);\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
|
+
" font: 18pt;\n"
|
|
31
|
+
"}\n"
|
|
32
|
+
"\n"
|
|
33
|
+
"QLabel#error_label\n"
|
|
34
|
+
"{\n"
|
|
35
|
+
" color: rgb(217, 174, 23);\n"
|
|
36
|
+
" font: 18pt;\n"
|
|
37
|
+
"}\n"
|
|
38
|
+
"\n"
|
|
39
|
+
"QLabel#label_2\n"
|
|
40
|
+
"{\n"
|
|
41
|
+
" font: 22pt;\n"
|
|
42
|
+
" \n"
|
|
43
|
+
"}\n"
|
|
44
|
+
"\n"
|
|
45
|
+
""
|
|
46
|
+
)
|
|
47
|
+
self.gridLayout_2 = QtWidgets.QGridLayout(irodsLogin)
|
|
48
|
+
self.gridLayout_2.setObjectName("gridLayout_2")
|
|
49
|
+
self.gridLayout = QtWidgets.QGridLayout()
|
|
50
|
+
self.gridLayout.setObjectName("gridLayout")
|
|
51
|
+
spacerItem = QtWidgets.QSpacerItem(
|
|
52
|
+
20, 40, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Fixed
|
|
53
|
+
)
|
|
54
|
+
self.gridLayout.addItem(spacerItem, 0, 1, 1, 1)
|
|
55
|
+
self.envbox = QtWidgets.QComboBox(parent=irodsLogin)
|
|
56
|
+
self.envbox.setObjectName("envbox")
|
|
57
|
+
self.gridLayout.addWidget(self.envbox, 3, 2, 1, 2)
|
|
58
|
+
self.password_field = QtWidgets.QLineEdit(parent=irodsLogin)
|
|
59
|
+
self.password_field.setStyleSheet("background-color: rgb(85, 87, 83);")
|
|
60
|
+
self.password_field.setText("")
|
|
61
|
+
self.password_field.setClearButtonEnabled(True)
|
|
62
|
+
self.password_field.setObjectName("password_field")
|
|
63
|
+
self.gridLayout.addWidget(self.password_field, 6, 2, 1, 2)
|
|
64
|
+
self.label_4 = QtWidgets.QLabel(parent=irodsLogin)
|
|
65
|
+
self.label_4.setObjectName("label_4")
|
|
66
|
+
self.gridLayout.addWidget(self.label_4, 3, 1, 1, 1)
|
|
67
|
+
self.label_3 = QtWidgets.QLabel(parent=irodsLogin)
|
|
68
|
+
self.label_3.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
|
69
|
+
self.label_3.setStyleSheet("")
|
|
70
|
+
self.label_3.setText("")
|
|
71
|
+
self.label_3.setObjectName("label_3")
|
|
72
|
+
self.gridLayout.addWidget(self.label_3, 5, 3, 1, 1)
|
|
73
|
+
self.label_2 = QtWidgets.QLabel(parent=irodsLogin)
|
|
74
|
+
font = QtGui.QFont()
|
|
75
|
+
font.setPointSize(22)
|
|
76
|
+
font.setBold(False)
|
|
77
|
+
font.setItalic(False)
|
|
78
|
+
font.setUnderline(False)
|
|
79
|
+
self.label_2.setFont(font)
|
|
80
|
+
self.label_2.setObjectName("label_2")
|
|
81
|
+
self.gridLayout.addWidget(self.label_2, 1, 1, 1, 1)
|
|
82
|
+
self.label_1 = QtWidgets.QLabel(parent=irodsLogin)
|
|
83
|
+
self.label_1.setObjectName("label_1")
|
|
84
|
+
self.gridLayout.addWidget(self.label_1, 6, 1, 1, 1)
|
|
85
|
+
spacerItem1 = QtWidgets.QSpacerItem(
|
|
86
|
+
40, 20, QtWidgets.QSizePolicy.Policy.Fixed, QtWidgets.QSizePolicy.Policy.Minimum
|
|
87
|
+
)
|
|
88
|
+
self.gridLayout.addItem(spacerItem1, 2, 0, 1, 1)
|
|
89
|
+
spacerItem2 = QtWidgets.QSpacerItem(
|
|
90
|
+
20, 40, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Expanding
|
|
91
|
+
)
|
|
92
|
+
self.gridLayout.addItem(spacerItem2, 2, 1, 1, 1)
|
|
93
|
+
self.gridLayout_2.addLayout(self.gridLayout, 0, 0, 1, 1)
|
|
94
|
+
self.horizontalLayout = QtWidgets.QHBoxLayout()
|
|
95
|
+
self.horizontalLayout.setObjectName("horizontalLayout")
|
|
96
|
+
self.error_label = QtWidgets.QLabel(parent=irodsLogin)
|
|
97
|
+
self.error_label.setStyleSheet("")
|
|
98
|
+
self.error_label.setText("")
|
|
99
|
+
self.error_label.setObjectName("error_label")
|
|
100
|
+
self.horizontalLayout.addWidget(self.error_label)
|
|
101
|
+
spacerItem3 = QtWidgets.QSpacerItem(
|
|
102
|
+
40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum
|
|
103
|
+
)
|
|
104
|
+
self.horizontalLayout.addItem(spacerItem3)
|
|
105
|
+
self.cancel_button = QtWidgets.QPushButton(parent=irodsLogin)
|
|
106
|
+
self.cancel_button.setObjectName("cancel_button")
|
|
107
|
+
self.horizontalLayout.addWidget(self.cancel_button)
|
|
108
|
+
self.connect_button = QtWidgets.QPushButton(parent=irodsLogin)
|
|
109
|
+
font = QtGui.QFont()
|
|
110
|
+
font.setPointSize(16)
|
|
111
|
+
font.setBold(False)
|
|
112
|
+
font.setItalic(False)
|
|
113
|
+
self.connect_button.setFont(font)
|
|
114
|
+
self.connect_button.setAutoDefault(False)
|
|
115
|
+
self.connect_button.setDefault(True)
|
|
116
|
+
self.connect_button.setObjectName("connect_button")
|
|
117
|
+
self.horizontalLayout.addWidget(self.connect_button)
|
|
118
|
+
self.gridLayout_2.addLayout(self.horizontalLayout, 1, 0, 1, 1)
|
|
119
|
+
spacerItem4 = QtWidgets.QSpacerItem(
|
|
120
|
+
40, 20, QtWidgets.QSizePolicy.Policy.Fixed, QtWidgets.QSizePolicy.Policy.Minimum
|
|
121
|
+
)
|
|
122
|
+
self.gridLayout_2.addItem(spacerItem4, 0, 1, 1, 1)
|
|
123
|
+
|
|
124
|
+
self.retranslateUi(irodsLogin)
|
|
125
|
+
QtCore.QMetaObject.connectSlotsByName(irodsLogin)
|
|
126
|
+
|
|
127
|
+
def retranslateUi(self, irodsLogin):
|
|
128
|
+
_translate = QtCore.QCoreApplication.translate
|
|
129
|
+
irodsLogin.setWindowTitle(_translate("irodsLogin", "Dialog"))
|
|
130
|
+
self.label_4.setText(_translate("irodsLogin", " iRODS environment file:"))
|
|
131
|
+
self.label_2.setText(_translate("irodsLogin", "iRODS Login"))
|
|
132
|
+
self.label_1.setText(_translate("irodsLogin", "Password"))
|
|
133
|
+
self.cancel_button.setText(_translate("irodsLogin", "Cancel"))
|
|
134
|
+
self.connect_button.setText(_translate("irodsLogin", "Connect"))
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<ui version="4.0">
|
|
3
|
+
<class>irodsLogin</class>
|
|
4
|
+
<widget class="QDialog" name="irodsLogin">
|
|
5
|
+
<property name="geometry">
|
|
6
|
+
<rect>
|
|
7
|
+
<x>0</x>
|
|
8
|
+
<y>0</y>
|
|
9
|
+
<width>770</width>
|
|
10
|
+
<height>332</height>
|
|
11
|
+
</rect>
|
|
12
|
+
</property>
|
|
13
|
+
<property name="minimumSize">
|
|
14
|
+
<size>
|
|
15
|
+
<width>770</width>
|
|
16
|
+
<height>320</height>
|
|
17
|
+
</size>
|
|
18
|
+
</property>
|
|
19
|
+
<property name="windowTitle">
|
|
20
|
+
<string>Dialog</string>
|
|
21
|
+
</property>
|
|
22
|
+
<property name="styleSheet">
|
|
23
|
+
<string notr="true">QWidget
|
|
24
|
+
{
|
|
25
|
+
background-color: rgb(54, 54, 54);
|
|
26
|
+
color: rgb(86, 184, 139);
|
|
27
|
+
border-color: rgb(217, 174, 23);
|
|
28
|
+
font: 16pt;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
QLineEdit
|
|
32
|
+
{
|
|
33
|
+
background-color: rgb(85, 87, 83);
|
|
34
|
+
border-color: rgb(217, 174, 23);
|
|
35
|
+
font: 18pt;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
QLabel#error_label
|
|
39
|
+
{
|
|
40
|
+
color: rgb(217, 174, 23);
|
|
41
|
+
font: 18pt;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
QLabel#label_2
|
|
45
|
+
{
|
|
46
|
+
font: 22pt;
|
|
47
|
+
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
</string>
|
|
51
|
+
</property>
|
|
52
|
+
<layout class="QGridLayout" name="gridLayout_2">
|
|
53
|
+
<item row="0" column="0">
|
|
54
|
+
<layout class="QGridLayout" name="gridLayout">
|
|
55
|
+
<item row="0" column="1">
|
|
56
|
+
<spacer name="verticalSpacer_2">
|
|
57
|
+
<property name="orientation">
|
|
58
|
+
<enum>Qt::Vertical</enum>
|
|
59
|
+
</property>
|
|
60
|
+
<property name="sizeType">
|
|
61
|
+
<enum>QSizePolicy::Fixed</enum>
|
|
62
|
+
</property>
|
|
63
|
+
<property name="sizeHint" stdset="0">
|
|
64
|
+
<size>
|
|
65
|
+
<width>20</width>
|
|
66
|
+
<height>40</height>
|
|
67
|
+
</size>
|
|
68
|
+
</property>
|
|
69
|
+
</spacer>
|
|
70
|
+
</item>
|
|
71
|
+
<item row="3" column="2" colspan="2">
|
|
72
|
+
<widget class="QComboBox" name="envbox"/>
|
|
73
|
+
</item>
|
|
74
|
+
<item row="6" column="2" colspan="2">
|
|
75
|
+
<widget class="QLineEdit" name="password_field">
|
|
76
|
+
<property name="styleSheet">
|
|
77
|
+
<string notr="true">background-color: rgb(85, 87, 83);</string>
|
|
78
|
+
</property>
|
|
79
|
+
<property name="text">
|
|
80
|
+
<string/>
|
|
81
|
+
</property>
|
|
82
|
+
<property name="clearButtonEnabled">
|
|
83
|
+
<bool>true</bool>
|
|
84
|
+
</property>
|
|
85
|
+
</widget>
|
|
86
|
+
</item>
|
|
87
|
+
<item row="3" column="1">
|
|
88
|
+
<widget class="QLabel" name="label_4">
|
|
89
|
+
<property name="text">
|
|
90
|
+
<string> iRODS environment file:</string>
|
|
91
|
+
</property>
|
|
92
|
+
</widget>
|
|
93
|
+
</item>
|
|
94
|
+
<item row="5" column="3">
|
|
95
|
+
<widget class="QLabel" name="label_3">
|
|
96
|
+
<property name="maximumSize">
|
|
97
|
+
<size>
|
|
98
|
+
<width>16777215</width>
|
|
99
|
+
<height>16777215</height>
|
|
100
|
+
</size>
|
|
101
|
+
</property>
|
|
102
|
+
<property name="styleSheet">
|
|
103
|
+
<string notr="true"/>
|
|
104
|
+
</property>
|
|
105
|
+
<property name="text">
|
|
106
|
+
<string/>
|
|
107
|
+
</property>
|
|
108
|
+
</widget>
|
|
109
|
+
</item>
|
|
110
|
+
<item row="1" column="1">
|
|
111
|
+
<widget class="QLabel" name="label_2">
|
|
112
|
+
<property name="font">
|
|
113
|
+
<font>
|
|
114
|
+
<pointsize>22</pointsize>
|
|
115
|
+
<italic>false</italic>
|
|
116
|
+
<bold>false</bold>
|
|
117
|
+
<underline>false</underline>
|
|
118
|
+
</font>
|
|
119
|
+
</property>
|
|
120
|
+
<property name="text">
|
|
121
|
+
<string>iRODS Login</string>
|
|
122
|
+
</property>
|
|
123
|
+
</widget>
|
|
124
|
+
</item>
|
|
125
|
+
<item row="6" column="1">
|
|
126
|
+
<widget class="QLabel" name="label_1">
|
|
127
|
+
<property name="text">
|
|
128
|
+
<string>Password</string>
|
|
129
|
+
</property>
|
|
130
|
+
</widget>
|
|
131
|
+
</item>
|
|
132
|
+
<item row="2" column="0">
|
|
133
|
+
<spacer name="horizontalSpacer_2">
|
|
134
|
+
<property name="orientation">
|
|
135
|
+
<enum>Qt::Horizontal</enum>
|
|
136
|
+
</property>
|
|
137
|
+
<property name="sizeType">
|
|
138
|
+
<enum>QSizePolicy::Fixed</enum>
|
|
139
|
+
</property>
|
|
140
|
+
<property name="sizeHint" stdset="0">
|
|
141
|
+
<size>
|
|
142
|
+
<width>40</width>
|
|
143
|
+
<height>20</height>
|
|
144
|
+
</size>
|
|
145
|
+
</property>
|
|
146
|
+
</spacer>
|
|
147
|
+
</item>
|
|
148
|
+
<item row="2" column="1">
|
|
149
|
+
<spacer name="verticalSpacer">
|
|
150
|
+
<property name="orientation">
|
|
151
|
+
<enum>Qt::Vertical</enum>
|
|
152
|
+
</property>
|
|
153
|
+
<property name="sizeHint" stdset="0">
|
|
154
|
+
<size>
|
|
155
|
+
<width>20</width>
|
|
156
|
+
<height>40</height>
|
|
157
|
+
</size>
|
|
158
|
+
</property>
|
|
159
|
+
</spacer>
|
|
160
|
+
</item>
|
|
161
|
+
</layout>
|
|
162
|
+
</item>
|
|
163
|
+
<item row="1" column="0">
|
|
164
|
+
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
165
|
+
<item>
|
|
166
|
+
<widget class="QLabel" name="error_label">
|
|
167
|
+
<property name="styleSheet">
|
|
168
|
+
<string notr="true"/>
|
|
169
|
+
</property>
|
|
170
|
+
<property name="text">
|
|
171
|
+
<string/>
|
|
172
|
+
</property>
|
|
173
|
+
</widget>
|
|
174
|
+
</item>
|
|
175
|
+
<item>
|
|
176
|
+
<spacer name="horizontalSpacer">
|
|
177
|
+
<property name="orientation">
|
|
178
|
+
<enum>Qt::Horizontal</enum>
|
|
179
|
+
</property>
|
|
180
|
+
<property name="sizeHint" stdset="0">
|
|
181
|
+
<size>
|
|
182
|
+
<width>40</width>
|
|
183
|
+
<height>20</height>
|
|
184
|
+
</size>
|
|
185
|
+
</property>
|
|
186
|
+
</spacer>
|
|
187
|
+
</item>
|
|
188
|
+
<item>
|
|
189
|
+
<widget class="QPushButton" name="cancel_button">
|
|
190
|
+
<property name="text">
|
|
191
|
+
<string>Cancel</string>
|
|
192
|
+
</property>
|
|
193
|
+
</widget>
|
|
194
|
+
</item>
|
|
195
|
+
<item>
|
|
196
|
+
<widget class="QPushButton" name="connect_button">
|
|
197
|
+
<property name="font">
|
|
198
|
+
<font>
|
|
199
|
+
<pointsize>16</pointsize>
|
|
200
|
+
<italic>false</italic>
|
|
201
|
+
<bold>false</bold>
|
|
202
|
+
</font>
|
|
203
|
+
</property>
|
|
204
|
+
<property name="text">
|
|
205
|
+
<string>Connect</string>
|
|
206
|
+
</property>
|
|
207
|
+
<property name="autoDefault">
|
|
208
|
+
<bool>false</bool>
|
|
209
|
+
</property>
|
|
210
|
+
<property name="default">
|
|
211
|
+
<bool>true</bool>
|
|
212
|
+
</property>
|
|
213
|
+
</widget>
|
|
214
|
+
</item>
|
|
215
|
+
</layout>
|
|
216
|
+
</item>
|
|
217
|
+
<item row="0" column="1">
|
|
218
|
+
<spacer name="horizontalSpacer_3">
|
|
219
|
+
<property name="orientation">
|
|
220
|
+
<enum>Qt::Horizontal</enum>
|
|
221
|
+
</property>
|
|
222
|
+
<property name="sizeType">
|
|
223
|
+
<enum>QSizePolicy::Fixed</enum>
|
|
224
|
+
</property>
|
|
225
|
+
<property name="sizeHint" stdset="0">
|
|
226
|
+
<size>
|
|
227
|
+
<width>40</width>
|
|
228
|
+
<height>20</height>
|
|
229
|
+
</size>
|
|
230
|
+
</property>
|
|
231
|
+
</spacer>
|
|
232
|
+
</item>
|
|
233
|
+
</layout>
|
|
234
|
+
</widget>
|
|
235
|
+
<resources/>
|
|
236
|
+
<connections/>
|
|
237
|
+
</ui>
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
# Form implementation generated from reading ui file 'ibridgesgui/ui_files/renameItem.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_renameItem(object):
|
|
13
|
+
def setupUi(self, renameItem):
|
|
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("QWidget\n"
|
|
19
|
+
"{\n"
|
|
20
|
+
" color: rgb(86, 184, 139);\n"
|
|
21
|
+
" background-color: rgb(54, 54, 54);\n"
|
|
22
|
+
" font: 16pt\n"
|
|
23
|
+
"}\n"
|
|
24
|
+
"\n"
|
|
25
|
+
"QLineEdit\n"
|
|
26
|
+
"{\n"
|
|
27
|
+
" background-color: rgb(85, 87, 83);\n"
|
|
28
|
+
" border-color: rgb(217, 174, 23)\n"
|
|
29
|
+
"}\n"
|
|
30
|
+
"\n"
|
|
31
|
+
"QLabel#error_label\n"
|
|
32
|
+
"{\n"
|
|
33
|
+
" color: rgb(217, 174, 23);\n"
|
|
34
|
+
"}\n"
|
|
35
|
+
"\n"
|
|
36
|
+
"")
|
|
37
|
+
self.verticalLayout = QtWidgets.QVBoxLayout(createCollection)
|
|
38
|
+
self.verticalLayout.setObjectName("verticalLayout")
|
|
39
|
+
self.label = QtWidgets.QLabel(parent=createCollection)
|
|
40
|
+
self.label.setObjectName("label")
|
|
41
|
+
self.verticalLayout.addWidget(self.label)
|
|
42
|
+
self.horizontalLayout = QtWidgets.QHBoxLayout()
|
|
43
|
+
self.horizontalLayout.setObjectName("horizontalLayout")
|
|
44
|
+
self.item_path_label = QtWidgets.QLabel(parent=createCollection)
|
|
45
|
+
self.item_path_label.setText("")
|
|
46
|
+
self.item_path_label.setObjectName("item_path_label")
|
|
47
|
+
self.horizontalLayout.addWidget(self.item_path_label)
|
|
48
|
+
self.verticalLayout.addLayout(self.horizontalLayout)
|
|
49
|
+
self.label_2 = QtWidgets.QLabel(parent=createCollection)
|
|
50
|
+
self.label_2.setObjectName("label_2")
|
|
51
|
+
self.verticalLayout.addWidget(self.label_2)
|
|
52
|
+
self.item_path_input = QtWidgets.QLineEdit(parent=createCollection)
|
|
53
|
+
self.item_path_input.setObjectName("item_path_input")
|
|
54
|
+
self.verticalLayout.addWidget(self.item_path_input)
|
|
55
|
+
self.error_label = QtWidgets.QLabel(parent=createCollection)
|
|
56
|
+
self.error_label.setStyleSheet("")
|
|
57
|
+
self.error_label.setText("")
|
|
58
|
+
self.error_label.setObjectName("error_label")
|
|
59
|
+
self.verticalLayout.addWidget(self.error_label)
|
|
60
|
+
spacerItem = QtWidgets.QSpacerItem(20, 10, QtWidgets.QSizePolicy.Policy.Minimum, QtWidgets.QSizePolicy.Policy.Minimum)
|
|
61
|
+
self.verticalLayout.addItem(spacerItem)
|
|
62
|
+
self.buttonBox = QtWidgets.QDialogButtonBox(parent=createCollection)
|
|
63
|
+
self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
|
|
64
|
+
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
|
|
65
|
+
self.buttonBox.setObjectName("buttonBox")
|
|
66
|
+
self.verticalLayout.addWidget(self.buttonBox)
|
|
67
|
+
|
|
68
|
+
self.retranslateUi(createCollection)
|
|
69
|
+
self.buttonBox.accepted.connect(createCollection.accept) # type: ignore
|
|
70
|
+
self.buttonBox.rejected.connect(createCollection.reject) # type: ignore
|
|
71
|
+
QtCore.QMetaObject.connectSlotsByName(createCollection)
|
|
72
|
+
|
|
73
|
+
def retranslateUi(self, createCollection):
|
|
74
|
+
_translate = QtCore.QCoreApplication.translate
|
|
75
|
+
createCollection.setWindowTitle(_translate("createCollection", "Rename/Move"))
|
|
76
|
+
self.label.setText(_translate("createCollection", "Rename or move:"))
|
|
77
|
+
self.label_2.setText(_translate("createCollection", "to new location:"))
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<ui version="4.0">
|
|
3
|
+
<class>renameItem</class>
|
|
4
|
+
<widget class="QDialog" name="renameItem">
|
|
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>Rename/Move</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
|
+
<widget class="QLabel" name="label">
|
|
52
|
+
<property name="text">
|
|
53
|
+
<string>Rename or move:</string>
|
|
54
|
+
</property>
|
|
55
|
+
</widget>
|
|
56
|
+
</item>
|
|
57
|
+
<item>
|
|
58
|
+
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
59
|
+
<item>
|
|
60
|
+
<widget class="QLabel" name="item_path_label">
|
|
61
|
+
<property name="text">
|
|
62
|
+
<string/>
|
|
63
|
+
</property>
|
|
64
|
+
</widget>
|
|
65
|
+
</item>
|
|
66
|
+
</layout>
|
|
67
|
+
</item>
|
|
68
|
+
<item>
|
|
69
|
+
<widget class="QLabel" name="label_2">
|
|
70
|
+
<property name="text">
|
|
71
|
+
<string>to new location:</string>
|
|
72
|
+
</property>
|
|
73
|
+
</widget>
|
|
74
|
+
</item>
|
|
75
|
+
<item>
|
|
76
|
+
<widget class="QLineEdit" name="item_path_input"/>
|
|
77
|
+
</item>
|
|
78
|
+
<item>
|
|
79
|
+
<widget class="QLabel" name="error_label">
|
|
80
|
+
<property name="styleSheet">
|
|
81
|
+
<string notr="true"/>
|
|
82
|
+
</property>
|
|
83
|
+
<property name="text">
|
|
84
|
+
<string/>
|
|
85
|
+
</property>
|
|
86
|
+
</widget>
|
|
87
|
+
</item>
|
|
88
|
+
<item>
|
|
89
|
+
<spacer name="verticalSpacer">
|
|
90
|
+
<property name="orientation">
|
|
91
|
+
<enum>Qt::Vertical</enum>
|
|
92
|
+
</property>
|
|
93
|
+
<property name="sizeType">
|
|
94
|
+
<enum>QSizePolicy::Minimum</enum>
|
|
95
|
+
</property>
|
|
96
|
+
<property name="sizeHint" stdset="0">
|
|
97
|
+
<size>
|
|
98
|
+
<width>20</width>
|
|
99
|
+
<height>10</height>
|
|
100
|
+
</size>
|
|
101
|
+
</property>
|
|
102
|
+
</spacer>
|
|
103
|
+
</item>
|
|
104
|
+
<item>
|
|
105
|
+
<widget class="QDialogButtonBox" name="buttonBox">
|
|
106
|
+
<property name="orientation">
|
|
107
|
+
<enum>Qt::Horizontal</enum>
|
|
108
|
+
</property>
|
|
109
|
+
<property name="standardButtons">
|
|
110
|
+
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
|
111
|
+
</property>
|
|
112
|
+
</widget>
|
|
113
|
+
</item>
|
|
114
|
+
</layout>
|
|
115
|
+
</widget>
|
|
116
|
+
<resources/>
|
|
117
|
+
<connections>
|
|
118
|
+
<connection>
|
|
119
|
+
<sender>buttonBox</sender>
|
|
120
|
+
<signal>accepted()</signal>
|
|
121
|
+
<receiver>renameItem</receiver>
|
|
122
|
+
<slot>accept()</slot>
|
|
123
|
+
<hints>
|
|
124
|
+
<hint type="sourcelabel">
|
|
125
|
+
<x>248</x>
|
|
126
|
+
<y>254</y>
|
|
127
|
+
</hint>
|
|
128
|
+
<hint type="destinationlabel">
|
|
129
|
+
<x>157</x>
|
|
130
|
+
<y>274</y>
|
|
131
|
+
</hint>
|
|
132
|
+
</hints>
|
|
133
|
+
</connection>
|
|
134
|
+
<connection>
|
|
135
|
+
<sender>buttonBox</sender>
|
|
136
|
+
<signal>rejected()</signal>
|
|
137
|
+
<receiver>renameItem</receiver>
|
|
138
|
+
<slot>reject()</slot>
|
|
139
|
+
<hints>
|
|
140
|
+
<hint type="sourcelabel">
|
|
141
|
+
<x>316</x>
|
|
142
|
+
<y>260</y>
|
|
143
|
+
</hint>
|
|
144
|
+
<hint type="destinationlabel">
|
|
145
|
+
<x>286</x>
|
|
146
|
+
<y>274</y>
|
|
147
|
+
</hint>
|
|
148
|
+
</hints>
|
|
149
|
+
</connection>
|
|
150
|
+
</connections>
|
|
151
|
+
</ui>
|