kis_wdg_options_png.ui 8.16 KB
Newer Older
1 2
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
Halla Rempt's avatar
Halla Rempt committed
3
 <class>KisWdgOptionsPNG</class>
4 5
 <widget class="QWidget" name="KisWdgOptionsPNG">
  <property name="geometry">
Halla Rempt's avatar
Halla Rempt committed
6 7 8
   <rect>
    <x>0</x>
    <y>0</y>
9 10
    <width>432</width>
    <height>189</height>
Halla Rempt's avatar
Halla Rempt committed
11 12
   </rect>
  </property>
13
  <property name="windowTitle">
14
   <string>PNG Options</string>
Halla Rempt's avatar
Halla Rempt committed
15
  </property>
16 17
  <layout class="QGridLayout" name="gridLayout">
   <item row="0" column="0">
18 19
    <layout class="QGridLayout">
     <property name="margin">
Halla Rempt's avatar
Halla Rempt committed
20 21
      <number>0</number>
     </property>
22
     <property name="spacing">
Halla Rempt's avatar
Halla Rempt committed
23 24
      <number>0</number>
     </property>
25 26 27
     <item row="1" column="1" colspan="2">
      <widget class="QSlider" name="compressionLevel">
       <property name="toolTip">
Halla Rempt's avatar
Halla Rempt committed
28 29
        <string>Note: the compression level does not change the quality of the result</string>
       </property>
30 31 32
       <property name="whatsThis">
        <string>&lt;p&gt;Adjust the compression time. Better compression takes longer.
&lt;br&gt;Note: the compression level does not change the quality of the result.&lt;/p&gt;</string>
Halla Rempt's avatar
Halla Rempt committed
33
       </property>
34
       <property name="minimum">
Halla Rempt's avatar
Halla Rempt committed
35 36
        <number>1</number>
       </property>
37
       <property name="maximum">
Halla Rempt's avatar
Halla Rempt committed
38 39
        <number>9</number>
       </property>
40
       <property name="pageStep">
Halla Rempt's avatar
Halla Rempt committed
41 42
        <number>1</number>
       </property>
43
       <property name="value">
Halla Rempt's avatar
Halla Rempt committed
44 45
        <number>9</number>
       </property>
46
       <property name="orientation">
Halla Rempt's avatar
Halla Rempt committed
47 48 49 50
        <enum>Qt::Horizontal</enum>
       </property>
      </widget>
     </item>
51 52 53
     <item row="1" column="0" rowspan="2">
      <widget class="QLabel" name="textLabel1">
       <property name="toolTip">
Halla Rempt's avatar
Halla Rempt committed
54 55
        <string>Note: the compression level does not change the quality of the result</string>
       </property>
56 57 58
       <property name="whatsThis">
        <string>&lt;p&gt;Adjust the compression time. Better compression takes longer.
&lt;br&gt;Note: the compression level does not change the quality of the result.&lt;/p&gt;</string>
Halla Rempt's avatar
Halla Rempt committed
59
       </property>
60
       <property name="text">
Halla Rempt's avatar
Halla Rempt committed
61 62
        <string>Compress:</string>
       </property>
63
       <property name="alignment">
Halla Rempt's avatar
Halla Rempt committed
64 65 66 67
        <set>Qt::AlignTop</set>
       </property>
      </widget>
     </item>
68 69 70 71 72
     <item row="0" column="2">
      <widget class="QLabel" name="textLabel4_2">
       <property name="whatsThis">
        <string>&lt;p&gt;Adjust the compression time. Better compression takes longer.
&lt;br&gt;Note: the compression level does not change the quality of the result.&lt;/p&gt;</string>
Halla Rempt's avatar
Halla Rempt committed
73
       </property>
74 75
       <property name="text">
        <string comment="The compression will take a long time; saving the file will be slow.">Slow</string>
Halla Rempt's avatar
Halla Rempt committed
76
       </property>
77
       <property name="alignment">
Halla Rempt's avatar
Halla Rempt committed
78 79 80 81
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       </property>
      </widget>
     </item>
82 83 84 85 86
     <item row="0" column="1">
      <widget class="QLabel" name="textLabel3">
       <property name="whatsThis">
        <string>&lt;p&gt;Adjust the compression time. Better compression takes longer.
&lt;br&gt;Note: the compression level does not change the quality of the result.&lt;/p&gt;</string>
Halla Rempt's avatar
Halla Rempt committed
87
       </property>
88
       <property name="text">
Halla Rempt's avatar
Halla Rempt committed
89 90 91 92
        <string comment="The file will save fast but will not be compressed a lot">Fast</string>
       </property>
      </widget>
     </item>
93 94 95 96 97
     <item row="2" column="2">
      <widget class="QLabel" name="textLabel4">
       <property name="whatsThis">
        <string>&lt;p&gt;Adjust the compression time. Better compression takes longer.
&lt;br&gt;Note: the compression level does not change the quality of the result.&lt;/p&gt;</string>
Halla Rempt's avatar
Halla Rempt committed
98
       </property>
99 100
       <property name="text">
        <string comment="the file will be small">Small</string>
Halla Rempt's avatar
Halla Rempt committed
101
       </property>
102
       <property name="alignment">
Halla Rempt's avatar
Halla Rempt committed
103 104 105 106
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
       </property>
      </widget>
     </item>
107 108 109 110 111
     <item row="2" column="1">
      <widget class="QLabel" name="textLabel3_2">
       <property name="whatsThis">
        <string>&lt;p&gt;Adjust the compression time. Better compression takes longer.
