tweak model properties

This commit is contained in:
Damien Elmes 2008-12-05 22:26:46 +09:00
parent 593d80cd38
commit 993085b528

View file

@ -8,8 +8,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>448</width> <width>376</width>
<height>530</height> <height>528</height>
</rect> </rect>
</property> </property>
<property name="windowTitle" > <property name="windowTitle" >
@ -26,8 +26,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>432</width> <width>360</width>
<height>464</height> <height>462</height>
</rect> </rect>
</property> </property>
<attribute name="title" > <attribute name="title" >
@ -247,7 +247,7 @@ p, li { white-space: pre-wrap; }
<item row="1" column="1" > <item row="1" column="1" >
<widget class="QCheckBox" name="fieldUnique" > <widget class="QCheckBox" name="fieldUnique" >
<property name="text" > <property name="text" >
<string>Prevent me from entering the same thing in this field twice</string> <string>Prevent duplicates</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -271,7 +271,7 @@ p, li { white-space: pre-wrap; }
<item row="2" column="1" > <item row="2" column="1" >
<widget class="QCheckBox" name="fieldRequired" > <widget class="QCheckBox" name="fieldRequired" >
<property name="text" > <property name="text" >
<string>Prevent new cards from being added if this field is blank</string> <string>Prevent empty entries</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -285,7 +285,7 @@ p, li { white-space: pre-wrap; }
<item row="3" column="1" > <item row="3" column="1" >
<widget class="QCheckBox" name="numeric" > <widget class="QCheckBox" name="numeric" >
<property name="text" > <property name="text" >
<string>Sort this field using numeric order instead of string order</string> <string>Sort as numbers</string>
</property> </property>
</widget> </widget>
</item> </item>
@ -301,28 +301,22 @@ p, li { white-space: pre-wrap; }
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>412</width> <width>370</width>
<height>462</height> <height>462</height>
</rect> </rect>
</property> </property>
<attribute name="title" > <attribute name="title" >
<string>Cards</string> <string>Cards</string>
</attribute> </attribute>
<layout class="QVBoxLayout" > <layout class="QGridLayout" name="gridLayout_2" >
<property name="spacing" > <item row="0" column="0" >
<number>6</number>
</property>
<property name="margin" >
<number>9</number>
</property>
<item>
<widget class="QLabel" name="label_8" > <widget class="QLabel" name="label_8" >
<property name="text" > <property name="text" >
<string>&lt;h1>Card Templates&lt;/h1></string> <string>&lt;h1>Card Templates&lt;/h1></string>
</property> </property>
</widget> </widget>
</item> </item>
<item> <item row="1" column="0" >
<layout class="QHBoxLayout" > <layout class="QHBoxLayout" >
<property name="spacing" > <property name="spacing" >
<number>6</number> <number>6</number>
@ -333,9 +327,9 @@ p, li { white-space: pre-wrap; }
<item> <item>
<widget class="QListWidget" name="cardList" > <widget class="QListWidget" name="cardList" >
<property name="sizePolicy" > <property name="sizePolicy" >
<sizepolicy vsizetype="Expanding" hsizetype="Expanding" > <sizepolicy vsizetype="Preferred" hsizetype="Expanding" >
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>1</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="minimumSize" > <property name="minimumSize" >
@ -348,7 +342,7 @@ p, li { white-space: pre-wrap; }
</item> </item>
</layout> </layout>
</item> </item>
<item> <item row="2" column="0" >
<layout class="QHBoxLayout" name="horizontalLayout_2" > <layout class="QHBoxLayout" name="horizontalLayout_2" >
<item> <item>
<widget class="QPushButton" name="cardAdd" > <widget class="QPushButton" name="cardAdd" >
@ -393,8 +387,14 @@ p, li { white-space: pre-wrap; }
</item> </item>
</layout> </layout>
</item> </item>
<item> <item row="3" column="0" >
<widget class="QGroupBox" name="cardEditBox" > <widget class="QGroupBox" name="cardEditBox" >
<property name="sizePolicy" >
<sizepolicy vsizetype="MinimumExpanding" hsizetype="Preferred" >
<horstretch>0</horstretch>
<verstretch>3</verstretch>
</sizepolicy>
</property>
<property name="title" > <property name="title" >
<string/> <string/>
</property> </property>