Changeset 561 for trunk/tools/qvfb


Ignore:
Timestamp:
Feb 11, 2010, 11:19:06 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.1 sources.

Location:
trunk
Files:
24 deleted
30 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/tools/qvfb/config.ui

    r2 r561  
    1 <ui version="4.0" >
     1<?xml version="1.0" encoding="UTF-8"?>
     2<ui version="4.0">
    23 <comment>*********************************************************************
    34**
    45** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
    5 ** Contact: Qt Software Information (qt-info@nokia.com)
     6** All rights reserved.
     7** Contact: Nokia Corporation (qt-info@nokia.com)
    68**
    79** This file is part of the tools applications of the Qt Toolkit.
     
    2224** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
    2325**
    24 ** In addition, as a special exception, Nokia gives you certain
    25 ** additional rights. These rights are described in the Nokia Qt LGPL
    26 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
    27 ** package.
     26** In addition, as a special exception, Nokia gives you certain additional
     27** rights.  These rights are described in the Nokia Qt LGPL Exception
     28** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
    2829**
    2930** GNU General Public License Usage
     
    3536** met: http://www.gnu.org/copyleft/gpl.html.
    3637**
    37 ** If you are unsure which license is appropriate for your use, please
    38 ** contact the sales department at qt-sales@nokia.com.
     38** If you have questions regarding the use of this file, please contact
     39** Nokia at qt-info@nokia.com.
    3940** $QT_END_LICENSE$
    4041**
    4142*********************************************************************</comment>
    4243 <class>Config</class>
    43  <widget class="QDialog" name="Config" >
    44   <property name="geometry" >
     44 <widget class="QDialog" name="Config">
     45  <property name="geometry">
    4546   <rect>
    4647    <x>0</x>
    4748    <y>0</y>
    4849    <width>600</width>
    49     <height>650</height>
     50    <height>690</height>
    5051   </rect>
    5152  </property>
    52   <property name="windowTitle" >
     53  <property name="windowTitle">
    5354   <string>Configure</string>
    5455  </property>
    55   <property name="sizeGripEnabled" >
     56  <property name="sizeGripEnabled">
    5657   <bool>true</bool>
    5758  </property>
    58   <layout class="QVBoxLayout" >
    59    <property name="spacing" >
     59  <layout class="QVBoxLayout">
     60   <property name="spacing">
    6061    <number>6</number>
    6162   </property>
    62    <property name="leftMargin" >
    63     <number>8</number>
    64    </property>
    65    <property name="topMargin" >
    66     <number>8</number>
    67    </property>
    68    <property name="rightMargin" >
    69     <number>8</number>
    70    </property>
    71    <property name="bottomMargin" >
     63   <property name="margin">
    7264    <number>8</number>
    7365   </property>
    7466   <item>
    75     <layout class="QHBoxLayout" >
    76      <property name="spacing" >
     67    <layout class="QHBoxLayout">
     68     <property name="spacing">
    7769      <number>6</number>
    7870     </property>
    79      <property name="leftMargin" >
    80       <number>0</number>
    81      </property>
    82      <property name="topMargin" >
    83       <number>0</number>
    84      </property>
    85      <property name="rightMargin" >
    86       <number>0</number>
    87      </property>
    88      <property name="bottomMargin" >
     71     <property name="margin">
    8972      <number>0</number>
    9073     </property>
    9174     <item>
    92       <widget class="QGroupBox" name="ButtonGroup1" >
    93        <property name="sizePolicy" >
    94         <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
     75      <widget class="QGroupBox" name="ButtonGroup1">
     76       <property name="sizePolicy">
     77        <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
    9578         <horstretch>0</horstretch>
    9679         <verstretch>0</verstretch>
    9780        </sizepolicy>
    9881       </property>
    99        <property name="title" >
     82       <property name="title">
    10083        <string>Size</string>
    10184       </property>
    102        <layout class="QVBoxLayout" >
    103         <property name="spacing" >
     85       <layout class="QVBoxLayout">
     86        <property name="spacing">
    10487         <number>6</number>
    10588        </property>
    106         <property name="leftMargin" >
     89        <property name="margin">
    10790         <number>11</number>
    10891        </property>
    109         <property name="topMargin" >
    110          <number>11</number>
    111         </property>
    112         <property name="rightMargin" >
    113          <number>11</number>
    114         </property>
    115         <property name="bottomMargin" >
    116          <number>11</number>
    117         </property>
    11892        <item>
    119          <widget class="QRadioButton" name="size_176_220" >
    120           <property name="text" >
    121            <string>176x220 "SmartPhone"</string>
     93         <widget class="QRadioButton" name="size_176_220">
     94          <property name="text">
     95           <string>176x220 &quot;SmartPhone&quot;</string>
    12296          </property>
    12397         </widget>
    12498        </item>
    12599        <item>
    126          <widget class="QRadioButton" name="size_240_320" >
    127           <property name="text" >
    128            <string>240x320 "PDA"</string>
     100         <widget class="QRadioButton" name="size_240_320">
     101          <property name="text">
     102           <string>240x320 &quot;PDA&quot;</string>
    129103          </property>
    130104         </widget>
    131105        </item>
    132106        <item>
    133          <widget class="QRadioButton" name="size_320_240" >
    134           <property name="text" >
    135            <string>320x240 "TV" / "QVGA"</string>
     107         <widget class="QRadioButton" name="size_320_240">
     108          <property name="text">
     109           <string>320x240 &quot;TV&quot; / &quot;QVGA&quot;</string>
    136110          </property>
    137111         </widget>
    138112        </item>
    139113        <item>
    140          <widget class="QRadioButton" name="size_640_480" >
    141           <property name="text" >
    142            <string>640x480 "VGA"</string>
     114         <widget class="QRadioButton" name="size_640_480">
     115          <property name="text">
     116           <string>640x480 &quot;VGA&quot;</string>
    143117          </property>
    144118         </widget>
    145119        </item>
    146120        <item>
    147          <widget class="QRadioButton" name="size_800_600" >
    148           <property name="text" >
     121         <widget class="QRadioButton" name="size_800_480">
     122          <property name="text">
     123           <string>800x480</string>
     124          </property>
     125         </widget>
     126        </item>
     127        <item>
     128         <widget class="QRadioButton" name="size_800_600">
     129          <property name="text">
    149130           <string>800x600</string>
    150131          </property>
     
    152133        </item>
    153134        <item>
    154          <widget class="QRadioButton" name="size_1024_768" >
    155           <property name="text" >
     135         <widget class="QRadioButton" name="size_1024_768">
     136          <property name="text">
    156137           <string>1024x768</string>
    157138          </property>
     
    159140        </item>
    160141        <item>
    161          <layout class="QHBoxLayout" >
    162           <property name="spacing" >
     142         <layout class="QHBoxLayout">
     143          <property name="spacing">
    163144           <number>6</number>
    164145          </property>
    165           <property name="leftMargin" >
    166            <number>0</number>
    167           </property>
    168           <property name="topMargin" >
    169            <number>0</number>
    170           </property>
    171           <property name="rightMargin" >
    172            <number>0</number>
    173           </property>
    174           <property name="bottomMargin" >
     146          <property name="margin">
    175147           <number>0</number>
    176148          </property>
    177149          <item>
    178            <widget class="QRadioButton" name="size_custom" >
    179             <property name="sizePolicy" >
    180              <sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
     150           <widget class="QRadioButton" name="size_custom">
     151            <property name="sizePolicy">
     152             <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
    181153              <horstretch>0</horstretch>
    182154              <verstretch>0</verstretch>
    183155             </sizepolicy>
    184156            </property>
    185             <property name="text" >
     157            <property name="text">
    186158             <string>Custom</string>
    187159            </property>
     
    189161          </item>
    190162          <item>
    191            <widget class="QSpinBox" name="size_width" >
    192             <property name="minimum" >
     163           <widget class="QSpinBox" name="size_width">
     164            <property name="minimum">
    193165             <number>1</number>
    194166            </property>
    195             <property name="maximum" >
     167            <property name="maximum">
    196168             <number>1280</number>
    197169            </property>
    198             <property name="singleStep" >
     170            <property name="singleStep">
    199171             <number>16</number>
    200172            </property>
    201             <property name="value" >
     173            <property name="value">
    202174             <number>400</number>
    203175            </property>
     
    205177          </item>
    206178          <item>
    207            <widget class="QSpinBox" name="size_height" >
    208             <property name="minimum" >
     179           <widget class="QSpinBox" name="size_height">
     180            <property name="minimum">
    209181             <number>1</number>
    210182            </property>
    211             <property name="maximum" >
     183            <property name="maximum">
    212184             <number>1024</number>
    213185            </property>
    214             <property name="singleStep" >
     186            <property name="singleStep">
    215187             <number>16</number>
    216188            </property>
    217             <property name="value" >
     189            <property name="value">
    218190             <number>300</number>
    219191            </property>
     
    226198     </item>
    227199     <item>
    228       <widget class="QGroupBox" name="ButtonGroup2" >
    229        <property name="title" >
     200      <widget class="QGroupBox" name="ButtonGroup2">
     201       <property name="title">
    230202        <string>Depth</string>
    231203       </property>
    232        <layout class="QVBoxLayout" >
    233         <property name="spacing" >
    234          <number>6</number>
    235         </property>
    236         <property name="leftMargin" >
    237          <number>11</number>
    238         </property>
    239         <property name="topMargin" >
    240          <number>11</number>
    241         </property>
    242         <property name="rightMargin" >
    243          <number>11</number>
    244         </property>
    245         <property name="bottomMargin" >
    246          <number>11</number>
    247         </property>
     204       <layout class="QVBoxLayout" name="verticalLayout">
    248205        <item>
    249          <widget class="QRadioButton" name="depth_1" >
    250           <property name="text" >
     206         <widget class="QRadioButton" name="depth_1">
     207          <property name="text">
    251208           <string>1 bit monochrome</string>
    252209          </property>
     
    254211        </item>
    255212        <item>
    256          <widget class="QRadioButton" name="depth_4gray" >
    257           <property name="text" >
     213         <widget class="QRadioButton" name="depth_2gray">
     214          <property name="text">
     215           <string>2 bit grayscale</string>
     216          </property>
     217         </widget>
     218        </item>
     219        <item>
     220         <widget class="QRadioButton" name="depth_4gray">
     221          <property name="text">
    258222           <string>4 bit grayscale</string>
    259223          </property>
     
    261225        </item>
    262226        <item>
    263          <widget class="QRadioButton" name="depth_8" >
    264           <property name="text" >
     227         <widget class="QRadioButton" name="depth_8">
     228          <property name="text">
    265229           <string>8 bit</string>
    266230          </property>
     
    268232        </item>
    269233        <item>
    270          <widget class="QRadioButton" name="depth_12" >
    271           <property name="text" >
     234         <widget class="QRadioButton" name="depth_12">
     235          <property name="text">
    272236           <string>12 (16) bit</string>
    273237          </property>
     
    275239        </item>
    276240        <item>
    277          <widget class="QRadioButton" name="depth_15" >
    278           <property name="text" >
     241         <widget class="QRadioButton" name="depth_15">
     242          <property name="text">
    279243           <string>15 bit</string>
    280244          </property>
     
    282246        </item>
    283247        <item>
    284          <widget class="QRadioButton" name="depth_16" >
    285           <property name="text" >
     248         <widget class="QRadioButton" name="depth_16">
     249          <property name="text">
    286250           <string>16 bit</string>
    287251          </property>
     
    289253        </item>
    290254        <item>
    291          <widget class="QRadioButton" name="depth_18" >
    292           <property name="text" >
     255         <widget class="QRadioButton" name="depth_18">
     256          <property name="text">
    293257           <string>18 bit</string>
    294258          </property>
     
    296260        </item>
    297261        <item>
    298          <widget class="QRadioButton" name="depth_24" >
    299           <property name="text" >
     262         <widget class="QRadioButton" name="depth_24">
     263          <property name="text">
    300264           <string>24 bit</string>
    301265          </property>
     
    303267        </item>
    304268        <item>
    305          <widget class="QRadioButton" name="depth_32" >
    306           <property name="text" >
     269         <widget class="QRadioButton" name="depth_32">
     270          <property name="text">
    307271           <string>32 bit</string>
    308272          </property>
     
    310274        </item>
    311275        <item>
    312          <widget class="QRadioButton" name="depth_32_argb" >
    313           <property name="text" >
     276         <widget class="QRadioButton" name="depth_32_argb">
     277          <property name="text">
    314278           <string>32 bit ARGB</string>
     279          </property>
     280         </widget>
     281        </item>
     282        <item>
     283         <widget class="QCheckBox" name="rgbSwapped">
     284          <property name="toolTip">
     285           <string>Swap red and blue channels</string>
     286          </property>
     287          <property name="text">
     288           <string>BGR format</string>
    315289          </property>
    316290         </widget>
     
    322296   </item>
    323297   <item>
    324     <layout class="QHBoxLayout" >
    325      <property name="spacing" >
     298    <layout class="QHBoxLayout">
     299     <property name="spacing">
    326300      <number>6</number>
    327301     </property>
    328      <property name="leftMargin" >
    329       <number>0</number>
    330      </property>
    331      <property name="topMargin" >
    332       <number>0</number>
    333      </property>
    334      <property name="rightMargin" >
    335       <number>0</number>
    336      </property>
    337      <property name="bottomMargin" >
     302     <property name="margin">
    338303      <number>0</number>
    339304     </property>
    340305     <item>
    341       <widget class="QLabel" name="TextLabel1_3" >
    342        <property name="text" >
     306      <widget class="QLabel" name="TextLabel1_3">
     307       <property name="text">
    343308        <string>Skin</string>
    344309       </property>
     
    346311     </item>
    347312     <item>
    348       <widget class="QComboBox" name="skin" >
    349        <property name="sizePolicy" >
    350         <sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
     313      <widget class="QComboBox" name="skin">
     314       <property name="sizePolicy">
     315        <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
    351316         <horstretch>0</horstretch>
    352317         <verstretch>0</verstretch>
     
    354319       </property>
    355320       <item>
    356         <property name="text" >
     321        <property name="text">
    357322         <string>None</string>
    358323        </property>
     
    363328   </item>
    364329   <item>
    365     <widget class="QCheckBox" name="touchScreen" >
    366      <property name="text" >
     330    <widget class="QCheckBox" name="touchScreen">
     331     <property name="text">
    367332      <string>Emulate touch screen (no mouse move)</string>
    368333     </property>
     
    370335   </item>
    371336   <item>
    372     <widget class="QCheckBox" name="lcdScreen" >
    373      <property name="text" >
     337    <widget class="QCheckBox" name="lcdScreen">
     338     <property name="text">
    374339      <string>Emulate LCD screen (Only with fixed zoom of 3.0 times magnification)</string>
    375340     </property>
     
    378343   <item>
    379344    <spacer>
    380      <property name="orientation" >
     345     <property name="orientation">
    381346      <enum>Qt::Vertical</enum>
    382347     </property>
    383      <property name="sizeHint" >
     348     <property name="sizeHint" stdset="0">
    384349      <size>
    385350       <width>20</width>
     
    390355   </item>
    391356   <item>
    392     <widget class="QLabel" name="TextLabel1" >
    393      <property name="sizePolicy" >
    394       <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
     357    <widget class="QLabel" name="TextLabel1">
     358     <property name="sizePolicy">
     359      <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
    395360       <horstretch>0</horstretch>
    396361       <verstretch>0</verstretch>
    397362      </sizepolicy>
    398363     </property>
    399      <property name="text" >
    400       <string>&lt;p>Note that any applications using the virtual framebuffer will be terminated if you change the Size or Depth &lt;i>above&lt;/i>. You may freely modify the Gamma &lt;i>below&lt;/i>.</string>
     364     <property name="text">
     365      <string>&lt;p&gt;Note that any applications using the virtual framebuffer will be terminated if you change the Size or Depth &lt;i&gt;above&lt;/i&gt;. You may freely modify the Gamma &lt;i&gt;below&lt;/i&gt;.</string>
    401366     </property>
    402      <property name="wordWrap" >
     367     <property name="wordWrap">
    403368      <bool>true</bool>
    404369     </property>
     
    406371   </item>
    407372   <item>
    408     <widget class="QGroupBox" name="GroupBox1" >
    409      <property name="title" >
     373    <widget class="QGroupBox" name="GroupBox1">
     374     <property name="title">
    410375      <string>Gamma</string>
    411376     </property>
    412      <layout class="QGridLayout" >
    413       <property name="leftMargin" >
     377     <layout class="QGridLayout">
     378      <property name="margin">
    414379       <number>11</number>
    415380      </property>
    416       <property name="topMargin" >
    417        <number>11</number>
    418       </property>
    419       <property name="rightMargin" >
    420        <number>11</number>
    421       </property>
    422       <property name="bottomMargin" >
    423        <number>11</number>
    424       </property>
    425       <property name="horizontalSpacing" >
     381      <property name="spacing">
    426382       <number>6</number>
    427383      </property>
    428       <property name="verticalSpacing" >
    429        <number>6</number>
    430       </property>
    431       <item row="6" column="0" >
    432        <widget class="QLabel" name="TextLabel3" >
    433         <property name="text" >
     384      <item row="6" column="0">
     385       <widget class="QLabel" name="TextLabel3">
     386        <property name="text">
    434387         <string>Blue</string>
    435388        </property>
    436389       </widget>
    437390      </item>
    438       <item row="6" column="1" >
    439        <widget class="QSlider" name="bslider" >
    440         <property name="palette" >
     391      <item row="6" column="1">
     392       <widget class="QSlider" name="bslider">
     393        <property name="palette">
    441394         <palette>
    442395          <active>
    443            <colorrole role="WindowText" >
    444             <brush brushstyle="SolidPattern" >
    445              <color alpha="255" >
     396           <colorrole role="WindowText">
     397            <brush brushstyle="SolidPattern">
     398             <color alpha="255">
    446399              <red>128</red>
    447400              <green>128</green>
     
    450403            </brush>
    451404           </colorrole>
    452            <colorrole role="Button" >
    453             <brush brushstyle="SolidPattern" >
    454              <color alpha="255" >
    455               <red>0</red>
    456               <green>0</green>
    457               <blue>255</blue>
    458              </color>
    459             </brush>
    460            </colorrole>
    461            <colorrole role="Light" >
    462             <brush brushstyle="SolidPattern" >
    463              <color alpha="255" >
     405           <colorrole role="Button">
     406            <brush brushstyle="SolidPattern">
     407             <color alpha="255">
     408              <red>0</red>
     409              <green>0</green>
     410              <blue>255</blue>
     411             </color>
     412            </brush>
     413           </colorrole>
     414           <colorrole role="Light">
     415            <brush brushstyle="SolidPattern">
     416             <color alpha="255">
    464417              <red>127</red>
    465418              <green>127</green>
     
    468421            </brush>
    469422           </colorrole>
    470            <colorrole role="Midlight" >
    471             <brush brushstyle="SolidPattern" >
    472              <color alpha="255" >
     423           <colorrole role="Midlight">
     424            <brush brushstyle="SolidPattern">
     425             <color alpha="255">
    473426              <red>38</red>
    474427              <green>38</green>
     
    477430            </brush>
    478431           </colorrole>
    479            <colorrole role="Dark" >
    480             <brush brushstyle="SolidPattern" >
    481              <color alpha="255" >
     432           <colorrole role="Dark">
     433            <brush brushstyle="SolidPattern">
     434             <color alpha="255">
    482435              <red>0</red>
    483436              <green>0</green>
     
    486439            </brush>
    487440           </colorrole>
    488            <colorrole role="Mid" >
    489             <brush brushstyle="SolidPattern" >
    490              <color alpha="255" >
     441           <colorrole role="Mid">
     442            <brush brushstyle="SolidPattern">
     443             <color alpha="255">
    491444              <red>0</red>
    492445              <green>0</green>
     
    495448            </brush>
    496449           </colorrole>
    497            <colorrole role="Text" >
    498             <brush brushstyle="SolidPattern" >
    499              <color alpha="255" >
    500               <red>0</red>
    501               <green>0</green>
    502               <blue>0</blue>
    503              </color>
    504             </brush>
    505            </colorrole>
    506            <colorrole role="BrightText" >
    507             <brush brushstyle="SolidPattern" >
    508              <color alpha="255" >
    509               <red>255</red>
    510               <green>255</green>
    511               <blue>255</blue>
    512              </color>
    513             </brush>
    514            </colorrole>
    515            <colorrole role="ButtonText" >
    516             <brush brushstyle="SolidPattern" >
    517              <color alpha="255" >
     450           <colorrole role="Text">
     451            <brush brushstyle="SolidPattern">
     452             <color alpha="255">
     453              <red>0</red>
     454              <green>0</green>
     455              <blue>0</blue>
     456             </color>
     457            </brush>
     458           </colorrole>
     459           <colorrole role="BrightText">
     460            <brush brushstyle="SolidPattern">
     461             <color alpha="255">
     462              <red>255</red>
     463              <green>255</green>
     464              <blue>255</blue>
     465             </color>
     466            </brush>
     467           </colorrole>
     468           <colorrole role="ButtonText">
     469            <brush brushstyle="SolidPattern">
     470             <color alpha="255">
    518471              <red>128</red>
    519472              <green>128</green>
     
    522475            </brush>
    523476           </colorrole>
    524            <colorrole role="Base" >
    525             <brush brushstyle="SolidPattern" >
    526              <color alpha="255" >
    527               <red>255</red>
    528               <green>255</green>
    529               <blue>255</blue>
    530              </color>
    531             </brush>
    532            </colorrole>
    533            <colorrole role="Window" >
    534             <brush brushstyle="SolidPattern" >
    535              <color alpha="255" >
     477           <colorrole role="Base">
     478            <brush brushstyle="SolidPattern">
     479             <color alpha="255">
     480              <red>255</red>
     481              <green>255</green>
     482              <blue>255</blue>
     483             </color>
     484            </brush>
     485           </colorrole>
     486           <colorrole role="Window">
     487            <brush brushstyle="SolidPattern">
     488             <color alpha="255">
    536489              <red>220</red>
    537490              <green>220</green>
     
    540493            </brush>
    541494           </colorrole>
    542            <colorrole role="Shadow" >
    543             <brush brushstyle="SolidPattern" >
    544              <color alpha="255" >
    545               <red>0</red>
    546               <green>0</green>
    547               <blue>0</blue>
    548              </color>
    549             </brush>
    550            </colorrole>
    551            <colorrole role="Highlight" >
    552             <brush brushstyle="SolidPattern" >
    553              <color alpha="255" >
     495           <colorrole role="Shadow">
     496            <brush brushstyle="SolidPattern">
     497             <color alpha="255">
     498              <red>0</red>
     499              <green>0</green>
     500              <blue>0</blue>
     501             </color>
     502            </brush>
     503           </colorrole>
     504           <colorrole role="Highlight">
     505            <brush brushstyle="SolidPattern">
     506             <color alpha="255">
    554507              <red>10</red>
    555508              <green>95</green>
     
    558511            </brush>
    559512           </colorrole>
    560            <colorrole role="HighlightedText" >
    561             <brush brushstyle="SolidPattern" >
    562              <color alpha="255" >
    563               <red>255</red>
    564               <green>255</green>
    565               <blue>255</blue>
    566              </color>
    567             </brush>
    568            </colorrole>
    569            <colorrole role="Link" >
    570             <brush brushstyle="SolidPattern" >
    571              <color alpha="255" >
    572               <red>0</red>
    573               <green>0</green>
    574               <blue>0</blue>
    575              </color>
    576             </brush>
    577            </colorrole>
    578            <colorrole role="LinkVisited" >
    579             <brush brushstyle="SolidPattern" >
    580              <color alpha="255" >
    581               <red>0</red>
    582               <green>0</green>
    583               <blue>0</blue>
    584              </color>
    585             </brush>
    586            </colorrole>
    587            <colorrole role="AlternateBase" >
    588             <brush brushstyle="SolidPattern" >
    589              <color alpha="255" >
     513           <colorrole role="HighlightedText">
     514            <brush brushstyle="SolidPattern">
     515             <color alpha="255">
     516              <red>255</red>
     517              <green>255</green>
     518              <blue>255</blue>
     519             </color>
     520            </brush>
     521           </colorrole>
     522           <colorrole role="Link">
     523            <brush brushstyle="SolidPattern">
     524             <color alpha="255">
     525              <red>0</red>
     526              <green>0</green>
     527              <blue>0</blue>
     528             </color>
     529            </brush>
     530           </colorrole>
     531           <colorrole role="LinkVisited">
     532            <brush brushstyle="SolidPattern">
     533             <color alpha="255">
     534              <red>0</red>
     535              <green>0</green>
     536              <blue>0</blue>
     537             </color>
     538            </brush>
     539           </colorrole>
     540           <colorrole role="AlternateBase">
     541            <brush brushstyle="SolidPattern">
     542             <color alpha="255">
    590543              <red>232</red>
    591544              <green>232</green>
     
    596549          </active>
    597550          <inactive>
    598            <colorrole role="WindowText" >
    599             <brush brushstyle="SolidPattern" >
    600              <color alpha="255" >
     551           <colorrole role="WindowText">
     552            <brush brushstyle="SolidPattern">
     553             <color alpha="255">
    601554              <red>128</red>
    602555              <green>128</green>
     
    605558            </brush>
    606559           </colorrole>
    607            <colorrole role="Button" >
    608             <brush brushstyle="SolidPattern" >
    609              <color alpha="255" >
    610               <red>0</red>
    611               <green>0</green>
    612               <blue>255</blue>
    613              </color>
    614             </brush>
    615            </colorrole>
    616            <colorrole role="Light" >
    617             <brush brushstyle="SolidPattern" >
    618              <color alpha="255" >
     560           <colorrole role="Button">
     561            <brush brushstyle="SolidPattern">
     562             <color alpha="255">
     563              <red>0</red>
     564              <green>0</green>
     565              <blue>255</blue>
     566             </color>
     567            </brush>
     568           </colorrole>
     569           <colorrole role="Light">
     570            <brush brushstyle="SolidPattern">
     571             <color alpha="255">
    619572              <red>127</red>
    620573              <green>127</green>
     
    623576            </brush>
    624577           </colorrole>
    625            <colorrole role="Midlight" >
    626             <brush brushstyle="SolidPattern" >
    627              <color alpha="255" >
     578           <colorrole role="Midlight">
     579            <brush brushstyle="SolidPattern">
     580             <color alpha="255">
    628581              <red>38</red>
    629582              <green>38</green>
     
    632585            </brush>
    633586           </colorrole>
    634            <colorrole role="Dark" >
    635             <brush brushstyle="SolidPattern" >
    636              <color alpha="255" >
     587           <colorrole role="Dark">
     588            <brush brushstyle="SolidPattern">
     589             <color alpha="255">
    637590              <red>0</red>
    638591              <green>0</green>
     
    641594            </brush>
    642595           </colorrole>
    643            <colorrole role="Mid" >
    644             <brush brushstyle="SolidPattern" >
    645              <color alpha="255" >
     596           <colorrole role="Mid">
     597            <brush brushstyle="SolidPattern">
     598             <color alpha="255">
    646599              <red>0</red>
    647600              <green>0</green>
     
    650603            </brush>
    651604           </colorrole>
    652            <colorrole role="Text" >
    653             <brush brushstyle="SolidPattern" >
    654              <color alpha="255" >
    655               <red>0</red>
    656               <green>0</green>
    657               <blue>0</blue>
    658              </color>
    659             </brush>
    660            </colorrole>
    661            <colorrole role="BrightText" >
    662             <brush brushstyle="SolidPattern" >
    663              <color alpha="255" >
    664               <red>255</red>
    665               <green>255</green>
    666               <blue>255</blue>
    667              </color>
    668             </brush>
    669            </colorrole>
    670            <colorrole role="ButtonText" >
    671             <brush brushstyle="SolidPattern" >
    672              <color alpha="255" >
     605           <colorrole role="Text">
     606            <brush brushstyle="SolidPattern">
     607             <color alpha="255">
     608              <red>0</red>
     609              <green>0</green>
     610              <blue>0</blue>
     611             </color>
     612            </brush>
     613           </colorrole>
     614           <colorrole role="BrightText">
     615            <brush brushstyle="SolidPattern">
     616             <color alpha="255">
     617              <red>255</red>
     618              <green>255</green>
     619              <blue>255</blue>
     620             </color>
     621            </brush>
     622           </colorrole>
     623           <colorrole role="ButtonText">
     624            <brush brushstyle="SolidPattern">
     625             <color alpha="255">
    673626              <red>128</red>
    674627              <green>128</green>
     
    677630            </brush>
    678631           </colorrole>
    679            <colorrole role="Base" >
    680             <brush brushstyle="SolidPattern" >
    681              <color alpha="255" >
    682               <red>255</red>
    683               <green>255</green>
    684               <blue>255</blue>
    685              </color>
    686             </brush>
    687            </colorrole>
    688            <colorrole role="Window" >
    689             <brush brushstyle="SolidPattern" >
    690              <color alpha="255" >
     632           <colorrole role="Base">
     633            <brush brushstyle="SolidPattern">
     634             <color alpha="255">
     635              <red>255</red>
     636              <green>255</green>
     637              <blue>255</blue>
     638             </color>
     639            </brush>
     640           </colorrole>
     641           <colorrole role="Window">
     642            <brush brushstyle="SolidPattern">
     643             <color alpha="255">
    691644              <red>220</red>
    692645              <green>220</green>
     
    695648            </brush>
    696649           </colorrole>
    697            <colorrole role="Shadow" >
    698             <brush brushstyle="SolidPattern" >
    699              <color alpha="255" >
    700               <red>0</red>
    701               <green>0</green>
    702               <blue>0</blue>
    703              </color>
    704             </brush>
    705            </colorrole>
    706            <colorrole role="Highlight" >
    707             <brush brushstyle="SolidPattern" >
    708              <color alpha="255" >
     650           <colorrole role="Shadow">
     651            <brush brushstyle="SolidPattern">
     652             <color alpha="255">
     653              <red>0</red>
     654              <green>0</green>
     655              <blue>0</blue>
     656             </color>
     657            </brush>
     658           </colorrole>
     659           <colorrole role="Highlight">
     660            <brush brushstyle="SolidPattern">
     661             <color alpha="255">
    709662              <red>10</red>
    710663              <green>95</green>
     
    713666            </brush>
    714667           </colorrole>
    715            <colorrole role="HighlightedText" >
    716             <brush brushstyle="SolidPattern" >
    717              <color alpha="255" >
    718               <red>255</red>
    719               <green>255</green>
    720               <blue>255</blue>
    721              </color>
    722             </brush>
    723            </colorrole>
    724            <colorrole role="Link" >
    725             <brush brushstyle="SolidPattern" >
    726              <color alpha="255" >
    727               <red>0</red>
    728               <green>0</green>
    729               <blue>0</blue>
    730              </color>
    731             </brush>
    732            </colorrole>
    733            <colorrole role="LinkVisited" >
    734             <brush brushstyle="SolidPattern" >
    735              <color alpha="255" >
    736               <red>0</red>
    737               <green>0</green>
    738               <blue>0</blue>
    739              </color>
    740             </brush>
    741            </colorrole>
    742            <colorrole role="AlternateBase" >
    743             <brush brushstyle="SolidPattern" >
    744              <color alpha="255" >
     668           <colorrole role="HighlightedText">
     669            <brush brushstyle="SolidPattern">
     670             <color alpha="255">
     671              <red>255</red>
     672              <green>255</green>
     673              <blue>255</blue>
     674             </color>
     675            </brush>
     676           </colorrole>
     677           <colorrole role="Link">
     678            <brush brushstyle="SolidPattern">
     679             <color alpha="255">
     680              <red>0</red>
     681              <green>0</green>
     682              <blue>0</blue>
     683             </color>
     684            </brush>
     685           </colorrole>
     686           <colorrole role="LinkVisited">
     687            <brush brushstyle="SolidPattern">
     688             <color alpha="255">
     689              <red>0</red>
     690              <green>0</green>
     691              <blue>0</blue>
     692             </color>
     693            </brush>
     694           </colorrole>
     695           <colorrole role="AlternateBase">
     696            <brush brushstyle="SolidPattern">
     697             <color alpha="255">
    745698              <red>232</red>
    746699              <green>232</green>
     
    751704          </inactive>
    752705          <disabled>
    753            <colorrole role="WindowText" >
    754             <brush brushstyle="SolidPattern" >
    755              <color alpha="255" >
     706           <colorrole role="WindowText">
     707            <brush brushstyle="SolidPattern">
     708             <color alpha="255">
    756709              <red>128</red>
    757710              <green>128</green>
     
    760713            </brush>
    761714           </colorrole>
    762            <colorrole role="Button" >
    763             <brush brushstyle="SolidPattern" >
    764              <color alpha="255" >
    765               <red>0</red>
    766               <green>0</green>
    767               <blue>255</blue>
    768              </color>
    769             </brush>
    770            </colorrole>
    771            <colorrole role="Light" >
    772             <brush brushstyle="SolidPattern" >
    773              <color alpha="255" >
     715           <colorrole role="Button">
     716            <brush brushstyle="SolidPattern">
     717             <color alpha="255">
     718              <red>0</red>
     719              <green>0</green>
     720              <blue>255</blue>
     721             </color>
     722            </brush>
     723           </colorrole>
     724           <colorrole role="Light">
     725            <brush brushstyle="SolidPattern">
     726             <color alpha="255">
    774727              <red>127</red>
    775728              <green>127</green>
     
    778731            </brush>
    779732           </colorrole>
    780            <colorrole role="Midlight" >
    781             <brush brushstyle="SolidPattern" >
    782              <color alpha="255" >
     733           <colorrole role="Midlight">
     734            <brush brushstyle="SolidPattern">
     735             <color alpha="255">
    783736              <red>38</red>
    784737              <green>38</green>
     
    787740            </brush>
    788741           </colorrole>
    789            <colorrole role="Dark" >
    790             <brush brushstyle="SolidPattern" >
    791              <color alpha="255" >
     742           <colorrole role="Dark">
     743            <brush brushstyle="SolidPattern">
     744             <color alpha="255">
    792745              <red>0</red>
    793746              <green>0</green>
     
    796749            </brush>
    797750           </colorrole>
    798            <colorrole role="Mid" >
    799             <brush brushstyle="SolidPattern" >
    800              <color alpha="255" >
     751           <colorrole role="Mid">
     752            <brush brushstyle="SolidPattern">
     753             <color alpha="255">
    801754              <red>0</red>
    802755              <green>0</green>
     
    805758            </brush>
    806759           </colorrole>
    807            <colorrole role="Text" >
    808             <brush brushstyle="SolidPattern" >
    809              <color alpha="255" >
    810               <red>0</red>
    811               <green>0</green>
    812               <blue>0</blue>
    813              </color>
    814             </brush>
    815            </colorrole>
    816            <colorrole role="BrightText" >
    817             <brush brushstyle="SolidPattern" >
    818              <color alpha="255" >
    819               <red>255</red>
    820               <green>255</green>
    821               <blue>255</blue>
    822              </color>
    823             </brush>
    824            </colorrole>
    825            <colorrole role="ButtonText" >
    826             <brush brushstyle="SolidPattern" >
    827              <color alpha="255" >
     760           <colorrole role="Text">
     761            <brush brushstyle="SolidPattern">
     762             <color alpha="255">
     763              <red>0</red>
     764              <green>0</green>
     765              <blue>0</blue>
     766             </color>
     767            </brush>
     768           </colorrole>
     769           <colorrole role="BrightText">
     770            <brush brushstyle="SolidPattern">
     771             <color alpha="255">
     772              <red>255</red>
     773              <green>255</green>
     774              <blue>255</blue>
     775             </color>
     776            </brush>
     777           </colorrole>
     778           <colorrole role="ButtonText">
     779            <brush brushstyle="SolidPattern">
     780             <color alpha="255">
    828781              <red>128</red>
    829782              <green>128</green>
     
    832785            </brush>
    833786           </colorrole>
    834            <colorrole role="Base" >
    835             <brush brushstyle="SolidPattern" >
    836              <color alpha="255" >
    837               <red>255</red>
    838               <green>255</green>
    839               <blue>255</blue>
    840              </color>
    841             </brush>
    842            </colorrole>
    843            <colorrole role="Window" >
    844             <brush brushstyle="SolidPattern" >
    845              <color alpha="255" >
     787           <colorrole role="Base">
     788            <brush brushstyle="SolidPattern">
     789             <color alpha="255">
     790              <red>255</red>
     791              <green>255</green>
     792              <blue>255</blue>
     793             </color>
     794            </brush>
     795           </colorrole>
     796           <colorrole role="Window">
     797            <brush brushstyle="SolidPattern">
     798             <color alpha="255">
    846799              <red>220</red>
    847800              <green>220</green>
     
    850803            </brush>
    851804           </colorrole>
    852            <colorrole role="Shadow" >
    853             <brush brushstyle="SolidPattern" >
    854              <color alpha="255" >
    855               <red>0</red>
    856               <green>0</green>
    857               <blue>0</blue>
    858              </color>
    859             </brush>
    860            </colorrole>
    861            <colorrole role="Highlight" >
    862             <brush brushstyle="SolidPattern" >
    863              <color alpha="255" >
     805           <colorrole role="Shadow">
     806            <brush brushstyle="SolidPattern">
     807             <color alpha="255">
     808              <red>0</red>
     809              <green>0</green>
     810              <blue>0</blue>
     811             </color>
     812            </brush>
     813           </colorrole>
     814           <colorrole role="Highlight">
     815            <brush brushstyle="SolidPattern">
     816             <color alpha="255">
    864817              <red>10</red>
    865818              <green>95</green>
     
    868821            </brush>
    869822           </colorrole>
    870            <colorrole role="HighlightedText" >
    871             <brush brushstyle="SolidPattern" >
    872              <color alpha="255" >
    873               <red>255</red>
    874               <green>255</green>
    875               <blue>255</blue>
    876              </color>
    877             </brush>
    878            </colorrole>
    879            <colorrole role="Link" >
    880             <brush brushstyle="SolidPattern" >
    881              <color alpha="255" >
    882               <red>0</red>
    883               <green>0</green>
    884               <blue>0</blue>
    885              </color>
    886             </brush>
    887            </colorrole>
    888            <colorrole role="LinkVisited" >
    889             <brush brushstyle="SolidPattern" >
    890              <color alpha="255" >
    891               <red>0</red>
    892               <green>0</green>
    893               <blue>0</blue>
    894              </color>
    895             </brush>
    896            </colorrole>
    897            <colorrole role="AlternateBase" >
    898             <brush brushstyle="SolidPattern" >
    899              <color alpha="255" >
     823           <colorrole role="HighlightedText">
     824            <brush brushstyle="SolidPattern">
     825             <color alpha="255">
     826              <red>255</red>
     827              <green>255</green>
     828              <blue>255</blue>
     829             </color>
     830            </brush>
     831           </colorrole>
     832           <colorrole role="Link">
     833            <brush brushstyle="SolidPattern">
     834             <color alpha="255">
     835              <red>0</red>
     836              <green>0</green>
     837              <blue>0</blue>
     838             </color>
     839            </brush>
     840           </colorrole>
     841           <colorrole role="LinkVisited">
     842            <brush brushstyle="SolidPattern">
     843             <color alpha="255">
     844              <red>0</red>
     845              <green>0</green>
     846              <blue>0</blue>
     847             </color>
     848            </brush>
     849           </colorrole>
     850           <colorrole role="AlternateBase">
     851            <brush brushstyle="SolidPattern">
     852             <color alpha="255">
    900853              <red>232</red>
    901854              <green>232</green>
     
    907860         </palette>
    908861        </property>
    909         <property name="maximum" >
     862        <property name="maximum">
    910863         <number>400</number>
    911864        </property>
    912         <property name="value" >
     865        <property name="value">
    913866         <number>100</number>
    914867        </property>
    915         <property name="orientation" >
     868        <property name="orientation">
    916869         <enum>Qt::Horizontal</enum>
    917870        </property>
    918871       </widget>
    919872      </item>
    920       <item row="6" column="2" >
    921        <widget class="QLabel" name="blabel" >
    922         <property name="text" >
     873      <item row="6" column="2">
     874       <widget class="QLabel" name="blabel">
     875        <property name="text">
    923876         <string>1.0</string>
    924877        </property>
    925878       </widget>
    926879      </item>
    927       <item row="4" column="0" >
    928        <widget class="QLabel" name="TextLabel2" >
    929         <property name="text" >
     880      <item row="4" column="0">
     881       <widget class="QLabel" name="TextLabel2">
     882        <property name="text">
    930883         <string>Green</string>
    931884        </property>
    932885       </widget>
    933886      </item>
    934       <item row="4" column="1" >
    935        <widget class="QSlider" name="gslider" >
    936         <property name="palette" >
     887      <item row="4" column="1">
     888       <widget class="QSlider" name="gslider">
     889        <property name="palette">
    937890         <palette>
    938891          <active>
    939            <colorrole role="WindowText" >
    940             <brush brushstyle="SolidPattern" >
    941              <color alpha="255" >
     892           <colorrole role="WindowText">
     893            <brush brushstyle="SolidPattern">
     894             <color alpha="255">
    942895              <red>128</red>
    943896              <green>128</green>
     
    946899            </brush>
    947900           </colorrole>
    948            <colorrole role="Button" >
    949             <brush brushstyle="SolidPattern" >
    950              <color alpha="255" >
    951               <red>0</red>
    952               <green>255</green>
    953               <blue>0</blue>
    954              </color>
    955             </brush>
    956            </colorrole>
    957            <colorrole role="Light" >
    958             <brush brushstyle="SolidPattern" >
    959              <color alpha="255" >
     901           <colorrole role="Button">
     902            <brush brushstyle="SolidPattern">
     903             <color alpha="255">
     904              <red>0</red>
     905              <green>255</green>
     906              <blue>0</blue>
     907             </color>
     908            </brush>
     909           </colorrole>
     910           <colorrole role="Light">
     911            <brush brushstyle="SolidPattern">
     912             <color alpha="255">
    960913              <red>127</red>
    961914              <green>255</green>
     
    964917            </brush>
    965918           </colorrole>
    966            <colorrole role="Midlight" >
    967             <brush brushstyle="SolidPattern" >
    968              <color alpha="255" >
     919           <colorrole role="Midlight">
     920            <brush brushstyle="SolidPattern">
     921             <color alpha="255">
    969922              <red>38</red>
    970923              <green>255</green>
     
    973926            </brush>
    974927           </colorrole>
    975            <colorrole role="Dark" >
    976             <brush brushstyle="SolidPattern" >
    977              <color alpha="255" >
     928           <colorrole role="Dark">
     929            <brush brushstyle="SolidPattern">
     930             <color alpha="255">
    978931              <red>0</red>
    979932              <green>127</green>
     
    982935            </brush>
    983936           </colorrole>
    984            <colorrole role="Mid" >
    985             <brush brushstyle="SolidPattern" >
    986              <color alpha="255" >
     937           <colorrole role="Mid">
     938            <brush brushstyle="SolidPattern">
     939             <color alpha="255">
    987940              <red>0</red>
    988941              <green>170</green>
     
    991944            </brush>
    992945           </colorrole>
    993            <colorrole role="Text" >
    994             <brush brushstyle="SolidPattern" >
    995              <color alpha="255" >
    996               <red>0</red>
    997               <green>0</green>
    998               <blue>0</blue>
    999              </color>
    1000             </brush>
    1001            </colorrole>
    1002            <colorrole role="BrightText" >
    1003             <brush brushstyle="SolidPattern" >
    1004              <color alpha="255" >
    1005               <red>255</red>
    1006               <green>255</green>
    1007               <blue>255</blue>
    1008              </color>
    1009             </brush>
    1010            </colorrole>
    1011            <colorrole role="ButtonText" >
    1012             <brush brushstyle="SolidPattern" >
    1013              <color alpha="255" >
     946           <colorrole role="Text">
     947            <brush brushstyle="SolidPattern">
     948             <color alpha="255">
     949              <red>0</red>
     950              <green>0</green>
     951              <blue>0</blue>
     952             </color>
     953            </brush>
     954           </colorrole>
     955           <colorrole role="BrightText">
     956            <brush brushstyle="SolidPattern">
     957             <color alpha="255">
     958              <red>255</red>
     959              <green>255</green>
     960              <blue>255</blue>
     961             </color>
     962            </brush>
     963           </colorrole>
     964           <colorrole role="ButtonText">
     965            <brush brushstyle="SolidPattern">
     966             <color alpha="255">
    1014967              <red>128</red>
    1015968              <green>128</green>
     
    1018971            </brush>
    1019972           </colorrole>
    1020            <colorrole role="Base" >
    1021             <brush brushstyle="SolidPattern" >
    1022              <color alpha="255" >
    1023               <red>255</red>
    1024               <green>255</green>
    1025               <blue>255</blue>
    1026              </color>
    1027             </brush>
    1028            </colorrole>
    1029            <colorrole role="Window" >
    1030             <brush brushstyle="SolidPattern" >
    1031              <color alpha="255" >
     973           <colorrole role="Base">
     974            <brush brushstyle="SolidPattern">
     975             <color alpha="255">
     976              <red>255</red>
     977              <green>255</green>
     978              <blue>255</blue>
     979             </color>
     980            </brush>
     981           </colorrole>
     982           <colorrole role="Window">
     983            <brush brushstyle="SolidPattern">
     984             <color alpha="255">
    1032985              <red>220</red>
    1033986              <green>220</green>
     
    1036989            </brush>
    1037990           </colorrole>
    1038            <colorrole role="Shadow" >
    1039             <brush brushstyle="SolidPattern" >
    1040              <color alpha="255" >
    1041               <red>0</red>
    1042               <green>0</green>
    1043               <blue>0</blue>
    1044              </color>
    1045             </brush>
    1046            </colorrole>
    1047            <colorrole role="Highlight" >
    1048             <brush brushstyle="SolidPattern" >
    1049              <color alpha="255" >
     991           <colorrole role="Shadow">
     992            <brush brushstyle="SolidPattern">
     993             <color alpha="255">
     994              <red>0</red>
     995              <green>0</green>
     996              <blue>0</blue>
     997             </color>
     998            </brush>
     999           </colorrole>
     1000           <colorrole role="Highlight">
     1001            <brush brushstyle="SolidPattern">
     1002             <color alpha="255">
    10501003              <red>10</red>
    10511004              <green>95</green>
     
    10541007            </brush>
    10551008           </colorrole>
    1056            <colorrole role="HighlightedText" >
    1057             <brush brushstyle="SolidPattern" >
    1058              <color alpha="255" >
    1059               <red>255</red>
    1060               <green>255</green>
    1061               <blue>255</blue>
    1062              </color>
    1063             </brush>
    1064            </colorrole>
    1065            <colorrole role="Link" >
    1066             <brush brushstyle="SolidPattern" >
    1067              <color alpha="255" >
    1068               <red>0</red>
    1069               <green>0</green>
    1070               <blue>0</blue>
    1071              </color>
    1072             </brush>
    1073            </colorrole>
    1074            <colorrole role="LinkVisited" >
    1075             <brush brushstyle="SolidPattern" >
    1076              <color alpha="255" >
    1077               <red>0</red>
    1078               <green>0</green>
    1079               <blue>0</blue>
    1080              </color>
    1081             </brush>
    1082            </colorrole>
    1083            <colorrole role="AlternateBase" >
    1084             <brush brushstyle="SolidPattern" >
    1085              <color alpha="255" >
     1009           <colorrole role="HighlightedText">
     1010            <brush brushstyle="SolidPattern">
     1011             <color alpha="255">
     1012              <red>255</red>
     1013              <green>255</green>
     1014              <blue>255</blue>
     1015             </color>
     1016            </brush>
     1017           </colorrole>
     1018           <colorrole role="Link">
     1019            <brush brushstyle="SolidPattern">
     1020             <color alpha="255">
     1021              <red>0</red>
     1022              <green>0</green>
     1023              <blue>0</blue>
     1024             </color>
     1025            </brush>
     1026           </colorrole>
     1027           <colorrole role="LinkVisited">
     1028            <brush brushstyle="SolidPattern">
     1029             <color alpha="255">
     1030              <red>0</red>
     1031              <green>0</green>
     1032              <blue>0</blue>
     1033             </color>
     1034            </brush>
     1035           </colorrole>
     1036           <colorrole role="AlternateBase">
     1037            <brush brushstyle="SolidPattern">
     1038             <color alpha="255">
    10861039              <red>232</red>
    10871040              <green>232</green>
     
    10921045          </active>
    10931046          <inactive>
    1094            <colorrole role="WindowText" >
    1095             <brush brushstyle="SolidPattern" >
    1096              <color alpha="255" >
     1047           <colorrole role="WindowText">
     1048            <brush brushstyle="SolidPattern">
     1049             <color alpha="255">
    10971050              <red>128</red>
    10981051              <green>128</green>
     
    11011054            </brush>
    11021055           </colorrole>
    1103            <colorrole role="Button" >
    1104             <brush brushstyle="SolidPattern" >
    1105              <color alpha="255" >
    1106               <red>0</red>
    1107               <green>255</green>
    1108               <blue>0</blue>
    1109              </color>
    1110             </brush>
    1111            </colorrole>
    1112            <colorrole role="Light" >
    1113             <brush brushstyle="SolidPattern" >
    1114              <color alpha="255" >
     1056           <colorrole role="Button">
     1057            <brush brushstyle="SolidPattern">
     1058             <color alpha="255">
     1059              <red>0</red>
     1060              <green>255</green>
     1061              <blue>0</blue>
     1062             </color>
     1063            </brush>
     1064           </colorrole>
     1065           <colorrole role="Light">
     1066            <brush brushstyle="SolidPattern">
     1067             <color alpha="255">
    11151068              <red>127</red>
    11161069              <green>255</green>
     
    11191072            </brush>
    11201073           </colorrole>
    1121            <colorrole role="Midlight" >
    1122             <brush brushstyle="SolidPattern" >
    1123              <color alpha="255" >
     1074           <colorrole role="Midlight">
     1075            <brush brushstyle="SolidPattern">
     1076             <color alpha="255">
    11241077              <red>38</red>
    11251078              <green>255</green>
     
    11281081            </brush>
    11291082           </colorrole>
    1130            <colorrole role="Dark" >
    1131             <brush brushstyle="SolidPattern" >
    1132              <color alpha="255" >
     1083           <colorrole role="Dark">
     1084            <brush brushstyle="SolidPattern">
     1085             <color alpha="255">
    11331086              <red>0</red>
    11341087              <green>127</green>
     
    11371090            </brush>
    11381091           </colorrole>
    1139            <colorrole role="Mid" >
    1140             <brush brushstyle="SolidPattern" >
    1141              <color alpha="255" >
     1092           <colorrole role="Mid">
     1093            <brush brushstyle="SolidPattern">
     1094             <color alpha="255">
    11421095              <red>0</red>
    11431096              <green>170</green>
     
    11461099            </brush>
    11471100           </colorrole>
    1148            <colorrole role="Text" >
    1149             <brush brushstyle="SolidPattern" >
    1150              <color alpha="255" >
    1151               <red>0</red>
    1152               <green>0</green>
    1153               <blue>0</blue>
    1154              </color>
    1155             </brush>
    1156            </colorrole>
    1157            <colorrole role="BrightText" >
    1158             <brush brushstyle="SolidPattern" >
    1159              <color alpha="255" >
    1160               <red>255</red>
    1161               <green>255</green>
    1162               <blue>255</blue>
    1163              </color>
    1164             </brush>
    1165            </colorrole>
    1166            <colorrole role="ButtonText" >
    1167             <brush brushstyle="SolidPattern" >
    1168              <color alpha="255" >
     1101           <colorrole role="Text">
     1102            <brush brushstyle="SolidPattern">
     1103             <color alpha="255">
     1104              <red>0</red>
     1105              <green>0</green>
     1106              <blue>0</blue>
     1107             </color>
     1108            </brush>
     1109           </colorrole>
     1110           <colorrole role="BrightText">
     1111            <brush brushstyle="SolidPattern">
     1112             <color alpha="255">
     1113              <red>255</red>
     1114              <green>255</green>
     1115              <blue>255</blue>
     1116             </color>
     1117            </brush>
     1118           </colorrole>
     1119           <colorrole role="ButtonText">
     1120            <brush brushstyle="SolidPattern">
     1121             <color alpha="255">
    11691122              <red>128</red>
    11701123              <green>128</green>
     
    11731126            </brush>
    11741127           </colorrole>
    1175            <colorrole role="Base" >
    1176             <brush brushstyle="SolidPattern" >
    1177              <color alpha="255" >
    1178               <red>255</red>
    1179               <green>255</green>
    1180               <blue>255</blue>
    1181              </color>
    1182             </brush>
    1183            </colorrole>
    1184            <colorrole role="Window" >
    1185             <brush brushstyle="SolidPattern" >
    1186              <color alpha="255" >
     1128           <colorrole role="Base">
     1129            <brush brushstyle="SolidPattern">
     1130             <color alpha="255">
     1131              <red>255</red>
     1132              <green>255</green>
     1133              <blue>255</blue>
     1134             </color>
     1135            </brush>
     1136           </colorrole>
     1137           <colorrole role="Window">
     1138            <brush brushstyle="SolidPattern">
     1139             <color alpha="255">
    11871140              <red>220</red>
    11881141              <green>220</green>
     
    11911144            </brush>
    11921145           </colorrole>
    1193            <colorrole role="Shadow" >
    1194             <brush brushstyle="SolidPattern" >
    1195              <color alpha="255" >
    1196               <red>0</red>
    1197               <green>0</green>
    1198               <blue>0</blue>
    1199              </color>
    1200             </brush>
    1201            </colorrole>
    1202            <colorrole role="Highlight" >
    1203             <brush brushstyle="SolidPattern" >
    1204              <color alpha="255" >
     1146           <colorrole role="Shadow">
     1147            <brush brushstyle="SolidPattern">
     1148             <color alpha="255">
     1149              <red>0</red>
     1150              <green>0</green>
     1151              <blue>0</blue>
     1152             </color>
     1153            </brush>
     1154           </colorrole>
     1155           <colorrole role="Highlight">
     1156            <brush brushstyle="SolidPattern">
     1157             <color alpha="255">
    12051158              <red>10</red>
    12061159              <green>95</green>
     
    12091162            </brush>
    12101163           </colorrole>
    1211            <colorrole role="HighlightedText" >
    1212             <brush brushstyle="SolidPattern" >
    1213              <color alpha="255" >
    1214               <red>255</red>
    1215               <green>255</green>
    1216               <blue>255</blue>
    1217              </color>
    1218             </brush>
    1219            </colorrole>
    1220            <colorrole role="Link" >
    1221             <brush brushstyle="SolidPattern" >
    1222              <color alpha="255" >
    1223               <red>0</red>
    1224               <green>0</green>
    1225               <blue>0</blue>
    1226              </color>
    1227             </brush>
    1228            </colorrole>
    1229            <colorrole role="LinkVisited" >
    1230             <brush brushstyle="SolidPattern" >
    1231              <color alpha="255" >
    1232               <red>0</red>
    1233               <green>0</green>
    1234               <blue>0</blue>
    1235              </color>
    1236             </brush>
    1237            </colorrole>
    1238            <colorrole role="AlternateBase" >
    1239             <brush brushstyle="SolidPattern" >
    1240              <color alpha="255" >
     1164           <colorrole role="HighlightedText">
     1165            <brush brushstyle="SolidPattern">
     1166             <color alpha="255">
     1167              <red>255</red>
     1168              <green>255</green>
     1169              <blue>255</blue>
     1170             </color>
     1171            </brush>
     1172           </colorrole>
     1173           <colorrole role="Link">
     1174            <brush brushstyle="SolidPattern">
     1175             <color alpha="255">
     1176              <red>0</red>
     1177              <green>0</green>
     1178              <blue>0</blue>
     1179             </color>
     1180            </brush>
     1181           </colorrole>
     1182           <colorrole role="LinkVisited">
     1183            <brush brushstyle="SolidPattern">
     1184             <color alpha="255">
     1185              <red>0</red>
     1186              <green>0</green>
     1187              <blue>0</blue>
     1188             </color>
     1189            </brush>
     1190           </colorrole>
     1191           <colorrole role="AlternateBase">
     1192            <brush brushstyle="SolidPattern">
     1193             <color alpha="255">
    12411194              <red>232</red>
    12421195              <green>232</green>
     
    12471200          </inactive>
    12481201          <disabled>
    1249            <colorrole role="WindowText" >
    1250             <brush brushstyle="SolidPattern" >
    1251              <color alpha="255" >
     1202           <colorrole role="WindowText">
     1203            <brush brushstyle="SolidPattern">
     1204             <color alpha="255">
    12521205              <red>128</red>
    12531206              <green>128</green>
     
    12561209            </brush>
    12571210           </colorrole>
    1258            <colorrole role="Button" >
    1259             <brush brushstyle="SolidPattern" >
    1260              <color alpha="255" >
    1261               <red>0</red>
    1262               <green>255</green>
    1263               <blue>0</blue>
    1264              </color>
    1265             </brush>
    1266            </colorrole>
    1267            <colorrole role="Light" >
    1268             <brush brushstyle="SolidPattern" >
    1269              <color alpha="255" >
     1211           <colorrole role="Button">
     1212            <brush brushstyle="SolidPattern">
     1213             <color alpha="255">
     1214              <red>0</red>
     1215              <green>255</green>
     1216              <blue>0</blue>
     1217             </color>
     1218            </brush>
     1219           </colorrole>
     1220           <colorrole role="Light">
     1221            <brush brushstyle="SolidPattern">
     1222             <color alpha="255">
    12701223              <red>127</red>
    12711224              <green>255</green>
     
    12741227            </brush>
    12751228           </colorrole>
    1276            <colorrole role="Midlight" >
    1277             <brush brushstyle="SolidPattern" >
    1278              <color alpha="255" >
     1229           <colorrole role="Midlight">
     1230            <brush brushstyle="SolidPattern">
     1231             <color alpha="255">
    12791232              <red>38</red>
    12801233              <green>255</green>
     
    12831236            </brush>
    12841237           </colorrole>
    1285            <colorrole role="Dark" >
    1286             <brush brushstyle="SolidPattern" >
    1287              <color alpha="255" >
     1238           <colorrole role="Dark">
     1239            <brush brushstyle="SolidPattern">
     1240             <color alpha="255">
    12881241              <red>0</red>
    12891242              <green>127</green>
     
    12921245            </brush>
    12931246           </colorrole>
    1294            <colorrole role="Mid" >
    1295             <brush brushstyle="SolidPattern" >
    1296              <color alpha="255" >
     1247           <colorrole role="Mid">
     1248            <brush brushstyle="SolidPattern">
     1249             <color alpha="255">
    12971250              <red>0</red>
    12981251              <green>170</green>
     
    13011254            </brush>
    13021255           </colorrole>
    1303            <colorrole role="Text" >
    1304             <brush brushstyle="SolidPattern" >
    1305              <color alpha="255" >
    1306               <red>0</red>
    1307               <green>0</green>
    1308               <blue>0</blue>
    1309              </color>
    1310             </brush>
    1311            </colorrole>
    1312            <colorrole role="BrightText" >
    1313             <brush brushstyle="SolidPattern" >
    1314              <color alpha="255" >
    1315               <red>255</red>
    1316               <green>255</green>
    1317               <blue>255</blue>
    1318              </color>
    1319             </brush>
    1320            </colorrole>
    1321            <colorrole role="ButtonText" >
    1322             <brush brushstyle="SolidPattern" >
    1323              <color alpha="255" >
     1256           <colorrole role="Text">
     1257            <brush brushstyle="SolidPattern">
     1258             <color alpha="255">
     1259              <red>0</red>
     1260              <green>0</green>
     1261              <blue>0</blue>
     1262             </color>
     1263            </brush>
     1264           </colorrole>
     1265           <colorrole role="BrightText">
     1266            <brush brushstyle="SolidPattern">
     1267             <color alpha="255">
     1268              <red>255</red>
     1269              <green>255</green>
     1270              <blue>255</blue>
     1271             </color>
     1272            </brush>
     1273           </colorrole>
     1274           <colorrole role="ButtonText">
     1275            <brush brushstyle="SolidPattern">
     1276             <color alpha="255">
    13241277              <red>128</red>
    13251278              <green>128</green>
     
    13281281            </brush>
    13291282           </colorrole>
    1330            <colorrole role="Base" >
    1331             <brush brushstyle="SolidPattern" >
    1332              <color alpha="255" >
    1333               <red>255</red>
    1334               <green>255</green>
    1335               <blue>255</blue>
    1336              </color>
    1337             </brush>
    1338            </colorrole>
    1339            <colorrole role="Window" >
    1340             <brush brushstyle="SolidPattern" >
    1341              <color alpha="255" >
     1283           <colorrole role="Base">
     1284            <brush brushstyle="SolidPattern">
     1285             <color alpha="255">
     1286              <red>255</red>
     1287              <green>255</green>
     1288              <blue>255</blue>
     1289             </color>
     1290            </brush>
     1291           </colorrole>
     1292           <colorrole role="Window">
     1293            <brush brushstyle="SolidPattern">
     1294             <color alpha="255">
    13421295              <red>220</red>
    13431296              <green>220</green>
     
    13461299            </brush>
    13471300           </colorrole>
    1348            <colorrole role="Shadow" >
    1349             <brush brushstyle="SolidPattern" >
    1350              <color alpha="255" >
    1351               <red>0</red>
    1352               <green>0</green>
    1353               <blue>0</blue>
    1354              </color>
    1355             </brush>
    1356            </colorrole>
    1357            <colorrole role="Highlight" >
    1358             <brush brushstyle="SolidPattern" >
    1359              <color alpha="255" >
     1301           <colorrole role="Shadow">
     1302            <brush brushstyle="SolidPattern">
     1303             <color alpha="255">
     1304              <red>0</red>
     1305              <green>0</green>
     1306              <blue>0</blue>
     1307             </color>
     1308            </brush>
     1309           </colorrole>
     1310           <colorrole role="Highlight">
     1311            <brush brushstyle="SolidPattern">
     1312             <color alpha="255">
    13601313              <red>10</red>
    13611314              <green>95</green>
     
    13641317            </brush>
    13651318           </colorrole>
    1366            <colorrole role="HighlightedText" >
    1367             <brush brushstyle="SolidPattern" >
    1368              <color alpha="255" >
    1369               <red>255</red>
    1370               <green>255</green>
    1371               <blue>255</blue>
    1372              </color>
    1373             </brush>
    1374            </colorrole>
    1375            <colorrole role="Link" >
    1376             <brush brushstyle="SolidPattern" >
    1377              <color alpha="255" >
    1378               <red>0</red>
    1379               <green>0</green>
    1380               <blue>0</blue>
    1381              </color>
    1382             </brush>
    1383            </colorrole>
    1384            <colorrole role="LinkVisited" >
    1385             <brush brushstyle="SolidPattern" >
    1386              <color alpha="255" >
    1387               <red>0</red>
    1388               <green>0</green>
    1389               <blue>0</blue>
    1390              </color>
    1391             </brush>
    1392            </colorrole>
    1393            <colorrole role="AlternateBase" >
    1394             <brush brushstyle="SolidPattern" >
    1395              <color alpha="255" >
     1319           <colorrole role="HighlightedText">
     1320            <brush brushstyle="SolidPattern">
     1321             <color alpha="255">
     1322              <red>255</red>
     1323              <green>255</green>
     1324              <blue>255</blue>
     1325             </color>
     1326            </brush>
     1327           </colorrole>
     1328           <colorrole role="Link">
     1329            <brush brushstyle="SolidPattern">
     1330             <color alpha="255">
     1331              <red>0</red>
     1332              <green>0</green>
     1333              <blue>0</blue>
     1334             </color>
     1335            </brush>
     1336           </colorrole>
     1337           <colorrole role="LinkVisited">
     1338            <brush brushstyle="SolidPattern">
     1339             <color alpha="255">
     1340              <red>0</red>
     1341              <green>0</green>
     1342              <blue>0</blue>
     1343             </color>
     1344            </brush>
     1345           </colorrole>
     1346           <colorrole role="AlternateBase">
     1347            <brush brushstyle="SolidPattern">
     1348             <color alpha="255">
    13961349              <red>232</red>
    13971350              <green>232</green>
     
    14031356         </palette>
    14041357        </property>
    1405         <property name="maximum" >
     1358        <property name="maximum">
    14061359         <number>400</number>
    14071360        </property>
    1408         <property name="value" >
     1361        <property name="value">
    14091362         <number>100</number>
    14101363        </property>
    1411         <property name="orientation" >
     1364        <property name="orientation">
    14121365         <enum>Qt::Horizontal</enum>
    14131366        </property>
    14141367       </widget>
    14151368      </item>
    1416       <item row="4" column="2" >
    1417        <widget class="QLabel" name="glabel" >
    1418         <property name="text" >
     1369      <item row="4" column="2">
     1370       <widget class="QLabel" name="glabel">
     1371        <property name="text">
    14191372         <string>1.0</string>
    14201373        </property>
    14211374       </widget>
    14221375      </item>
    1423       <item row="0" column="0" >
    1424        <widget class="QLabel" name="TextLabel7" >
    1425         <property name="text" >
     1376      <item row="0" column="0">
     1377       <widget class="QLabel" name="TextLabel7">
     1378        <property name="text">
    14261379         <string>All</string>
    14271380        </property>
    14281381       </widget>
    14291382      </item>
    1430       <item row="0" column="2" >
    1431        <widget class="QLabel" name="TextLabel8" >
    1432         <property name="text" >
     1383      <item row="0" column="2">
     1384       <widget class="QLabel" name="TextLabel8">
     1385        <property name="text">
    14331386         <string>1.0</string>
    14341387        </property>
    14351388       </widget>
    14361389      </item>
    1437       <item row="0" column="1" >
    1438        <widget class="QSlider" name="gammaslider" >
    1439         <property name="palette" >
     1390      <item row="0" column="1">
     1391       <widget class="QSlider" name="gammaslider">
     1392        <property name="palette">
    14401393         <palette>
    14411394          <active>
    1442            <colorrole role="WindowText" >
    1443             <brush brushstyle="SolidPattern" >
    1444              <color alpha="255" >
     1395           <colorrole role="WindowText">
     1396            <brush brushstyle="SolidPattern">
     1397             <color alpha="255">
    14451398              <red>128</red>
    14461399              <green>128</green>
     
    14491402            </brush>
    14501403           </colorrole>
    1451            <colorrole role="Button" >
    1452             <brush brushstyle="SolidPattern" >
    1453              <color alpha="255" >
    1454               <red>255</red>
    1455               <green>255</green>
    1456               <blue>255</blue>
    1457              </color>
    1458             </brush>
    1459            </colorrole>
    1460            <colorrole role="Light" >
    1461             <brush brushstyle="SolidPattern" >
    1462              <color alpha="255" >
    1463               <red>255</red>
    1464               <green>255</green>
    1465               <blue>255</blue>
    1466              </color>
    1467             </brush>
    1468            </colorrole>
    1469            <colorrole role="Midlight" >
    1470             <brush brushstyle="SolidPattern" >
    1471              <color alpha="255" >
    1472               <red>255</red>
    1473               <green>255</green>
    1474               <blue>255</blue>
    1475              </color>
    1476             </brush>
    1477            </colorrole>
    1478            <colorrole role="Dark" >
    1479             <brush brushstyle="SolidPattern" >
    1480              <color alpha="255" >
     1404           <colorrole role="Button">
     1405            <brush brushstyle="SolidPattern">
     1406             <color alpha="255">
     1407              <red>255</red>
     1408              <green>255</green>
     1409              <blue>255</blue>
     1410             </color>
     1411            </brush>
     1412           </colorrole>
     1413           <colorrole role="Light">
     1414            <brush brushstyle="SolidPattern">
     1415             <color alpha="255">
     1416              <red>255</red>
     1417              <green>255</green>
     1418              <blue>255</blue>
     1419             </color>
     1420            </brush>
     1421           </colorrole>
     1422           <colorrole role="Midlight">
     1423            <brush brushstyle="SolidPattern">
     1424             <color alpha="255">
     1425              <red>255</red>
     1426              <green>255</green>
     1427              <blue>255</blue>
     1428             </color>
     1429            </brush>
     1430           </colorrole>
     1431           <colorrole role="Dark">
     1432            <brush brushstyle="SolidPattern">
     1433             <color alpha="255">
    14811434              <red>127</red>
    14821435              <green>127</green>
     
    14851438            </brush>
    14861439           </colorrole>
    1487            <colorrole role="Mid" >
    1488             <brush brushstyle="SolidPattern" >
    1489              <color alpha="255" >
     1440           <colorrole role="Mid">
     1441            <brush brushstyle="SolidPattern">
     1442             <color alpha="255">
    14901443              <red>170</red>
    14911444              <green>170</green>
     
    14941447            </brush>
    14951448           </colorrole>
    1496            <colorrole role="Text" >
    1497             <brush brushstyle="SolidPattern" >
    1498              <color alpha="255" >
    1499               <red>0</red>
    1500               <green>0</green>
    1501               <blue>0</blue>
    1502              </color>
    1503             </brush>
    1504            </colorrole>
    1505            <colorrole role="BrightText" >
    1506             <brush brushstyle="SolidPattern" >
    1507              <color alpha="255" >
    1508               <red>255</red>
    1509               <green>255</green>
    1510               <blue>255</blue>
    1511              </color>
    1512             </brush>
    1513            </colorrole>
    1514            <colorrole role="ButtonText" >
    1515             <brush brushstyle="SolidPattern" >
    1516              <color alpha="255" >
     1449           <colorrole role="Text">
     1450            <brush brushstyle="SolidPattern">
     1451             <color alpha="255">
     1452              <red>0</red>
     1453              <green>0</green>
     1454              <blue>0</blue>
     1455             </color>
     1456            </brush>
     1457           </colorrole>
     1458           <colorrole role="BrightText">
     1459            <brush brushstyle="SolidPattern">
     1460             <color alpha="255">
     1461              <red>255</red>
     1462              <green>255</green>
     1463              <blue>255</blue>
     1464             </color>
     1465            </brush>
     1466           </colorrole>
     1467           <colorrole role="ButtonText">
     1468            <brush brushstyle="SolidPattern">
     1469             <color alpha="255">
    15171470              <red>128</red>
    15181471              <green>128</green>
     
    15211474            </brush>
    15221475           </colorrole>
    1523            <colorrole role="Base" >
    1524             <brush brushstyle="SolidPattern" >
    1525              <color alpha="255" >
    1526               <red>255</red>
    1527               <green>255</green>
    1528               <blue>255</blue>
    1529              </color>
    1530             </brush>
    1531            </colorrole>
    1532            <colorrole role="Window" >
    1533             <brush brushstyle="SolidPattern" >
    1534              <color alpha="255" >
     1476           <colorrole role="Base">
     1477            <brush brushstyle="SolidPattern">
     1478             <color alpha="255">
     1479              <red>255</red>
     1480              <green>255</green>
     1481              <blue>255</blue>
     1482             </color>
     1483            </brush>
     1484           </colorrole>
     1485           <colorrole role="Window">
     1486            <brush brushstyle="SolidPattern">
     1487             <color alpha="255">
    15351488              <red>220</red>
    15361489              <green>220</green>
     
    15391492            </brush>
    15401493           </colorrole>
    1541            <colorrole role="Shadow" >
    1542             <brush brushstyle="SolidPattern" >
    1543              <color alpha="255" >
    1544               <red>0</red>
    1545               <green>0</green>
    1546               <blue>0</blue>
    1547              </color>
    1548             </brush>
    1549            </colorrole>
    1550            <colorrole role="Highlight" >
    1551             <brush brushstyle="SolidPattern" >
    1552              <color alpha="255" >
     1494           <colorrole role="Shadow">
     1495            <brush brushstyle="SolidPattern">
     1496             <color alpha="255">
     1497              <red>0</red>
     1498              <green>0</green>
     1499              <blue>0</blue>
     1500             </color>
     1501            </brush>
     1502           </colorrole>
     1503           <colorrole role="Highlight">
     1504            <brush brushstyle="SolidPattern">
     1505             <color alpha="255">
    15531506              <red>10</red>
    15541507              <green>95</green>
     
    15571510            </brush>
    15581511           </colorrole>
    1559            <colorrole role="HighlightedText" >
    1560             <brush brushstyle="SolidPattern" >
    1561              <color alpha="255" >
    1562               <red>255</red>
    1563               <green>255</green>
    1564               <blue>255</blue>
    1565              </color>
    1566             </brush>
    1567            </colorrole>
    1568            <colorrole role="Link" >
    1569             <brush brushstyle="SolidPattern" >
    1570              <color alpha="255" >
    1571               <red>0</red>
    1572               <green>0</green>
    1573               <blue>0</blue>
    1574              </color>
    1575             </brush>
    1576            </colorrole>
    1577            <colorrole role="LinkVisited" >
    1578             <brush brushstyle="SolidPattern" >
    1579              <color alpha="255" >
    1580               <red>0</red>
    1581               <green>0</green>
    1582               <blue>0</blue>
    1583              </color>
    1584             </brush>
    1585            </colorrole>
    1586            <colorrole role="AlternateBase" >
    1587             <brush brushstyle="SolidPattern" >
    1588              <color alpha="255" >
     1512           <colorrole role="HighlightedText">
     1513            <brush brushstyle="SolidPattern">
     1514             <color alpha="255">
     1515              <red>255</red>
     1516              <green>255</green>
     1517              <blue>255</blue>
     1518             </color>
     1519            </brush>
     1520           </colorrole>
     1521           <colorrole role="Link">
     1522            <brush brushstyle="SolidPattern">
     1523             <color alpha="255">
     1524              <red>0</red>
     1525              <green>0</green>
     1526              <blue>0</blue>
     1527             </color>
     1528            </brush>
     1529           </colorrole>
     1530           <colorrole role="LinkVisited">
     1531            <brush brushstyle="SolidPattern">
     1532             <color alpha="255">
     1533              <red>0</red>
     1534              <green>0</green>
     1535              <blue>0</blue>
     1536             </color>
     1537            </brush>
     1538           </colorrole>
     1539           <colorrole role="AlternateBase">
     1540            <brush brushstyle="SolidPattern">
     1541             <color alpha="255">
    15891542              <red>232</red>
    15901543              <green>232</green>
     
    15951548          </active>
    15961549          <inactive>
    1597            <colorrole role="WindowText" >
    1598             <brush brushstyle="SolidPattern" >
    1599              <color alpha="255" >
     1550           <colorrole role="WindowText">
     1551            <brush brushstyle="SolidPattern">
     1552             <color alpha="255">
    16001553              <red>128</red>
    16011554              <green>128</green>
     
    16041557            </brush>
    16051558           </colorrole>
    1606            <colorrole role="Button" >
    1607             <brush brushstyle="SolidPattern" >
    1608              <color alpha="255" >
    1609               <red>255</red>
    1610               <green>255</green>
    1611               <blue>255</blue>
    1612              </color>
    1613             </brush>
    1614            </colorrole>
    1615            <colorrole role="Light" >
    1616             <brush brushstyle="SolidPattern" >
    1617              <color alpha="255" >
    1618               <red>255</red>
    1619               <green>255</green>
    1620               <blue>255</blue>
    1621              </color>
    1622             </brush>
    1623            </colorrole>
    1624            <colorrole role="Midlight" >
    1625             <brush brushstyle="SolidPattern" >
    1626              <color alpha="255" >
    1627               <red>255</red>
    1628               <green>255</green>
    1629               <blue>255</blue>
    1630              </color>
    1631             </brush>
    1632            </colorrole>
    1633            <colorrole role="Dark" >
    1634             <brush brushstyle="SolidPattern" >
    1635              <color alpha="255" >
     1559           <colorrole role="Button">
     1560            <brush brushstyle="SolidPattern">
     1561             <color alpha="255">
     1562              <red>255</red>
     1563              <green>255</green>
     1564              <blue>255</blue>
     1565             </color>
     1566            </brush>
     1567           </colorrole>
     1568           <colorrole role="Light">
     1569            <brush brushstyle="SolidPattern">
     1570             <color alpha="255">
     1571              <red>255</red>
     1572              <green>255</green>
     1573              <blue>255</blue>
     1574             </color>
     1575            </brush>
     1576           </colorrole>
     1577           <colorrole role="Midlight">
     1578            <brush brushstyle="SolidPattern">
     1579             <color alpha="255">
     1580              <red>255</red>
     1581              <green>255</green>
     1582              <blue>255</blue>
     1583             </color>
     1584            </brush>
     1585           </colorrole>
     1586           <colorrole role="Dark">
     1587            <brush brushstyle="SolidPattern">
     1588             <color alpha="255">
    16361589              <red>127</red>
    16371590              <green>127</green>
     
    16401593            </brush>
    16411594           </colorrole>
    1642            <colorrole role="Mid" >
    1643             <brush brushstyle="SolidPattern" >
    1644              <color alpha="255" >
     1595           <colorrole role="Mid">
     1596            <brush brushstyle="SolidPattern">
     1597             <color alpha="255">
    16451598              <red>170</red>
    16461599              <green>170</green>
     
    16491602            </brush>
    16501603           </colorrole>
    1651            <colorrole role="Text" >
    1652             <brush brushstyle="SolidPattern" >
    1653              <color alpha="255" >
    1654               <red>0</red>
    1655               <green>0</green>
    1656               <blue>0</blue>
    1657              </color>
    1658             </brush>
    1659            </colorrole>
    1660            <colorrole role="BrightText" >
    1661             <brush brushstyle="SolidPattern" >
    1662              <color alpha="255" >
    1663               <red>255</red>
    1664               <green>255</green>
    1665               <blue>255</blue>
    1666              </color>
    1667             </brush>
    1668            </colorrole>
    1669            <colorrole role="ButtonText" >
    1670             <brush brushstyle="SolidPattern" >
    1671              <color alpha="255" >
     1604           <colorrole role="Text">
     1605            <brush brushstyle="SolidPattern">
     1606             <color alpha="255">
     1607              <red>0</red>
     1608              <green>0</green>
     1609              <blue>0</blue>
     1610             </color>
     1611            </brush>
     1612           </colorrole>
     1613           <colorrole role="BrightText">
     1614            <brush brushstyle="SolidPattern">
     1615             <color alpha="255">
     1616              <red>255</red>
     1617              <green>255</green>
     1618              <blue>255</blue>
     1619             </color>
     1620            </brush>
     1621           </colorrole>
     1622           <colorrole role="ButtonText">
     1623            <brush brushstyle="SolidPattern">
     1624             <color alpha="255">
    16721625              <red>128</red>
    16731626              <green>128</green>
     
    16761629            </brush>
    16771630           </colorrole>
    1678            <colorrole role="Base" >
    1679             <brush brushstyle="SolidPattern" >
    1680              <color alpha="255" >
    1681               <red>255</red>
    1682               <green>255</green>
    1683               <blue>255</blue>
    1684              </color>
    1685             </brush>
    1686            </colorrole>
    1687            <colorrole role="Window" >
    1688             <brush brushstyle="SolidPattern" >
    1689              <color alpha="255" >
     1631           <colorrole role="Base">
     1632            <brush brushstyle="SolidPattern">
     1633             <color alpha="255">
     1634              <red>255</red>
     1635              <green>255</green>
     1636              <blue>255</blue>
     1637             </color>
     1638            </brush>
     1639           </colorrole>
     1640           <colorrole role="Window">
     1641            <brush brushstyle="SolidPattern">
     1642             <color alpha="255">
    16901643              <red>220</red>
    16911644              <green>220</green>
     
    16941647            </brush>
    16951648           </colorrole>
    1696            <colorrole role="Shadow" >
    1697             <brush brushstyle="SolidPattern" >
    1698              <color alpha="255" >
    1699               <red>0</red>
    1700               <green>0</green>
    1701               <blue>0</blue>
    1702              </color>
    1703             </brush>
    1704            </colorrole>
    1705            <colorrole role="Highlight" >
    1706             <brush brushstyle="SolidPattern" >
    1707              <color alpha="255" >
     1649           <colorrole role="Shadow">
     1650            <brush brushstyle="SolidPattern">
     1651             <color alpha="255">
     1652              <red>0</red>
     1653              <green>0</green>
     1654              <blue>0</blue>
     1655             </color>
     1656            </brush>
     1657           </colorrole>
     1658           <colorrole role="Highlight">
     1659            <brush brushstyle="SolidPattern">
     1660             <color alpha="255">
    17081661              <red>10</red>
    17091662              <green>95</green>
     
    17121665            </brush>
    17131666           </colorrole>
    1714            <colorrole role="HighlightedText" >
    1715             <brush brushstyle="SolidPattern" >
    1716              <color alpha="255" >
    1717               <red>255</red>
    1718               <green>255</green>
    1719               <blue>255</blue>
    1720              </color>
    1721             </brush>
    1722            </colorrole>
    1723            <colorrole role="Link" >
    1724             <brush brushstyle="SolidPattern" >
    1725              <color alpha="255" >
    1726               <red>0</red>
    1727               <green>0</green>
    1728               <blue>0</blue>
    1729              </color>
    1730             </brush>
    1731            </colorrole>
    1732            <colorrole role="LinkVisited" >
    1733             <brush brushstyle="SolidPattern" >
    1734              <color alpha="255" >
    1735               <red>0</red>
    1736               <green>0</green>
    1737               <blue>0</blue>
    1738              </color>
    1739             </brush>
    1740            </colorrole>
    1741            <colorrole role="AlternateBase" >
    1742             <brush brushstyle="SolidPattern" >
    1743              <color alpha="255" >
     1667           <colorrole role="HighlightedText">
     1668            <brush brushstyle="SolidPattern">
     1669             <color alpha="255">
     1670              <red>255</red>
     1671              <green>255</green>
     1672              <blue>255</blue>
     1673             </color>
     1674            </brush>
     1675           </colorrole>
     1676           <colorrole role="Link">
     1677            <brush brushstyle="SolidPattern">
     1678             <color alpha="255">
     1679              <red>0</red>
     1680              <green>0</green>
     1681              <blue>0</blue>
     1682             </color>
     1683            </brush>
     1684           </colorrole>
     1685           <colorrole role="LinkVisited">
     1686            <brush brushstyle="SolidPattern">
     1687             <color alpha="255">
     1688              <red>0</red>
     1689              <green>0</green>
     1690              <blue>0</blue>
     1691             </color>
     1692            </brush>
     1693           </colorrole>
     1694           <colorrole role="AlternateBase">
     1695            <brush brushstyle="SolidPattern">
     1696             <color alpha="255">
    17441697              <red>232</red>
    17451698              <green>232</green>
     
    17501703          </inactive>
    17511704          <disabled>
    1752            <colorrole role="WindowText" >
    1753             <brush brushstyle="SolidPattern" >
    1754              <color alpha="255" >
     1705           <colorrole role="WindowText">
     1706            <brush brushstyle="SolidPattern">
     1707             <color alpha="255">
    17551708              <red>128</red>
    17561709              <green>128</green>
     
    17591712            </brush>
    17601713           </colorrole>
    1761            <colorrole role="Button" >
    1762             <brush brushstyle="SolidPattern" >
    1763              <color alpha="255" >
    1764               <red>255</red>
    1765               <green>255</green>
    1766               <blue>255</blue>
    1767              </color>
    1768             </brush>
    1769            </colorrole>
    1770            <colorrole role="Light" >
    1771             <brush brushstyle="SolidPattern" >
    1772              <color alpha="255" >
    1773               <red>255</red>
    1774               <green>255</green>
    1775               <blue>255</blue>
    1776              </color>
    1777             </brush>
    1778            </colorrole>
    1779            <colorrole role="Midlight" >
    1780             <brush brushstyle="SolidPattern" >
    1781              <color alpha="255" >
    1782               <red>255</red>
    1783               <green>255</green>
    1784               <blue>255</blue>
    1785              </color>
    1786             </brush>
    1787            </colorrole>
    1788            <colorrole role="Dark" >
    1789             <brush brushstyle="SolidPattern" >
    1790              <color alpha="255" >
     1714           <colorrole role="Button">
     1715            <brush brushstyle="SolidPattern">
     1716             <color alpha="255">
     1717              <red>255</red>
     1718              <green>255</green>
     1719              <blue>255</blue>
     1720             </color>
     1721            </brush>
     1722           </colorrole>
     1723           <colorrole role="Light">
     1724            <brush brushstyle="SolidPattern">
     1725             <color alpha="255">
     1726              <red>255</red>
     1727              <green>255</green>
     1728              <blue>255</blue>
     1729             </color>
     1730            </brush>
     1731           </colorrole>
     1732           <colorrole role="Midlight">
     1733            <brush brushstyle="SolidPattern">
     1734             <color alpha="255">
     1735              <red>255</red>
     1736              <green>255</green>
     1737              <blue>255</blue>
     1738             </color>
     1739            </brush>
     1740           </colorrole>
     1741           <colorrole role="Dark">
     1742            <brush brushstyle="SolidPattern">
     1743             <color alpha="255">
    17911744              <red>127</red>
    17921745              <green>127</green>
     
    17951748            </brush>
    17961749           </colorrole>
    1797            <colorrole role="Mid" >
    1798             <brush brushstyle="SolidPattern" >
    1799              <color alpha="255" >
     1750           <colorrole role="Mid">
     1751            <brush brushstyle="SolidPattern">
     1752             <color alpha="255">
    18001753              <red>170</red>
    18011754              <green>170</green>
     
    18041757            </brush>
    18051758           </colorrole>
    1806            <colorrole role="Text" >
    1807             <brush brushstyle="SolidPattern" >
    1808              <color alpha="255" >
    1809               <red>0</red>
    1810               <green>0</green>
    1811               <blue>0</blue>
    1812              </color>
    1813             </brush>
    1814            </colorrole>
    1815            <colorrole role="BrightText" >
    1816             <brush brushstyle="SolidPattern" >
    1817              <color alpha="255" >
    1818               <red>255</red>
    1819               <green>255</green>
    1820               <blue>255</blue>
    1821              </color>
    1822             </brush>
    1823            </colorrole>
    1824            <colorrole role="ButtonText" >
    1825             <brush brushstyle="SolidPattern" >
    1826              <color alpha="255" >
     1759           <colorrole role="Text">
     1760            <brush brushstyle="SolidPattern">
     1761             <color alpha="255">
     1762              <red>0</red>
     1763              <green>0</green>
     1764              <blue>0</blue>
     1765             </color>
     1766            </brush>
     1767           </colorrole>
     1768           <colorrole role="BrightText">
     1769            <brush brushstyle="SolidPattern">
     1770             <color alpha="255">
     1771              <red>255</red>
     1772              <green>255</green>
     1773              <blue>255</blue>
     1774             </color>
     1775            </brush>
     1776           </colorrole>
     1777           <colorrole role="ButtonText">
     1778            <brush brushstyle="SolidPattern">
     1779             <color alpha="255">
    18271780              <red>128</red>
    18281781              <green>128</green>
     
    18311784            </brush>
    18321785           </colorrole>
    1833            <colorrole role="Base" >
    1834             <brush brushstyle="SolidPattern" >
    1835              <color alpha="255" >
    1836               <red>255</red>
    1837               <green>255</green>
    1838               <blue>255</blue>
    1839              </color>
    1840             </brush>
    1841            </colorrole>
    1842            <colorrole role="Window" >
    1843             <brush brushstyle="SolidPattern" >
    1844              <color alpha="255" >
     1786           <colorrole role="Base">
     1787            <brush brushstyle="SolidPattern">
     1788             <color alpha="255">
     1789              <red>255</red>
     1790              <green>255</green>
     1791              <blue>255</blue>
     1792             </color>
     1793            </brush>
     1794           </colorrole>
     1795           <colorrole role="Window">
     1796            <brush brushstyle="SolidPattern">
     1797             <color alpha="255">
    18451798              <red>220</red>
    18461799              <green>220</green>
     
    18491802            </brush>
    18501803           </colorrole>
    1851            <colorrole role="Shadow" >
    1852             <brush brushstyle="SolidPattern" >
    1853              <color alpha="255" >
    1854               <red>0</red>
    1855               <green>0</green>
    1856               <blue>0</blue>
    1857              </color>
    1858             </brush>
    1859            </colorrole>
    1860            <colorrole role="Highlight" >
    1861             <brush brushstyle="SolidPattern" >
    1862              <color alpha="255" >
     1804           <colorrole role="Shadow">
     1805            <brush brushstyle="SolidPattern">
     1806             <color alpha="255">
     1807              <red>0</red>
     1808              <green>0</green>
     1809              <blue>0</blue>
     1810             </color>
     1811            </brush>
     1812           </colorrole>
     1813           <colorrole role="Highlight">
     1814            <brush brushstyle="SolidPattern">
     1815             <color alpha="255">
    18631816              <red>10</red>
    18641817              <green>95</green>
     
    18671820            </brush>
    18681821           </colorrole>
    1869            <colorrole role="HighlightedText" >
    1870             <brush brushstyle="SolidPattern" >
    1871              <color alpha="255" >
    1872               <red>255</red>
    1873               <green>255</green>
    1874               <blue>255</blue>
    1875              </color>
    1876             </brush>
    1877            </colorrole>
    1878            <colorrole role="Link" >
    1879             <brush brushstyle="SolidPattern" >
    1880              <color alpha="255" >
    1881               <red>0</red>
    1882               <green>0</green>
    1883               <blue>0</blue>
    1884              </color>
    1885             </brush>
    1886            </colorrole>
    1887            <colorrole role="LinkVisited" >
    1888             <brush brushstyle="SolidPattern" >
    1889              <color alpha="255" >
    1890               <red>0</red>
    1891               <green>0</green>
    1892               <blue>0</blue>
    1893              </color>
    1894             </brush>
    1895            </colorrole>
    1896            <colorrole role="AlternateBase" >
    1897             <brush brushstyle="SolidPattern" >
    1898              <color alpha="255" >
     1822           <colorrole role="HighlightedText">
     1823            <brush brushstyle="SolidPattern">
     1824             <color alpha="255">
     1825              <red>255</red>
     1826              <green>255</green>
     1827              <blue>255</blue>
     1828             </color>
     1829            </brush>
     1830           </colorrole>
     1831           <colorrole role="Link">
     1832            <brush brushstyle="SolidPattern">
     1833             <color alpha="255">
     1834              <red>0</red>
     1835              <green>0</green>
     1836              <blue>0</blue>
     1837             </color>
     1838            </brush>
     1839           </colorrole>
     1840           <colorrole role="LinkVisited">
     1841            <brush brushstyle="SolidPattern">
     1842             <color alpha="255">
     1843              <red>0</red>
     1844              <green>0</green>
     1845              <blue>0</blue>
     1846             </color>
     1847            </brush>
     1848           </colorrole>
     1849           <colorrole role="AlternateBase">
     1850            <brush brushstyle="SolidPattern">
     1851             <color alpha="255">
    18991852              <red>232</red>
    19001853              <green>232</green>
     
    19061859         </palette>
    19071860        </property>
    1908         <property name="maximum" >
     1861        <property name="maximum">
    19091862         <number>400</number>
    19101863        </property>
    1911         <property name="value" >
     1864        <property name="value">
    19121865         <number>100</number>
    19131866        </property>
    1914         <property name="orientation" >
     1867        <property name="orientation">
    19151868         <enum>Qt::Horizontal</enum>
    19161869        </property>
    19171870       </widget>
    19181871      </item>
    1919       <item row="2" column="0" >
    1920        <widget class="QLabel" name="TextLabel1_2" >
    1921         <property name="text" >
     1872      <item row="2" column="0">
     1873       <widget class="QLabel" name="TextLabel1_2">
     1874        <property name="text">
    19221875         <string>Red</string>
    19231876        </property>
    19241877       </widget>
    19251878      </item>
    1926       <item row="2" column="2" >
    1927        <widget class="QLabel" name="rlabel" >
    1928         <property name="text" >
     1879      <item row="2" column="2">
     1880       <widget class="QLabel" name="rlabel">
     1881        <property name="text">
    19291882         <string>1.0</string>
    19301883        </property>
    19311884       </widget>
    19321885      </item>
    1933       <item row="2" column="1" >
    1934        <widget class="QSlider" name="rslider" >
    1935         <property name="palette" >
     1886      <item row="2" column="1">
     1887       <widget class="QSlider" name="rslider">
     1888        <property name="palette">
    19361889         <palette>
    19371890          <active>
    1938            <colorrole role="WindowText" >
    1939             <brush brushstyle="SolidPattern" >
    1940              <color alpha="255" >
     1891           <colorrole role="WindowText">
     1892            <brush brushstyle="SolidPattern">
     1893             <color alpha="255">
    19411894              <red>128</red>
    19421895              <green>128</green>
     
    19451898            </brush>
    19461899           </colorrole>
    1947            <colorrole role="Button" >
    1948             <brush brushstyle="SolidPattern" >
    1949              <color alpha="255" >
    1950               <red>255</red>
    1951               <green>0</green>
    1952               <blue>0</blue>
    1953              </color>
    1954             </brush>
    1955            </colorrole>
    1956            <colorrole role="Light" >
    1957             <brush brushstyle="SolidPattern" >
    1958              <color alpha="255" >
     1900           <colorrole role="Button">
     1901            <brush brushstyle="SolidPattern">
     1902             <color alpha="255">
     1903              <red>255</red>
     1904              <green>0</green>
     1905              <blue>0</blue>
     1906             </color>
     1907            </brush>
     1908           </colorrole>
     1909           <colorrole role="Light">
     1910            <brush brushstyle="SolidPattern">
     1911             <color alpha="255">
    19591912              <red>255</red>
    19601913              <green>127</green>
     
    19631916            </brush>
    19641917           </colorrole>
    1965            <colorrole role="Midlight" >
    1966             <brush brushstyle="SolidPattern" >
    1967              <color alpha="255" >
     1918           <colorrole role="Midlight">
     1919            <brush brushstyle="SolidPattern">
     1920             <color alpha="255">
    19681921              <red>255</red>
    19691922              <green>38</green>
     
    19721925            </brush>
    19731926           </colorrole>
    1974            <colorrole role="Dark" >
    1975             <brush brushstyle="SolidPattern" >
    1976              <color alpha="255" >
     1927           <colorrole role="Dark">
     1928            <brush brushstyle="SolidPattern">
     1929             <color alpha="255">
    19771930              <red>127</red>
    19781931              <green>0</green>
     
    19811934            </brush>
    19821935           </colorrole>
    1983            <colorrole role="Mid" >
    1984             <brush brushstyle="SolidPattern" >
    1985              <color alpha="255" >
     1936           <colorrole role="Mid">
     1937            <brush brushstyle="SolidPattern">
     1938             <color alpha="255">
    19861939              <red>170</red>
    19871940              <green>0</green>
     
    19901943            </brush>
    19911944           </colorrole>
    1992            <colorrole role="Text" >
    1993             <brush brushstyle="SolidPattern" >
    1994              <color alpha="255" >
    1995               <red>0</red>
    1996               <green>0</green>
    1997               <blue>0</blue>
    1998              </color>
    1999             </brush>
    2000            </colorrole>
    2001            <colorrole role="BrightText" >
    2002             <brush brushstyle="SolidPattern" >
    2003              <color alpha="255" >
    2004               <red>255</red>
    2005               <green>255</green>
    2006               <blue>255</blue>
    2007              </color>
    2008             </brush>
    2009            </colorrole>
    2010            <colorrole role="ButtonText" >
    2011             <brush brushstyle="SolidPattern" >
    2012              <color alpha="255" >
     1945           <colorrole role="Text">
     1946            <brush brushstyle="SolidPattern">
     1947             <color alpha="255">
     1948              <red>0</red>
     1949              <green>0</green>
     1950              <blue>0</blue>
     1951             </color>
     1952            </brush>
     1953           </colorrole>
     1954           <colorrole role="BrightText">
     1955            <brush brushstyle="SolidPattern">
     1956             <color alpha="255">
     1957              <red>255</red>
     1958              <green>255</green>
     1959              <blue>255</blue>
     1960             </color>
     1961            </brush>
     1962           </colorrole>
     1963           <colorrole role="ButtonText">
     1964            <brush brushstyle="SolidPattern">
     1965             <color alpha="255">
    20131966              <red>128</red>
    20141967              <green>128</green>
     
    20171970            </brush>
    20181971           </colorrole>
    2019            <colorrole role="Base" >
    2020             <brush brushstyle="SolidPattern" >
    2021              <color alpha="255" >
    2022               <red>255</red>
    2023               <green>255</green>
    2024               <blue>255</blue>
    2025              </color>
    2026             </brush>
    2027            </colorrole>
    2028            <colorrole role="Window" >
    2029             <brush brushstyle="SolidPattern" >
    2030              <color alpha="255" >
     1972           <colorrole role="Base">
     1973            <brush brushstyle="SolidPattern">
     1974             <color alpha="255">
     1975              <red>255</red>
     1976              <green>255</green>
     1977              <blue>255</blue>
     1978             </color>
     1979            </brush>
     1980           </colorrole>
     1981           <colorrole role="Window">
     1982            <brush brushstyle="SolidPattern">
     1983             <color alpha="255">
    20311984              <red>220</red>
    20321985              <green>220</green>
     
    20351988            </brush>
    20361989           </colorrole>
    2037            <colorrole role="Shadow" >
    2038             <brush brushstyle="SolidPattern" >
    2039              <color alpha="255" >
    2040               <red>0</red>
    2041               <green>0</green>
    2042               <blue>0</blue>
    2043              </color>
    2044             </brush>
    2045            </colorrole>
    2046            <colorrole role="Highlight" >
    2047             <brush brushstyle="SolidPattern" >
    2048              <color alpha="255" >
     1990           <colorrole role="Shadow">
     1991            <brush brushstyle="SolidPattern">
     1992             <color alpha="255">
     1993              <red>0</red>
     1994              <green>0</green>
     1995              <blue>0</blue>
     1996             </color>
     1997            </brush>
     1998           </colorrole>
     1999           <colorrole role="Highlight">
     2000            <brush brushstyle="SolidPattern">
     2001             <color alpha="255">
    20492002              <red>10</red>
    20502003              <green>95</green>
     
    20532006            </brush>
    20542007           </colorrole>
    2055            <colorrole role="HighlightedText" >
    2056             <brush brushstyle="SolidPattern" >
    2057              <color alpha="255" >
    2058               <red>255</red>
    2059               <green>255</green>
    2060               <blue>255</blue>
    2061              </color>
    2062             </brush>
    2063            </colorrole>
    2064            <colorrole role="Link" >
    2065             <brush brushstyle="SolidPattern" >
    2066              <color alpha="255" >
    2067               <red>0</red>
    2068               <green>0</green>
    2069               <blue>0</blue>
    2070              </color>
    2071             </brush>
    2072            </colorrole>
    2073            <colorrole role="LinkVisited" >
    2074             <brush brushstyle="SolidPattern" >
    2075              <color alpha="255" >
    2076               <red>0</red>
    2077               <green>0</green>
    2078               <blue>0</blue>
    2079              </color>
    2080             </brush>
    2081            </colorrole>
    2082            <colorrole role="AlternateBase" >
    2083             <brush brushstyle="SolidPattern" >
    2084              <color alpha="255" >
     2008           <colorrole role="HighlightedText">
     2009            <brush brushstyle="SolidPattern">
     2010             <color alpha="255">
     2011              <red>255</red>
     2012              <green>255</green>
     2013              <blue>255</blue>
     2014             </color>
     2015            </brush>
     2016           </colorrole>
     2017           <colorrole role="Link">
     2018            <brush brushstyle="SolidPattern">
     2019             <color alpha="255">
     2020              <red>0</red>
     2021              <green>0</green>
     2022              <blue>0</blue>
     2023             </color>
     2024            </brush>
     2025           </colorrole>
     2026           <colorrole role="LinkVisited">
     2027            <brush brushstyle="SolidPattern">
     2028             <color alpha="255">
     2029              <red>0</red>
     2030              <green>0</green>
     2031              <blue>0</blue>
     2032             </color>
     2033            </brush>
     2034           </colorrole>
     2035           <colorrole role="AlternateBase">
     2036            <brush brushstyle="SolidPattern">
     2037             <color alpha="255">
    20852038              <red>232</red>
    20862039              <green>232</green>
     
    20912044          </active>
    20922045          <inactive>
    2093            <colorrole role="WindowText" >
    2094             <brush brushstyle="SolidPattern" >
    2095              <color alpha="255" >
     2046           <colorrole role="WindowText">
     2047            <brush brushstyle="SolidPattern">
     2048             <color alpha="255">
    20962049              <red>128</red>
    20972050              <green>128</green>
     
    21002053            </brush>
    21012054           </colorrole>
    2102            <colorrole role="Button" >
    2103             <brush brushstyle="SolidPattern" >
    2104              <color alpha="255" >
    2105               <red>255</red>
    2106               <green>0</green>
    2107               <blue>0</blue>
    2108              </color>
    2109             </brush>
    2110            </colorrole>
    2111            <colorrole role="Light" >
    2112             <brush brushstyle="SolidPattern" >
    2113              <color alpha="255" >
     2055           <colorrole role="Button">
     2056            <brush brushstyle="SolidPattern">
     2057             <color alpha="255">
     2058              <red>255</red>
     2059              <green>0</green>
     2060              <blue>0</blue>
     2061             </color>
     2062            </brush>
     2063           </colorrole>
     2064           <colorrole role="Light">
     2065            <brush brushstyle="SolidPattern">
     2066             <color alpha="255">
    21142067              <red>255</red>
    21152068              <green>127</green>
     
    21182071            </brush>
    21192072           </colorrole>
    2120            <colorrole role="Midlight" >
    2121             <brush brushstyle="SolidPattern" >
    2122              <color alpha="255" >
     2073           <colorrole role="Midlight">
     2074            <brush brushstyle="SolidPattern">
     2075             <color alpha="255">
    21232076              <red>255</red>
    21242077              <green>38</green>
     
    21272080            </brush>
    21282081           </colorrole>
    2129            <colorrole role="Dark" >
    2130             <brush brushstyle="SolidPattern" >
    2131              <color alpha="255" >
     2082           <colorrole role="Dark">
     2083            <brush brushstyle="SolidPattern">
     2084             <color alpha="255">
    21322085              <red>127</red>
    21332086              <green>0</green>
     
    21362089            </brush>
    21372090           </colorrole>
    2138            <colorrole role="Mid" >
    2139             <brush brushstyle="SolidPattern" >
    2140              <color alpha="255" >
     2091           <colorrole role="Mid">
     2092            <brush brushstyle="SolidPattern">
     2093             <color alpha="255">
    21412094              <red>170</red>
    21422095              <green>0</green>
     
    21452098            </brush>
    21462099           </colorrole>
    2147            <colorrole role="Text" >
    2148             <brush brushstyle="SolidPattern" >
    2149              <color alpha="255" >
    2150               <red>0</red>
    2151               <green>0</green>
    2152               <blue>0</blue>
    2153              </color>
    2154             </brush>
    2155            </colorrole>
    2156            <colorrole role="BrightText" >
    2157             <brush brushstyle="SolidPattern" >
    2158              <color alpha="255" >
    2159               <red>255</red>
    2160               <green>255</green>
    2161               <blue>255</blue>
    2162              </color>
    2163             </brush>
    2164            </colorrole>
    2165            <colorrole role="ButtonText" >
    2166             <brush brushstyle="SolidPattern" >
    2167              <color alpha="255" >
     2100           <colorrole role="Text">
     2101            <brush brushstyle="SolidPattern">
     2102             <color alpha="255">
     2103              <red>0</red>
     2104              <green>0</green>
     2105              <blue>0</blue>
     2106             </color>
     2107            </brush>
     2108           </colorrole>
     2109           <colorrole role="BrightText">
     2110            <brush brushstyle="SolidPattern">
     2111             <color alpha="255">
     2112              <red>255</red>
     2113              <green>255</green>
     2114              <blue>255</blue>
     2115             </color>
     2116            </brush>
     2117           </colorrole>
     2118           <colorrole role="ButtonText">
     2119            <brush brushstyle="SolidPattern">
     2120             <color alpha="255">
    21682121              <red>128</red>
    21692122              <green>128</green>
     
    21722125            </brush>
    21732126           </colorrole>
    2174            <colorrole role="Base" >
    2175             <brush brushstyle="SolidPattern" >
    2176              <color alpha="255" >
    2177               <red>255</red>
    2178               <green>255</green>
    2179               <blue>255</blue>
    2180              </color>
    2181             </brush>
    2182            </colorrole>
    2183            <colorrole role="Window" >
    2184             <brush brushstyle="SolidPattern" >
    2185              <color alpha="255" >
     2127           <colorrole role="Base">
     2128            <brush brushstyle="SolidPattern">
     2129             <color alpha="255">
     2130              <red>255</red>
     2131              <green>255</green>
     2132              <blue>255</blue>
     2133             </color>
     2134            </brush>
     2135           </colorrole>
     2136           <colorrole role="Window">
     2137            <brush brushstyle="SolidPattern">
     2138             <color alpha="255">
    21862139              <red>220</red>
    21872140              <green>220</green>
     
    21902143            </brush>
    21912144           </colorrole>
    2192            <colorrole role="Shadow" >
    2193             <brush brushstyle="SolidPattern" >
    2194              <color alpha="255" >
    2195               <red>0</red>
    2196               <green>0</green>
    2197               <blue>0</blue>
    2198              </color>
    2199             </brush>
    2200            </colorrole>
    2201            <colorrole role="Highlight" >
    2202             <brush brushstyle="SolidPattern" >
    2203              <color alpha="255" >
     2145           <colorrole role="Shadow">
     2146            <brush brushstyle="SolidPattern">
     2147             <color alpha="255">
     2148              <red>0</red>
     2149              <green>0</green>
     2150              <blue>0</blue>
     2151             </color>
     2152            </brush>
     2153           </colorrole>
     2154           <colorrole role="Highlight">
     2155            <brush brushstyle="SolidPattern">
     2156             <color alpha="255">
    22042157              <red>10</red>
    22052158              <green>95</green>
     
    22082161            </brush>
    22092162           </colorrole>
    2210            <colorrole role="HighlightedText" >
    2211             <brush brushstyle="SolidPattern" >
    2212              <color alpha="255" >
    2213               <red>255</red>
    2214               <green>255</green>
    2215               <blue>255</blue>
    2216              </color>
    2217             </brush>
    2218            </colorrole>
    2219            <colorrole role="Link" >
    2220             <brush brushstyle="SolidPattern" >
    2221              <color alpha="255" >
    2222               <red>0</red>
    2223               <green>0</green>
    2224               <blue>0</blue>
    2225              </color>
    2226             </brush>
    2227            </colorrole>
    2228            <colorrole role="LinkVisited" >
    2229             <brush brushstyle="SolidPattern" >
    2230              <color alpha="255" >
    2231               <red>0</red>
    2232               <green>0</green>
    2233               <blue>0</blue>
    2234              </color>
    2235             </brush>
    2236            </colorrole>
    2237            <colorrole role="AlternateBase" >
    2238             <brush brushstyle="SolidPattern" >
    2239              <color alpha="255" >
     2163           <colorrole role="HighlightedText">
     2164            <brush brushstyle="SolidPattern">
     2165             <color alpha="255">
     2166              <red>255</red>
     2167              <green>255</green>
     2168              <blue>255</blue>
     2169             </color>
     2170            </brush>
     2171           </colorrole>
     2172           <colorrole role="Link">
     2173            <brush brushstyle="SolidPattern">
     2174             <color alpha="255">
     2175              <red>0</red>
     2176              <green>0</green>
     2177              <blue>0</blue>
     2178             </color>
     2179            </brush>
     2180           </colorrole>
     2181           <colorrole role="LinkVisited">
     2182            <brush brushstyle="SolidPattern">
     2183             <color alpha="255">
     2184              <red>0</red>
     2185              <green>0</green>
     2186              <blue>0</blue>
     2187             </color>
     2188            </brush>
     2189           </colorrole>
     2190           <colorrole role="AlternateBase">
     2191            <brush brushstyle="SolidPattern">
     2192             <color alpha="255">
    22402193              <red>232</red>
    22412194              <green>232</green>
     
    22462199          </inactive>
    22472200          <disabled>
    2248            <colorrole role="WindowText" >
    2249             <brush brushstyle="SolidPattern" >
    2250              <color alpha="255" >
     2201           <colorrole role="WindowText">
     2202            <brush brushstyle="SolidPattern">
     2203             <color alpha="255">
    22512204              <red>128</red>
    22522205              <green>128</green>
     
    22552208            </brush>
    22562209           </colorrole>
    2257            <colorrole role="Button" >
    2258             <brush brushstyle="SolidPattern" >
    2259              <color alpha="255" >
    2260               <red>255</red>
    2261               <green>0</green>
    2262               <blue>0</blue>
    2263              </color>
    2264             </brush>
    2265            </colorrole>
    2266            <colorrole role="Light" >
    2267             <brush brushstyle="SolidPattern" >
    2268              <color alpha="255" >
     2210           <colorrole role="Button">
     2211            <brush brushstyle="SolidPattern">
     2212             <color alpha="255">
     2213              <red>255</red>
     2214              <green>0</green>
     2215              <blue>0</blue>
     2216             </color>
     2217            </brush>
     2218           </colorrole>
     2219           <colorrole role="Light">
     2220            <brush brushstyle="SolidPattern">
     2221             <color alpha="255">
    22692222              <red>255</red>
    22702223              <green>127</green>
     
    22732226            </brush>
    22742227           </colorrole>
    2275            <colorrole role="Midlight" >
    2276             <brush brushstyle="SolidPattern" >
    2277              <color alpha="255" >
     2228           <colorrole role="Midlight">
     2229            <brush brushstyle="SolidPattern">
     2230             <color alpha="255">
    22782231              <red>255</red>
    22792232              <green>38</green>
     
    22822235            </brush>
    22832236           </colorrole>
    2284            <colorrole role="Dark" >
    2285             <brush brushstyle="SolidPattern" >
    2286              <color alpha="255" >
     2237           <colorrole role="Dark">
     2238            <brush brushstyle="SolidPattern">
     2239             <color alpha="255">
    22872240              <red>127</red>
    22882241              <green>0</green>
     
    22912244            </brush>
    22922245           </colorrole>
    2293            <colorrole role="Mid" >
    2294             <brush brushstyle="SolidPattern" >
    2295              <color alpha="255" >
     2246           <colorrole role="Mid">
     2247            <brush brushstyle="SolidPattern">
     2248             <color alpha="255">
    22962249              <red>170</red>
    22972250              <green>0</green>
     
    23002253            </brush>
    23012254           </colorrole>
    2302            <colorrole role="Text" >
    2303             <brush brushstyle="SolidPattern" >
    2304              <color alpha="255" >
    2305               <red>0</red>
    2306               <green>0</green>
    2307               <blue>0</blue>
    2308              </color>
    2309             </brush>
    2310            </colorrole>
    2311            <colorrole role="BrightText" >
    2312             <brush brushstyle="SolidPattern" >
    2313              <color alpha="255" >
    2314               <red>255</red>
    2315               <green>255</green>
    2316               <blue>255</blue>
    2317              </color>
    2318             </brush>
    2319            </colorrole>
    2320            <colorrole role="ButtonText" >
    2321             <brush brushstyle="SolidPattern" >
    2322              <color alpha="255" >
     2255           <colorrole role="Text">
     2256            <brush brushstyle="SolidPattern">
     2257             <color alpha="255">
     2258              <red>0</red>
     2259              <green>0</green>
     2260              <blue>0</blue>
     2261             </color>
     2262            </brush>
     2263           </colorrole>
     2264           <colorrole role="BrightText">
     2265            <brush brushstyle="SolidPattern">
     2266             <color alpha="255">
     2267              <red>255</red>
     2268              <green>255</green>
     2269              <blue>255</blue>
     2270             </color>
     2271            </brush>
     2272           </colorrole>
     2273           <colorrole role="ButtonText">
     2274            <brush brushstyle="SolidPattern">
     2275             <color alpha="255">
    23232276              <red>128</red>
    23242277              <green>128</green>
     
    23272280            </brush>
    23282281           </colorrole>
    2329            <colorrole role="Base" >
    2330             <brush brushstyle="SolidPattern" >
    2331              <color alpha="255" >
    2332               <red>255</red>
    2333               <green>255</green>
    2334               <blue>255</blue>
    2335              </color>
    2336             </brush>
    2337            </colorrole>
    2338            <colorrole role="Window" >
    2339             <brush brushstyle="SolidPattern" >
    2340              <color alpha="255" >
     2282           <colorrole role="Base">
     2283            <brush brushstyle="SolidPattern">
     2284             <color alpha="255">
     2285              <red>255</red>
     2286              <green>255</green>
     2287              <blue>255</blue>
     2288             </color>
     2289            </brush>
     2290           </colorrole>
     2291           <colorrole role="Window">
     2292            <brush brushstyle="SolidPattern">
     2293             <color alpha="255">
    23412294              <red>220</red>
    23422295              <green>220</green>
     
    23452298            </brush>
    23462299           </colorrole>
    2347            <colorrole role="Shadow" >
    2348             <brush brushstyle="SolidPattern" >
    2349              <color alpha="255" >
    2350               <red>0</red>
    2351               <green>0</green>
    2352               <blue>0</blue>
    2353              </color>
    2354             </brush>
    2355            </colorrole>
    2356            <colorrole role="Highlight" >
    2357             <brush brushstyle="SolidPattern" >
    2358              <color alpha="255" >
     2300           <colorrole role="Shadow">
     2301            <brush brushstyle="SolidPattern">
     2302             <color alpha="255">
     2303              <red>0</red>
     2304              <green>0</green>
     2305              <blue>0</blue>
     2306             </color>
     2307            </brush>
     2308           </colorrole>
     2309           <colorrole role="Highlight">
     2310            <brush brushstyle="SolidPattern">
     2311             <color alpha="255">
    23592312              <red>10</red>
    23602313              <green>95</green>
     
    23632316            </brush>
    23642317           </colorrole>
    2365            <colorrole role="HighlightedText" >
    2366             <brush brushstyle="SolidPattern" >
    2367              <color alpha="255" >
    2368               <red>255</red>
    2369               <green>255</green>
    2370               <blue>255</blue>
    2371              </color>
    2372             </brush>
    2373            </colorrole>
    2374            <colorrole role="Link" >
    2375             <brush brushstyle="SolidPattern" >
    2376              <color alpha="255" >
    2377               <red>0</red>
    2378               <green>0</green>
    2379               <blue>0</blue>
    2380              </color>
    2381             </brush>
    2382            </colorrole>
    2383            <colorrole role="LinkVisited" >
    2384             <brush brushstyle="SolidPattern" >
    2385              <color alpha="255" >
    2386               <red>0</red>
    2387               <green>0</green>
    2388               <blue>0</blue>
    2389              </color>
    2390             </brush>
    2391            </colorrole>
    2392            <colorrole role="AlternateBase" >
    2393             <brush brushstyle="SolidPattern" >
    2394              <color alpha="255" >
     2318           <colorrole role="HighlightedText">
     2319            <brush brushstyle="SolidPattern">
     2320             <color alpha="255">
     2321              <red>255</red>
     2322              <green>255</green>
     2323              <blue>255</blue>
     2324             </color>
     2325            </brush>
     2326           </colorrole>
     2327           <colorrole role="Link">
     2328            <brush brushstyle="SolidPattern">
     2329             <color alpha="255">
     2330              <red>0</red>
     2331              <green>0</green>
     2332              <blue>0</blue>
     2333             </color>
     2334            </brush>
     2335           </colorrole>
     2336           <colorrole role="LinkVisited">
     2337            <brush brushstyle="SolidPattern">
     2338             <color alpha="255">
     2339              <red>0</red>
     2340              <green>0</green>
     2341              <blue>0</blue>
     2342             </color>
     2343            </brush>
     2344           </colorrole>
     2345           <colorrole role="AlternateBase">
     2346            <brush brushstyle="SolidPattern">
     2347             <color alpha="255">
    23952348              <red>232</red>
    23962349              <green>232</green>
     
    24022355         </palette>
    24032356        </property>
    2404         <property name="maximum" >
     2357        <property name="maximum">
    24052358         <number>400</number>
    24062359        </property>
    2407         <property name="value" >
     2360        <property name="value">
    24082361         <number>100</number>
    24092362        </property>
    2410         <property name="orientation" >
     2363        <property name="orientation">
    24112364         <enum>Qt::Horizontal</enum>
    24122365        </property>
    24132366       </widget>
    24142367      </item>
    2415       <item row="8" column="0" colspan="3" >
    2416        <widget class="QPushButton" name="PushButton3" >
    2417         <property name="text" >
     2368      <item row="8" column="0" colspan="3">
     2369       <widget class="QPushButton" name="PushButton3">
     2370        <property name="text">
    24182371         <string>Set all to 1.0</string>
    24192372        </property>
    24202373       </widget>
    24212374      </item>
    2422       <item rowspan="9" row="0" column="3" >
    2423        <widget class="GammaView" native="1" name="MyCustomWidget1" />
     2375      <item row="0" column="3" rowspan="9">
     2376       <widget class="GammaView" name="MyCustomWidget1" native="true"/>
    24242377      </item>
    24252378     </layout>
     
    24272380   </item>
    24282381   <item>
    2429     <layout class="QHBoxLayout" >
    2430      <property name="spacing" >
     2382    <layout class="QHBoxLayout">
     2383     <property name="spacing">
    24312384      <number>6</number>
    24322385     </property>
    2433      <property name="leftMargin" >
    2434       <number>0</number>
    2435      </property>
    2436      <property name="topMargin" >
    2437       <number>0</number>
    2438      </property>
    2439      <property name="rightMargin" >
    2440       <number>0</number>
    2441      </property>
    2442      <property name="bottomMargin" >
     2386     <property name="margin">
    24432387      <number>0</number>
    24442388     </property>
    24452389     <item>
    24462390      <spacer>
    2447        <property name="orientation" >
     2391       <property name="orientation">
    24482392        <enum>Qt::Horizontal</enum>
    24492393       </property>
    2450        <property name="sizeHint" >
     2394       <property name="sizeHint" stdset="0">
    24512395        <size>
    24522396         <width>40</width>
     
    24572401     </item>
    24582402     <item>
    2459       <widget class="QPushButton" name="buttonOk" >
    2460        <property name="text" >
     2403      <widget class="QPushButton" name="buttonOk">
     2404       <property name="text">
    24612405        <string>&amp;OK</string>
    24622406       </property>
    2463        <property name="autoDefault" >
     2407       <property name="autoDefault">
    24642408        <bool>true</bool>
    24652409       </property>
    2466        <property name="default" >
     2410       <property name="default">
    24672411        <bool>true</bool>
    24682412       </property>
     
    24702414     </item>
    24712415     <item>
    2472       <widget class="QPushButton" name="buttonCancel" >
    2473        <property name="text" >
     2416      <widget class="QPushButton" name="buttonCancel">
     2417       <property name="text">
    24742418        <string>&amp;Cancel</string>
    24752419       </property>
    2476        <property name="autoDefault" >
     2420       <property name="autoDefault">
    24772421        <bool>true</bool>
    24782422       </property>
     
    24832427  </layout>
    24842428 </widget>
    2485  <layoutdefault spacing="6" margin="11" />
     2429 <layoutdefault spacing="6" margin="11"/>
    24862430 <customwidgets>
    24872431  <customwidget>
     
    24992443   <slot>click()</slot>
    25002444   <hints>
    2501     <hint type="sourcelabel" >
     2445    <hint type="sourcelabel">
    25022446     <x>152</x>
    25032447     <y>193</y>
    25042448    </hint>
    2505     <hint type="destinationlabel" >
     2449    <hint type="destinationlabel">
    25062450     <x>94</x>
    25072451     <y>199</y>
     
    25152459   <slot>click()</slot>
    25162460   <hints>
    2517     <hint type="sourcelabel" >
     2461    <hint type="sourcelabel">
    25182462     <x>259</x>
    25192463     <y>196</y>
    25202464    </hint>
    2521     <hint type="destinationlabel" >
     2465    <hint type="destinationlabel">
    25222466     <x>64</x>
    25232467     <y>188</y>
  • trunk/tools/qvfb/gammaview.h

    r2 r561  
    22**
    33** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
    4 ** Contact: Qt Software Information (qt-info@nokia.com)
     4** All rights reserved.
     5** Contact: Nokia Corporation (qt-info@nokia.com)
    56**
    67** This file is part of the tools applications of the Qt Toolkit.
     
    2122** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
    2223**
    23 ** In addition, as a special exception, Nokia gives you certain
    24 ** additional rights. These rights are described in the Nokia Qt LGPL
    25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
    26 ** package.
     24** In addition, as a special exception, Nokia gives you certain additional
     25** rights.  These rights are described in the Nokia Qt LGPL Exception
     26** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
    2727**
    2828** GNU General Public License Usage
     
    3434** met: http://www.gnu.org/copyleft/gpl.html.
    3535**
    36 ** If you are unsure which license is appropriate for your use, please
    37 ** contact the sales department at qt-sales@nokia.com.
     36** If you have questions regarding the use of this file, please contact
     37** Nokia at qt-info@nokia.com.
    3838** $QT_END_LICENSE$
    3939**
  • trunk/tools/qvfb/main.cpp

    r2 r561  
    22**
    33** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
    4 ** Contact: Qt Software Information (qt-info@nokia.com)
     4** All rights reserved.
     5** Contact: Nokia Corporation (qt-info@nokia.com)
    56**
    67** This file is part of the tools applications of the Qt Toolkit.
     
    2122** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
    2223**
    23 ** In addition, as a special exception, Nokia gives you certain
    24 ** additional rights. These rights are described in the Nokia Qt LGPL
    25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
    26 ** package.
     24** In addition, as a special exception, Nokia gives you certain additional
     25** rights.  These rights are described in the Nokia Qt LGPL Exception
     26** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
    2727**
    2828** GNU General Public License Usage
     
    3434** met: http://www.gnu.org/copyleft/gpl.html.
    3535**
    36 ** If you are unsure which license is appropriate for your use, please
    37 ** contact the sales department at qt-sales@nokia.com.
     36** If you have questions regarding the use of this file, please contact
     37** Nokia at qt-info@nokia.com.
    3838** $QT_END_LICENSE$
    3939**
  • trunk/tools/qvfb/qanimationwriter.cpp

    r2 r561  
    22**
    33** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
    4 ** Contact: Qt Software Information (qt-info@nokia.com)
     4** All rights reserved.
     5** Contact: Nokia Corporation (qt-info@nokia.com)
    56**
    67** This file is part of the tools applications of the Qt Toolkit.
     
    2122** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
    2223**
    23 ** In addition, as a special exception, Nokia gives you certain
    24 ** additional rights. These rights are described in the Nokia Qt LGPL
    25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
    26 ** package.
     24** In addition, as a special exception, Nokia gives you certain additional
     25** rights.  These rights are described in the Nokia Qt LGPL Exception
     26** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
    2727**
    2828** GNU General Public License Usage
     
    3434** met: http://www.gnu.org/copyleft/gpl.html.
    3535**
    36 ** If you are unsure which license is appropriate for your use, please
    37 ** contact the sales department at qt-sales@nokia.com.
     36** If you have questions regarding the use of this file, please contact
     37** Nokia at qt-info@nokia.com.
    3838** $QT_END_LICENSE$
    3939**
  • trunk/tools/qvfb/qanimationwriter.h

    r2 r561  
    22**
    33** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
    4 ** Contact: Qt Software Information (qt-info@nokia.com)
     4** All rights reserved.
     5** Contact: Nokia Corporation (qt-info@nokia.com)
    56**
    67** This file is part of the tools applications of the Qt Toolkit.
     
    2122** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
    2223**
    23 ** In addition, as a special exception, Nokia gives you certain
    24 ** additional rights. These rights are described in the Nokia Qt LGPL
    25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
    26 ** package.
     24** In addition, as a special exception, Nokia gives you certain additional
     25** rights.  These rights are described in the Nokia Qt LGPL Exception
     26** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
    2727**
    2828** GNU General Public License Usage
     
    3434** met: http://www.gnu.org/copyleft/gpl.html.
    3535**
    36 ** If you are unsure which license is appropriate for your use, please
    37 ** contact the sales department at qt-sales@nokia.com.
     36** If you have questions regarding the use of this file, please contact
     37** Nokia at qt-info@nokia.com.
    3838** $QT_END_LICENSE$
    3939**
  • trunk/tools/qvfb/qlock.cpp

    r2 r561  
    22**
    33** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
    4 ** Contact: Qt Software Information (qt-info@nokia.com)
     4** All rights reserved.
     5** Contact: Nokia Corporation (qt-info@nokia.com)
    56**
    67** This file is part of the QtGui module of the Qt Toolkit.
     
    2122** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
    2223**
    23 ** In addition, as a special exception, Nokia gives you certain
    24 ** additional rights. These rights are described in the Nokia Qt LGPL
    25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
    26 ** package.
     24** In addition, as a special exception, Nokia gives you certain additional
     25** rights.  These rights are described in the Nokia Qt LGPL Exception
     26** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
    2727**
    2828** GNU General Public License Usage
     
    3434** met: http://www.gnu.org/copyleft/gpl.html.
    3535**
    36 ** If you are unsure which license is appropriate for your use, please
    37 ** contact the sales department at qt-sales@nokia.com.
     36** If you have questions regarding the use of this file, please contact
     37** Nokia at qt-info@nokia.com.
    3838** $QT_END_LICENSE$
    3939**
     
    4242#include "qlock_p.h"
    4343
    44 #ifndef QT_NO_QWS_MULTIPROCESS
     44
     45#ifdef QT_NO_QWS_MULTIPROCESS
     46
     47QT_BEGIN_NAMESPACE
     48
     49/* no multiprocess - use a dummy */
     50
     51QLock::QLock(const QString & /*filename*/, char /*id*/, bool /*create*/)
     52    : type(Read), data(0)
     53{
     54}
     55
     56QLock::~QLock()
     57{
     58}
     59
     60bool QLock::isValid() const
     61{
     62    return true;
     63}
     64
     65void QLock::lock(Type t)
     66{
     67    data = (QLockData *)-1;
     68    type = t;
     69}
     70
     71void QLock::unlock()
     72{
     73    data = 0;
     74}
     75
     76bool QLock::locked() const
     77{
     78    return data;
     79}
     80
     81QT_END_NAMESPACE
     82
     83#else // QT_NO_QWS_MULTIPROCESS
    4584
    4685#include "qwssignalhandler_p.h"
     86
    4787#include <unistd.h>
    4888#include <sys/types.h>
     
    72112#include <signal.h>
    73113
    74 #endif // QT_NO_QWS_MULTIPROCESS
     114#include <private/qcore_unix_p.h> // overrides QT_OPEN
     115
     116
     117QT_BEGIN_NAMESPACE
    75118
    76119#define MAX_LOCKS   200            // maximum simultaneous read locks
    77120
    78 QT_BEGIN_NAMESPACE
    79 
    80 
    81 #ifndef QT_NO_QWS_MULTIPROCESS
    82121class QLockData
    83122{
     
    90129    bool owned;
    91130};
    92 #endif // QT_NO_QWS_MULTIPROCESS
    93131
    94132/*!
     
    97135
    98136    \ingroup qws
    99     \ingroup io
    100137
    101138    \internal
     
    125162QLock::QLock(const QString &filename, char id, bool create)
    126163{
    127 #ifdef QT_NO_QWS_MULTIPROCESS
    128     Q_UNUSED(filename);
    129     Q_UNUSED(id);
    130     Q_UNUSED(create);
    131 #else
    132164    data = new QLockData;
    133165    data->count = 0;
     
    135167    data->file = QString(filename+id).toLocal8Bit().constData();
    136168    for(int x = 0; x < 2; x++) {
    137         data->id = open(data->file, O_RDWR | (x ? O_CREAT : 0), S_IRWXU);
     169        data->id = QT_OPEN(data->file, O_RDWR | (x ? O_CREAT : 0), S_IRWXU);
    138170        if(data->id != -1 || !create) {
    139171            data->owned = x;
     
    162194        qDebug() << "Error" << eno << strerror(eno);
    163195    }
    164 #endif
    165196}
    166197
     
    173204QLock::~QLock()
    174205{
    175 #ifndef QT_NO_QWS_MULTIPROCESS
    176206    if (locked())
    177207        unlock();
    178208#ifdef Q_NO_SEMAPHORE
    179209    if(isValid()) {
    180         close(data->id);
     210        QT_CLOSE(data->id);
    181211        if(data->owned)
    182212            unlink(data->file);
     
    187217#endif
    188218    delete data;
    189 #endif
    190219}
    191220
     
    199228bool QLock::isValid() const
    200229{
    201 #ifndef QT_NO_QWS_MULTIPROCESS
    202230    return (data->id != -1);
    203 #else
    204     return true;
    205 #endif
    206231}
    207232
     
    220245void QLock::lock(Type t)
    221246{
    222 #ifdef QT_NO_QWS_MULTIPROCESS
    223     Q_UNUSED(t);
    224 #else
    225247    if (!data->count) {
    226248#ifdef Q_NO_SEMAPHORE
     
    255277    }
    256278    data->count++;
    257 #endif
    258279}
    259280
     
    268289void QLock::unlock()
    269290{
    270 #ifndef QT_NO_QWS_MULTIPROCESS
    271291    if(data->count) {
    272292        data->count--;
     
    297317        qDebug("Unlock without corresponding lock");
    298318    }
    299 #endif
    300319}
    301320
     
    309328bool QLock::locked() const
    310329{
    311 #ifndef QT_NO_QWS_MULTIPROCESS
    312330    return (data->count > 0);
    313 #else
    314     return false;
    315 #endif
    316331}
    317332
    318333QT_END_NAMESPACE
     334
     335#endif // QT_NO_QWS_MULTIPROCESS
     336
  • trunk/tools/qvfb/qlock_p.h

    r2 r561  
    22**
    33** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
    4 ** Contact: Qt Software Information (qt-info@nokia.com)
     4** All rights reserved.
     5** Contact: Nokia Corporation (qt-info@nokia.com)
    56**
    67** This file is part of the QtGui module of the Qt Toolkit.
     
    2122** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
    2223**
    23 ** In addition, as a special exception, Nokia gives you certain
    24 ** additional rights. These rights are described in the Nokia Qt LGPL
    25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
    26 ** package.
     24** In addition, as a special exception, Nokia gives you certain additional
     25** rights.  These rights are described in the Nokia Qt LGPL Exception
     26** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
    2727**
    2828** GNU General Public License Usage
     
    3434** met: http://www.gnu.org/copyleft/gpl.html.
    3535**
    36 ** If you are unsure which license is appropriate for your use, please
    37 ** contact the sales department at qt-sales@nokia.com.
     36** If you have questions regarding the use of this file, please contact
     37** Nokia at qt-info@nokia.com.
    3838** $QT_END_LICENSE$
    3939**
  • trunk/tools/qvfb/qtopiakeysym.h

    r2 r561  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 1992-2006 TROLLTECH ASA. All rights reserved.
     3** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     4** All rights reserved.
     5** Contact: Nokia Corporation (qt-info@nokia.com)
    46**
    5 ** This file is part of the Phone Edition of the Qt Toolkit.
     7** This file is part of the tools module of the Qt Toolkit.
    68**
    79** $QT_BEGIN_LICENSE:LGPL$
     
    2022** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
    2123**
    22 ** In addition, as a special exception, Nokia gives you certain
    23 ** additional rights. These rights are described in the Nokia Qt LGPL
    24 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
    25 ** package.
     24** In addition, as a special exception, Nokia gives you certain additional
     25** rights.  These rights are described in the Nokia Qt LGPL Exception
     26** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
    2627**
    2728** GNU General Public License Usage
     
    3334** met: http://www.gnu.org/copyleft/gpl.html.
    3435**
    35 ** If you are unsure which license is appropriate for your use, please
    36 ** contact the sales department at qt-sales@nokia.com.
     36** If you have questions regarding the use of this file, please contact
     37** Nokia at qt-info@nokia.com.
    3738** $QT_END_LICENSE$
    3839**
  • trunk/tools/qvfb/qvfb.cpp

    r2 r561  
    22**
    33** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
    4 ** Contact: Qt Software Information (qt-info@nokia.com)
     4** All rights reserved.
     5** Contact: Nokia Corporation (qt-info@nokia.com)
    56**
    67** This file is part of the tools applications of the Qt Toolkit.
     
    2122** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
    2223**
    23 ** In addition, as a special exception, Nokia gives you certain
    24 ** additional rights. These rights are described in the Nokia Qt LGPL
    25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
    26 ** package.
     24** In addition, as a special exception, Nokia gives you certain additional
     25** rights.  These rights are described in the Nokia Qt LGPL Exception
     26** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
    2727**
    2828** GNU General Public License Usage
     
    3434** met: http://www.gnu.org/copyleft/gpl.html.
    3535**
    36 ** If you are unsure which license is appropriate for your use, please
    37 ** contact the sales department at qt-sales@nokia.com.
     36** If you have questions regarding the use of this file, please contact
     37** Nokia at qt-info@nokia.com.
    3838** $QT_END_LICENSE$
    3939**
     
    4242#include "qvfb.h"
    4343#include "qvfbview.h"
     44#include "qvfbhdr.h"
    4445#ifdef Q_WS_X11
    4546#include "qvfbx11view.h"
     
    135136static bool copyButtonConfiguration(const QString &prefix, int displayId)
    136137{
    137     const QString destDir = QString(QLatin1String("/tmp/qtembedded-%1/")).arg(displayId);
     138    const QString destDir = QT_VFB_DATADIR(displayId).append("/");
    138139    const QFileInfo src(prefix + QLatin1String("defaultbuttons.conf"));
    139140    const QFileInfo dst(destDir + QLatin1String("defaultbuttons.conf"));
     
    218219    rateDlg = 0;
    219220    refreshRate = 30;
    220 #if QT_VERSION >= 0x030000
    221     // When compiling with Qt 3 we need to create the menu first to
    222     // avoid scroll bars in the main window
     221    // Create the menu first to avoid scroll bars in the main window
    223222    createMenu( menuBar() );
    224223    init( display_id, w, h, d, r, skin );
    225224    enableCursor( true );
    226 #else
    227     init( display_id, w, h, d, r, skin );
    228     createMenu( menuBar() );
    229 #endif
    230225}
    231226
     
    355350        view->setContentsMargins( 0, 0, 0, 0 );
    356351        setCentralWidget(scroller);
    357 #if QT_VERSION >= 0x030000
    358352        ph += 2;                                        // avoid scrollbar
    359 #endif
    360353        scroller->show();
    361354        // delete defaultbuttons.conf if it was left behind...
    362         unlink(QFileInfo(QString("/tmp/qtembedded-%1/defaultbuttons.conf").arg(view->displayId())).absoluteFilePath().toLatin1().constData());
     355        unlink(QFileInfo(QT_VFB_DATADIR(view->displayId()).append("/defaultbuttons.conf")).absoluteFilePath().toLatin1().constData());
    363356        if (secondaryView)
    364             unlink(QFileInfo(QString("/tmp/qtembedded-%1/defaultbuttons.conf").arg(view->displayId()+1)).absoluteFilePath().toLatin1().constData());
     357            unlink(QFileInfo(QT_VFB_DATADIR(view->displayId() + 1).append("/defaultbuttons.conf")).absoluteFilePath().toLatin1().constData());
    365358    }
    366359    view->setRate(refreshRate);
     
    644637    config->lcdScreen->setChecked(view->lcdScreenEmulation());
    645638    chooseDepth(view->displayDepth(), view->displayFormat());
     639    config->rgbSwapped->setChecked(view->rgbSwapped());
    646640    connect(config->skin, SIGNAL(activated(int)), this, SLOT(skinConfigChosen(int)));
    647641    if ( view->gammaRed() == view->gammaGreen() && view->gammaGreen() == view->gammaBlue() ) {
     
    676670        } else if ( config->size_640_480->isChecked() ) {
    677671            w=640; h=480;
     672        } else if ( config->size_800_480->isChecked() ) {
     673            w=800; h=480;
    678674        } else if ( config->size_800_600->isChecked() ) {
    679675            w=800; h=600;
     
    687683        if ( config->depth_1->isChecked() )
    688684            d=1;
     685        else if ( config->depth_2gray->isChecked() )
     686            d=2;
    689687        else if ( config->depth_4gray->isChecked() )
    690688            d=4;
     
    717715        view->setViewFormat(displayFormat);
    718716        view->setTouchscreenEmulation( config->touchScreen->isChecked() );
     717        if (view->rgbSwapped() != config->rgbSwapped->isChecked()) {
     718            //### the windowTitle logic is inside init(), and init isn't always invoked
     719            QString caption = windowTitle();
     720            if (!config->rgbSwapped->isChecked())
     721                caption.replace(QLatin1String(" BGR"), QString());
     722            else
     723                caption.append(QLatin1String(" BGR"));
     724            setWindowTitle(caption);
     725            view->setRgbSwapped(config->rgbSwapped->isChecked());
     726        }
    719727        bool lcdEmulation = config->lcdScreen->isChecked();
    720728        view->setLcdScreenEmulation( lcdEmulation );
     
    743751    config->size_320_240->setChecked(sz == QSize(320,240));
    744752    config->size_640_480->setChecked(sz == QSize(640,480));
     753    config->size_800_480->setChecked(sz == QSize(800,480));
    745754    config->size_800_600->setChecked(sz == QSize(800,600));
    746755    config->size_1024_768->setChecked(sz == QSize(1024,768));
     
    750759{
    751760    config->depth_1->setChecked(depth==1);
     761    config->depth_2gray->setChecked(depth==2);
    752762    config->depth_4gray->setChecked(depth==4);
    753763    config->depth_8->setChecked(depth==8);
  • trunk/tools/qvfb/qvfb.h

    r2 r561  
    22**
    33** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
    4 ** Contact: Qt Software Information (qt-info@nokia.com)
     4** All rights reserved.
     5** Contact: Nokia Corporation (qt-info@nokia.com)
    56**
    67** This file is part of the tools applications of the Qt Toolkit.
     
    2122** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
    2223**
    23 ** In addition, as a special exception, Nokia gives you certain
    24 ** additional rights. These rights are described in the Nokia Qt LGPL
    25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
    26 ** package.
     24** In addition, as a special exception, Nokia gives you certain additional
     25** rights.  These rights are described in the Nokia Qt LGPL Exception
     26** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
    2727**
    2828** GNU General Public License Usage
     
    3434** met: http://www.gnu.org/copyleft/gpl.html.
    3535**
    36 ** If you are unsure which license is appropriate for your use, please
    37 ** contact the sales department at qt-sales@nokia.com.
     36** If you have questions regarding the use of this file, please contact
     37** Nokia at qt-info@nokia.com.
    3838** $QT_END_LICENSE$
    3939**
  • trunk/tools/qvfb/qvfb.pro

    r2 r561  
    1010
    1111DEPENDPATH      = ../../include
     12INCLUDEPATH     += ../../src/gui/embedded
    1213
    1314FORMS           = config.ui
     
    2021                  qvfbshmem.h \
    2122                  qvfbmmap.h \
    22                   qvfbhdr.h \
    23                   qlock_p.h \
    24                   qwssignalhandler_p.h
     23                  ../../src/gui/embedded/qvfbhdr.h \
     24                  ../../src/gui/embedded/qlock_p.h \
     25                  ../../src/gui/embedded/qwssignalhandler_p.h
    2526
    2627SOURCES         = qvfb.cpp \
     
    3233                  qvfbshmem.cpp \
    3334                  qvfbmmap.cpp \
    34                   qlock.cpp \
    35                   qwssignalhandler.cpp
     35                  ../../src/gui/embedded/qlock.cpp \
     36                  ../../src/gui/embedded/qwssignalhandler.cpp
    3637
    3738include($$QT_SOURCE_TREE/tools/shared/deviceskin/deviceskin.pri)
     
    6162}
    6263
    63 RESOURCES       += qvfb.qrc \
    64                    ClamshellPhone.qrc \
    65                    PDAPhone.qrc \
    66                    SmartPhone2.qrc \
    67                    SmartPhone.qrc \
    68                    SmartPhoneWithButtons.qrc \
    69                    TouchscreenPhone.qrc \
    70                    Trolltech-Keypad.qrc \
    71                    Trolltech-Touchscreen.qrc \
    72                    PortableMedia.qrc
    73 
     64RESOURCES       += qvfb.qrc
  • trunk/tools/qvfb/qvfbhdr.h

    r2 r561  
    22**
    33** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
    4 ** Contact: Qt Software Information (qt-info@nokia.com)
     4** All rights reserved.
     5** Contact: Nokia Corporation (qt-info@nokia.com)
    56**
    67** This file is part of the QtGui module of the Qt Toolkit.
     
    2122** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
    2223**
    23 ** In addition, as a special exception, Nokia gives you certain
    24 ** additional rights. These rights are described in the Nokia Qt LGPL
    25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
    26 ** package.
     24** In addition, as a special exception, Nokia gives you certain additional
     25** rights.  These rights are described in the Nokia Qt LGPL Exception
     26** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
    2727**
    2828** GNU General Public License Usage
     
    3434** met: http://www.gnu.org/copyleft/gpl.html.
    3535**
    36 ** If you are unsure which license is appropriate for your use, please
    37 ** contact the sales department at qt-sales@nokia.com.
     36** If you have questions regarding the use of this file, please contact
     37** Nokia at qt-info@nokia.com.
    3838** $QT_END_LICENSE$
    3939**
     
    5353QT_MODULE(Gui)
    5454
    55 #define QT_VFB_MOUSE_PIPE           "/tmp/.qtvfb_mouse-%1"
    56 #define QT_VFB_KEYBOARD_PIPE        "/tmp/.qtvfb_keyboard-%1"
    57 #define QT_VFB_MAP                  "/tmp/.qtvfb_map-%1"
     55#ifndef QT_QWS_TEMP_DIR
     56#define QT_QWS_TEMP_DIR "/tmp"
     57#endif
     58
     59#ifdef QT_PRIVATE_QWS
     60#define QT_VFB_DATADIR(DISPLAY) QString("%1/qtembedded-%2-%3") \
     61                                .arg(QT_QWS_TEMP_DIR).arg(getuid()).arg(DISPLAY)
     62
     63#define QT_VFB_MOUSE_PIPE(DISPLAY)    QT_VFB_DATADIR(DISPLAY) \
     64                                      .append("/qtvfb_mouse")
     65#define QT_VFB_KEYBOARD_PIPE(DISPLAY) QT_VFB_DATADIR(DISPLAY) \
     66                                      .append("/qtvfb_keyboard")
     67#define QT_VFB_MAP(DISPLAY)           QT_VFB_DATADIR(DISPLAY) \
     68                                      .append("/qtvfb_map")
     69#define QT_VFB_SOUND_PIPE(DISPLAY)    QT_VFB_DATADIR(DISPLAY) \
     70                                      .append("/qt_soundserver")
     71#define QTE_PIPE(DISPLAY)             QT_VFB_DATADIR(DISPLAY) \
     72                                      .append("/QtEmbedded")
     73#define QTE_PIPE_QVFB(DISPLAY)        QTE_PIPE(DISPLAY)
     74#else
     75#define QT_VFB_DATADIR(DISPLAY) QString("%1/qtembedded-%2") \
     76                                .arg(QT_QWS_TEMP_DIR).arg(DISPLAY)
     77#define QT_VFB_MOUSE_PIPE(DISPLAY)    QString("/tmp/.qtvfb_mouse-%1").arg(DISPLAY)
     78#define QT_VFB_KEYBOARD_PIPE(DISPLAY) QString("/tmp/.qtvfb_keyboard-%1").arg(DISPLAY)
     79#define QT_VFB_MAP(DISPLAY)           QString("/tmp/.qtvfb_map-%1").arg(DISPLAY)
     80#define QT_VFB_SOUND_PIPE(DISPLAY)    QString("/tmp/.qt_soundserver-%1").arg(DISPLAY)
     81#define QTE_PIPE(DISPLAY)             QT_VFB_DATADIR(DISPLAY)   \
     82                                      .append("/QtEmbedded-%1") \
     83                                      .arg(DISPLAY)
     84#define QTE_PIPE_QVFB(DISPLAY)        QString("/tmp/qtembedded-%1/QtEmbedded-%1") \
     85                                      .arg(DISPLAY)
     86#endif
    5887
    5988struct QVFbHeader
  • trunk/tools/qvfb/qvfbmmap.cpp

    r2 r561  
    22**
    33** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
    4 ** Contact: Qt Software Information (qt-info@nokia.com)
     4** All rights reserved.
     5** Contact: Nokia Corporation (qt-info@nokia.com)
    56**
    67** This file is part of the tools applications of the Qt Toolkit.
     
    2122** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
    2223**
    23 ** In addition, as a special exception, Nokia gives you certain
    24 ** additional rights. These rights are described in the Nokia Qt LGPL
    25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
    26 ** package.
     24** In addition, as a special exception, Nokia gives you certain additional
     25** rights.  These rights are described in the Nokia Qt LGPL Exception
     26** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
    2727**
    2828** GNU General Public License Usage
     
    3434** met: http://www.gnu.org/copyleft/gpl.html.
    3535**
    36 ** If you are unsure which license is appropriate for your use, please
    37 ** contact the sales department at qt-sales@nokia.com.
     36** If you have questions regarding the use of this file, please contact
     37** Nokia at qt-info@nokia.com.
    3838** $QT_END_LICENSE$
    3939**
  • trunk/tools/qvfb/qvfbmmap.h

    r2 r561  
    22**
    33** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
    4 ** Contact: Qt Software Information (qt-info@nokia.com)
     4** All rights reserved.
     5** Contact: Nokia Corporation (qt-info@nokia.com)
    56**
    67** This file is part of the tools applications of the Qt Toolkit.
     
    2122** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
    2223**
    23 ** In addition, as a special exception, Nokia gives you certain
    24 ** additional rights. These rights are described in the Nokia Qt LGPL
    25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
    26 ** package.
     24** In addition, as a special exception, Nokia gives you certain additional
     25** rights.  These rights are described in the Nokia Qt LGPL Exception
     26** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
    2727**
    2828** GNU General Public License Usage
     
    3434** met: http://www.gnu.org/copyleft/gpl.html.
    3535**
    36 ** If you are unsure which license is appropriate for your use, please
    37 ** contact the sales department at qt-sales@nokia.com.
     36** If you have questions regarding the use of this file, please contact
     37** Nokia at qt-info@nokia.com.
    3838** $QT_END_LICENSE$
    3939**
  • trunk/tools/qvfb/qvfbprotocol.cpp

    r2 r561  
    22**
    33** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
    4 ** Contact: Qt Software Information (qt-info@nokia.com)
     4** All rights reserved.
     5** Contact: Nokia Corporation (qt-info@nokia.com)
    56**
    67** This file is part of the tools applications of the Qt Toolkit.
     
    2122** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
    2223**
    23 ** In addition, as a special exception, Nokia gives you certain
    24 ** additional rights. These rights are described in the Nokia Qt LGPL
    25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
    26 ** package.
     24** In addition, as a special exception, Nokia gives you certain additional
     25** rights.  These rights are described in the Nokia Qt LGPL Exception
     26** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
    2727**
    2828** GNU General Public License Usage
     
    3434** met: http://www.gnu.org/copyleft/gpl.html.
    3535**
    36 ** If you are unsure which license is appropriate for your use, please
    37 ** contact the sales department at qt-sales@nokia.com.
     36** If you have questions regarding the use of this file, please contact
     37** Nokia at qt-info@nokia.com.
    3838** $QT_END_LICENSE$
    3939**
     
    5656#include <unistd.h>
    5757#endif
     58
     59#include "qvfbshmem.h"
    5860
    5961QT_BEGIN_NAMESPACE
     
    9193    : QVFbKeyProtocol(display_id)
    9294{
    93     fileName = QString(QT_VFB_KEYBOARD_PIPE).arg(display_id);
     95    fileName = QT_VFB_KEYBOARD_PIPE(display_id);
    9496    fd = openPipe(fileName.toLocal8Bit().constData());
    9597
     
    120122    : QVFbMouseProtocol(display_id)
    121123{
    122     fileName = QString(QT_VFB_MOUSE_PIPE).arg(display_id);
     124    fileName = QT_VFB_MOUSE_PIPE(display_id);
    123125    fd = openPipe(fileName.toLocal8Bit().constData());
    124126
  • trunk/tools/qvfb/qvfbprotocol.h

    r2 r561  
    22**
    33** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
    4 ** Contact: Qt Software Information (qt-info@nokia.com)
     4** All rights reserved.
     5** Contact: Nokia Corporation (qt-info@nokia.com)
    56**
    67** This file is part of the tools applications of the Qt Toolkit.
     
    2122** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
    2223**
    23 ** In addition, as a special exception, Nokia gives you certain
    24 ** additional rights. These rights are described in the Nokia Qt LGPL
    25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
    26 ** package.
     24** In addition, as a special exception, Nokia gives you certain additional
     25** rights.  These rights are described in the Nokia Qt LGPL Exception
     26** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
    2727**
    2828** GNU General Public License Usage
     
    3434** met: http://www.gnu.org/copyleft/gpl.html.
    3535**
    36 ** If you are unsure which license is appropriate for your use, please
    37 ** contact the sales department at qt-sales@nokia.com.
     36** If you have questions regarding the use of this file, please contact
     37** Nokia at qt-info@nokia.com.
    3838** $QT_END_LICENSE$
    3939**
  • trunk/tools/qvfb/qvfbratedlg.cpp

    r2 r561  
    22**
    33** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
    4 ** Contact: Qt Software Information (qt-info@nokia.com)
     4** All rights reserved.
     5** Contact: Nokia Corporation (qt-info@nokia.com)
    56**
    67** This file is part of the tools applications of the Qt Toolkit.
     
    2122** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
    2223**
    23 ** In addition, as a special exception, Nokia gives you certain
    24 ** additional rights. These rights are described in the Nokia Qt LGPL
    25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
    26 ** package.
     24** In addition, as a special exception, Nokia gives you certain additional
     25** rights.  These rights are described in the Nokia Qt LGPL Exception
     26** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
    2727**
    2828** GNU General Public License Usage
     
    3434** met: http://www.gnu.org/copyleft/gpl.html.
    3535**
    36 ** If you are unsure which license is appropriate for your use, please
    37 ** contact the sales department at qt-sales@nokia.com.
     36** If you have questions regarding the use of this file, please contact
     37** Nokia at qt-info@nokia.com.
    3838** $QT_END_LICENSE$
    3939**
  • trunk/tools/qvfb/qvfbratedlg.h

    r2 r561  
    22**
    33** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
    4 ** Contact: Qt Software Information (qt-info@nokia.com)
     4** All rights reserved.
     5** Contact: Nokia Corporation (qt-info@nokia.com)
    56**
    67** This file is part of the tools applications of the Qt Toolkit.
     
    2122** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
    2223**
    23 ** In addition, as a special exception, Nokia gives you certain
    24 ** additional rights. These rights are described in the Nokia Qt LGPL
    25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
    26 ** package.
     24** In addition, as a special exception, Nokia gives you certain additional
     25** rights.  These rights are described in the Nokia Qt LGPL Exception
     26** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
    2727**
    2828** GNU General Public License Usage
     
    3434** met: http://www.gnu.org/copyleft/gpl.html.
    3535**
    36 ** If you are unsure which license is appropriate for your use, please
    37 ** contact the sales department at qt-sales@nokia.com.
     36** If you have questions regarding the use of this file, please contact
     37** Nokia at qt-info@nokia.com.
    3838** $QT_END_LICENSE$
    3939**
  • trunk/tools/qvfb/qvfbshmem.cpp

    r2 r561  
    22**
    33** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
    4 ** Contact: Qt Software Information (qt-info@nokia.com)
     4** All rights reserved.
     5** Contact: Nokia Corporation (qt-info@nokia.com)
    56**
    67** This file is part of the tools applications of the Qt Toolkit.
     
    2122** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
    2223**
    23 ** In addition, as a special exception, Nokia gives you certain
    24 ** additional rights. These rights are described in the Nokia Qt LGPL
    25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
    26 ** package.
     24** In addition, as a special exception, Nokia gives you certain additional
     25** rights.  These rights are described in the Nokia Qt LGPL Exception
     26** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
    2727**
    2828** GNU General Public License Usage
     
    3434** met: http://www.gnu.org/copyleft/gpl.html.
    3535**
    36 ** If you are unsure which license is appropriate for your use, please
    37 ** contact the sales department at qt-sales@nokia.com.
     36** If you have questions regarding the use of this file, please contact
     37** Nokia at qt-info@nokia.com.
    3838** $QT_END_LICENSE$
    3939**
     
    4444#include "qvfbshmem.h"
    4545#include "qvfbhdr.h"
    46 
    47 #define QTE_PIPE "QtEmbedded-%1"
    4846
    4947#include <QFile>
     
    7270static QString qws_dataDir(int qws_display_id)
    7371{
    74     QByteArray dataDir = QString("/tmp/qtembedded-%1").arg(qws_display_id).toLocal8Bit();
     72    QByteArray dataDir = QT_VFB_DATADIR(qws_display_id).toLocal8Bit();
    7573    if (mkdir(dataDir, 0700)) {
    7674        if (errno != EEXIST) {
     
    131129        username = logname;
    132130
    133     QString oldPipe = "/tmp/qtembedded-" + username + "/" + QString(QTE_PIPE).arg(displayid);
     131    qws_dataDir(displayid);
     132
     133    QString oldPipe = "/tmp/qtembedded-" + username + "/" + QString("QtEmbedded-%1").arg(displayid);
    134134    int oldPipeSemkey = ftok(oldPipe.toLatin1().constData(), 'd');
    135135    if (oldPipeSemkey != -1) {
     
    152152    }
    153153
     154    displayPipe = QTE_PIPE_QVFB(displayid);
     155
    154156    kh = new QVFbKeyPipeProtocol(displayid);
    155157    /* should really depend on receiving qt version, but how can
     
    210212    hdr->windowId = 0;
    211213
    212     displayPipe = qws_dataDir(displayid) + QString(QTE_PIPE).arg(displayid);
    213 
    214214    displayPiped = displayPipe + 'd';
    215215
  • trunk/tools/qvfb/qvfbshmem.h

    r2 r561  
    22**
    33** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
    4 ** Contact: Qt Software Information (qt-info@nokia.com)
     4** All rights reserved.
     5** Contact: Nokia Corporation (qt-info@nokia.com)
    56**
    67** This file is part of the tools applications of the Qt Toolkit.
     
    2122** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
    2223**
    23 ** In addition, as a special exception, Nokia gives you certain
    24 ** additional rights. These rights are described in the Nokia Qt LGPL
    25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
    26 ** package.
     24** In addition, as a special exception, Nokia gives you certain additional
     25** rights.  These rights are described in the Nokia Qt LGPL Exception
     26** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
    2727**
    2828** GNU General Public License Usage
     
    3434** met: http://www.gnu.org/copyleft/gpl.html.
    3535**
    36 ** If you are unsure which license is appropriate for your use, please
    37 ** contact the sales department at qt-sales@nokia.com.
     36** If you have questions regarding the use of this file, please contact
     37** Nokia at qt-info@nokia.com.
    3838** $QT_END_LICENSE$
    3939**
  • trunk/tools/qvfb/qvfbview.cpp

    r2 r561  
    22**
    33** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
    4 ** Contact: Qt Software Information (qt-info@nokia.com)
     4** All rights reserved.
     5** Contact: Nokia Corporation (qt-info@nokia.com)
    56**
    67** This file is part of the tools applications of the Qt Toolkit.
     
    2122** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
    2223**
    23 ** In addition, as a special exception, Nokia gives you certain
    24 ** additional rights. These rights are described in the Nokia Qt LGPL
    25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
    26 ** package.
     24** In addition, as a special exception, Nokia gives you certain additional
     25** rights.  These rights are described in the Nokia Qt LGPL Exception
     26** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
    2727**
    2828** GNU General Public License Usage
     
    3434** met: http://www.gnu.org/copyleft/gpl.html.
    3535**
    36 ** If you are unsure which license is appropriate for your use, please
    37 ** contact the sales department at qt-sales@nokia.com.
     36** If you have questions regarding the use of this file, please contact
     37** Nokia at qt-info@nokia.com.
    3838** $QT_END_LICENSE$
    3939**
     
    9090QVFbView::QVFbView(int id, int w, int h, int d, Rotation r, QWidget *parent)
    9191        : QVFbAbstractView(parent),
    92           viewdepth(d), viewFormat(DefaultFormat), rsh(0), gsh(0), bsh(0), rmax(15), gmax(15), bmax(15),
     92          viewdepth(d), viewFormat(DefaultFormat), rgb_swapped(0), rsh(0), gsh(0), bsh(0), rmax(15), gmax(15), bmax(15),
    9393        contentsWidth(w), contentsHeight(h), gred(1.0), ggreen(1.0), gblue(1.0),
    9494        gammatable(0), refreshRate(30), animation(0),
     
    109109    }
    110110
    111     connect(mView, SIGNAL(displayDataChanged(const QRect &)),
    112             SLOT(refreshDisplay(const QRect &)));
     111    connect(mView, SIGNAL(displayDataChanged(QRect)),
     112            SLOT(refreshDisplay(QRect)));
    113113#ifdef Q_WS_X11
    114114    connect(mView, SIGNAL(displayEmbedRequested(WId)),
     
    458458        break;
    459459    }
     460
     461    case 2: {
     462        if (requiredSize > buffer.size())
     463            buffer.resize(requiredSize);
     464
     465        // XXX: hw: replace by drawhelper functionality
     466
     467        const int pixelsPerByte = 4;
     468        quint8 *src = reinterpret_cast<quint8*>(mView->data())
     469                      + r.y() * mView->linestep() + r.x() / pixelsPerByte;
     470        const int align = qMin(r.width(), (4 - (r.x() & 3)) & 3);
     471        const int doAlign = (align > 0 ? 1 : 0);
     472        const int tail = qMin(r.width(), (r.width() - align) & 3);
     473        const int doTail = (tail > 0 ? 1 : 0);
     474        const int width8 = (r.width() - align) / pixelsPerByte;
     475        const int stride = mView->linestep() - (width8 + doAlign);
     476
     477        uchar *b = reinterpret_cast<uchar*>(buffer.data());
     478        img = QImage(b, r.width(), r.height(), QImage::Format_RGB32);
     479        for (int y = 0; y < r.height(); ++y) {
     480            quint32 *dest = reinterpret_cast<quint32*>(img.scanLine(y));
     481            quint8 c;
     482
     483            if (doAlign) {
     484                switch (align) {
     485                case 3: c = ((*src & 0x30) >> 4) * 0x55;
     486                        *dest++ = qRgb(c, c, c);
     487                case 2: c = ((*src & 0x0c) >> 2) * 0x55;
     488                        *dest++ = qRgb(c, c, c);
     489                case 1: c = ((*src & 0x03)) * 0x55;
     490                        *dest++ = qRgb(c, c, c);
     491                }
     492                ++src;
     493            }
     494            for (int i = 0; i < width8; ++i) {
     495                c = ((*src & 0xc0) >> 6) * 0x55;
     496                *dest++ = qRgb(c, c, c);
     497                c = ((*src & 0x30) >> 4) * 0x55;
     498                *dest++ = qRgb(c, c, c);
     499                c = ((*src & 0x0c) >> 2) * 0x55;
     500                *dest++ = qRgb(c, c, c);
     501                c = ((*src & 0x03)) * 0x55;
     502                *dest++ = qRgb(c, c, c);
     503
     504                ++src;
     505            }
     506            if (doTail) {
     507                switch (tail) {
     508                case 3: c = ((*src & 0x0c) >> 2) * 0x55;
     509                        dest[2] = qRgb(c, c, c);
     510                case 2: c = ((*src & 0x30) >> 4) * 0x55;
     511                        dest[1] = qRgb(c, c, c);
     512                case 1: c = ((*src & 0xc0) >> 6) * 0x55;
     513                        dest[0] = qRgb(c, c, c);
     514                }
     515            }
     516            src += stride;
     517        }
     518        break;
     519    }
     520
    460521    case 4: {
    461522        if (requiredSize > buffer.size())
     
    536597                   QImage::Format_Indexed8);
    537598        img.setColorTable(mView->clut());
    538         if (img.numColors() <= 0)
     599        if (img.colorCount() <= 0)
    539600            img = QImage();
    540601        break;
    541602    }
     603
     604    if (rgb_swapped)
     605        img = img.rgbSwapped();
    542606
    543607    if ( brightness != 255 ) {
     
    550614                img = img.convertToFormat(QImage::Format_RGB32);
    551615
    552             // NOTE: calling bits() may change numBytes(), so do not
     616            // NOTE: calling bits() may change byteCount(), so do not
    553617            // pass them as parameters (which are evaluated right-to-left).
    554618            QRgb *b = (QRgb*)img.bits();
    555             int n = img.numBytes()/4;
     619            int n = img.byteCount()/4;
    556620            dim(b,n,brightness);
    557621        }
  • trunk/tools/qvfb/qvfbview.h

    r2 r561  
    22**
    33** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
    4 ** Contact: Qt Software Information (qt-info@nokia.com)
     4** All rights reserved.
     5** Contact: Nokia Corporation (qt-info@nokia.com)
    56**
    67** This file is part of the tools applications of the Qt Toolkit.
     
    2122** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
    2223**
    23 ** In addition, as a special exception, Nokia gives you certain
    24 ** additional rights. These rights are described in the Nokia Qt LGPL
    25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
    26 ** package.
     24** In addition, as a special exception, Nokia gives you certain additional
     25** rights.  These rights are described in the Nokia Qt LGPL Exception
     26** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
    2727**
    2828** GNU General Public License Usage
     
    3434** met: http://www.gnu.org/copyleft/gpl.html.
    3535**
    36 ** If you are unsure which license is appropriate for your use, please
    37 ** contact the sales department at qt-sales@nokia.com.
     36** If you have questions regarding the use of this file, please contact
     37** Nokia at qt-info@nokia.com.
    3838** $QT_END_LICENSE$
    3939**
     
    7878    virtual int displayDepth() const = 0;
    7979    virtual PixelFormat displayFormat() const { return DefaultFormat; }
     80    virtual bool rgbSwapped() const { return false; }
    8081    virtual Rotation displayRotation() const = 0;
    8182
     
    106107    virtual void skinKeyReleaseEvent( int code, const QString& text, bool autorep=FALSE ) = 0;
    107108    virtual void setViewFormat(PixelFormat) {}
     109    virtual void setRgbSwapped( bool ) {};
    108110    virtual void embedDisplay(WId) {}
    109111};
     
    121123    int displayDepth() const;
    122124    PixelFormat displayFormat() const;
     125    bool rgbSwapped() const { return rgb_swapped; }
    123126    Rotation displayRotation() const;
    124127
     
    152155    void skinKeyReleaseEvent(int code, const QString& text, bool autorep=FALSE);
    153156    void setViewFormat(PixelFormat);
     157    void setRgbSwapped(bool b) { rgb_swapped = b; }
    154158#ifdef Q_WS_X11
    155159    void embedDisplay(WId id);
     
    181185    int viewdepth; // "faked" depth
    182186    PixelFormat viewFormat;
     187    bool rgb_swapped;
    183188    int rsh;
    184189    int gsh;
  • trunk/tools/qvfb/qvfbx11view.cpp

    r2 r561  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 1992-2006 TROLLTECH ASA. All rights reserved.
    4 **
    5 ** This file is part of the Phone Edition of the Qt Toolkit.
     3** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     4** All rights reserved.
     5** Contact: Nokia Corporation (qt-info@nokia.com)
     6**
     7** This file is part of the tools module of the Qt Toolkit.
    68**
    79** $QT_BEGIN_LICENSE:LGPL$
     
    2022** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
    2123**
    22 ** In addition, as a special exception, Nokia gives you certain
    23 ** additional rights. These rights are described in the Nokia Qt LGPL
    24 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
    25 ** package.
     24** In addition, as a special exception, Nokia gives you certain additional
     25** rights.  These rights are described in the Nokia Qt LGPL Exception
     26** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
    2627**
    2728** GNU General Public License Usage
     
    3334** met: http://www.gnu.org/copyleft/gpl.html.
    3435**
    35 ** If you are unsure which license is appropriate for your use, please
    36 ** contact the sales department at qt-sales@nokia.com.
     36** If you have questions regarding the use of this file, please contact
     37** Nokia at qt-info@nokia.com.
    3738** $QT_END_LICENSE$
    3839**
  • trunk/tools/qvfb/qvfbx11view.h

    r2 r561  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 1992-2006 TROLLTECH ASA. All rights reserved.
     3** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     4** All rights reserved.
     5** Contact: Nokia Corporation (qt-info@nokia.com)
    46**
    5 ** This file is part of the Phone Edition of the Qt Toolkit.
     7** This file is part of the tools module of the Qt Toolkit.
    68**
    79** $QT_BEGIN_LICENSE:LGPL$
     
    2022** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
    2123**
    22 ** In addition, as a special exception, Nokia gives you certain
    23 ** additional rights. These rights are described in the Nokia Qt LGPL
    24 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
    25 ** package.
     24** In addition, as a special exception, Nokia gives you certain additional
     25** rights.  These rights are described in the Nokia Qt LGPL Exception
     26** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
    2627**
    2728** GNU General Public License Usage
     
    3334** met: http://www.gnu.org/copyleft/gpl.html.
    3435**
    35 ** If you are unsure which license is appropriate for your use, please
    36 ** contact the sales department at qt-sales@nokia.com.
     36** If you have questions regarding the use of this file, please contact
     37** Nokia at qt-info@nokia.com.
    3738** $QT_END_LICENSE$
    3839**
  • trunk/tools/qvfb/qwssignalhandler.cpp

    r2 r561  
    22**
    33** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
    4 ** Contact: Qt Software Information (qt-info@nokia.com)
     4** All rights reserved.
     5** Contact: Nokia Corporation (qt-info@nokia.com)
    56**
    67** This file is part of the QtGui module of the Qt Toolkit.
     
    2122** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
    2223**
    23 ** In addition, as a special exception, Nokia gives you certain
    24 ** additional rights. These rights are described in the Nokia Qt LGPL
    25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
    26 ** package.
     24** In addition, as a special exception, Nokia gives you certain additional
     25** rights.  These rights are described in the Nokia Qt LGPL Exception
     26** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
    2727**
    2828** GNU General Public License Usage
     
    3434** met: http://www.gnu.org/copyleft/gpl.html.
    3535**
    36 ** If you are unsure which license is appropriate for your use, please
    37 ** contact the sales department at qt-sales@nokia.com.
     36** If you have questions regarding the use of this file, please contact
     37** Nokia at qt-info@nokia.com.
    3838** $QT_END_LICENSE$
    3939**
     
    4545
    4646#include <sys/types.h>
    47 #include <sys/ipc.h>
    48 #include <sys/sem.h>
     47#ifndef QT_NO_QWS_MULTIPROCESS
     48#  include <sys/ipc.h>
     49#  include <sys/sem.h>
     50#endif
    4951#include <signal.h>
    5052
  • trunk/tools/qvfb/qwssignalhandler_p.h

    r2 r561  
    22**
    33** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
    4 ** Contact: Qt Software Information (qt-info@nokia.com)
     4** All rights reserved.
     5** Contact: Nokia Corporation (qt-info@nokia.com)
    56**
    67** This file is part of the QtGui module of the Qt Toolkit.
     
    2122** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
    2223**
    23 ** In addition, as a special exception, Nokia gives you certain
    24 ** additional rights. These rights are described in the Nokia Qt LGPL
    25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
    26 ** package.
     24** In addition, as a special exception, Nokia gives you certain additional
     25** rights.  These rights are described in the Nokia Qt LGPL Exception
     26** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
    2727**
    2828** GNU General Public License Usage
     
    3434** met: http://www.gnu.org/copyleft/gpl.html.
    3535**
    36 ** If you are unsure which license is appropriate for your use, please
    37 ** contact the sales department at qt-sales@nokia.com.
     36** If you have questions regarding the use of this file, please contact
     37** Nokia at qt-info@nokia.com.
    3838** $QT_END_LICENSE$
    3939**
  • trunk/tools/qvfb/translations/translations.pro

    r2 r561  
    1010           ../qvfbshmem.h \
    1111           ../qvfbmmap.h \
    12            ../qvfbhdr.h \
    13            ../qlock_p.h \
    14            ../qwssignalhandler_p.h \
    15            ../../shared/deviceskin/deviceskin.cpp
     12           ../../../src/gui/embedded/qvfbhdr.h \
     13           ../../../src/gui/embedded/qlock_p.h \
     14           ../../../src/gui/embedded/qwssignalhandler_p.h \
     15           ../../shared/deviceskin/deviceskin.h
    1616
    1717SOURCES =  ../qvfb.cpp \
     
    2323           ../qvfbshmem.cpp \
    2424           ../qvfbmmap.cpp \
    25            ../qlock.cpp \
    26            ../qwssignalhandler.cpp \
     25           ../../../src/gui/embedded/qlock.cpp \
     26           ../../../src/gui/embedded/qwssignalhandler.cpp \
    2727           ../../shared/deviceskin/deviceskin.cpp
    2828
    29 TRANSLATIONS=$$[QT_INSTALL_TRANSLATIONS]/qvfb_pl.ts \
    30              $$[QT_INSTALL_TRANSLATIONS]/qvfb_untranslated.ts \
    31              $$[QT_INSTALL_TRANSLATIONS]/qvfb_zh_CN.ts \
    32              $$[QT_INSTALL_TRANSLATIONS]/qvfb_zh_TW.ts
     29TR_DIR = $$PWD/../../../translations
     30TRANSLATIONS = \
     31    $$TR_DIR/qvfb_pl.ts \
     32    $$TR_DIR/qvfb_ru.ts \
     33    $$TR_DIR/qvfb_zh_CN.ts \
     34    $$TR_DIR/qvfb_zh_TW.ts
  • trunk/tools/qvfb/x11keyfaker.cpp

    r2 r561  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 1992-2006 TROLLTECH ASA. All rights reserved.
    4 **
    5 ** This file is part of the Phone Edition of the Qt Toolkit.
     3** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     4** All rights reserved.
     5** Contact: Nokia Corporation (qt-info@nokia.com)
     6**
     7** This file is part of the tools module of the Qt Toolkit.
    68**
    79** $QT_BEGIN_LICENSE:LGPL$
     
    2022** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
    2123**
    22 ** In addition, as a special exception, Nokia gives you certain
    23 ** additional rights. These rights are described in the Nokia Qt LGPL
    24 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
    25 ** package.
     24** In addition, as a special exception, Nokia gives you certain additional
     25** rights.  These rights are described in the Nokia Qt LGPL Exception
     26** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
    2627**
    2728** GNU General Public License Usage
     
    3334** met: http://www.gnu.org/copyleft/gpl.html.
    3435**
    35 ** If you are unsure which license is appropriate for your use, please
    36 ** contact the sales department at qt-sales@nokia.com.
     36** If you have questions regarding the use of this file, please contact
     37** Nokia at qt-info@nokia.com.
    3738** $QT_END_LICENSE$
    3839**
  • trunk/tools/qvfb/x11keyfaker.h

    r2 r561  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 1992-2006 TROLLTECH ASA. All rights reserved.
     3** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     4** All rights reserved.
     5** Contact: Nokia Corporation (qt-info@nokia.com)
    46**
    5 ** This file is part of the Phone Edition of the Qt Toolkit.
     7** This file is part of the tools of the Qt Toolkit.
    68**
    79** $QT_BEGIN_LICENSE:LGPL$
     
    2022** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
    2123**
    22 ** In addition, as a special exception, Nokia gives you certain
    23 ** additional rights. These rights are described in the Nokia Qt LGPL
    24 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this
    25 ** package.
     24** In addition, as a special exception, Nokia gives you certain additional
     25** rights.  These rights are described in the Nokia Qt LGPL Exception
     26** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
    2627**
    2728** GNU General Public License Usage
     
    3334** met: http://www.gnu.org/copyleft/gpl.html.
    3435**
    35 ** If you are unsure which license is appropriate for your use, please
    36 ** contact the sales department at qt-sales@nokia.com.
     36** If you have questions regarding the use of this file, please contact
     37** Nokia at qt-info@nokia.com.
    3738** $QT_END_LICENSE$
    3839**
Note: See TracChangeset for help on using the changeset viewer.