tests/auto/uic3/baseline/ambientproperties.ui
changeset 0 1918ee327afb
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 <!DOCTYPE UI><UI version="3.0" stdsetdef="1">
       
     2 <class>AmbientProperties</class>
       
     3 <widget class="QDialog">
       
     4     <property name="name">
       
     5         <cstring>AmbientProperties</cstring>
       
     6     </property>
       
     7     <property name="geometry">
       
     8         <rect>
       
     9             <x>0</x>
       
    10             <y>0</y>
       
    11             <width>185</width>
       
    12             <height>173</height>
       
    13         </rect>
       
    14     </property>
       
    15     <property name="caption">
       
    16         <string>Change Ambient Properties</string>
       
    17     </property>
       
    18     <vbox>
       
    19         <property name="name">
       
    20             <cstring>unnamed</cstring>
       
    21         </property>
       
    22         <property name="margin">
       
    23             <number>11</number>
       
    24         </property>
       
    25         <property name="spacing">
       
    26             <number>6</number>
       
    27         </property>
       
    28         <widget class="QGroupBox">
       
    29             <property name="name">
       
    30                 <cstring>boxProperties</cstring>
       
    31             </property>
       
    32             <property name="title">
       
    33                 <string>&amp;Properties</string>
       
    34             </property>
       
    35             <grid>
       
    36                 <property name="name">
       
    37                     <cstring>unnamed</cstring>
       
    38                 </property>
       
    39                 <property name="margin">
       
    40                     <number>11</number>
       
    41                 </property>
       
    42                 <property name="spacing">
       
    43                     <number>6</number>
       
    44                 </property>
       
    45                 <widget class="QLabel" row="0" column="0">
       
    46                     <property name="name">
       
    47                         <cstring>TextLabel1</cstring>
       
    48                     </property>
       
    49                     <property name="text">
       
    50                         <string>Background:</string>
       
    51                     </property>
       
    52                 </widget>
       
    53                 <widget class="QLabel" row="1" column="0">
       
    54                     <property name="name">
       
    55                         <cstring>TextLabel2</cstring>
       
    56                     </property>
       
    57                     <property name="text">
       
    58                         <string>Foreground:</string>
       
    59                     </property>
       
    60                 </widget>
       
    61                 <widget class="QLabel" row="2" column="0">
       
    62                     <property name="name">
       
    63                         <cstring>TextLabel3</cstring>
       
    64                     </property>
       
    65                     <property name="text">
       
    66                         <string>Font:</string>
       
    67                     </property>
       
    68                 </widget>
       
    69                 <widget class="QLabel" row="3" column="0">
       
    70                     <property name="name">
       
    71                         <cstring>TextLabel4</cstring>
       
    72                     </property>
       
    73                     <property name="text">
       
    74                         <string>Enabled:</string>
       
    75                     </property>
       
    76                 </widget>
       
    77                 <widget class="QFrame" row="1" column="1">
       
    78                     <property name="name">
       
    79                         <cstring>foreSample</cstring>
       
    80                     </property>
       
    81                     <property name="frameShape">
       
    82                         <enum>StyledPanel</enum>
       
    83                     </property>
       
    84                     <property name="frameShadow">
       
    85                         <enum>Raised</enum>
       
    86                     </property>
       
    87                 </widget>
       
    88                 <widget class="QFrame" row="0" column="1">
       
    89                     <property name="name">
       
    90                         <cstring>backSample</cstring>
       
    91                     </property>
       
    92                     <property name="frameShape">
       
    93                         <enum>StyledPanel</enum>
       
    94                     </property>
       
    95                     <property name="frameShadow">
       
    96                         <enum>Raised</enum>
       
    97                     </property>
       
    98                 </widget>
       
    99                 <widget class="QToolButton" row="0" column="2">
       
   100                     <property name="name">
       
   101                         <cstring>backButton</cstring>
       
   102                     </property>
       
   103                     <property name="sizePolicy">
       
   104                         <sizepolicy>
       
   105                             <hsizetype>5</hsizetype>
       
   106                             <vsizetype>1</vsizetype>
       
   107                             <horstretch>0</horstretch>
       
   108                             <verstretch>0</verstretch>
       
   109                         </sizepolicy>
       
   110                     </property>
       
   111                     <property name="text">
       
   112                         <string>...</string>
       
   113                     </property>
       
   114                 </widget>
       
   115                 <widget class="QToolButton" row="1" column="2">
       
   116                     <property name="name">
       
   117                         <cstring>foreButton</cstring>
       
   118                     </property>
       
   119                     <property name="sizePolicy">
       
   120                         <sizepolicy>
       
   121                             <hsizetype>5</hsizetype>
       
   122                             <vsizetype>1</vsizetype>
       
   123                             <horstretch>0</horstretch>
       
   124                             <verstretch>0</verstretch>
       
   125                         </sizepolicy>
       
   126                     </property>
       
   127                     <property name="text">
       
   128                         <string>...</string>
       
   129                     </property>
       
   130                 </widget>
       
   131                 <widget class="QToolButton" row="2" column="2">
       
   132                     <property name="name">
       
   133                         <cstring>fontButton</cstring>
       
   134                     </property>
       
   135                     <property name="sizePolicy">
       
   136                         <sizepolicy>
       
   137                             <hsizetype>5</hsizetype>
       
   138                             <vsizetype>1</vsizetype>
       
   139                             <horstretch>0</horstretch>
       
   140                             <verstretch>0</verstretch>
       
   141                         </sizepolicy>
       
   142                     </property>
       
   143                     <property name="text">
       
   144                         <string>...</string>
       
   145                     </property>
       
   146                 </widget>
       
   147                 <widget class="QFrame" row="3" column="1">
       
   148                     <property name="name">
       
   149                         <cstring>Frame6</cstring>
       
   150                     </property>
       
   151                     <property name="frameShape">
       
   152                         <enum>StyledPanel</enum>
       
   153                     </property>
       
   154                     <property name="frameShadow">
       
   155                         <enum>Raised</enum>
       
   156                     </property>
       
   157                     <hbox>
       
   158                         <property name="name">
       
   159                             <cstring>unnamed</cstring>
       
   160                         </property>
       
   161                         <property name="margin">
       
   162                             <number>0</number>
       
   163                         </property>
       
   164                         <property name="spacing">
       
   165                             <number>0</number>
       
   166                         </property>
       
   167                         <widget class="QLabel">
       
   168                             <property name="name">
       
   169                                 <cstring>enabledSample</cstring>
       
   170                             </property>
       
   171                             <property name="enabled">
       
   172                                 <bool>true</bool>
       
   173                             </property>
       
   174                             <property name="text">
       
   175                                 <string>&lt;sample&gt;</string>
       
   176                             </property>
       
   177                         </widget>
       
   178                     </hbox>
       
   179                 </widget>
       
   180                 <widget class="QToolButton" row="3" column="2">
       
   181                     <property name="name">
       
   182                         <cstring>enabledButton</cstring>
       
   183                     </property>
       
   184                     <property name="sizePolicy">
       
   185                         <sizepolicy>
       
   186                             <hsizetype>5</hsizetype>
       
   187                             <vsizetype>1</vsizetype>
       
   188                             <horstretch>0</horstretch>
       
   189                             <verstretch>0</verstretch>
       
   190                         </sizepolicy>
       
   191                     </property>
       
   192                     <property name="text">
       
   193                         <string>...</string>
       
   194                     </property>
       
   195                     <property name="toggleButton">
       
   196                         <bool>true</bool>
       
   197                     </property>
       
   198                 </widget>
       
   199                 <widget class="QFrame" row="2" column="1">
       
   200                     <property name="name">
       
   201                         <cstring>fontSample</cstring>
       
   202                     </property>
       
   203                     <property name="frameShape">
       
   204                         <enum>StyledPanel</enum>
       
   205                     </property>
       
   206                     <property name="frameShadow">
       
   207                         <enum>Raised</enum>
       
   208                     </property>
       
   209                     <hbox>
       
   210                         <property name="name">
       
   211                             <cstring>unnamed</cstring>
       
   212                         </property>
       
   213                         <property name="margin">
       
   214                             <number>0</number>
       
   215                         </property>
       
   216                         <property name="spacing">
       
   217                             <number>6</number>
       
   218                         </property>
       
   219                         <widget class="QLabel">
       
   220                             <property name="name">
       
   221                                 <cstring>TextLabel6</cstring>
       
   222                             </property>
       
   223                             <property name="text">
       
   224                                 <string>&lt;sample&gt;</string>
       
   225                             </property>
       
   226                         </widget>
       
   227                     </hbox>
       
   228                 </widget>
       
   229             </grid>
       
   230         </widget>
       
   231         <widget class="QLayoutWidget">
       
   232             <property name="name">
       
   233                 <cstring>Layout5</cstring>
       
   234             </property>
       
   235             <hbox>
       
   236                 <property name="name">
       
   237                     <cstring>unnamed</cstring>
       
   238                 </property>
       
   239                 <property name="margin">
       
   240                     <number>0</number>
       
   241                 </property>
       
   242                 <property name="spacing">
       
   243                     <number>6</number>
       
   244                 </property>
       
   245                 <spacer>
       
   246                     <property name="name">
       
   247                         <cstring>Spacer3</cstring>
       
   248                     </property>
       
   249                     <property name="orientation">
       
   250                         <enum>Horizontal</enum>
       
   251                     </property>
       
   252                     <property name="sizeType">
       
   253                         <enum>Expanding</enum>
       
   254                     </property>
       
   255                 </spacer>
       
   256                 <widget class="QPushButton">
       
   257                     <property name="name">
       
   258                         <cstring>PushButton3</cstring>
       
   259                     </property>
       
   260                     <property name="text">
       
   261                         <string>C&amp;lose</string>
       
   262                     </property>
       
   263                 </widget>
       
   264             </hbox>
       
   265         </widget>
       
   266     </vbox>
       
   267 </widget>
       
   268 <connections>
       
   269     <connection>
       
   270         <sender>PushButton3</sender>
       
   271         <signal>clicked()</signal>
       
   272         <receiver>AmbientProperties</receiver>
       
   273         <slot>close()</slot>
       
   274     </connection>
       
   275     <connection>
       
   276         <sender>backButton</sender>
       
   277         <signal>clicked()</signal>
       
   278         <receiver>AmbientProperties</receiver>
       
   279         <slot>backColor()</slot>
       
   280     </connection>
       
   281     <connection>
       
   282         <sender>foreButton</sender>
       
   283         <signal>clicked()</signal>
       
   284         <receiver>AmbientProperties</receiver>
       
   285         <slot>foreColor()</slot>
       
   286     </connection>
       
   287     <connection>
       
   288         <sender>fontButton</sender>
       
   289         <signal>clicked()</signal>
       
   290         <receiver>AmbientProperties</receiver>
       
   291         <slot>pickFont()</slot>
       
   292     </connection>
       
   293     <connection>
       
   294         <sender>enabledButton</sender>
       
   295         <signal>toggled(bool)</signal>
       
   296         <receiver>AmbientProperties</receiver>
       
   297         <slot>toggleEnabled(bool)</slot>
       
   298     </connection>
       
   299 </connections>
       
   300 <includes>
       
   301     <include location="global" impldecl="in implementation">qfontdialog.h</include>
       
   302     <include location="global" impldecl="in implementation">qaxwidget.h</include>
       
   303     <include location="global" impldecl="in implementation">qcolordialog.h</include>
       
   304     <include location="local" impldecl="in implementation">ambientproperties.ui.h</include>
       
   305 </includes>
       
   306 <variables>
       
   307     <variable>QWidget *container;</variable>
       
   308 </variables>
       
   309 <slots>
       
   310     <slot>init()</slot>
       
   311     <slot>setControl( QWidget * widget )</slot>
       
   312     <slot>backColor()</slot>
       
   313     <slot>foreColor()</slot>
       
   314     <slot>pickFont()</slot>
       
   315     <slot>toggleEnabled( bool on )</slot>
       
   316 </slots>
       
   317 <pixmapinproject/>
       
   318 <layoutdefaults spacing="6" margin="11"/>
       
   319 </UI>