summaryrefslogtreecommitdiffstats
path: root/chalk/doc/howtofilters.txt
blob: e586ae198b6c3dbbf5cf313b4b547ee11e390049 (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 chalk


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 $(TQTDIR)/tools/designer/templates