Anki/designer/cardlist.ui
2008-12-05 12:54:33 +09:00

309 lines
8.8 KiB
XML

<ui version="4.0" >
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>599</width>
<height>602</height>
</rect>
</property>
<property name="windowTitle" >
<string>Edit Items</string>
</property>
<widget class="QWidget" name="centralwidget" >
<property name="geometry" >
<rect>
<x>0</x>
<y>23</y>
<width>599</width>
<height>579</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout" >
<property name="spacing" >
<number>0</number>
</property>
<property name="leftMargin" >
<number>4</number>
</property>
<property name="topMargin" >
<number>0</number>
</property>
<property name="rightMargin" >
<number>4</number>
</property>
<property name="bottomMargin" >
<number>4</number>
</property>
<item>
<layout class="QHBoxLayout" name="hlayout1" >
<property name="spacing" >
<number>4</number>
</property>
<property name="leftMargin" >
<number>0</number>
</property>
<property name="topMargin" >
<number>0</number>
</property>
<property name="rightMargin" >
<number>0</number>
</property>
<property name="bottomMargin" >
<number>4</number>
</property>
<item>
<widget class="QLineEdit" name="filterEdit" >
<property name="text" >
<string/>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="tagList" />
</item>
<item>
<widget class="QComboBox" name="sortBox" />
</item>
</layout>
</item>
<item>
<widget class="QSplitter" name="splitter" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
</property>
<widget class="QTableView" name="tableView" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Expanding" hsizetype="Expanding" >
<horstretch>0</horstretch>
<verstretch>4</verstretch>
</sizepolicy>
</property>
<property name="contextMenuPolicy" >
<enum>Qt::ActionsContextMenu</enum>
</property>
<property name="frameShape" >
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow" >
<enum>QFrame::Plain</enum>
</property>
<property name="horizontalScrollBarPolicy" >
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
<property name="editTriggers" >
<set>QAbstractItemView::NoEditTriggers</set>
</property>
<property name="tabKeyNavigation" >
<bool>false</bool>
</property>
<property name="alternatingRowColors" >
<bool>true</bool>
</property>
<property name="selectionBehavior" >
<enum>QAbstractItemView::SelectRows</enum>
</property>
</widget>
<widget class="QFrame" name="frame" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
<horstretch>0</horstretch>
<verstretch>2</verstretch>
</sizepolicy>
</property>
<property name="frameShape" >
<enum>QFrame::NoFrame</enum>
</property>
<property name="frameShadow" >
<enum>QFrame::Raised</enum>
</property>
<layout class="QVBoxLayout" name="_5" >
<property name="spacing" >
<number>0</number>
</property>
<property name="margin" >
<number>0</number>
</property>
<item>
<layout class="QGridLayout" name="_6" >
<property name="margin" >
<number>0</number>
</property>
<property name="spacing" >
<number>6</number>
</property>
<item row="0" column="0" >
<widget class="QWidget" native="1" name="fieldsArea" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Expanding" hsizetype="Preferred" >
<horstretch>7</horstretch>
<verstretch>2</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QGroupBox" name="cardInfoGroup" >
<property name="title" >
<string>Current Card</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_4" >
<property name="rightMargin" >
<number>0</number>
</property>
<item>
<widget class="QLabel" name="cardLabel" >
<property name="text" >
<string/>
</property>
<property name="alignment" >
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menubar" >
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>599</width>
<height>23</height>
</rect>
</property>
<widget class="QMenu" name="menuEdit" >
<property name="title" >
<string>&amp;Edit</string>
</property>
<addaction name="actionUndo" />
<addaction name="actionRedo" />
<addaction name="separator" />
<addaction name="actionSelectAll" />
<addaction name="actionSelectFacts" />
</widget>
<widget class="QMenu" name="menuActions" >
<property name="title" >
<string>&amp;Actions</string>
</property>
<addaction name="actionAddTag" />
<addaction name="actionDeleteTag" />
<addaction name="separator" />
<addaction name="actionAddCards" />
<addaction name="separator" />
<addaction name="actionResetProgress" />
<addaction name="actionDelete" />
</widget>
<addaction name="menuActions" />
<addaction name="menuEdit" />
</widget>
<action name="actionDelete" >
<property name="icon" >
<iconset resource="../icons.qrc" >
<normaloff>:/icons/editdelete.png</normaloff>:/icons/editdelete.png</iconset>
</property>
<property name="text" >
<string>Delete</string>
</property>
<property name="shortcut" >
<string>Del</string>
</property>
</action>
<action name="actionAddTag" >
<property name="icon" >
<iconset resource="../icons.qrc" >
<normaloff>:/icons/Anki_Add_Tag.png</normaloff>:/icons/Anki_Add_Tag.png</iconset>
</property>
<property name="text" >
<string>&amp;Add Tag...</string>
</property>
</action>
<action name="actionDeleteTag" >
<property name="icon" >
<iconset resource="../icons.qrc" >
<normaloff>:/icons/Anki_Del_Tag.png</normaloff>:/icons/Anki_Del_Tag.png</iconset>
</property>
<property name="text" >
<string>&amp;Delete Tag...</string>
</property>
</action>
<action name="actionAddCards" >
<property name="icon" >
<iconset resource="../icons.qrc" >
<normaloff>:/icons/Anki_Card.png</normaloff>:/icons/Anki_Card.png</iconset>
</property>
<property name="text" >
<string>Add &amp;Cards...</string>
</property>
</action>
<action name="actionResetProgress" >
<property name="icon" >
<iconset resource="../icons.qrc" >
<normaloff>:/icons/edit-undo.png</normaloff>:/icons/edit-undo.png</iconset>
</property>
<property name="text" >
<string>Reset Progress</string>
</property>
</action>
<action name="actionSelectAll" >
<property name="text" >
<string>Select &amp;All</string>
</property>
</action>
<action name="actionSelectFacts" >
<property name="text" >
<string>Select &amp;Facts</string>
</property>
</action>
<action name="actionUndo" >
<property name="icon" >
<iconset resource="../icons.qrc" >
<normaloff>:/icons/edit-undo.png</normaloff>:/icons/edit-undo.png</iconset>
</property>
<property name="text" >
<string>&amp;Undo</string>
</property>
</action>
<action name="actionRedo" >
<property name="icon" >
<iconset resource="../icons.qrc" >
<normaloff>:/icons/edit-redo.png</normaloff>:/icons/edit-redo.png</iconset>
</property>
<property name="text" >
<string>&amp;Redo</string>
</property>
</action>
</widget>
<resources>
<include location="../icons.qrc" />
</resources>
<connections>
<connection>
<sender>actionSelectAll</sender>
<signal>triggered()</signal>
<receiver>tableView</receiver>
<slot>selectAll()</slot>
<hints>
<hint type="sourcelabel" >
<x>-1</x>
<y>-1</y>
</hint>
<hint type="destinationlabel" >
<x>299</x>
<y>279</y>
</hint>
</hints>
</connection>
</connections>
</ui>