tests/auto/uic3/baseline/book.ui.4
changeset 0 1918ee327afb
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 <?xml version="1.0" encoding="UTF-8"?>
       
     2 <ui version="4.0" stdsetdef="1">
       
     3   <author></author>
       
     4   <comment></comment>
       
     5   <exportmacro></exportmacro>
       
     6   <class>BookForm</class>
       
     7   <widget class="QDialog" name="BookForm">
       
     8     <property name="geometry">
       
     9       <rect>
       
    10         <x>0</x>
       
    11         <y>0</y>
       
    12         <width>490</width>
       
    13         <height>504</height>
       
    14       </rect>
       
    15     </property>
       
    16     <property name="windowTitle">
       
    17       <string>Book</string>
       
    18     </property>
       
    19     <layout class="QVBoxLayout">
       
    20       <property name="margin">
       
    21         <number>11</number>
       
    22       </property>
       
    23       <property name="spacing">
       
    24         <number>6</number>
       
    25       </property>
       
    26       <item>
       
    27         <widget class="QSplitter" name="Splitter1">
       
    28           <property name="orientation">
       
    29             <enum>Qt::Vertical</enum>
       
    30           </property>
       
    31           <widget class="Q3DataTable" name="AuthorDataTable">
       
    32             <property name="confirmDelete">
       
    33               <bool>true</bool>
       
    34             </property>
       
    35             <property name="sort">
       
    36               <stringlist>
       
    37                 <string>surname ASC</string>
       
    38                 <string>forename ASC</string>
       
    39               </stringlist>
       
    40             </property>
       
    41             <property name="database" stdset="0">
       
    42               <stringlist>
       
    43                 <string>(default)</string>
       
    44                 <string>author</string>
       
    45               </stringlist>
       
    46             </property>
       
    47             <column>
       
    48               <property name="text">
       
    49                 <string>Surname</string>
       
    50               </property>
       
    51               <property name="field">
       
    52                 <string>surname</string>
       
    53               </property>
       
    54             </column>
       
    55             <column>
       
    56               <property name="text">
       
    57                 <string>Forename</string>
       
    58               </property>
       
    59               <property name="field">
       
    60                 <string>forename</string>
       
    61               </property>
       
    62             </column>
       
    63           </widget>
       
    64           <widget class="Q3DataTable" name="BookDataTable">
       
    65             <property name="readOnly">
       
    66               <bool>true</bool>
       
    67             </property>
       
    68             <property name="sort">
       
    69               <stringlist>
       
    70                 <string>title ASC</string>
       
    71               </stringlist>
       
    72             </property>
       
    73             <property name="database" stdset="0">
       
    74               <stringlist>
       
    75                 <string>(default)</string>
       
    76                 <string>book</string>
       
    77               </stringlist>
       
    78             </property>
       
    79             <column>
       
    80               <property name="text">
       
    81                 <string>Title</string>
       
    82               </property>
       
    83               <property name="field">
       
    84                 <string>title</string>
       
    85               </property>
       
    86             </column>
       
    87             <column>
       
    88               <property name="text">
       
    89                 <string>Price</string>
       
    90               </property>
       
    91               <property name="field">
       
    92                 <string>price</string>
       
    93               </property>
       
    94             </column>
       
    95             <column>
       
    96               <property name="text">
       
    97                 <string>Notes</string>
       
    98               </property>
       
    99               <property name="field">
       
   100                 <string>notes</string>
       
   101               </property>
       
   102             </column>
       
   103           </widget>
       
   104         </widget>
       
   105       </item>
       
   106       <item>
       
   107         <layout class="QHBoxLayout">
       
   108           <property name="margin">
       
   109             <number>0</number>
       
   110           </property>
       
   111           <property name="spacing">
       
   112             <number>6</number>
       
   113           </property>
       
   114           <item>
       
   115             <widget class="QPushButton" name="EditPushButton">
       
   116               <property name="text">
       
   117                 <string>&amp;Edit Books</string>
       
   118               </property>
       
   119             </widget>
       
   120           </item>
       
   121           <item>
       
   122             <widget class="QPushButton" name="QuitPushButton">
       
   123               <property name="text">
       
   124                 <string>&amp;Quit</string>
       
   125               </property>
       
   126             </widget>
       
   127           </item>
       
   128         </layout>
       
   129       </item>
       
   130     </layout>
       
   131   </widget>
       
   132   <layoutdefault spacing="6" margin="11"/>
       
   133   <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
       
   134   <includes>
       
   135     <include location="global">qsqlrecord.h</include>
       
   136     <include location="local">editbook.h</include>
       
   137     <include location="global">q3databrowser.h</include>
       
   138   </includes>
       
   139   <connections>
       
   140     <connection>
       
   141       <sender>QuitPushButton</sender>
       
   142       <signal>clicked()</signal>
       
   143       <receiver>BookForm</receiver>
       
   144       <slot>accept()</slot>
       
   145     </connection>
       
   146     <connection>
       
   147       <sender>EditPushButton</sender>
       
   148       <signal>clicked()</signal>
       
   149       <receiver>BookForm</receiver>
       
   150       <slot>editClicked()</slot>
       
   151     </connection>
       
   152     <connection>
       
   153       <sender>AuthorDataTable</sender>
       
   154       <signal>primeInsert(QSqlRecord*)</signal>
       
   155       <receiver>BookForm</receiver>
       
   156       <slot>primeInsertAuthor(QSqlRecord*)</slot>
       
   157     </connection>
       
   158     <connection>
       
   159       <sender>AuthorDataTable</sender>
       
   160       <signal>currentChanged(QSqlRecord*)</signal>
       
   161       <receiver>BookForm</receiver>
       
   162       <slot>newCurrentAuthor(QSqlRecord*)</slot>
       
   163     </connection>
       
   164   </connections>
       
   165 </ui>