-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpermission-viewer-win.ui
83 lines (83 loc) · 3.14 KB
/
permission-viewer-win.ui
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
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<object class="GtkTreeStore" id="store">
<columns>
<column type="gchararray"/> <!-- table -->
<column type="gchararray"/> <!-- id -->
<column type="gchararray"/> <!-- appid -->
<column type="gchararray"/> <!-- display name -->
<column type="gchararray"/> <!-- display permissions -->
<column type="gchararray"/> <!-- display data -->
<column type="gboolean"/>
</columns>
</object>
<template class="PermissionViewerWin" parent="GtkApplicationWindow">
<property name="default-width">600</property>
<property name="default-height">400</property>
<child type="titlebar">
<object class="GtkHeaderBar">
<property name="visible">1</property>
<property name="title">Permission Viewer</property>
<property name="show-close-button">1</property>
</object>
</child>
<child>
<object class="GtkScrolledWindow">
<property name="visible">1</property>
<child>
<object class="GtkTreeView" id="view">
<property name="visible">1</property>
<property name="model">store</property>
<property name="enable-grid-lines">vertical</property>
<signal name="button-press-event" handler="button_press_cb"/>
<child>
<object class="GtkTreeViewColumn">
<property name="visible">1</property>
<property name="title">Name</property>
<child>
<object class="GtkCellRendererText">
<signal name="edited" handler="name_edited"/>
</object>
<attributes>
<attribute name="text">3</attribute>
<attribute name="editable">6</attribute>
</attributes>
</child>
</object>
</child>
<child>
<object class="GtkTreeViewColumn">
<property name="visible">1</property>
<property name="resizable">1</property>
<property name="title">Permissions</property>
<child>
<object class="GtkCellRendererText">
<signal name="edited" handler="permissions_edited"/>
</object>
<attributes>
<attribute name="text">4</attribute>
<attribute name="editable">6</attribute>
</attributes>
</child>
</object>
</child>
<child>
<object class="GtkTreeViewColumn">
<property name="visible">1</property>
<property name="resizable">1</property>
<property name="title">Data</property>
<child>
<object class="GtkCellRendererText">
</object>
<attributes>
<attribute name="text">5</attribute>
</attributes>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</template>
</interface>