imageSettings.resolutions : undefined
delegate: CameraButton {
- font.capitalization: Font.Capitalize
+ capitalize: true
text: qsTr("%1 %2 Mpx").arg(resolutionName).arg(megaPixels)
checked: settings.imageResolution == resolutionName
onClicked: settings.imageResolution = resolutionName
model: videoSettings.resolutions
delegate: CameraButton {
- font.capitalization: Font.Capitalize
+ capitalize: true
text: qsTr("%1 %2").arg(resolutionName).arg(resolution)
checked: settings.videoResolution == resolutionName
onClicked: settings.videoResolution = resolutionName
import com.nokia.meego 1.1
Button {
-
+ property bool capitalize
+ font.capitalization: capitalize ? Font.Capitalize : Font.MixedCase
}