mirror of
https://github.com/Swordfish90/cool-retro-term.git
synced 2025-01-31 02:01:19 +00:00
Small refactor in settings
This commit is contained in:
parent
3da33587b7
commit
bd39a63a64
@ -16,7 +16,11 @@ Item{
|
|||||||
|
|
||||||
property string frame_source: frames_list.get(frames_index).source
|
property string frame_source: frames_list.get(frames_index).source
|
||||||
property int frames_index: 1
|
property int frames_index: 1
|
||||||
property ListModel frames_list: ListModel{
|
|
||||||
|
property var frames_list: framelist
|
||||||
|
|
||||||
|
ListModel{
|
||||||
|
id: framelist
|
||||||
ListElement{text: "No frame"; source: "./frames/NoFrame.qml"}
|
ListElement{text: "No frame"; source: "./frames/NoFrame.qml"}
|
||||||
ListElement{text: "Simple white frame"; source: "./frames/WhiteSimpleFrame.qml"}
|
ListElement{text: "Simple white frame"; source: "./frames/WhiteSimpleFrame.qml"}
|
||||||
ListElement{text: "Rough black frame"; source: "./frames/BlackRoughFrame.qml"}
|
ListElement{text: "Rough black frame"; source: "./frames/BlackRoughFrame.qml"}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user