&lt;br&gt;Note: the compression level does not change the quality of the result.&lt;/p&gt;</string>
Halla Rempt's avatar
Halla Rempt committed
112
       </property>
113
       <property name="text">
Halla Rempt's avatar
Halla Rempt committed
114 115 116 117 118 119
        <string comment="the file will be big">Big</string>
       </property>
      </widget>
     </item>
    </layout>
   </item>
120
   <item row="1" column="0">
121 122
    <widget class="QCheckBox" name="interlacing">
     <property name="toolTip">
123
      <string>Use interlacing when publishing on the Internet.</string>
Halla Rempt's avatar
Halla Rempt committed
124
     </property>
125 126 127
     <property name="whatsThis">
      <string>&lt;p&gt;Interlacing is useful if you intend to publish your image on the Internet.&lt;br&gt;
Enabling interlacing will cause the image to be displayed by the browser even while downloading.&lt;/p&gt;</string>
Halla Rempt's avatar
Halla Rempt committed
128
     </property>
129
     <property name="text">
Halla Rempt's avatar
Halla Rempt committed
130 131 132 133
      <string>Interlacing</string>
     </property>
    </widget>
   </item>
134
   <item row="2" column="0">
135 136
    <widget class="QCheckBox" name="alpha">
     <property name="toolTip">
Halla Rempt's avatar
Halla Rempt committed
137 138
      <string>Disable to get smaller files if your image has no transparency</string>
     </property>
139 140 141
     <property name="whatsThis">
      <string>&lt;p&gt;The Portable Network Graphics (PNG) file format allows transparency in your image to be stored by saving an alpha channel.
You can uncheck the box if you are not using transparency and you want to make the resulting file smaller .&lt;br&gt;Always saving the alpha channel is recommended.&lt;/p&gt;</string>
Halla Rempt's avatar
Halla Rempt committed
142
     </property>
143
     <property name="text">
Halla Rempt's avatar
Halla Rempt committed
144 145
      <string>Store alpha channel (transparency)</string>
     </property>
146 147 148 149 150
     <property name="checked">
      <bool>true</bool>
     </property>
    </widget>
   </item>
151
   <item row="4" column="0">
152 153
    <widget class="QCheckBox" name="tryToSaveAsIndexed">
     <property name="toolTip">
Elvis Stansvik's avatar
Elvis Stansvik committed
154
      <string>Indexed PNG images are smaller. If you enabled this option, your image will be analyzed to see whether it is possible to save as an indexed PNG.</string>
155 156
     </property>
     <property name="text">
Halla Rempt's avatar
Halla Rempt committed
157
      <string>Save as indexed PNG, if possible</string>
158 159
     </property>
     <property name="checked">
Halla Rempt's avatar
Halla Rempt committed
160 161 162 163
      <bool>true</bool>
     </property>
    </widget>
   </item>
164
   <item row="5" column="0">
165 166 167 168
    <layout class="QHBoxLayout" name="horizontalLayout">
     <item>
      <widget class="QLabel" name="label_4">
       <property name="text">
Yuri Chornoivan's avatar
Yuri Chornoivan committed
169
        <string>Transparent pixel fill color:</string>
170 171 172 173 174 175 176 177 178 179 180 181
       </property>
      </widget>
     </item>
     <item>
      <widget class="KColorButton" name="bnTransparencyFillColor">
       <property name="toolTip">
        <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Background color to replace transparent pixels with.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
       </property>
      </widget>
     </item>
    </layout>
   </item>
182
   <item row="6" column="0">
Halla Rempt's avatar
Halla Rempt committed
183
    <spacer>
184
     <property name="orientation">
Halla Rempt's avatar
Halla Rempt committed
185 186
      <enum>Qt::Vertical</enum>
     </property>
187
     <property name="sizeType">
Halla Rempt's avatar
Halla Rempt committed
188 189
      <enum>QSizePolicy::Expanding</enum>
     </property>
190
     <property name="sizeHint" stdset="0">
Halla Rempt's avatar
Halla Rempt committed
191 192 193 194 195 196 197
      <size>
       <width>414</width>
       <height>16</height>
      </size>
     </property>
    </spacer>
   </item>
198 199 200 201 202 203 204 205 206 207
   <item row="3" column="0">
    <widget class="QCheckBox" name="chkSRGB">
     <property name="toolTip">
      <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;PNG&lt;/span&gt; files have &lt;span style=&quot; font-style:italic;&quot;&gt;two&lt;/span&gt; options to save &lt;span style=&quot; font-weight:600;&quot;&gt;sRGB&lt;/span&gt; information: as a tag or as an explicit profile. For use with in websites, &lt;span style=&quot; font-style:italic;&quot;&gt;disable&lt;/span&gt; this option. For interchange with other applications, &lt;span style=&quot; font-style:italic;&quot;&gt;enable&lt;/span&gt; this option.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
     </property>
     <property name="text">
      <string>save sRGB profile</string>
     </property>
    </widget>
   </item>
Halla Rempt's avatar
Halla Rempt committed
208 209
  </layout>
 </widget>
210 211 212 213 214 215 216
 <customwidgets>
  <customwidget>
   <class>KColorButton</class>
   <extends>QPushButton</extends>
   <header>kcolorbutton.h</header>
  </customwidget>
 </customwidgets>
217
 <resources/>
Halla Rempt's avatar
Halla Rempt committed
218 219
 <connections/>
</ui>