mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-21 05:37:50 -06:00
Minor codestyle cleanup
Boyscouting CURA-8696
This commit is contained in:
parent
26d6a02c32
commit
a057cbe481
1 changed files with 10 additions and 6 deletions
|
@ -1,18 +1,22 @@
|
||||||
# Copyright (c) 2021 Ultimaker B.V.
|
# Copyright (c) 2021 Ultimaker B.V.
|
||||||
# Cura is released under the terms of the LGPLv3 or higher.
|
# Cura is released under the terms of the LGPLv3 or higher.
|
||||||
from .WelcomePagesModel import WelcomePagesModel
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
from typing import Optional, Dict, List, Tuple
|
from typing import Optional, Dict, List, Tuple
|
||||||
|
|
||||||
from PyQt5.QtCore import pyqtProperty, pyqtSlot
|
from PyQt5.QtCore import pyqtProperty, pyqtSlot
|
||||||
|
|
||||||
from UM.Logger import Logger
|
from UM.Logger import Logger
|
||||||
from UM.Resources import Resources
|
from UM.Resources import Resources
|
||||||
|
|
||||||
#
|
from cura.UI.WelcomePagesModel import WelcomePagesModel
|
||||||
# This Qt ListModel is more or less the same the WelcomePagesModel, except that this model is only for showing the
|
|
||||||
# "what's new" page. This is also used in the "Help" menu to show the changes log.
|
|
||||||
#
|
|
||||||
class WhatsNewPagesModel(WelcomePagesModel):
|
class WhatsNewPagesModel(WelcomePagesModel):
|
||||||
|
"""
|
||||||
|
This Qt ListModel is more or less the same the WelcomePagesModel, except that this model is only for showing the
|
||||||
|
"what's new" page. This is also used in the "Help" menu to show the changes log.
|
||||||
|
"""
|
||||||
|
|
||||||
image_formats = [".png", ".jpg", ".jpeg", ".gif", ".svg"]
|
image_formats = [".png", ".jpg", ".jpeg", ".gif", ".svg"]
|
||||||
text_formats = [".txt", ".htm", ".html"]
|
text_formats = [".txt", ".htm", ".html"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue