comparison pyink/component_dock.glade @ 1308:49775feefbcf

Show components and timelines in comp_dock
author Thinker K.F. Li <thinker@codemud.net>
date Thu, 20 Jan 2011 00:50:49 +0800
parents cf2691a18a7a
children f2b1b22f7cbc
comparison
equal deleted inserted replaced
1307:cfbc0f3e54e3 1308:49775feefbcf
1 <?xml version="1.0"?> 1 <?xml version="1.0"?>
2 <interface> 2 <interface>
3 <requires lib="gtk+" version="2.16"/> 3 <requires lib="gtk+" version="2.16"/>
4 <!-- interface-naming-policy project-wide --> 4 <!-- interface-naming-policy project-wide -->
5 <object class="GtkListStore" id="components_model">
6 <columns>
7 <!-- column-name name -->
8 <column type="gchararray"/>
9 </columns>
10 </object>
11 <object class="GtkListStore" id="timelines_model">
12 <columns>
13 <!-- column-name name -->
14 <column type="gchararray"/>
15 </columns>
16 </object>
5 <object class="GtkWindow" id="window1"> 17 <object class="GtkWindow" id="window1">
6 <child> 18 <child>
7 <object class="GtkVBox" id="component_dock_top"> 19 <object class="GtkVBox" id="component_dock_top">
8 <property name="visible">True</property> 20 <property name="visible">True</property>
9 <property name="orientation">vertical</property> 21 <property name="orientation">vertical</property>
10 <child> 22 <child>
11 <object class="GtkVBox" id="vbox2"> 23 <object class="GtkVBox" id="vbox2">
12 <property name="visible">True</property> 24 <property name="visible">True</property>
13 <property name="orientation">vertical</property> 25 <property name="orientation">vertical</property>
14 <child> 26 <child>
15 <object class="GtkLabel" id="label1">
16 <property name="visible">True</property>
17 <property name="xalign">0</property>
18 <property name="xpad">5</property>
19 <property name="label" translatable="yes">Components</property>
20 </object>
21 <packing>
22 <property name="expand">False</property>
23 <property name="fill">False</property>
24 <property name="position">0</property>
25 </packing>
26 </child>
27 <child>
28 <object class="GtkTreeView" id="treeview_components"> 27 <object class="GtkTreeView" id="treeview_components">
29 <property name="height_request">100</property> 28 <property name="height_request">100</property>
30 <property name="visible">True</property> 29 <property name="visible">True</property>
31 <property name="can_focus">True</property> 30 <property name="can_focus">True</property>
31 <property name="model">components_model</property>
32 <signal name="cursor_changed" handler="on_treeview_components_cursor_changed"/>
33 <child>
34 <object class="GtkTreeViewColumn" id="treeviewcolumn1">
35 <property name="sizing">autosize</property>
36 <property name="title">Component Name</property>
37 <property name="expand">True</property>
38 <child>
39 <object class="GtkCellRendererText" id="cellrenderertext1"/>
40 <attributes>
41 <attribute name="text">0</attribute>
42 </attributes>
43 </child>
44 </object>
45 </child>
32 </object> 46 </object>
33 <packing> 47 <packing>
34 <property name="position">1</property> 48 <property name="position">0</property>
35 </packing> 49 </packing>
36 </child> 50 </child>
37 <child> 51 <child>
38 <object class="GtkHButtonBox" id="hbuttonbox1"> 52 <object class="GtkHButtonBox" id="hbuttonbox1">
39 <property name="visible">True</property> 53 <property name="visible">True</property>
44 <property name="label">gtk-add</property> 58 <property name="label">gtk-add</property>
45 <property name="visible">True</property> 59 <property name="visible">True</property>
46 <property name="can_focus">True</property> 60 <property name="can_focus">True</property>
47 <property name="receives_default">True</property> 61 <property name="receives_default">True</property>
48 <property name="use_stock">True</property> 62 <property name="use_stock">True</property>
63 <signal name="clicked" handler="on_add_comp_clicked"/>
49 </object> 64 </object>
50 <packing> 65 <packing>
51 <property name="expand">False</property> 66 <property name="expand">False</property>
52 <property name="fill">False</property> 67 <property name="fill">False</property>
53 <property name="position">0</property> 68 <property name="position">0</property>
58 <property name="label">gtk-remove</property> 73 <property name="label">gtk-remove</property>
59 <property name="visible">True</property> 74 <property name="visible">True</property>
60 <property name="can_focus">True</property> 75 <property name="can_focus">True</property>
61 <property name="receives_default">True</property> 76 <property name="receives_default">True</property>
62 <property name="use_stock">True</property> 77 <property name="use_stock">True</property>
78 <signal name="clicked" handler="on_remove_comp_clicked"/>
63 </object> 79 </object>
64 <packing> 80 <packing>
65 <property name="expand">False</property> 81 <property name="expand">False</property>
66 <property name="fill">False</property> 82 <property name="fill">False</property>
67 <property name="position">1</property> 83 <property name="position">1</property>
70 </object> 86 </object>
71 <packing> 87 <packing>
72 <property name="expand">False</property> 88 <property name="expand">False</property>
73 <property name="fill">False</property> 89 <property name="fill">False</property>
74 <property name="padding">1</property> 90 <property name="padding">1</property>
75 <property name="position">2</property> 91 <property name="position">1</property>
76 </packing> 92 </packing>
77 </child> 93 </child>
78 </object> 94 </object>
79 <packing> 95 <packing>
80 <property name="position">0</property> 96 <property name="position">0</property>
94 <child> 110 <child>
95 <object class="GtkVBox" id="vbox3"> 111 <object class="GtkVBox" id="vbox3">
96 <property name="visible">True</property> 112 <property name="visible">True</property>
97 <property name="orientation">vertical</property> 113 <property name="orientation">vertical</property>
98 <child> 114 <child>
99 <object class="GtkLabel" id="label2">
100 <property name="visible">True</property>
101 <property name="xalign">0</property>
102 <property name="xpad">5</property>
103 <property name="label" translatable="yes">Actions / timelines</property>
104 </object>
105 <packing>
106 <property name="expand">False</property>
107 <property name="fill">False</property>
108 <property name="position">0</property>
109 </packing>
110 </child>
111 <child>
112 <object class="GtkTreeView" id="treeview_timelines"> 115 <object class="GtkTreeView" id="treeview_timelines">
113 <property name="height_request">100</property> 116 <property name="height_request">100</property>
114 <property name="visible">True</property> 117 <property name="visible">True</property>
115 <property name="can_focus">True</property> 118 <property name="can_focus">True</property>
119 <property name="model">timelines_model</property>
120 <property name="search_column">1</property>
121 <property name="level_indentation">9</property>
122 <property name="enable_grid_lines">horizontal</property>
123 <signal name="cursor_changed" handler="on_treeview_timelines_cursor_changed"/>
124 <child>
125 <object class="GtkTreeViewColumn" id="treeviewcolumn2">
126 <property name="title">Action/Timeline Name</property>
127 <child>
128 <object class="GtkCellRendererText" id="cellrenderertext2"/>
129 <attributes>
130 <attribute name="text">0</attribute>
131 </attributes>
132 </child>
133 </object>
134 </child>
116 </object> 135 </object>
117 <packing> 136 <packing>
118 <property name="position">1</property> 137 <property name="position">0</property>
119 </packing> 138 </packing>
120 </child> 139 </child>
121 <child> 140 <child>
122 <object class="GtkHButtonBox" id="hbuttonbox2"> 141 <object class="GtkHButtonBox" id="hbuttonbox2">
123 <property name="visible">True</property> 142 <property name="visible">True</property>
124 <property name="spacing">5</property> 143 <property name="spacing">5</property>
125 <property name="layout_style">start</property> 144 <property name="layout_style">start</property>
126 <child> 145 <child>
127 <object class="GtkButton" id="add_timline"> 146 <object class="GtkButton" id="add_timeline">
128 <property name="label">gtk-add</property> 147 <property name="label">gtk-add</property>
129 <property name="visible">True</property> 148 <property name="visible">True</property>
130 <property name="can_focus">True</property> 149 <property name="can_focus">True</property>
131 <property name="receives_default">True</property> 150 <property name="receives_default">True</property>
132 <property name="use_stock">True</property> 151 <property name="use_stock">True</property>
152 <signal name="clicked" handler="on_add_timeline_clicked"/>
133 </object> 153 </object>
134 <packing> 154 <packing>
135 <property name="expand">False</property> 155 <property name="expand">False</property>
136 <property name="fill">False</property> 156 <property name="fill">False</property>
137 <property name="position">0</property> 157 <property name="position">0</property>
142 <property name="label">gtk-remove</property> 162 <property name="label">gtk-remove</property>
143 <property name="visible">True</property> 163 <property name="visible">True</property>
144 <property name="can_focus">True</property> 164 <property name="can_focus">True</property>
145 <property name="receives_default">True</property> 165 <property name="receives_default">True</property>
146 <property name="use_stock">True</property> 166 <property name="use_stock">True</property>
167 <signal name="clicked" handler="on_remove_timeline_clicked"/>
147 </object> 168 </object>
148 <packing> 169 <packing>
149 <property name="expand">False</property> 170 <property name="expand">False</property>
150 <property name="fill">False</property> 171 <property name="fill">False</property>
151 <property name="position">1</property> 172 <property name="position">1</property>
154 </object> 175 </object>
155 <packing> 176 <packing>
156 <property name="expand">False</property> 177 <property name="expand">False</property>
157 <property name="fill">False</property> 178 <property name="fill">False</property>
158 <property name="padding">2</property> 179 <property name="padding">2</property>
159 <property name="position">2</property> 180 <property name="position">1</property>
160 </packing> 181 </packing>
161 </child> 182 </child>
162 </object> 183 </object>
163 <packing> 184 <packing>
164 <property name="position">2</property> 185 <property name="position">2</property>