Anki/designer/addmodel.ui
2008-09-28 00:00:49 +09:00

140 lines
3.3 KiB
XML

<ui version="4.0" >
<class>AddModel</class>
<widget class="QDialog" name="AddModel" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>388</width>
<height>363</height>
</rect>
</property>
<property name="windowTitle" >
<string>Anki</string>
</property>
<layout class="QVBoxLayout" >
<item>
<widget class="QLabel" name="label" >
<property name="text" >
<string>&lt;h1>What would you like to study?&lt;/h1></string>
</property>
<property name="alignment" >
<set>Qt::AlignCenter</set>
</property>
<property name="wordWrap" >
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupBox" >
<property name="title" >
<string/>
</property>
<layout class="QVBoxLayout" >
<item>
<widget class="QRadioButton" name="createTemplate" >
<property name="text" >
<string>A pre-made quiz style.</string>
</property>
<property name="checked" >
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QListWidget" name="models" >
<property name="font" >
<font>
<pointsize>12</pointsize>
</font>
</property>
<property name="editTriggers" >
<set>QAbstractItemView::NoEditTriggers</set>
</property>
<property name="tabKeyNavigation" >
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="createBasic" >
<property name="text" >
<string>A simple front-to-back quiz style.</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="loadOnline" >
<property name="text" >
<string>An existing online deck.</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QDialogButtonBox" name="buttonBox" >
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons" >
<set>QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>accepted()</signal>
<receiver>AddModel</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel" >
<x>266</x>
<y>353</y>
</hint>
<hint type="destinationlabel" >
<x>157</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>buttonBox</sender>
<signal>rejected()</signal>
<receiver>AddModel</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel" >
<x>334</x>
<y>353</y>
</hint>
<hint type="destinationlabel" >
<x>286</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>createTemplate</sender>
<signal>toggled(bool)</signal>
<receiver>models</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel" >
<x>217</x>
<y>71</y>
</hint>
<hint type="destinationlabel" >
<x>213</x>
<y>138</y>
</hint>
</hints>
</connection>
</connections>
</ui>