Skip to content

Commit

Permalink
Added more resolutions
Browse files Browse the repository at this point in the history
  • Loading branch information
Iktwo committed Sep 11, 2014
1 parent bc6eb50 commit 9835fad
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions qml/main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,15 @@ ApplicationWindow {
id: applicationWindow

property var resolutions: [
{"height": 480, "width": 320}, // HVGA
{"height": 640, "width": 480}, // VGA
{"height": 800, "width": 480}, // WVGA
{"height": 800, "width": 600}, // SVGA
{"height": 640, "width": 360}, // nHD
{"height": 960, "width": 540} // qHD
{"height": 480, "width": 320, "name": "HVGA", "ratio": "3:2"},
{"height": 640, "width": 360, "name": "nHD", "ratio": "16:9"},
{"height": 640, "width": 480, "name": "VGA", "ratio": "4:3"},
{"height": 800, "width": 480, "name": "WVGA", "ratio": "5:3"},
{"height": 800, "width": 600, "name": "SVGA", "ratio": "4:3"},
{"height": 960, "width": 540, "name": "qHD", "ratio": "16:9"},
{"height": 1280, "width": 720, "name": "720p", "ratio": "16:9"},
{"height": 1280, "width": 800, "name": "WXGA", "ratio": "16:10"},
{"height": 1920, "width": 1080, "name": "1080p", "ratio": "16:9"}
]

property int currentResolution: 3
Expand Down

0 comments on commit 9835fad

Please sign in to comment.