File: FontWidget.ui

package info (click to toggle)
calligra 1%3A2.4.4-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 290,028 kB
  • sloc: cpp: 1,105,019; xml: 24,940; ansic: 11,807; python: 8,457; perl: 2,792; sh: 1,507; yacc: 1,307; ruby: 1,248; sql: 903; lex: 455; makefile: 89
file content (240 lines) | stat: -rw-r--r-- 8,578 bytes parent folder | download
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
<ui version="4.0" >
 <author>The KSpread Team &lt;calligra-devel@kde.org></author>
 <comment>This file is part of the KDE project
Copyright (C) 2006 The KSpread Team &lt;calligra-devel@kde.org>

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Library General Public License for more details.

You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB.  If not,
write to the Free Software Foundation, Inc., 51 Franklin Street,
Fifth Floor, Boston, MA 02110-1301, USA.</comment>
 <class>FontWidget</class>
 <widget class="QWidget" name="FontWidget" >
  <property name="geometry" >
   <rect>
    <x>0</x>
    <y>0</y>
    <width>600</width>
    <height>486</height>
   </rect>
  </property>
  <property name="whatsThis" >
   <string>You can select here the font style, size and color, including some additional options like underlined or stroke out text for the current cell text. The lower part of the page gives a preview of the selected text format.
The default font is set for all cells in the Format -> Style Manager menu with the currently used style.</string>
  </property>
  <layout class="QGridLayout" >
   <item row="0" column="1" >
    <layout class="QGridLayout" >
     <item row="0" column="1" >
      <widget class="KComboBox" name="style_combo" >
       <property name="whatsThis" >
        <string>Choose the style for your font for the currently selected cells. When you select several cells with different styles, the displayed style is set to Varying (No Change) and leaving it that way will keep all your current style settings for each cell. Changing to Roman for example will change all the selected cells style text to Roman.</string>
       </property>
       <property name="insertPolicy" >
        <enum>QComboBox::InsertAtBottom</enum>
       </property>
       <item>
        <property name="text" >
         <string>Varying (No Change)</string>
        </property>
       </item>
       <item>
        <property name="text" >
         <string>Roman</string>
        </property>
       </item>
       <item>
        <property name="text" >
         <string>Italic</string>
        </property>
       </item>
      </widget>
     </item>
     <item row="2" column="1" >
      <widget class="KComboBox" name="weight_combo" >
       <property name="whatsThis" >
        <string>Choose the weight for your font for the currently selected cells. When you select several cells with different font weight, the displayed weight is set to Varying (No Change) and leaving it that way will keep all your current weight settings for each cell. Changing to Bold for example will change all the selected cells font weight to Bold.</string>
       </property>
       <property name="insertPolicy" >
        <enum>QComboBox::InsertAtBottom</enum>
       </property>
       <item>
        <property name="text" >
         <string>Varying (No Change)</string>
        </property>
       </item>
       <item>
        <property name="text" >
         <string>Normal</string>
        </property>
       </item>
       <item>
        <property name="text" >
         <string>Bold</string>
        </property>
       </item>
      </widget>
     </item>
     <item row="3" column="0" >
      <widget class="QLabel" name="textLabel4" >
       <property name="text" >
        <string>Color:</string>
       </property>
      </widget>
     </item>
     <item row="4" column="0" colspan="2" >
      <widget class="QCheckBox" name="underline" >
       <property name="whatsThis" >
        <string>If this is checked, the current cell text will be underlined.</string>
       </property>
       <property name="text" >
        <string>Underline</string>
       </property>
      </widget>
     </item>
     <item row="1" column="0" >
      <widget class="QLabel" name="textLabel2" >
       <property name="text" >
        <string>Size:</string>
       </property>
      </widget>
     </item>
     <item row="2" column="0" >
      <widget class="QLabel" name="textLabel3" >
       <property name="text" >
        <string>Weight:</string>
       </property>
      </widget>
     </item>
     <item row="0" column="0" >
      <widget class="QLabel" name="textLabel1" >
       <property name="text" >
        <string>Style:</string>
       </property>
      </widget>
     </item>
     <item row="3" column="1" >
      <widget class="KColorButton" name="textColorButton" >
       <property name="whatsThis" >
        <string>Choose the color for the current cell text. Clicking on the color bar will bring you the standard KDE Select Color dialog where you will be able to choose the new color.</string>
       </property>
       <property name="text" >
        <string/>
       </property>
      </widget>
     </item>
     <item row="5" column="0" colspan="2" >
      <widget class="QCheckBox" name="strike" >
       <property name="whatsThis" >
        <string>This will strike out the current cell text if this is checked.</string>
       </property>
       <property name="text" >
        <string>Strike out</string>
       </property>
      </widget>
     </item>
     <item row="1" column="1" >
      <widget class="KComboBox" name="size_combo" >
       <property name="whatsThis" >
        <string>Choose the style for your font for the currently selected cells. When you select several cells with different styles, the displayed style is set to Varying (No Change) and leaving it that way will keep all your current style settings for each cell. Changing to Roman for example will change all the selected cells style text to Roman.</string>
       </property>
       <property name="editable" >
        <bool>true</bool>
       </property>
      </widget>
     </item>
    </layout>
   </item>
   <item row="1" column="1" >
    <spacer>
     <property name="orientation" >
      <enum>Qt::Vertical</enum>
     </property>
     <property name="sizeType" >
      <enum>QSizePolicy::Expanding</enum>
     </property>
     <property name="sizeHint" >
      <size>
       <width>20</width>
       <height>41</height>
      </size>
     </property>
    </spacer>
   </item>
   <item rowspan="2" row="0" column="0" >
    <widget class="QListWidget" name="family_combo" >
     <property name="whatsThis" >
      <string>This box lists all your available font families. Click on one family to set it in the current cell.</string>
     </property>
    </widget>
   </item>
   <item row="2" column="0" colspan="2" >
    <widget class="QGroupBox" name="groupBox1" >
     <property name="title" >
      <string>Preview</string>
     </property>
     <layout class="QHBoxLayout" >
      <item>
       <widget class="KLineEdit" name="example_label" >
        <property name="sizePolicy" >
         <sizepolicy vsizetype="MinimumExpanding" hsizetype="Expanding" >
          <horstretch>0</horstretch>
          <verstretch>0</verstretch>
         </sizepolicy>
        </property>
        <property name="whatsThis" >
         <string>You can see a preview of the font you are choosing for the current cell.</string>
        </property>
        <property name="alignment" >
         <set>Qt::AlignHCenter</set>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
  </layout>
 </widget>
 <layoutfunction spacing="KDialog::spacingHint" margin="KDialog::marginHint" />
  <customwidgets>
  <customwidget>
   <class>KColorButton</class>
   <extends>QPushButton</extends>
   <header>kcolorbutton.h</header>
  </customwidget>
  <customwidget>
   <class>KComboBox</class>
   <extends>QComboBox</extends>
   <header>kcombobox.h</header>
  </customwidget>
  <customwidget>
   <class>KLineEdit</class>
   <extends>QLineEdit</extends>
   <header>klineedit.h</header>
  </customwidget>
 </customwidgets>
 <tabstops>
  <tabstop>family_combo</tabstop>
  <tabstop>style_combo</tabstop>
  <tabstop>size_combo</tabstop>
  <tabstop>weight_combo</tabstop>
  <tabstop>textColorButton</tabstop>
  <tabstop>underline</tabstop>
  <tabstop>strike</tabstop>
  <tabstop>example_label</tabstop>
 </tabstops>
 <includes>
  <include location="global" >kdialog.h</include>
 </includes>
 <resources/>
 <connections/>
</ui>