excel2moodle 0.5.2__py3-none-any.whl → 0.6.1__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.
- excel2moodle/__main__.py +3 -2
- excel2moodle/core/bullets.py +98 -0
- excel2moodle/core/dataStructure.py +3 -4
- excel2moodle/core/globals.py +3 -8
- excel2moodle/core/parser.py +37 -65
- excel2moodle/core/question.py +144 -76
- excel2moodle/extra/variableGenerator.py +250 -0
- excel2moodle/question_types/cloze.py +156 -125
- excel2moodle/question_types/nfm.py +38 -100
- excel2moodle/ui/UI_mainWindow.py +63 -36
- excel2moodle/ui/UI_variableGenerator.py +197 -0
- excel2moodle/ui/appUi.py +90 -23
- excel2moodle/ui/dialogs.py +44 -77
- excel2moodle/ui/equationChecker.py +2 -2
- excel2moodle/ui/treewidget.py +9 -24
- {excel2moodle-0.5.2.dist-info → excel2moodle-0.6.1.dist-info}/METADATA +34 -2
- {excel2moodle-0.5.2.dist-info → excel2moodle-0.6.1.dist-info}/RECORD +21 -20
- excel2moodle/core/numericMultiQ.py +0 -80
- excel2moodle/ui/windowDoc.py +0 -27
- {excel2moodle-0.5.2.dist-info → excel2moodle-0.6.1.dist-info}/WHEEL +0 -0
- {excel2moodle-0.5.2.dist-info → excel2moodle-0.6.1.dist-info}/entry_points.txt +0 -0
- {excel2moodle-0.5.2.dist-info → excel2moodle-0.6.1.dist-info}/licenses/LICENSE +0 -0
- {excel2moodle-0.5.2.dist-info → excel2moodle-0.6.1.dist-info}/top_level.txt +0 -0
excel2moodle/ui/windowDoc.py
DELETED
@@ -1,27 +0,0 @@
|
|
1
|
-
import sys
|
2
|
-
|
3
|
-
from PySide6 import QtCore, QtWebEngineWidgets, QtWidgets
|
4
|
-
|
5
|
-
from excel2moodle import e2mMetadata
|
6
|
-
|
7
|
-
|
8
|
-
class DocumentationWindow(QtWidgets.QMainWindow):
|
9
|
-
def __init__(self, parent=None) -> None:
|
10
|
-
super().__init__(parent)
|
11
|
-
|
12
|
-
self.web_view = QtWebEngineWidgets.QWebEngineView()
|
13
|
-
self.setCentralWidget(self.web_view)
|
14
|
-
|
15
|
-
# Load the HTML documentation
|
16
|
-
url = QtCore.QUrl(e2mMetadata["documentation"])
|
17
|
-
print(f"Opening URL {url}")
|
18
|
-
self.web_view.setUrl(url)
|
19
|
-
|
20
|
-
|
21
|
-
if __name__ == "__main__":
|
22
|
-
app = QtWidgets.QApplication(sys.argv)
|
23
|
-
|
24
|
-
window = DocumentationWindow()
|
25
|
-
window.show()
|
26
|
-
|
27
|
-
sys.exit(app.exec())
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|