Groups
Sign in
Groups
go-qml
Conversations
About
Send feedback
Help
table right to left
29 views
Skip to first unread message
mohammadreza hoseynean
unread,
Dec 1, 2015, 5:41:37 AM
12/1/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to go-qml
hello
I want my table right to left .
This is my table.
I want to be like this.
my code:
import QtQuick
2.0
import QtQuick.
Controls
1.2
import QtQml.
Models
2.1
Rectangle
{
id
:
root
width
:
205
anchors.
right
:
parent.
right
TableView
{
id
:
tableROList
TableViewColumn
{
role
:
"name"
; title
:
"نام"
; width
:
100
}
TableViewColumn
{
role
:
"lastname"
; title
:
"نام خانوادگی"
; width
:
100
}
model
:
modelROList
width
:
root.
width
}
ListModel
{
id
:
modelROList
ListElement
{
name
:
"اسم اول"
; lastname
:
"فاملی اول"
}
ListElement
{
name
:
"اسم دوم"
; lastname
:
"فامیلی دوم"
}
ListElement
{
name
:
"اسم سوم"
; lastname
:
"فامیلی سوم"
}
}
}
Thank you
Reply all
Reply to author
Forward
0 new messages