tests/auto/uic3/baseline/paletteeditor.ui
changeset 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 <!DOCTYPE UI><UI version="3.0" stdsetdef="1">
       
     2 <class>PaletteEditorBase</class>
       
     3 <comment>********************************************************************* 
       
     4 **
       
     5 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     6 ** All rights reserved.
       
     7 ** Contact: Nokia Corporation (qt-info@nokia.com)
       
     8 **
       
     9 ** This file is part of the autotests of the Qt Toolkit.
       
    10 **
       
    11 ** $QT_BEGIN_LICENSE:LGPL$
       
    12 ** No Commercial Usage
       
    13 ** This file contains pre-release code and may not be distributed.
       
    14 ** You may use this file in accordance with the terms and conditions
       
    15 ** contained in the Technology Preview License Agreement accompanying
       
    16 ** this package.
       
    17 **
       
    18 ** GNU Lesser General Public License Usage
       
    19 ** Alternatively, this file may be used under the terms of the GNU Lesser
       
    20 ** General Public License version 2.1 as published by the Free Software
       
    21 ** Foundation and appearing in the file LICENSE.LGPL included in the
       
    22 ** packaging of this file.  Please review the following information to
       
    23 ** ensure the GNU Lesser General Public License version 2.1 requirements
       
    24 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
       
    25 **
       
    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.
       
    29 **
       
    30 ** If you have questions regarding the use of this file, please contact
       
    31 ** Nokia at qt-info@nokia.com.
       
    32 **
       
    33 **
       
    34 **
       
    35 **
       
    36 **
       
    37 **
       
    38 **
       
    39 **
       
    40 ** $QT_END_LICENSE$
       
    41 **
       
    42 *********************************************************************</comment>
       
    43 <widget class="QDialog">
       
    44     <property name="name">
       
    45         <cstring>PaletteEditorBase</cstring>
       
    46     </property>
       
    47     <property name="geometry">
       
    48         <rect>
       
    49             <x>0</x>
       
    50             <y>0</y>
       
    51             <width>449</width>
       
    52             <height>443</height>
       
    53         </rect>
       
    54     </property>
       
    55     <property name="sizePolicy">
       
    56         <sizepolicy>
       
    57             <hsizetype>7</hsizetype>
       
    58             <vsizetype>7</vsizetype>
       
    59         </sizepolicy>
       
    60     </property>
       
    61     <property name="caption">
       
    62         <string>Edit Palette</string>
       
    63     </property>
       
    64     <vbox>
       
    65         <property name="name">
       
    66             <cstring>unnamed</cstring>
       
    67         </property>
       
    68         <property name="margin">
       
    69             <number>11</number>
       
    70         </property>
       
    71         <property name="spacing">
       
    72             <number>6</number>
       
    73         </property>
       
    74         <widget class="QGroupBox">
       
    75             <property name="name">
       
    76                 <cstring>groupAutoPalette</cstring>
       
    77             </property>
       
    78             <property name="sizePolicy">
       
    79                 <sizepolicy>
       
    80                     <hsizetype>5</hsizetype>
       
    81                     <vsizetype>4</vsizetype>
       
    82                 </sizepolicy>
       
    83             </property>
       
    84             <property name="title">
       
    85                 <string>Build Palette</string>
       
    86             </property>
       
    87             <property name="alignment">
       
    88                 <set>AlignAuto</set>
       
    89             </property>
       
    90             <hbox>
       
    91                 <property name="name">
       
    92                     <cstring>unnamed</cstring>
       
    93                 </property>
       
    94                 <property name="margin">
       
    95                     <number>11</number>
       
    96                 </property>
       
    97                 <property name="spacing">
       
    98                     <number>6</number>
       
    99                 </property>
       
   100                 <widget class="QLabel">
       
   101                     <property name="name">
       
   102                         <cstring>labelMainColor</cstring>
       
   103                     </property>
       
   104                     <property name="sizePolicy">
       
   105                         <sizepolicy>
       
   106                             <hsizetype>1</hsizetype>
       
   107                             <vsizetype>1</vsizetype>
       
   108                         </sizepolicy>
       
   109                     </property>
       
   110                     <property name="minimumSize">
       
   111                         <size>
       
   112                             <width>50</width>
       
   113                             <height>0</height>
       
   114                         </size>
       
   115                     </property>
       
   116                     <property name="lineWidth">
       
   117                         <number>1</number>
       
   118                     </property>
       
   119                     <property name="margin">
       
   120                         <number>0</number>
       
   121                     </property>
       
   122                     <property name="midLineWidth">
       
   123                         <number>0</number>
       
   124                     </property>
       
   125                     <property name="text">
       
   126                         <string>&amp;3-D Effects:</string>
       
   127                     </property>
       
   128                     <property name="alignment">
       
   129                         <set>AlignAuto|AlignVCenter</set>
       
   130                     </property>
       
   131                     <property name="buddy" stdset="0">
       
   132                         <cstring>buttonMainColor</cstring>
       
   133                     </property>
       
   134                 </widget>
       
   135                 <widget class="StyledButton">
       
   136                     <property name="name">
       
   137                         <cstring>buttonMainColor</cstring>
       
   138                     </property>
       
   139                     <property name="sizePolicy">
       
   140                         <sizepolicy>
       
   141                             <hsizetype>0</hsizetype>
       
   142                             <vsizetype>0</vsizetype>
       
   143                         </sizepolicy>
       
   144                     </property>
       
   145                     <property name="focusPolicy">
       
   146                         <enum>StrongFocus</enum>
       
   147                     </property>
       
   148                     <property name="scale" stdset="0">
       
   149                         <bool>false</bool>
       
   150                     </property>
       
   151                     <property name="toolTip" stdset="0">
       
   152                         <string>Choose a color</string>
       
   153                     </property>
       
   154                     <property name="whatsThis" stdset="0">
       
   155                         <string>Choose the effect-color for the generated palette.</string>
       
   156                     </property>
       
   157                 </widget>
       
   158                 <widget class="QLabel">
       
   159                     <property name="name">
       
   160                         <cstring>labelMainColor2</cstring>
       
   161                     </property>
       
   162                     <property name="sizePolicy">
       
   163                         <sizepolicy>
       
   164                             <hsizetype>1</hsizetype>
       
   165                             <vsizetype>1</vsizetype>
       
   166                         </sizepolicy>
       
   167                     </property>
       
   168                     <property name="minimumSize">
       
   169                         <size>
       
   170                             <width>50</width>
       
   171                             <height>0</height>
       
   172                         </size>
       
   173                     </property>
       
   174                     <property name="lineWidth">
       
   175                         <number>1</number>
       
   176                     </property>
       
   177                     <property name="margin">
       
   178                         <number>0</number>
       
   179                     </property>
       
   180                     <property name="midLineWidth">
       
   181                         <number>0</number>
       
   182                     </property>
       
   183                     <property name="text">
       
   184                         <string>Back&amp;ground:</string>
       
   185                     </property>
       
   186                     <property name="alignment">
       
   187                         <set>AlignAuto|AlignVCenter</set>
       
   188                     </property>
       
   189                     <property name="buddy" stdset="0">
       
   190                         <cstring>buttonMainColor2</cstring>
       
   191                     </property>
       
   192                 </widget>
       
   193                 <widget class="StyledButton">
       
   194                     <property name="name">
       
   195                         <cstring>buttonMainColor2</cstring>
       
   196                     </property>
       
   197                     <property name="sizePolicy">
       
   198                         <sizepolicy>
       
   199                             <hsizetype>0</hsizetype>
       
   200                             <vsizetype>0</vsizetype>
       
   201                         </sizepolicy>
       
   202                     </property>
       
   203                     <property name="focusPolicy">
       
   204                         <enum>StrongFocus</enum>
       
   205                     </property>
       
   206                     <property name="scale" stdset="0">
       
   207                         <bool>false</bool>
       
   208                     </property>
       
   209                     <property name="toolTip" stdset="0">
       
   210                         <string>Choose a color</string>
       
   211                     </property>
       
   212                     <property name="whatsThis" stdset="0">
       
   213                         <string>Choose the background color for the generated palette.</string>
       
   214                     </property>
       
   215                 </widget>
       
   216                 <spacer>
       
   217                     <property name="name">
       
   218                         <cstring>Spacer1</cstring>
       
   219                     </property>
       
   220                     <property name="orientation">
       
   221                         <enum>Horizontal</enum>
       
   222                     </property>
       
   223                     <property name="sizeType">
       
   224                         <enum>Expanding</enum>
       
   225                     </property>
       
   226                     <property name="sizeHint">
       
   227                         <size>
       
   228                             <width>20</width>
       
   229                             <height>20</height>
       
   230                         </size>
       
   231                     </property>
       
   232                 </spacer>
       
   233                 <widget class="QPushButton">
       
   234                     <property name="name">
       
   235                         <cstring>btnAdvanced</cstring>
       
   236                     </property>
       
   237                     <property name="text">
       
   238                         <string>&amp;Tune Palette...</string>
       
   239                     </property>
       
   240                 </widget>
       
   241             </hbox>
       
   242         </widget>
       
   243         <widget class="QGroupBox">
       
   244             <property name="name">
       
   245                 <cstring>GroupBox126</cstring>
       
   246             </property>
       
   247             <property name="sizePolicy">
       
   248                 <sizepolicy>
       
   249                     <hsizetype>5</hsizetype>
       
   250                     <vsizetype>7</vsizetype>
       
   251                 </sizepolicy>
       
   252             </property>
       
   253             <property name="title">
       
   254                 <string>Preview</string>
       
   255             </property>
       
   256             <vbox>
       
   257                 <property name="name">
       
   258                     <cstring>unnamed</cstring>
       
   259                 </property>
       
   260                 <property name="margin">
       
   261                     <number>11</number>
       
   262                 </property>
       
   263                 <property name="spacing">
       
   264                     <number>6</number>
       
   265                 </property>
       
   266                 <widget class="QLayoutWidget">
       
   267                     <property name="name">
       
   268                         <cstring>Layout2</cstring>
       
   269                     </property>
       
   270                     <hbox>
       
   271                         <property name="name">
       
   272                             <cstring>unnamed</cstring>
       
   273                         </property>
       
   274                         <property name="margin">
       
   275                             <number>0</number>
       
   276                         </property>
       
   277                         <property name="spacing">
       
   278                             <number>6</number>
       
   279                         </property>
       
   280                         <widget class="QLabel">
       
   281                             <property name="name">
       
   282                                 <cstring>TextLabel1</cstring>
       
   283                             </property>
       
   284                             <property name="text">
       
   285                                 <string>Select &amp;Palette:</string>
       
   286                             </property>
       
   287                             <property name="buddy" stdset="0">
       
   288                                 <cstring>paletteCombo</cstring>
       
   289                             </property>
       
   290                         </widget>
       
   291                         <widget class="QComboBox">
       
   292                             <item>
       
   293                                 <property name="text">
       
   294                                     <string>Active Palette</string>
       
   295                                 </property>
       
   296                             </item>
       
   297                             <item>
       
   298                                 <property name="text">
       
   299                                     <string>Inactive Palette</string>
       
   300                                 </property>
       
   301                             </item>
       
   302                             <item>
       
   303                                 <property name="text">
       
   304                                     <string>Disabled Palette</string>
       
   305                                 </property>
       
   306                             </item>
       
   307                             <property name="name">
       
   308                                 <cstring>paletteCombo</cstring>
       
   309                             </property>
       
   310                         </widget>
       
   311                     </hbox>
       
   312                 </widget>
       
   313                 <widget class="PreviewFrame">
       
   314                     <property name="name">
       
   315                         <cstring>previewFrame</cstring>
       
   316                     </property>
       
   317                     <property name="sizePolicy">
       
   318                         <sizepolicy>
       
   319                             <hsizetype>7</hsizetype>
       
   320                             <vsizetype>7</vsizetype>
       
   321                         </sizepolicy>
       
   322                     </property>
       
   323                 </widget>
       
   324             </vbox>
       
   325         </widget>
       
   326         <widget class="QLayoutWidget">
       
   327             <property name="name">
       
   328                 <cstring>Layout3</cstring>
       
   329             </property>
       
   330             <hbox>
       
   331                 <property name="name">
       
   332                     <cstring>unnamed</cstring>
       
   333                 </property>
       
   334                 <property name="margin">
       
   335                     <number>0</number>
       
   336                 </property>
       
   337                 <property name="spacing">
       
   338                     <number>6</number>
       
   339                 </property>
       
   340                 <widget class="QPushButton">
       
   341                     <property name="name">
       
   342                         <cstring>buttonHelp</cstring>
       
   343                     </property>
       
   344                     <property name="text">
       
   345                         <string>&amp;Help</string>
       
   346                     </property>
       
   347                     <property name="autoDefault">
       
   348                         <bool>true</bool>
       
   349                     </property>
       
   350                 </widget>
       
   351                 <spacer>
       
   352                     <property name="name">
       
   353                         <cstring>Horizontal Spacing11</cstring>
       
   354                     </property>
       
   355                     <property name="orientation">
       
   356                         <enum>Horizontal</enum>
       
   357                     </property>
       
   358                     <property name="sizeType">
       
   359                         <enum>Expanding</enum>
       
   360                     </property>
       
   361                     <property name="sizeHint">
       
   362                         <size>
       
   363                             <width>20</width>
       
   364                             <height>20</height>
       
   365                         </size>
       
   366                     </property>
       
   367                 </spacer>
       
   368                 <widget class="QPushButton">
       
   369                     <property name="name">
       
   370                         <cstring>buttonOk</cstring>
       
   371                     </property>
       
   372                     <property name="text">
       
   373                         <string>&amp;OK</string>
       
   374                     </property>
       
   375                     <property name="autoDefault">
       
   376                         <bool>true</bool>
       
   377                     </property>
       
   378                     <property name="default">
       
   379                         <bool>true</bool>
       
   380                     </property>
       
   381                     <property name="whatsThis" stdset="0">
       
   382                         <string>Close the dialog and apply all the changes.</string>
       
   383                     </property>
       
   384                 </widget>
       
   385                 <widget class="QPushButton">
       
   386                     <property name="name">
       
   387                         <cstring>buttonCancel</cstring>
       
   388                     </property>
       
   389                     <property name="text">
       
   390                         <string>&amp;Cancel</string>
       
   391                     </property>
       
   392                     <property name="autoDefault">
       
   393                         <bool>true</bool>
       
   394                     </property>
       
   395                     <property name="whatsThis" stdset="0">
       
   396                         <string>Close the dialog and discard any changes.</string>
       
   397                     </property>
       
   398                 </widget>
       
   399             </hbox>
       
   400         </widget>
       
   401     </vbox>
       
   402 </widget>
       
   403 <customwidgets>
       
   404     <customwidget>
       
   405         <class>StyledButton</class>
       
   406         <header location="local">styledbutton.h</header>
       
   407         <sizehint>
       
   408             <width>40</width>
       
   409             <height>25</height>
       
   410         </sizehint>
       
   411         <container>0</container>
       
   412         <sizepolicy>
       
   413             <hordata>5</hordata>
       
   414             <verdata>5</verdata>
       
   415         </sizepolicy>
       
   416         <pixmap>image0</pixmap>
       
   417         <signal>clicked()</signal>
       
   418         <signal>changed()</signal>
       
   419         <property type="Color">color</property>
       
   420         <property type="Pixmap">pixmap</property>
       
   421         <property type="Bool">scale</property>
       
   422     </customwidget>
       
   423     <customwidget>
       
   424         <class>PreviewFrame</class>
       
   425         <header location="local">previewframe.h</header>
       
   426         <sizehint>
       
   427             <width>200</width>
       
   428             <height>200</height>
       
   429         </sizehint>
       
   430         <container>0</container>
       
   431         <sizepolicy>
       
   432             <hordata>5</hordata>
       
   433             <verdata>5</verdata>
       
   434         </sizepolicy>
       
   435         <pixmap>image1</pixmap>
       
   436     </customwidget>
       
   437 </customwidgets>
       
   438 <images>
       
   439     <image name="image0">
       
   440         <data format="XPM.GZ" length="1112">789c9dd2cb8e9b301406e07d9e0225bba89a09601350d505302c5b7559a9eac23e6672b363620c0ca9faeef53949da2e2a55eab123f9e38f2f217e5e475f3e7f8cd6cf8bde0b7f8008f6c2456b3518337ffdf6e1fb62992451e8691ac5cb778be55304d1277b6e71fc12c6ab0d157222e61bd8e4c812196f6216535a13f318624a6764b2495842e99558249014c81e99c6294b69d3376291424ae9806431638cd28628183081f4489e70ce13e4852878c129ad905992f18cd291283295517a466ed32ddfa64847945bb595c80e99a739cf29d54499ab9c528b2c58c10b86344428540148400a26b8a0541241b482d215523299494a0551c9562ae409091c32e0c82351410b942aa4e22a53941e882d36e41ed966d8903b2215f215f99a6143b6442afaafff5aff485658622584a091941256948443d1cabbdd6ebf3f28753c09a9e9cdc1fe703c9e4ea19f689a0430fa4c8908082be093d08d016bbb0bbd5e7ceafade5b30de19d083b3fa9e008cd39b9fafd69495b473af7fcfb15325c1d61eea0afaf005ddf97b5295c658a866338f97591babef7340fa396c6c5ca9e7fe650807d0bf566b4262299986ba335a3b4a2cc84b69ac85b1b673037d8fabf95b023a9c09cc7530e104dd5419ed6e27083fb09a7c752db5a9bd31cde4ec634ed8a39aebbe337618c3f6fdc5dee6d8b0bb0d6b5b8b1fad43d78fe4e14e3f6aace8e29d9d736777fea3c686eee0138c9726d4d00c548df7a315ff750f7ebc5ffc04a0e5308d</data>
       
   441     </image>
       
   442     <image name="image1">
       
   443         <data format="XPM.GZ" length="646">789c6dd2c10ac2300c00d07bbf2234b7229d1be245fc04c5a3201e4615f430059d0711ff5ddb2e6bb236ec90eed134cb5a19d8ef36602af5ecdbfeeac05dda0798d3abebde87e3faa374d3807fa0d633a52d38d8de6f679fe33fc776e196f53cd010188256a3600a292882096246517815ca99884606e18044a3a40d91824820924265a7923a2e8bcd05f33db1173e002913175f2a6be6d3294871a2d95fa00e8a94ee017b69d339d90df1e77c57ea072ede6758</data>
       
   444     </image>
       
   445 </images>
       
   446 <connections>
       
   447     <connection>
       
   448         <sender>buttonMainColor2</sender>
       
   449         <signal>clicked()</signal>
       
   450         <receiver>PaletteEditorBase</receiver>
       
   451         <slot>onChoose2ndMainColor()</slot>
       
   452     </connection>
       
   453     <connection>
       
   454         <sender>paletteCombo</sender>
       
   455         <signal>activated(int)</signal>
       
   456         <receiver>PaletteEditorBase</receiver>
       
   457         <slot>paletteSelected(int)</slot>
       
   458     </connection>
       
   459     <connection>
       
   460         <sender>btnAdvanced</sender>
       
   461         <signal>clicked()</signal>
       
   462         <receiver>PaletteEditorBase</receiver>
       
   463         <slot>onTune()</slot>
       
   464     </connection>
       
   465     <connection>
       
   466         <sender>buttonOk</sender>
       
   467         <signal>clicked()</signal>
       
   468         <receiver>PaletteEditorBase</receiver>
       
   469         <slot>accept()</slot>
       
   470     </connection>
       
   471     <connection>
       
   472         <sender>buttonCancel</sender>
       
   473         <signal>clicked()</signal>
       
   474         <receiver>PaletteEditorBase</receiver>
       
   475         <slot>reject()</slot>
       
   476     </connection>
       
   477     <connection>
       
   478         <sender>buttonMainColor</sender>
       
   479         <signal>changed()</signal>
       
   480         <receiver>PaletteEditorBase</receiver>
       
   481         <slot>onChooseMainColor()</slot>
       
   482     </connection>
       
   483     <connection>
       
   484         <sender>buttonMainColor</sender>
       
   485         <signal>clicked()</signal>
       
   486         <receiver>PaletteEditorBase</receiver>
       
   487         <slot>onChooseMainColor()</slot>
       
   488     </connection>
       
   489     <connection>
       
   490         <sender>buttonMainColor2</sender>
       
   491         <signal>changed()</signal>
       
   492         <receiver>PaletteEditorBase</receiver>
       
   493         <slot>onChoose2ndMainColor()</slot>
       
   494     </connection>
       
   495     <slot access="protected" language="C++" returnType="void">init()</slot>
       
   496     <slot access="protected" language="C++" returnType="void">destroy()</slot>
       
   497     <slot access="protected" language="C++" returnType="void">onTune()</slot>
       
   498     <slot access="protected" language="C++" returnType="void">onChoose2ndMainColor()</slot>
       
   499     <slot access="protected" language="C++" returnType="void">onChooseMainColor()</slot>
       
   500     <slot access="protected" language="C++" returnType="void">paletteSelected(int)</slot>
       
   501 </connections>
       
   502 <tabstops>
       
   503     <tabstop>buttonOk</tabstop>
       
   504     <tabstop>buttonCancel</tabstop>
       
   505     <tabstop>buttonMainColor</tabstop>
       
   506     <tabstop>buttonMainColor2</tabstop>
       
   507     <tabstop>btnAdvanced</tabstop>
       
   508     <tabstop>paletteCombo</tabstop>
       
   509     <tabstop>buttonHelp</tabstop>
       
   510 </tabstops>
       
   511 </UI>