1
<?xml version="1.0" encoding="UTF-8"?>
3
* Copyright (C) 2007, 2008, 2009, 2010 Ivan Cukic <ivan.cukic(at)kde.org>
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License version 2,
7
* or (at your option) any later version, as published by the Free
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details
15
* You should have received a copy of the GNU General Public
16
* License along with this program; if not, write to the
17
* Free Software Foundation, Inc.,
18
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21
xmlns:item = "http://nonexistant"
22
xmlns:code = "http://nonexistant"
24
xmlns:Lancelot__FullBorderLayout = "http://nonexistant"
25
xmlns:Lancelot__NodeLayout = "http://nonexistant"
26
xmlns:Lancelot__CardLayout = "http://nonexistant"
29
<!-- These values will be converted to #define statements -->
30
<define name="SYSTEM_HEIGHT" value="28" />
31
<define name="SYSTEM_PADDING" value="8" />
32
<define name="SEARCH_HEIGHT" value="30" />
33
<define name="SECTIONS_WIDTH" value="128" />
36
className="LancelotWindowBase"
37
rootObjectType="QGraphicsWidget"
40
name="layoutMain" type="Lancelot::FlipLayout"
41
realLayout="Lancelot::FullBorderLayout"
42
margin="0" spacing="0"
43
leftSize="SECTIONS_WIDTH"
44
topSize="SEARCH_HEIGHT"
45
bottomSize="SYSTEM_HEIGHT + 2 * SYSTEM_PADDING"
49
name="tabbarSections" type="Lancelot::TabBar"
52
Lancelot__FullBorderLayout:position="Left">
55
name="layoutSearch" type="Lancelot::NodeLayout"
56
margin="0" spacing="0"
58
Lancelot__FullBorderLayout:position="Top"
62
name="layoutCenter" type="Lancelot::CardLayout"
63
margin="0" spacing="0"
65
Lancelot__FullBorderLayout:position="Center"
68
name="passagewayApplications" type="Lancelot::PassagewayView"
70
entranceTitle="Favorite"
71
entranceIcon="favorite"
72
atlasTitle="Applications"
73
atlasIcon="applications-other"
75
Lancelot__CardLayout:cardName="applications"
79
name="panelComputer" type="Lancelot::Panel"
82
icon="computer-laptop"
87
Lancelot__CardLayout:cardName="computer"
89
<item:layout name="layoutPanelComputer" type="Lancelot::NodeLayout">
91
name="listComputerLeft" type="Lancelot::ActionListView"
92
extenderPosition="Lancelot::LeftExtender"
93
group="ActionListView-Left"
94
itemsGroup="ActionListView-Items"
96
Lancelot__NodeLayout:topLeft = "0, 0"
97
Lancelot__NodeLayout:bottomRight = "0.5, 1, -2, 0"
100
name="listComputerRight" type="Lancelot::ActionListView"
101
extenderPosition="Lancelot::RightExtender"
102
group="ActionListView-Right"
103
itemsGroup="ActionListView-Items"
105
Lancelot__NodeLayout:topLeft = "0.5, 0"
106
Lancelot__NodeLayout:bottomRight = "1, 1, 2, 0"
111
name="panelContacts" type="Lancelot::Panel"
119
Lancelot__CardLayout:cardName="contacts"
121
<item:layout name="layoutPanelContacts" type="Lancelot::NodeLayout">
123
name="listContactsLeft" type="Lancelot::ActionListView"
124
extenderPosition="Lancelot::LeftExtender"
125
group="ActionListView-Left"
126
itemsGroup="ActionListView-Items"
128
Lancelot__NodeLayout:topLeft = "0, 0"
129
Lancelot__NodeLayout:bottomRight = "0.5, 1, -2, 0"
132
name="listContactsRight" type="Lancelot::ActionListView"
133
extenderPosition="Lancelot::RightExtender"
134
group="ActionListView-Right"
135
itemsGroup="ActionListView-Items"
137
Lancelot__NodeLayout:topLeft = "0.5, 0"
138
Lancelot__NodeLayout:bottomRight = "1, 1, 2, 0"
143
name="panelDocuments" type="Lancelot::Panel"
146
icon="applications-office"
151
Lancelot__CardLayout:cardName="documents"
153
<item:layout name="layoutPanelDocuments" type="Lancelot::NodeLayout">
155
name="listDocumentsLeft" type="Lancelot::ActionListView"
156
extenderPosition="Lancelot::LeftExtender"
157
group="ActionListView-Left"
158
itemsGroup="ActionListView-Items"
160
Lancelot__NodeLayout:topLeft = "0, 0"
161
Lancelot__NodeLayout:bottomRight = "0.5, 1, -2, 0"
164
name="listDocumentsRight" type="Lancelot::ActionListView"
165
extenderPosition="Lancelot::RightExtender"
166
group="ActionListView-Right"
167
itemsGroup="ActionListView-Items"
169
Lancelot__NodeLayout:topLeft = "0.5, 0"
170
Lancelot__NodeLayout:bottomRight = "1, 1, 2, 0"
175
name="panelSearch" type="Lancelot::Panel"
183
Lancelot__CardLayout:cardName="search"
185
<item:layout name="layoutPanelSearch" type="Lancelot::NodeLayout">
187
name="listSearchLeft" type="Lancelot::ActionListView"
188
extenderPosition="Lancelot::LeftExtender"
189
group="ActionListView-Left"
190
itemsGroup="ActionListView-Items"
192
Lancelot__NodeLayout:topLeft = "0, 0"
193
Lancelot__NodeLayout:bottomRight = "1.0, 1, 0, 0"
199
name="layoutSystem" type="Lancelot::NodeLayout"
200
margin="0" spacing="0"
202
Lancelot__FullBorderLayout:position="Bottom"
205
name="buttonSystem1" type="Lancelot::ExtenderButton"
208
icon="system-lock-screen"
209
group="SystemButtons"
210
activationMethod="Lancelot::ExtenderActivate"
211
extenderPosition="Lancelot::BottomExtender"
214
Lancelot__NodeLayout:topLeft = "0, 0, 0, SYSTEM_PADDING / 2"
215
Lancelot__NodeLayout:bottomRight = "1.0 / 3.0, 1, - SYSTEM_HEIGHT * (1.0 / 3.0), - SYSTEM_PADDING"
218
name="buttonSystem2" type="Lancelot::ExtenderButton"
221
icon="system-log-out"
222
group="SystemButtons"
223
activationMethod="Lancelot::ExtenderActivate"
224
extenderPosition="Lancelot::BottomExtender"
227
Lancelot__NodeLayout:topLeft = "1.0 / 3.0, 0, - SYSTEM_HEIGHT * (1.0 / 3.0), SYSTEM_PADDING / 2"
228
Lancelot__NodeLayout:bottomRight = "2.0 / 3.0, 1, - SYSTEM_HEIGHT * (2.0 / 3.0), - SYSTEM_PADDING"
231
name="buttonSystem3" type="Lancelot::ExtenderButton"
234
icon="system-switch-user"
235
group="SystemButtons"
236
activationMethod="Lancelot::ExtenderActivate"
237
extenderPosition="Lancelot::BottomExtender"
240
Lancelot__NodeLayout:topLeft = "2.0 / 3.0, 0, - SYSTEM_HEIGHT * (2.0 / 3.0), SYSTEM_PADDING / 2"
241
Lancelot__NodeLayout:bottomRight = "1, 1, - SYSTEM_HEIGHT, - SYSTEM_PADDING"
244
name="buttonLancelotContext" type="Lancelot::ExtenderButton"
247
group="LancelotContext"
248
activationMethod="Lancelot::ExtenderActivate"
249
extenderPosition="Lancelot::BottomExtender"
252
Lancelot__NodeLayout:topLeft = "1, 0, 2 - SYSTEM_HEIGHT - SYSTEM_PADDING, SYSTEM_PADDING / 2"
253
Lancelot__NodeLayout:bottomRight = "1, 1, 0, - SYSTEM_PADDING"