Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
BalaSwecha
Density
Commits
729b7812
Commit
729b7812
authored
Sep 14, 2014
by
Ganesh Katrapati
Browse files
Added Wine :)
parent
1cb54afb
Changes
3
Hide whitespace changes
Inline
Side-by-side
main.cpp
View file @
729b7812
...
...
@@ -9,7 +9,7 @@ int main(int argc, char *argv[])
QtQuick2ApplicationViewer
viewer
;
viewer
.
setMainQmlFile
(
QStringLiteral
(
"qml/Example1/main.qml"
));
viewer
.
setMaximumSize
(
QSize
(
540
,
5
00
));
viewer
.
setMaximumSize
(
QSize
(
540
,
6
00
));
viewer
.
setPosition
(
QPoint
(
500
,
100
));
viewer
.
showExpanded
();
...
...
qml/Example1/liquids.qml
View file @
729b7812
...
...
@@ -24,7 +24,13 @@ ListModel {
ListElement
{
name
:
"
Oil
"
lcolor
:
"
brown
"
density
:
0.2
density
:
0.5
}
ListElement
{
name
:
"
Wine
"
lcolor
:
"
red
"
density
:
1.2
}
}
...
...
qml/Example1/main.qml
View file @
729b7812
...
...
@@ -242,9 +242,9 @@ Rectangle {
GridView
{
id
:
grid_view1
x
:
436
y
:
1
6
8
y
:
1
3
8
width
:
51
height
:
2
67
height
:
3
67
cellWidth
:
70
model
:
Qt
.
createComponent
(
"
liquids.qml
"
).
createObject
(
null
)
delegate
:
Item
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment