Changeset View
Changeset View
Standalone View
Standalone View
src/contents/ui/GlobalDrawer.qml
Show First 20 Lines • Show All 133 Lines • ▼ Show 20 Line(s) | 112 | id: wbaction | |||
---|---|---|---|---|---|
134 | } | 134 | } | ||
135 | Kirigami.Action { | 135 | Kirigami.Action { | ||
136 | iconName: "qrc:///camera_white_balance_flourescent.png" | 136 | iconName: "qrc:///camera_white_balance_flourescent.png" | ||
137 | onTriggered: settings.whiteBalanceMode = CameraImageProcessing.WhiteBalanceFluorescent | 137 | onTriggered: settings.whiteBalanceMode = CameraImageProcessing.WhiteBalanceFluorescent | ||
138 | text: i18n("Fluorescent") | 138 | text: i18n("Fluorescent") | ||
139 | } | 139 | } | ||
140 | }, | 140 | }, | ||
141 | Kirigami.Action { | 141 | Kirigami.Action { | ||
142 | text: i18n("Self-timer") | ||||
143 | iconName: "clock" | ||||
144 | enabled: !camera.selfTimerRunning | ||||
145 | | ||||
146 | Kirigami.Action { | ||||
147 | text: i18n("Off") | ||||
148 | onTriggered: camera.selfTimerDuration = 0 | ||||
149 | } | ||||
150 | Kirigami.Action { | ||||
151 | text: i18n("2 s") | ||||
152 | onTriggered: camera.selfTimerDuration = 2 | ||||
153 | } | ||||
154 | Kirigami.Action { | ||||
155 | text: i18n("5 s") | ||||
156 | onTriggered: camera.selfTimerDuration = 5 | ||||
157 | } | ||||
158 | Kirigami.Action { | ||||
159 | text: i18n("10 s") | ||||
160 | onTriggered: camera.selfTimerDuration = 10 | ||||
161 | } | ||||
162 | Kirigami.Action { | ||||
163 | text: i18n("20 s") | ||||
164 | onTriggered: camera.selfTimerDuration = 20 | ||||
165 | } | ||||
166 | }, | ||||
167 | Kirigami.Action { | ||||
142 | text: i18n("About") | 168 | text: i18n("About") | ||
143 | iconName: "help-about" | 169 | iconName: "help-about" | ||
144 | onTriggered: { | 170 | onTriggered: { | ||
145 | while (pageStack.depth > 1) | 171 | while (pageStack.depth > 1) | ||
146 | pageStack.pop() | 172 | pageStack.pop() | ||
147 | 173 | | |||
148 | pageStack.push(aboutPage) | 174 | pageStack.push(aboutPage) | ||
149 | } | 175 | } | ||
150 | } | 176 | } | ||
151 | ] | 177 | ] | ||
152 | } | 178 | } |