-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathformdisplaytree.ui
More file actions
125 lines (125 loc) · 9.29 KB
/
formdisplaytree.ui
File metadata and controls
125 lines (125 loc) · 9.29 KB
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>FormDisplayTree</class>
<widget class="QWidget" name="FormDisplayTree">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>530</width>
<height>277</height>
</rect>
</property>
<property name="windowTitle">
<string>Instantané d'arbre</string>
</property>
<property name="windowIcon">
<iconset resource="Images.qrc">
<normaloff>:/icons/icons/tree.png</normaloff>:/icons/icons/tree.png</iconset>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="2" column="1">
<widget class="QPushButton" name="exportXLSXButton">
<property name="toolTip">
<string><html><head/><body><p>Exporter l'arbre au format tableur pour pouvoir le partager.</p></body></html></string>
</property>
<property name="whatsThis">
<string><html><head/><body><p>Exporter l'arbre dans un fichier Excel lisible par ProtonClassicSuite. La structure du fichier est sur quatre colonnes, et chaque ligne représente un noeud de l'arbre. Les trois premières colonnes servent à décrire les noeuds de l'arbre, en indiquant pour chaque noeud son identifiant numérique unique (en commençant à 2), son type et son libellé. La dernière colonne indique l'identifiant numérique du <span style=" font-weight:600;">père</span> du noeud. Si cet identifiant vaut 1, cela signifie que le noeud est rattaché à la racine de l'arbre. Ainsi,<br/></p><table border="1" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px;" cellspacing="0" cellpadding="0"><tr><td style=" vertical-align:middle;"><p><span style=" font-family:'Calibri';">Identifiant noeud</span></p></td><td style=" vertical-align:middle;"><p>Type noeud</p></td><td style=" vertical-align:middle;"><p>Nom noeud</p></td><td style=" vertical-align:middle;"><p>Identifiant père</p></td></tr><tr><td style=" vertical-align:middle;"><p align="center">2</p></td><td style=" vertical-align:middle;"><p align="center"><span style=" font-family:'Calibri';">Maire adjoint</span></p></td><td style=" vertical-align:middle;"><p align="center">M1</p></td><td style=" vertical-align:middle;"><p align="center">1</p></td></tr><tr><td style=" vertical-align:middle;"><p align="center">3</p></td><td style=" vertical-align:middle;"><p align="center"><span style=" font-family:'Calibri';">Maire adjoint</span></p></td><td style=" vertical-align:middle;"><p align="center">M2</p></td><td style=" vertical-align:middle;"><p align="center">1</p></td></tr><tr><td style=" vertical-align:middle;"><p align="center">4</p></td><td style=" vertical-align:middle;"><p align="center"><span style=" font-family:'Calibri';">Maire adjoint</span></p></td><td style=" vertical-align:middle;"><p align="center">M3</p></td><td style=" vertical-align:middle;"><p align="center">1</p></td></tr><tr><td style=" vertical-align:middle;"><p align="center">5</p></td><td style=" vertical-align:middle;"><p align="center">Service</p></td><td style=" vertical-align:middle;"><p align="center">S1</p></td><td style=" vertical-align:middle;"><p align="center">2</p></td></tr><tr><td style=" vertical-align:middle;"><p align="center">6</p></td><td style=" vertical-align:middle;"><p align="center">Service</p></td><td style=" vertical-align:middle;"><p align="center">S2</p></td><td style=" vertical-align:middle;"><p align="center">3</p></td></tr><tr><td style=" vertical-align:middle;"><p align="center">7</p></td><td style=" vertical-align:middle;"><p align="center">Service</p></td><td style=" vertical-align:middle;"><p align="center"><span style=" font-family:'Calibri';">S3</span></p></td><td style=" vertical-align:middle;"><p align="center">3</p></td></tr><tr><td style=" vertical-align:middle;"><p align="center">8</p></td><td style=" vertical-align:middle;"><p align="center">Service</p></td><td style=" vertical-align:middle;"><p align="center"><span style=" font-family:'Calibri';">S4</span></p></td><td style=" vertical-align:middle;"><p align="center">4</p></td></tr></table><p>représentera l'arbre suivant :</p><p><img src=":/Pictures/icons/sample_tree.png"/></p></body></html></string>
</property>
<property name="text">
<string>Exporter XLSX</string>
</property>
<property name="icon">
<iconset resource="Images.qrc">
<normaloff>:/icons/icons/excel_exports.png</normaloff>:/icons/icons/excel_exports.png</iconset>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QPushButton" name="exportButton">
<property name="toolTip">
<string><html><head/><body><p>Dessiner l'arbre dans un PDF pour pouvoir l'imprimer</p></body></html></string>
</property>
<property name="whatsThis">
<string><html><head/><body><p>Exporter un dessin de l'arbre au format PDF. Il vous sera également proposé d'exporter l'arbre au format GraphViz (DOT) afin de pouvoir en personnaliser l'aspect (nécessite l'installation séparée du logiciel GraphViz).</p></body></html></string>
</property>
<property name="text">
<string>Exporter PDF</string>
</property>
<property name="icon">
<iconset resource="Images.qrc">
<normaloff>:/icons/icons/pdf_exports.png</normaloff>:/icons/icons/pdf_exports.png</iconset>
</property>
</widget>
</item>
<item row="0" column="0" colspan="5">
<widget class="QLabel" name="label">
<property name="text">
<string>TextLabel</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="2" column="3">
<widget class="QPushButton" name="expandButton">
<property name="text">
<string>Déplier tout</string>
</property>
</widget>
</item>
<item row="1" column="0" colspan="5">
<widget class="QTreeView" name="treeView">
<property name="whatsThis">
<string><html><head/><body><p>Cette fenêtre présente un instantané d'arbre, c'est à dire un arbre tel qu'il était à un moment donné indépendament des éventuelles modifications ultérieures.</p></body></html></string>
</property>
<property name="editTriggers">
<set>QAbstractItemView::NoEditTriggers</set>
</property>
<property name="showDropIndicator" stdset="0">
<bool>false</bool>
</property>
<property name="selectionMode">
<enum>QAbstractItemView::NoSelection</enum>
</property>
<property name="animated">
<bool>true</bool>
</property>
<property name="headerHidden">
<bool>true</bool>
</property>
</widget>
</item>
<item row="2" column="4">
<widget class="QPushButton" name="collapseButton">
<property name="text">
<string>Replier tout</string>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QPushButton" name="printViewButton">
<property name="toolTip">
<string><html><head/><body><p>Imprimer le contenu visible de la fenêtre ci-dessus.</p></body></html></string>
</property>
<property name="text">
<string>Imprimer la vue</string>
</property>
</widget>
</item>
</layout>
</widget>
<tabstops>
<tabstop>treeView</tabstop>
<tabstop>exportButton</tabstop>
<tabstop>exportXLSXButton</tabstop>
<tabstop>printViewButton</tabstop>
<tabstop>expandButton</tabstop>
<tabstop>collapseButton</tabstop>
</tabstops>
<resources>
<include location="Images.qrc"/>
</resources>
<connections/>
</ui>