Skip to content

Commit bd8efb4

Browse files
committed
enh: remove unused Sharing page
1 parent 6f4f799 commit bd8efb4

2 files changed

Lines changed: 9 additions & 152 deletions

File tree

CHANGELOG

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
- enh: sort search results by creation date instead of score and modified date
88
- enh: convenience kwarg `since_time` for `search_dataset_via_api`
99
- enh: implement `DBExtract.__repr__`
10+
- enh: remove unused "Sharing" page
1011
- ref: replace `user_list` with `user_autocomplete`
1112
- ref: replace `search_dataset` with `search_dataset_via_api`
1213
in `APIInterrogator`; `search_dataset` is now only free text search.

dcoraid/gui/main.ui

Lines changed: 8 additions & 152 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@
5151
</widget>
5252
<widget class="QWidget" name="tab_user">
5353
<attribute name="icon">
54-
<iconset theme="street-view">
55-
<normaloff>.</normaloff>.</iconset>
54+
<iconset theme="street-view"/>
5655
</attribute>
5756
<attribute name="title">
5857
<string>My Data</string>
@@ -73,10 +72,10 @@
7372
<item>
7473
<spacer name="horizontalSpacer_2">
7574
<property name="orientation">
76-
<enum>Qt::Horizontal</enum>
75+
<enum>Qt::Orientation::Horizontal</enum>
7776
</property>
7877
<property name="sizeType">
79-
<enum>QSizePolicy::Fixed</enum>
78+
<enum>QSizePolicy::Policy::Fixed</enum>
8079
</property>
8180
<property name="sizeHint" stdset="0">
8281
<size>
@@ -116,7 +115,7 @@
116115
<item>
117116
<spacer name="horizontalSpacer">
118117
<property name="orientation">
119-
<enum>Qt::Horizontal</enum>
118+
<enum>Qt::Orientation::Horizontal</enum>
120119
</property>
121120
<property name="sizeHint" stdset="0">
122121
<size>
@@ -147,150 +146,9 @@
147146
</item>
148147
</layout>
149148
</widget>
150-
<widget class="QWidget" name="tab_share">
151-
<property name="enabled">
152-
<bool>false</bool>
153-
</property>
154-
<attribute name="icon">
155-
<iconset theme="people-arrows">
156-
<normaloff>.</normaloff>.</iconset>
157-
</attribute>
158-
<attribute name="title">
159-
<string>Sharing</string>
160-
</attribute>
161-
<layout class="QVBoxLayout" name="verticalLayout_5">
162-
<item>
163-
<widget class="QLabel" name="label">
164-
<property name="text">
165-
<string>You can share datasets with other users on DCOR via collections. Collections may contain private and public datasets.</string>
166-
</property>
167-
<property name="wordWrap">
168-
<bool>true</bool>
169-
</property>
170-
</widget>
171-
</item>
172-
<item>
173-
<widget class="QSplitter" name="splitter">
174-
<property name="sizePolicy">
175-
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
176-
<horstretch>0</horstretch>
177-
<verstretch>0</verstretch>
178-
</sizepolicy>
179-
</property>
180-
<property name="orientation">
181-
<enum>Qt::Horizontal</enum>
182-
</property>
183-
<widget class="QWidget" name="verticalLayoutWidget_2">
184-
<layout class="QVBoxLayout" name="verticalLayout_2">
185-
<item>
186-
<layout class="QHBoxLayout" name="horizontalLayout_5">
187-
<property name="topMargin">
188-
<number>0</number>
189-
</property>
190-
<item>
191-
<widget class="QLabel" name="label_2">
192-
<property name="text">
193-
<string>My Collections</string>
194-
</property>
195-
</widget>
196-
</item>
197-
<item>
198-
<widget class="QLineEdit" name="lineEdit_3">
199-
<property name="placeholderText">
200-
<string>filter collections...</string>
201-
</property>
202-
</widget>
203-
</item>
204-
</layout>
205-
</item>
206-
<item>
207-
<widget class="QListWidget" name="listWidget_2"/>
208-
</item>
209-
</layout>
210-
</widget>
211-
<widget class="QWidget" name="verticalLayoutWidget_3">
212-
<layout class="QVBoxLayout" name="verticalLayout_3">
213-
<item>
214-
<layout class="QHBoxLayout" name="horizontalLayout_7">
215-
<item>
216-
<widget class="QLabel" name="label_3">
217-
<property name="text">
218-
<string>Datasets</string>
219-
</property>
220-
</widget>
221-
</item>
222-
<item>
223-
<widget class="QLineEdit" name="lineEdit_4">
224-
<property name="placeholderText">
225-
<string>filter datasets...</string>
226-
</property>
227-
</widget>
228-
</item>
229-
</layout>
230-
</item>
231-
<item>
232-
<widget class="QListWidget" name="listWidget_3"/>
233-
</item>
234-
</layout>
235-
</widget>
236-
<widget class="QWidget" name="verticalLayoutWidget">
237-
<layout class="QVBoxLayout" name="verticalLayout_4">
238-
<item>
239-
<layout class="QHBoxLayout" name="horizontalLayout_4">
240-
<item>
241-
<widget class="QLabel" name="label_4">
242-
<property name="text">
243-
<string>Shared with</string>
244-
</property>
245-
</widget>
246-
</item>
247-
<item>
248-
<widget class="QLineEdit" name="lineEdit_5">
249-
<property name="placeholderText">
250-
<string>filter users...</string>
251-
</property>
252-
</widget>
253-
</item>
254-
</layout>
255-
</item>
256-
<item>
257-
<widget class="QListWidget" name="listWidget"/>
258-
</item>
259-
</layout>
260-
</widget>
261-
</widget>
262-
</item>
263-
<item>
264-
<layout class="QHBoxLayout" name="horizontalLayout_2">
265-
<item>
266-
<widget class="QLabel" name="label_7">
267-
<property name="text">
268-
<string>Add user to selected collection(s):</string>
269-
</property>
270-
</widget>
271-
</item>
272-
<item>
273-
<widget class="QLineEdit" name="lineEdit_2">
274-
<property name="placeholderText">
275-
<string>type a name...</string>
276-
</property>
277-
</widget>
278-
</item>
279-
<item>
280-
<widget class="QToolButton" name="toolButton_3">
281-
<property name="text">
282-
<string>Add</string>
283-
</property>
284-
</widget>
285-
</item>
286-
</layout>
287-
</item>
288-
</layout>
289-
</widget>
290149
<widget class="QWidget" name="tab_upload">
291150
<attribute name="icon">
292-
<iconset theme="upload">
293-
<normaloff>.</normaloff>.</iconset>
151+
<iconset theme="upload"/>
294152
</attribute>
295153
<attribute name="title">
296154
<string>Uploads</string>
@@ -319,8 +177,7 @@
319177
</widget>
320178
<widget class="QWidget" name="tab_download">
321179
<attribute name="icon">
322-
<iconset theme="download">
323-
<normaloff>.</normaloff>.</iconset>
180+
<iconset theme="download"/>
324181
</attribute>
325182
<attribute name="title">
326183
<string>Downloads</string>
@@ -345,8 +202,7 @@
345202
</widget>
346203
<widget class="QWidget" name="tab_maintain">
347204
<attribute name="icon">
348-
<iconset theme="broom">
349-
<normaloff>.</normaloff>.</iconset>
205+
<iconset theme="broom"/>
350206
</attribute>
351207
<attribute name="title">
352208
<string>Maintenance</string>
@@ -380,7 +236,7 @@
380236
<x>0</x>
381237
<y>0</y>
382238
<width>900</width>
383-
<height>22</height>
239+
<height>23</height>
384240
</rect>
385241
</property>
386242
<widget class="QMenu" name="menuHelp">

0 commit comments

Comments
 (0)