-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFicheCandidats.qml
63 lines (50 loc) · 1.57 KB
/
FicheCandidats.qml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
import QtQuick 2.7
import QtQuick.Controls 2.0
import QtQuick.Layouts 1.3
import ATeam.Phileas.AssetsSingleton 1.0
import ATeam.BlobImage 1.0
import "./components/"
Page {
background:Rectangle{
color:Assets.ui.fondDrawer
}
Connections{
target:sqlCircoModel
onSelectedRowChanged:{
titulaire.photo = sqlCircoModel.selectedData("titulaire_photo")
titulaire.nom = sqlCircoModel.selectedData("titulaire_nom")
titulaire.tel = sqlCircoModel.selectedData("titulaire_tel")
titulaire.email = sqlCircoModel.selectedData("titulaire_email")
titulaire.cv = sqlCircoModel.selectedData("titulaire_cv")
suppleant.photo = sqlCircoModel.selectedData("suppleant_photo")
suppleant.nom = sqlCircoModel.selectedData("suppleant_nom")
suppleant.tel = sqlCircoModel.selectedData("suppleant_tel")
suppleant.email = sqlCircoModel.selectedData("suppleant_email")
suppleant.cv = sqlCircoModel.selectedData("suppleant_cv")
}
}
footer:TabBar{
id:bar
background:Rectangle{
color:Assets.ui.fondDrawer
}
TabButton{
text: qsTr("Titulaire")
}
TabButton{
text: qsTr("Suppléant-e")
}
}
StackLayout {
anchors.fill: parent
currentIndex: bar.currentIndex
Fiche{
id:titulaire
anchors.fill: parent
}
Fiche{
id:suppleant
anchors.fill: parent
}
}
}