~ubuntu-branches/ubuntu/lucid/kmess/lucid

« back to all changes in this revision

Viewing changes to contrib/isf-qt/tests/inkedit/testinkedit.ui

  • Committer: Bazaar Package Importer
  • Author(s): Mark Purcell
  • Date: 2009-12-05 21:19:26 UTC
  • mfrom: (1.1.7 upstream) (0.1.8 sid)
  • Revision ID: james.westby@ubuntu.com-20091205211926-r26u8j38kysf6o2p
Tags: 2.0.2-1
* New upstream release 
  - Fixes friendly names (LP: #485640)
* Update Homepage: http://kmess.org
* Add Build-Depends: libphonon-dev | libqt4-phonon-dev (ubuntu friendly)
* kmess.1 fix lintian:hyphen-used-as-minus-sign

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<ui version="4.0">
 
3
 <class>TestInkEdit</class>
 
4
 <widget class="QWidget" name="TestInkEdit">
 
5
  <property name="geometry">
 
6
   <rect>
 
7
    <x>0</x>
 
8
    <y>0</y>
 
9
    <width>495</width>
 
10
    <height>459</height>
 
11
   </rect>
 
12
  </property>
 
13
  <property name="windowTitle">
 
14
   <string>Ink Editor</string>
 
15
  </property>
 
16
  <layout class="QVBoxLayout" name="verticalLayout">
 
17
   <item>
 
18
    <widget class="QLabel" name="label">
 
19
     <property name="sizePolicy">
 
20
      <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
 
21
       <horstretch>0</horstretch>
 
22
       <verstretch>0</verstretch>
 
23
      </sizepolicy>
 
24
     </property>
 
25
     <property name="text">
 
26
      <string>Draw Something!</string>
 
27
     </property>
 
28
    </widget>
 
29
   </item>
 
30
   <item>
 
31
    <layout class="QHBoxLayout" name="horizontalLayout_2">
 
32
     <item>
 
33
      <widget class="Isf::InkCanvas" name="editor_" native="true">
 
34
       <property name="sizePolicy">
 
35
        <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
 
36
         <horstretch>0</horstretch>
 
37
         <verstretch>0</verstretch>
 
38
        </sizepolicy>
 
39
       </property>
 
40
      </widget>
 
41
     </item>
 
42
     <item>
 
43
      <layout class="QVBoxLayout" name="verticalLayout_2">
 
44
       <item>
 
45
        <widget class="QPushButton" name="cmdStrokeColor_">
 
46
         <property name="minimumSize">
 
47
          <size>
 
48
           <width>0</width>
 
49
           <height>40</height>
 
50
          </size>
 
51
         </property>
 
52
         <property name="text">
 
53
          <string>Stroke Colour</string>
 
54
         </property>
 
55
        </widget>
 
56
       </item>
 
57
       <item>
 
58
        <widget class="QPushButton" name="cmdCanvasColor_">
 
59
         <property name="sizePolicy">
 
60
          <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
 
61
           <horstretch>0</horstretch>
 
62
           <verstretch>0</verstretch>
 
63
          </sizepolicy>
 
64
         </property>
 
65
         <property name="minimumSize">
 
66
          <size>
 
67
           <width>0</width>
 
68
           <height>40</height>
 
69
          </size>
 
70
         </property>
 
71
         <property name="text">
 
72
          <string>Canvas Colour</string>
 
73
         </property>
 
74
        </widget>
 
75
       </item>
 
76
       <item>
 
77
        <widget class="QLabel" name="label_2">
 
78
         <property name="text">
 
79
          <string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
 
80
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
 
81
p, li { white-space: pre-wrap; }
 
82
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'DejaVu Sans'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
 
83
&lt;p align=&quot;center&quot; style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Stroke Width &lt;/p&gt;
 
84
&lt;p align=&quot;center&quot; style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;(Pixels)&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
 
85
         </property>
 
86
        </widget>
 
87
       </item>
 
88
       <item>
 
89
        <widget class="QSpinBox" name="spinWidth_">
 
90
         <property name="sizePolicy">
 
91
          <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
 
92
           <horstretch>0</horstretch>
 
93
           <verstretch>0</verstretch>
 
94
          </sizepolicy>
 
95
         </property>
 
96
         <property name="suffix">
 
97
          <string> pixels</string>
 
98
         </property>
 
99
         <property name="prefix">
 
100
          <string/>
 
101
         </property>
 
102
         <property name="minimum">
 
103
          <number>1</number>
 
104
         </property>
 
105
         <property name="maximum">
 
106
          <number>20</number>
 
107
         </property>
 
108
         <property name="singleStep">
 
109
          <number>1</number>
 
110
         </property>
 
111
         <property name="value">
 
112
          <number>4</number>
 
113
         </property>
 
114
        </widget>
 
115
       </item>
 
116
       <item>
 
117
        <widget class="QGroupBox" name="penType_">
 
118
         <property name="sizePolicy">
 
119
          <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
 
120
           <horstretch>0</horstretch>
 
121
           <verstretch>0</verstretch>
 
122
          </sizepolicy>
 
123
         </property>
 
124
         <property name="title">
 
125
          <string>Pen Type</string>
 
126
         </property>
 
127
         <layout class="QVBoxLayout" name="verticalLayout_3">
 
128
          <item>
 
129
           <widget class="QRadioButton" name="rbDrawing_">
 
130
            <property name="text">
 
131
             <string>Drawing</string>
 
132
            </property>
 
133
           </widget>
 
134
          </item>
 
135
          <item>
 
136
           <widget class="QRadioButton" name="rbEraser_">
 
137
            <property name="text">
 
138
             <string>Eraser</string>
 
139
            </property>
 
140
           </widget>
 
141
          </item>
 
142
         </layout>
 
143
        </widget>
 
144
       </item>
 
145
       <item>
 
146
        <spacer name="verticalSpacer">
 
147
         <property name="orientation">
 
148
          <enum>Qt::Vertical</enum>
 
149
         </property>
 
150
         <property name="sizeHint" stdset="0">
 
151
          <size>
 
152
           <width>20</width>
 
153
           <height>40</height>
 
154
          </size>
 
155
         </property>
 
156
        </spacer>
 
157
       </item>
 
158
      </layout>
 
159
     </item>
 
160
    </layout>
 
161
   </item>
 
162
   <item>
 
163
    <layout class="QHBoxLayout" name="horizontalLayout">
 
164
     <item>
 
165
      <spacer name="horizontalSpacer">
 
166
       <property name="orientation">
 
167
        <enum>Qt::Horizontal</enum>
 
168
       </property>
 
169
       <property name="sizeType">
 
170
        <enum>QSizePolicy::MinimumExpanding</enum>
 
171
       </property>
 
172
       <property name="sizeHint" stdset="0">
 
173
        <size>
 
174
         <width>40</width>
 
175
         <height>20</height>
 
176
        </size>
 
177
       </property>
 
178
      </spacer>
 
179
     </item>
 
180
     <item>
 
181
      <widget class="QPushButton" name="cmdSave_">
 
182
       <property name="text">
 
183
        <string>Save Ink</string>
 
184
       </property>
 
185
      </widget>
 
186
     </item>
 
187
     <item>
 
188
      <widget class="QPushButton" name="cmdLoad_">
 
189
       <property name="text">
 
190
        <string>Load Ink</string>
 
191
       </property>
 
192
      </widget>
 
193
     </item>
 
194
     <item>
 
195
      <widget class="QPushButton" name="cmdClear_">
 
196
       <property name="text">
 
197
        <string>Clear Ink</string>
 
198
       </property>
 
199
      </widget>
 
200
     </item>
 
201
    </layout>
 
202
   </item>
 
203
  </layout>
 
204
 </widget>
 
205
 <customwidgets>
 
206
  <customwidget>
 
207
   <class>Isf::InkCanvas</class>
 
208
   <extends>QWidget</extends>
 
209
   <header location="global">IsfInkCanvas</header>
 
210
   <container>1</container>
 
211
  </customwidget>
 
212
 </customwidgets>
 
213
 <resources/>
 
214
 <connections/>
 
215
</ui>