~ubuntu-branches/ubuntu/oneiric/kdeplasma-addons/oneiric

« back to all changes in this revision

Viewing changes to applets/lancelot/application/ui/LancelotWindowBase.xml

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Thomas
  • Date: 2010-05-25 09:50:14 UTC
  • mfrom: (1.1.28 upstream)
  • Revision ID: james.westby@ubuntu.com-20100525095014-6mlrm9z9bkws0zkt
Tags: 4:4.4.80-0ubuntu1
* New upstream beta release:
  - Bump kde-sc-dev-latest build-dep version to 4.4.80
  - Refresh kubuntu_04_kimpanel_disable_scim.diff
  - Update various .install files
  - Drop liblancelot0a and liblancelot-dev packages; Upstream has broken ABI
    without an .so version bump, and after discussion with Debian it was
    decided it was not worth it to ship an unstable library.
  - Add liblancelot files to plasma-widget-lancelot, adding appropriate
    Replaces: entries
* Switch to source format 3.0 (quilt):
  - Bump debhelper build-depend version to 7.3.16 or greater

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<!--
 
3
 *   Copyright (C) 2007, 2008, 2009, 2010 Ivan Cukic <ivan.cukic(at)kde.org>
 
4
 *
 
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
 
8
 *   Software Foundation
 
9
 *
 
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
 
14
 *
 
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.
 
19
-->
 
20
<pui
 
21
    xmlns:item = "http://nonexistant"
 
22
    xmlns:code = "http://nonexistant"
 
23
 
 
24
    xmlns:Lancelot__FullBorderLayout = "http://nonexistant"
 
25
    xmlns:Lancelot__NodeLayout       = "http://nonexistant"
 
26
    xmlns:Lancelot__CardLayout       = "http://nonexistant"
 
27
>
 
28
    <defines>
 
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" />
 
34
    </defines>
 
35
    <ui
 
36
        className="LancelotWindowBase"
 
37
        rootObjectType="QGraphicsWidget"
 
38
    >
 
39
        <item:layout
 
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"
 
46
            rightSize="0"
 
47
        >
 
48
            <item:widget
 
49
                name="tabbarSections" type="Lancelot::TabBar"
 
50
                tabIconSize="48, 48"
 
51
 
 
52
                Lancelot__FullBorderLayout:position="Left">
 
53
            </item:widget>
 
54
            <item:layout
 
55
                name="layoutSearch" type="Lancelot::NodeLayout"
 
56
                margin="0" spacing="0"
 
57
 
 
58
                Lancelot__FullBorderLayout:position="Top"
 
59
            >
 
60
            </item:layout>
 
61
            <item:layout
 
62
                name="layoutCenter" type="Lancelot::CardLayout"
 
63
                margin="0" spacing="0"
 
64
 
 
65
                Lancelot__FullBorderLayout:position="Center"
 
66
            >
 
67
                <item:widget
 
68
                    name="passagewayApplications" type="Lancelot::PassagewayView"
 
69
 
 
70
                    entranceTitle="Favorite"
 
71
                    entranceIcon="favorite"
 
72
                    atlasTitle="Applications"
 
73
                    atlasIcon="applications-other"
 
74
 
 
75
                    Lancelot__CardLayout:cardName="applications"
 
76
                >
 
77
                </item:widget>
 
78
                <item:widget
 
79
                    name="panelComputer" type="Lancelot::Panel"
 
80
 
 
81
                    title="Computer"
 
82
                    icon="computer-laptop"
 
83
                    iconSize="22, 22"
 
84
                    group="InnerPanel"
 
85
                    showingTitle="false"
 
86
 
 
87
                    Lancelot__CardLayout:cardName="computer"
 
88
                >
 
89
                    <item:layout name="layoutPanelComputer" type="Lancelot::NodeLayout">
 
90
                        <item:widget
 
91
                            name="listComputerLeft" type="Lancelot::ActionListView"
 
92
                            extenderPosition="Lancelot::LeftExtender"
 
93
                            group="ActionListView-Left"
 
94
                            itemsGroup="ActionListView-Items"
 
95
 
 
96
                            Lancelot__NodeLayout:topLeft     = "0, 0"
 
97
                            Lancelot__NodeLayout:bottomRight = "0.5, 1, -2, 0"
 
98
                        />
 
99
                        <item:widget
 
100
                            name="listComputerRight" type="Lancelot::ActionListView"
 
101
                            extenderPosition="Lancelot::RightExtender"
 
102
                            group="ActionListView-Right"
 
103
                            itemsGroup="ActionListView-Items"
 
104
 
 
105
                            Lancelot__NodeLayout:topLeft     = "0.5, 0"
 
106
                            Lancelot__NodeLayout:bottomRight = "1, 1, 2, 0"
 
107
                        />
 
108
                    </item:layout>
 
109
                </item:widget>
 
110
                <item:widget
 
111
                    name="panelContacts" type="Lancelot::Panel"
 
112
 
 
113
                    title="Contacts"
 
114
                    icon="kontact"
 
115
                    iconSize="22, 22"
 
116
                    group="InnerPanel"
 
117
                    showingTitle="false"
 
118
 
 
119
                    Lancelot__CardLayout:cardName="contacts"
 
120
                >
 
121
                    <item:layout name="layoutPanelContacts" type="Lancelot::NodeLayout">
 
122
                        <item:widget
 
123
                            name="listContactsLeft" type="Lancelot::ActionListView"
 
124
                            extenderPosition="Lancelot::LeftExtender"
 
125
                            group="ActionListView-Left"
 
126
                            itemsGroup="ActionListView-Items"
 
127
 
 
128
                            Lancelot__NodeLayout:topLeft     = "0, 0"
 
