blob: 6fca2fc85c488769b86515af7bebafe837ea53e1 (
plain)
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
|
The goal of this howto is to explain how to create a filter for krita
2) using Qt/Designer for the ConfigurationWidget
Just copy the following in a file named (for instance) myfiltercw.ui :
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>Form1</class>
<widget class="KisFilterConfigurationWidget">
<property name="name">
<cstring>kisFilterConfigurationWidget1</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>359</width>
<height>251</height>
</rect>
</property>
<property name="caption">
<string>kisFilterConfigurationWidget1</string>
</property>
</widget>
<layoutdefaults spacing="6" margin="11"/>
</UI>
And then open Qt/Designer
NOTE: it would be nicer if I knew how to copy (using autoconf/automake) this file in $(QTDIR)/tools/designer/templates
|