Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
9eb6cd8
in progress
thanosbnt May 2, 2018
ecdb635
in progress
thanosbnt May 2, 2018
54335a0
in progress
thanosbnt May 2, 2018
356ed14
in progress
thanosbnt May 3, 2018
c9f5721
in progress
thanosbnt May 3, 2018
81a2578
in progress
thanosbnt May 3, 2018
4a6b69a
in progress
thanosbnt May 3, 2018
53f2415
in progress
thanosbnt May 3, 2018
382ce25
in progress
thanosbnt May 3, 2018
be76d49
in progress
thanosbnt May 3, 2018
0d95103
in progress
thanosbnt May 3, 2018
3bfb241
in progress
thanosbnt May 3, 2018
8bbb7cc
in progress
thanosbnt May 3, 2018
3ad3765
in progress
thanosbnt May 3, 2018
4ca5cff
in progress
thanosbnt May 3, 2018
5179c11
in progress
thanosbnt May 4, 2018
db89b0e
in progress
thanosbnt May 4, 2018
ce160a6
in progress
thanosbnt May 4, 2018
61fb0a4
in progress
thanosbnt May 4, 2018
709fecc
in progress
thanosbnt May 4, 2018
35d9d98
in progress
thanosbnt May 4, 2018
f020b4e
in progress
thanosbnt May 4, 2018
a96d6cd
in progress
thanosbnt May 4, 2018
c086717
in progress
thanosbnt May 4, 2018
b40f571
in progress
thanosbnt May 4, 2018
c984edc
in progress
thanosbnt May 4, 2018
e7c362f
in progress
thanosbnt May 4, 2018
0d6a3de
in progress
thanosbnt May 4, 2018
3808a3e
in progress
thanosbnt May 4, 2018
fe491c2
in progress
thanosbnt May 4, 2018
eb7777b
in progress
thanosbnt May 4, 2018
c21cdbe
in progress
thanosbnt May 4, 2018
ba169e8
in progress
thanosbnt May 4, 2018
b05114a
in progress
thanosbnt May 4, 2018
aa8b0a9
in progress
thanosbnt May 4, 2018
112d289
in progress
thanosbnt May 4, 2018
1a54374
in progress
thanosbnt May 4, 2018
1ef857f
in progress
thanosbnt May 4, 2018
9ca2187
in progress
thanosbnt May 4, 2018
5ed513e
in progress
thanosbnt May 4, 2018
7017708
in progress
thanosbnt May 8, 2018
8674154
in progress
thanosbnt May 9, 2018
2933f40
in progress
thanosbnt May 9, 2018
aa88236
in progress
thanosbnt May 9, 2018
cc11dbf
in progress
thanosbnt May 9, 2018
c12e9d8
in progress
thanosbnt May 10, 2018
29ca35c
in progress
thanosbnt May 10, 2018
7d02ef5
in progress
thanosbnt May 10, 2018
0293082
in progress
thanosbnt May 10, 2018
77178c8
in progress
thanosbnt May 11, 2018
a5ec0cd
in progress
thanosbnt May 11, 2018
c3b57a3
Merge branch 'master' into deal_with_paths
thanosbnt May 11, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added dc_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
480 changes: 389 additions & 91 deletions digital_connector_plugin.py

Large diffs are not rendered by default.

9 changes: 6 additions & 3 deletions digital_connector_plugin_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,12 @@ def getRecipeContent(datasources,subjects,fields, parent = None):
# make a prompt dialog box for savinhg the edited recipe
output_recipe = QtGui.QFileDialog.getSaveFileName(dialog, 'Save File')

# save it and keep track of the file path
with open(output_recipe, 'w') as outfile:
outfile.write(updated_recipe)
if output_recipe == '':
pass
else:
# save it and keep track of the file path
with open(output_recipe, 'w') as outfile:
outfile.write(updated_recipe)

# updated_recipe = updated_subjects + updated_datasources + updated_fields
# updated_recipe = ','.join(str(e) for e in updated_recipe)
Expand Down
74 changes: 63 additions & 11 deletions digital_connector_plugin_dialog_base.ui
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>400</width>
<height>300</height>
<width>763</width>
<height>410</height>
</rect>
</property>
<property name="windowTitle">
Expand All @@ -16,8 +16,8 @@
<widget class="QDialogButtonBox" name="button_box">
<property name="geometry">
<rect>
<x>30</x>
<y>240</y>
<x>20</x>
<y>330</y>
<width>341</width>
<height>32</height>
</rect>
Expand Down Expand Up @@ -47,15 +47,15 @@
<rect>
<x>20</x>
<y>50</y>
<width>201</width>
<width>251</width>
<height>21</height>
</rect>
</property>
</widget>
<widget class="QPushButton" name="pushButton">
<property name="geometry">
<rect>
<x>230</x>
<x>290</x>
<y>50</y>
<width>41</width>
<height>21</height>
Expand All @@ -70,7 +70,7 @@
<rect>
<x>20</x>
<y>100</y>
<width>201</width>
<width>261</width>
<height>31</height>
</rect>
</property>
Expand All @@ -91,8 +91,8 @@
<widget class="QPushButton" name="pushButton_2">
<property name="geometry">
<rect>
<x>20</x>
<y>150</y>
<x>10</x>
<y>240</y>
<width>113</width>
<height>32</height>
</rect>
Expand All @@ -104,8 +104,8 @@
<widget class="QPushButton" name="pushButton_3">
<property name="geometry">
<rect>
<x>160</x>
<y>150</y>
<x>130</x>
<y>240</y>
<width>113</width>
<height>32</height>
</rect>
Expand All @@ -114,6 +114,58 @@
<string>Edit recipe</string>
</property>
</widget>
<widget class="QCheckBox" name="checkBox">
<property name="geometry">
<rect>
<x>20</x>
<y>160</y>
<width>121</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Clear database</string>
</property>
</widget>
<widget class="QLabel" name="label_3">
<property name="geometry">
<rect>
<x>390</x>
<y>30</y>
<width>281</width>
<height>281</height>
</rect>
</property>
<property name="text">
<string>TextLabel</string>
</property>
</widget>
<widget class="QCheckBox" name="checkBox_2">
<property name="geometry">
<rect>
<x>20</x>
<y>190</y>
<width>201</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>Update Digital Connector</string>
</property>
</widget>
<widget class="QLabel" name="label_4">
<property name="geometry">
<rect>
<x>20</x>
<y>130</y>
<width>261</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>recipe url</string>
</property>
</widget>
</widget>
<resources/>
<connections>
Expand Down
Binary file added img/python_console.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/run_admin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,857 changes: 1,856 additions & 1 deletion resources.py

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions resources.qrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<RCC>
<qresource prefix="/plugins/DigitalConnectorPlugin" >
<file>icon.png</file>
<file>dc_logo.png</file>
</qresource>
</RCC>