129
                            Lancelot__NodeLayout:bottomRight = "0.5, 1, -2, 0"
 
130
                        />
 
131
                        <item:widget
 
132
                            name="listContactsRight" type="Lancelot::ActionListView"
 
133
                            extenderPosition="Lancelot::RightExtender"
 
134
                            group="ActionListView-Right"
 
135
                            itemsGroup="ActionListView-Items"
 
136
 
 
137
                            Lancelot__NodeLayout:topLeft     = "0.5, 0"
 
138
                            Lancelot__NodeLayout:bottomRight = "1, 1, 2, 0"
 
139
                        />
 
140
                    </item:layout>
 
141
                </item:widget>
 
142
                <item:widget
 
143
                    name="panelDocuments" type="Lancelot::Panel"
 
144
 
 
145
                    title="Documents"
 
146
                    icon="applications-office"
 
147
                    iconSize="22, 22"
 
148
                    group="InnerPanel"
 
149
                    showingTitle="false"
 
150
 
 
151
                    Lancelot__CardLayout:cardName="documents"
 
152
                >
 
153
                    <item:layout name="layoutPanelDocuments" type="Lancelot::NodeLayout">
 
154
                        <item:widget
 
155
                            name="listDocumentsLeft" type="Lancelot::ActionListView"
 
156
                            extenderPosition="Lancelot::LeftExtender"
 
157
                            group="ActionListView-Left"
 
158
                            itemsGroup="ActionListView-Items"
 
159
 
 
160
                            Lancelot__NodeLayout:topLeft     = "0, 0"
 
161
                            Lancelot__NodeLayout:bottomRight = "0.5, 1, -2, 0"
 
162
                        />
 
163
                        <item:widget
 
164
                            name="listDocumentsRight" type="Lancelot::ActionListView"
 
165
                            extenderPosition="Lancelot::RightExtender"
 
166
                            group="ActionListView-Right"
 
167
                            itemsGroup="ActionListView-Items"
 
168
 
 
169
                            Lancelot__NodeLayout:topLeft     = "0.5, 0"
 
170
                            Lancelot__NodeLayout:bottomRight = "1, 1, 2, 0"
 
171
                        />
 
172
                    </item:layout>
 
173
                </item:widget>
 
174
                <item:widget
 
175
                    name="panelSearch" type="Lancelot::Panel"
 
176
 
 
177
                    title="Search"
 
178
                    icon="edit-find"
 
179
                    iconSize="22, 22"
 
180
                    group="InnerPanel"
 
181
                    showingTitle="false"
 
182
 
 
183
                    Lancelot__CardLayout:cardName="search"
 
184
                >
 
185
                    <item:layout name="layoutPanelSearch" type="Lancelot::NodeLayout">
 
186
                        <item:widget
 
187
                            name="listSearchLeft" type="Lancelot::ActionListView"
 
188
                            extenderPosition="Lancelot::LeftExtender"
 
189
                            group="ActionListView-Left"
 
190
                            itemsGroup="ActionListView-Items"
 
191
 
 
192
                            Lancelot__NodeLayout:topLeft     = "0, 0"
 
193
                            Lancelot__NodeLayout:bottomRight = "1.0, 1, 0, 0"
 
194
                        />
 
195
                    </item:layout>
 
196
                </item:widget>
 
197
            </item:layout>
 
198
            <item:layout
 
199
                name="layoutSystem" type="Lancelot::NodeLayout"
 
200
                margin="0" spacing="0"
 
201
 
 
202
                Lancelot__FullBorderLayout:position="Bottom"
 
203
            >
 
204
                <item:widget
 
205
                    name="buttonSystem1" type="Lancelot::ExtenderButton"
 
206
 
 
207
                    title="Lock Session"
 
208
                    icon="system-lock-screen"
 
209
                    group="SystemButtons"
 
210
                    activationMethod="Lancelot::ExtenderActivate"
 
211
                    extenderPosition="Lancelot::BottomExtender"
 
212
                    iconSize="24, 24"
 
213
 
 
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"
 
216
                />
 
217
                <item:widget
 
218
                    name="buttonSystem2" type="Lancelot::ExtenderButton"
 
219
 
 
220
                    title="Log Out"
 
221
                    icon="system-log-out"
 
222
                    group="SystemButtons"
 
223
                    activationMethod="Lancelot::ExtenderActivate"
 
224
                    extenderPosition="Lancelot::BottomExtender"
 
225
                    iconSize="24, 24"
 
226
 
 
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"
 
229
                />
 
230
                <item:widget
 
231
                    name="buttonSystem3" type="Lancelot::ExtenderButton"
 
232
 
 
233
                    title="Switch User"
 
234
                    icon="system-switch-user"
 
235
                    group="SystemButtons"
 
236
                    activationMethod="Lancelot::ExtenderActivate"
 
237
                    extenderPosition="Lancelot::BottomExtender"
 
238
                    iconSize="24, 24"
 
239
 
 
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"
 
242
                />
 
243
                <item:widget
 
244
                    name="buttonLancelotContext" type="Lancelot::ExtenderButton"
 
245
 
 
246
                    icon="lancelot"
 
247
                    group="LancelotContext"
 
248
                    activationMethod="Lancelot::ExtenderActivate"
 
249
                    extenderPosition="Lancelot::BottomExtender"
 
250
                    iconSize="24, 24"
 
251
 
 
252
                    Lancelot__NodeLayout:topLeft     = "1, 0, 2 - SYSTEM_HEIGHT - SYSTEM_PADDING, SYSTEM_PADDING / 2"
 
253
                    Lancelot__NodeLayout:bottomRight = "1, 1, 0, - SYSTEM_PADDING"
 
254
                />
 
255
            </item:layout>
 
256
        </item:layout>
 
257
    </ui>
 
258
</pui>