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

NOTE: it would be nicer if I knew how to copy (using autoconf/automake) this file in $(TQTDIR)/tools/designer/templates