This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
see below |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import QtQuick 2.9 | |
import QtQuick.Window 2.2 | |
import QtCharts 2.0 | |
Window { | |
id: window | |
visible: true | |
width: 640 | |
height: 480 | |
Column{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ListView { | |
id: groceriesListView | |
signal itemRemoved(string itemType) | |
delegate: Item { | |
Button { | |
onClicked: groceriesListView.itemRemoved(modelData.type) | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import QtQuick 2.4 | |
import QtQuick.Window 2.2 | |
import Material 0.1 | |
ApplicationWindow { | |
function fixDensity() { | |
var galaxyS3mini = | |
(Screen.width == 480) && | |
(Screen.height == 800) && | |
(Screen.pixelDensity.toFixed(2) == 6.31) && |