1
<?xml version="1.0" encoding="UTF-8"?>
3
<class>TestInkEdit</class>
4
<widget class="QWidget" name="TestInkEdit">
5
<property name="geometry">
13
<property name="windowTitle">
14
<string>Ink Editor</string>
16
<layout class="QVBoxLayout" name="verticalLayout">
18
<widget class="QLabel" name="label">
19
<property name="sizePolicy">
20
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
21
<horstretch>0</horstretch>
22
<verstretch>0</verstretch>
25
<property name="text">
26
<string>Draw Something!</string>
31
<layout class="QHBoxLayout" name="horizontalLayout_2">
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>
43
<layout class="QVBoxLayout" name="verticalLayout_2">
45
<widget class="QPushButton" name="cmdStrokeColor_">
46
<property name="minimumSize">
52
<property name="text">
53
<string>Stroke Colour</string>
58
<widget class="QPushButton" name="cmdCanvasColor_">
59
<property name="sizePolicy">
60
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
61
<horstretch>0</horstretch>
62
<verstretch>0</verstretch>
65
<property name="minimumSize">
71
<property name="text">
72
<string>Canvas Colour</string>
77
<widget class="QLabel" name="label_2">
78
<property name="text">
79
<string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
80
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
81
p, li { white-space: pre-wrap; }
82
</style></head><body style=" font-family:'DejaVu Sans'; font-size:9pt; font-weight:400; font-style:normal;">
83
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Stroke Width </p>
84
<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">(Pixels)</p></body></html></string>
89
<widget class="QSpinBox" name="spinWidth_">
90
<property name="sizePolicy">
91
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
92
<horstretch>0</horstretch>
93
<verstretch>0</verstretch>
96
<property name="suffix">
97
<string> pixels</string>
99
<property name="prefix">
102
<property name="minimum">
105
<property name="maximum">
108
<property name="singleStep">
111
<property name="value">
117
<widget class="QGroupBox" name="penType_">
118
<property name="sizePolicy">
119
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
120
<horstretch>0</horstretch>
121
<verstretch>0</verstretch>
124
<property name="title">
125
<string>Pen Type</string>
127
<layout class="QVBoxLayout" name="verticalLayout_3">
129
<widget class="QRadioButton" name="rbDrawing_">
130
<property name="text">
131
<string>Drawing</string>
136
<widget class="QRadioButton" name="rbEraser_">
137
<property name="text">
138
<string>Eraser</string>
146
<spacer name="verticalSpacer">
147
<property name="orientation">
148
<enum>Qt::Vertical</enum>
150
<property name="sizeHint" stdset="0">
163
<layout class="QHBoxLayout" name="horizontalLayout">
165
<spacer name="horizontalSpacer">
166
<property name="orientation">
167
<enum>Qt::Horizontal</enum>
169
<property name="sizeType">
170
<enum>QSizePolicy::MinimumExpanding</enum>
172
<property name="sizeHint" stdset="0">
181
<widget class="QPushButton" name="cmdSave_">
182
<property name="text">
183
<string>Save Ink</string>
188
<widget class="QPushButton" name="cmdLoad_">
189
<property name="text">
190
<string>Load Ink</string>
195
<widget class="QPushButton" name="cmdClear_">
196
<property name="text">
197
<string>Clear Ink</string>
207
<class>Isf::InkCanvas</class>
208
<extends>QWidget</extends>
209
<header location="global">IsfInkCanvas</header>
210
<container>1</container>