mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-18 04:07:57 -06:00
Add sidebar views menu item and expose model to QML
This commit is contained in:
parent
713055e320
commit
4ef39ca313
5 changed files with 37 additions and 8 deletions
|
@ -9,6 +9,10 @@ class SettingsSidebarView(QObject, SidebarView):
|
|||
def __init__(self):
|
||||
super().__init__()
|
||||
|
||||
## As the default sidebar is not a plugin, we have a get plugin ID method to allow the sidebar view model to get the needed data.
|
||||
def getPluginId(self):
|
||||
return "default"
|
||||
|
||||
## As the default sidebar is not a plugin, we have a get meta data method here to allow the sidebar view model to get the needed data.
|
||||
def getMetaData(self):
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue