Total amount of FIXMEs/TODOs: 12.
Location: | /code-documentation/modules/org/openteacher/interfaces/qt/hiddenBrowser/hiddenBrowser.py (line 103) > |
Relevant code: | def hideSelf(self):
#FIXME (3.1): Make sure this works via a nice module interface,
#because this breaks as soon as a very small change is made. (It
#already did once...)
#show other side widgets
|
Location: | /code-documentation/modules/org/openteacher/interfaces/qt/hiddenBrowser/hiddenBrowser.py (line 124) > |
Relevant code: | def hideOthers(self):
#FIXME 3.1: see hideSelf.
#hide other side widgets
sizes = self.parentWidget().sizes()
size = sizes[self.parentWidget().indexOf(self)]
|
Location: | /code-documentation/modules/org/openteacher/interfaces/qt/lessons/media/media.py (line 25) > |
Relevant code: | import weakref
#FIXME? Make the whole module make use of a .resources attribute like
#topo. It would make media savers and loaders a lot easier to write (see
#mediaHtml.py and the loader and saver otmd.py). Downside: breaks
#compatibility. :(
#
|
Location: | /code-documentation/modules/org/openteacher/interfaces/qt/lessons/media/media.py (line 278) > |
Relevant code: | """
#FIXME 3.1: move into separate module since this uses QtWidgets?
def callback():
#media specific checks
for item in self.enterWidget.list["items"]:
if not item.get("question", "") or not item.get("answer", ""):
|
Location: | /code-documentation/modules/org/openteacher/interfaces/qt/lessons/words/words.py (line 129) > |
Relevant code: | """
#FIXME > 3.1: move into separate module since this uses QtWidgets?
def callback():
#words specific checks
for item in self._enterWidget.lesson.list["items"]:
if not item.get("questions", []) or not item.get("answers", []):
|
Location: | /code-documentation/modules/org/openteacher/interfaces/qt/teachers/words/words.py (line 476) > |
Relevant code: | "defaultValue": itemModifierOptions[0][1] if len(itemModifierOptions) > 0 else None,
}),
#FIXME: make this actually work... :S
# "dontShowAgain": registerSetting(**{
# "internal_name": "org.openteacher.teachers.words.dontShowAgain",
# "type": "boolean",
# "defaultValue": False,
|
Location: | /code-documentation/modules/org/openteacher/interfaces/qt/testMode/menu/menu.py (line 48) > |
Relevant code: | def enable(self):
warnings.warn("TODO: remove this line and the next one when test mode is going to be shipped & works.")
return
self._modules = set(self._mm.mods(type="modules")).pop()
ui = self._modules.default("active", type="ui")
|
Location: | /code-documentation/modules/org/openteacher/interfaces/qt/testMode/teacherPanel/teacherPanel.py (line 47) > |
Relevant code: | super().__init__(*args, **kwargs)
# fixme > 3.0 maybe: create event when test is created so it can be added here
self.connection = connection
# Setup layout
|
Location: | /code-documentation/modules/org/openteacher/interfaces/qt/webEngines/qwebengine/qwebengine.py (line 59) > |
Relevant code: | def print_(self, printer, donePrinting):
# TODO: The result of this is atrocious. Perhaps re-implement printing
# so as to not need a web engine?
self.widget.page().print(printer, lambda ok: donePrinting())
def setHtml(self, html):
|
Location: | /code-documentation/modules/org/openteacher/logic/pyinstallerInterface/pyinstallerInterface.py (line 148) > |
Relevant code: | shutil.copytree(sourcePath, os.path.join(resultPath, "source"))
# self._copyInTesseractPortableExecutables(resultPath)# FIXME
return resultPath
def _copyInTesseractPortableExecutables(self, resultPath):
|
Location: | /code-documentation/modules/org/openteacher/logic/savers/test/test.py (line 92) > |
Relevant code: | "tests": []
}, {}))
#FIXME: see comment on resources in the .otmd saver file.
def testSavingTopo(self):
metadata = next(iter(self._mm.mods("active", type="metadata"))).metadata
self._testSavingType("topo", Lesson({
|
Location: | /code-documentation/modules/org/openteacher/profileRunners/webGenerator/static/index.html (line 3) > |
Relevant code: | <!DOCTYPE html>
<!--
TODO: Fix browser/platform compatibility. At least should be possible:
* Recent firefox
* Recent Chrome
* Recent Safari
* Recent Opera
|
FIXME