tests/auto/uic3/baseline/book.ui.4
author Eckhart Koeppen <eckhart.koppen@nokia.com>
Thu, 22 Apr 2010 16:15:11 +0300
branchRCL_3
changeset 14 8c4229025c0b
parent 0 1918ee327afb
permissions -rw-r--r--
930346f3335f271b808bd69409c708262673ba3a

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0" stdsetdef="1">
  <author></author>
  <comment></comment>
  <exportmacro></exportmacro>
  <class>BookForm</class>
  <widget class="QDialog" name="BookForm">
    <property name="geometry">
      <rect>
        <x>0</x>
        <y>0</y>
        <width>490</width>
        <height>504</height>
      </rect>
    </property>
    <property name="windowTitle">
      <string>Book</string>
    </property>
    <layout class="QVBoxLayout">
      <property name="margin">
        <number>11</number>
      </property>
      <property name="spacing">
        <number>6</number>
      </property>
      <item>
        <widget class="QSplitter" name="Splitter1">
          <property name="orientation">
            <enum>Qt::Vertical</enum>
          </property>
          <widget class="Q3DataTable" name="AuthorDataTable">
            <property name="confirmDelete">
              <bool>true</bool>
            </property>
            <property name="sort">
              <stringlist>
                <string>surname ASC</string>
                <string>forename ASC</string>
              </stringlist>
            </property>
            <property name="database" stdset="0">
              <stringlist>
                <string>(default)</string>
                <string>author</string>
              </stringlist>
            </property>
            <column>
              <property name="text">
                <string>Surname</string>
              </property>
              <property name="field">
                <string>surname</string>
              </property>
            </column>
            <column>
              <property name="text">
                <string>Forename</string>
              </property>
              <property name="field">
                <string>forename</string>
              </property>
            </column>
          </widget>
          <widget class="Q3DataTable" name="BookDataTable">
            <property name="readOnly">
              <bool>true</bool>
            </property>
            <property name="sort">
              <stringlist>
                <string>title ASC</string>
              </stringlist>
            </property>
            <property name="database" stdset="0">
              <stringlist>
                <string>(default)</string>
                <string>book</string>
              </stringlist>
            </property>
            <column>
              <property name="text">
                <string>Title</string>
              </property>
              <property name="field">
                <string>title</string>
              </property>
            </column>
            <column>
              <property name="text">
                <string>Price</string>
              </property>
              <property name="field">
                <string>price</string>
              </property>
            </column>
            <column>
              <property name="text">
                <string>Notes</string>
              </property>
              <property name="field">
                <string>notes</string>
              </property>
            </column>
          </widget>
        </widget>
      </item>
      <item>
        <layout class="QHBoxLayout">
          <property name="margin">
            <number>0</number>
          </property>
          <property name="spacing">
            <number>6</number>
          </property>
          <item>
            <widget class="QPushButton" name="EditPushButton">
              <property name="text">
                <string>&amp;Edit Books</string>
              </property>
            </widget>
          </item>
          <item>
            <widget class="QPushButton" name="QuitPushButton">
              <property name="text">
                <string>&amp;Quit</string>
              </property>
            </widget>
          </item>
        </layout>
      </item>
    </layout>
  </widget>
  <layoutdefault spacing="6" margin="11"/>
  <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
  <includes>
    <include location="global">qsqlrecord.h</include>
    <include location="local">editbook.h</include>
    <include location="global">q3databrowser.h</include>
  </includes>
  <connections>
    <connection>
      <sender>QuitPushButton</sender>
      <signal>clicked()</signal>
      <receiver>BookForm</receiver>
      <slot>accept()</slot>
    </connection>
    <connection>
      <sender>EditPushButton</sender>
      <signal>clicked()</signal>
      <receiver>BookForm</receiver>
      <slot>editClicked()</slot>
    </connection>
    <connection>
      <sender>AuthorDataTable</sender>
      <signal>primeInsert(QSqlRecord*)</signal>
      <receiver>BookForm</receiver>
      <slot>primeInsertAuthor(QSqlRecord*)</slot>
    </connection>
    <connection>
      <sender>AuthorDataTable</sender>
      <signal>currentChanged(QSqlRecord*)</signal>
      <receiver>BookForm</receiver>
      <slot>newCurrentAuthor(QSqlRecord*)</slot>
    </connection>
  </connections>
</ui>