Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jonathan Wiedemann
MOOC-Workbench
Commits
f907da5c
Commit
f907da5c
authored
May 25, 2019
by
Jonathan Wiedemann
Browse files
v0.1.0c
Add some images in Korrigan Lesson
parent
07e4c687
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
InitGui.py
View file @
f907da5c
...
...
@@ -39,13 +39,10 @@ MOOC_VERSION = 'V0.1.0b'
moocWBpath
=
os
.
path
.
dirname
(
moocwb_locator
.
__file__
)
moocWBpath_medias
=
os
.
path
.
join
(
moocWBpath
,
'medias'
)
moocWB_icons_path
=
os
.
path
.
join
(
moocWBpath_medias
,
'icons'
)
#moocWB_images_path = os.path.join( moocWBpath_medias, 'images')
#moocWB_images_path = os.path.join( moocWBpath_medias, 'videos')
#moocWB_images_path = os.path.join( moocWBpath_medias, 'gifs')
moocWB_icons_path
=
os
.
path
.
join
(
moocWBpath_medias
,
'icons'
)
global
main_moocWB_Icon
main_moocWB_Icon
=
os
.
path
.
join
(
moocWB_icons_path
,
'mooc-workbench.svg'
)
main_moocWB_Icon
=
os
.
path
.
join
(
moocWB_icons_path
,
'mooc-workbench.svg'
)
class
MoocWorkbench
(
Workbench
):
...
...
MoocPlayer.py
View file @
f907da5c
...
...
@@ -46,7 +46,7 @@ import WebGui
# import webbrowser to play video inside defaut web Browser
import
webbrowser
# import MoocChecker
"""
# import MoocChecker
import MoocChecker
# make sure MoocChecker is reloaded
...
...
@@ -57,7 +57,7 @@ except NameError:
importlib.reload(MoocChecker)
# name MoocChecker
Check
=
MoocChecker
Check = MoocChecker
"""
# for debug purposes
DEBUG
=
True
...
...
@@ -80,7 +80,7 @@ class Ui_MoocPlayer(QtWidgets.QDialog):
def
__init__
(
self
,
parent
=
gui
.
getMainWindow
()):
super
(
Ui_MoocPlayer
,
self
).
__init__
(
parent
)
self
.
setObjectName
(
"MoocPlayer"
)
self
.
resize
(
38
0
,
52
0
)
self
.
resize
(
40
0
,
64
0
)
mw_size
=
parent
.
size
()
mw_pos
=
parent
.
pos
()
move_x
=
mw_pos
.
x
()
+
mw_size
.
width
()
-
self
.
size
().
width
()
...
...
@@ -314,7 +314,7 @@ class Ui_MoocChooser(QtWidgets.QDialog):
self
.
close
()
# import MoocPlayer
import
MoocPlayer
# make sure Mooc
Check
er is reloaded
# make sure Mooc
Play
er is reloaded
try
:
reload
(
MoocPlayer
)
except
NameError
:
...
...
lessons/Korrigans.py
View file @
f907da5c
This diff is collapsed.
Click to expand it.
medias/images/Lesson2Step3.png
0 → 100644
View file @
f907da5c
11.3 KB
medias/images/Lesson2Step6.png
0 → 100644
View file @
f907da5c
37.8 KB
medias/images/Lesson2Step7-1.png
0 → 100644
View file @
f907da5c
5.3 KB
medias/images/Lesson2Step7-2.png
0 → 100644
View file @
f907da5c
23.9 KB
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment