mirror of
https://github.com/ankitects/anki.git
synced 2025-09-22 16:02:23 -04:00
397 lines
12 KiB
XML
397 lines
12 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>462</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle" >
|
|
<string>Edit Items</string>
|
|
</property>
|
|
<widget class="QWidget" name="centralwidget" >
|
|
<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="verticalLayout_2" >
|
|
<item>
|
|
<widget class="QSplitter" name="splitter2" >
|
|
<property name="orientation" >
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<widget class="QWidget" native="1" name="fieldsArea" >
|
|
<property name="sizePolicy" >
|
|
<sizepolicy vsizetype="Expanding" hsizetype="Preferred" >
|
|
<horstretch>7</horstretch>
|
|
<verstretch>2</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
</widget>
|
|
<widget class="QGroupBox" name="cardInfoGroup" >
|
|
<property name="title" >
|
|
<string>Current Card</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_4" >
|
|
<property name="spacing" >
|
|
<number>0</number>
|
|
</property>
|
|
<property name="margin" >
|
|
<number>4</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>
|
|
</widget>
|
|
</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>24</height>
|
|
</rect>
|
|
</property>
|
|
<widget class="QMenu" name="menuEdit" >
|
|
<property name="title" >
|
|
<string>&Edit</string>
|
|
</property>
|
|
<addaction name="actionUndo" />
|
|
<addaction name="actionRedo" />
|
|
<addaction name="separator" />
|
|
<addaction name="actionSelectAll" />
|
|
<addaction name="actionSelectFacts" />
|
|
<addaction name="actionInvertSelection" />
|
|
<addaction name="actionReverseOrder" />
|
|
</widget>
|
|
<widget class="QMenu" name="menuActions" >
|
|
<property name="title" >
|
|
<string>&Actions</string>
|
|
</property>
|
|
<addaction name="actionAddTag" />
|
|
<addaction name="actionDeleteTag" />
|
|
<addaction name="separator" />
|
|
<addaction name="actionAddCards" />
|
|
<addaction name="actionChangeTemplate" />
|
|
<addaction name="separator" />
|
|
<addaction name="actionReschedule" />
|
|
<addaction name="actionDelete" />
|
|
</widget>
|
|
<widget class="QMenu" name="menuJump" >
|
|
<property name="title" >
|
|
<string>&Go</string>
|
|
</property>
|
|
<addaction name="actionFind" />
|
|
<addaction name="actionFact" />
|
|
<addaction name="separator" />
|
|
<addaction name="actionFirstCard" />
|
|
<addaction name="actionPreviousCard" />
|
|
<addaction name="actionNextCard" />
|
|
<addaction name="actionLastCard" />
|
|
</widget>
|
|
<addaction name="menuActions" />
|
|
<addaction name="menuEdit" />
|
|
<addaction name="menuJump" />
|
|
</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>&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>&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>Generate &Cards...</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionReschedule" >
|
|
<property name="icon" >
|
|
<iconset resource="../icons.qrc" >
|
|
<normaloff>:/icons/edit-undo.png</normaloff>:/icons/edit-undo.png</iconset>
|
|
</property>
|
|
<property name="text" >
|
|
<string>&Reschedule...</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionSelectAll" >
|
|
<property name="text" >
|
|
<string>Select &All</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionSelectFacts" >
|
|
<property name="text" >
|
|
<string>Select &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>&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>&Redo</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionInvertSelection" >
|
|
<property name="text" >
|
|
<string>&Invert Selection</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionFind" >
|
|
<property name="icon" >
|
|
<iconset resource="../icons.qrc" >
|
|
<normaloff>:/icons/document-preview.png</normaloff>:/icons/document-preview.png</iconset>
|
|
</property>
|
|
<property name="text" >
|
|
<string>&Find</string>
|
|
</property>
|
|
<property name="shortcut" >
|
|
<string>Ctrl+F</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionFact" >
|
|
<property name="icon" >
|
|
<iconset resource="../icons.qrc" >
|
|
<normaloff>:/icons/Anki_Fact.png</normaloff>:/icons/Anki_Fact.png</iconset>
|
|
</property>
|
|
<property name="text" >
|
|
<string>F&act</string>
|
|
</property>
|
|
<property name="shortcut" >
|
|
<string>Ctrl+Shift+F</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionNextCard" >
|
|
<property name="icon" >
|
|
<iconset resource="../icons.qrc" >
|
|
<normaloff>:/icons/go-next.png</normaloff>:/icons/go-next.png</iconset>
|
|
</property>
|
|
<property name="text" >
|
|
<string>&Next Card</string>
|
|
</property>
|
|
<property name="shortcut" >
|
|
<string>Ctrl+N</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionPreviousCard" >
|
|
<property name="icon" >
|
|
<iconset resource="../icons.qrc" >
|
|
<normaloff>:/icons/go-previous.png</normaloff>:/icons/go-previous.png</iconset>
|
|
</property>
|
|
<property name="text" >
|
|
<string>&Previous Card</string>
|
|
</property>
|
|
<property name="shortcut" >
|
|
<string>Ctrl+P</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionFirstCard" >
|
|
<property name="icon" >
|
|
<iconset resource="../icons.qrc" >
|
|
<normaloff>:/icons/go-first.png</normaloff>:/icons/go-first.png</iconset>
|
|
</property>
|
|
<property name="text" >
|
|
<string>F&irst Card</string>
|
|
</property>
|
|
<property name="shortcut" >
|
|
<string>Ctrl+Home</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionLastCard" >
|
|
<property name="icon" >
|
|
<iconset resource="../icons.qrc" >
|
|
<normaloff>:/icons/go-last.png</normaloff>:/icons/go-last.png</iconset>
|
|
</property>
|
|
<property name="text" >
|
|
<string>&Last Card</string>
|
|
</property>
|
|
<property name="shortcut" >
|
|
<string>Ctrl+End</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionChangeTemplate" >
|
|
<property name="text" >
|
|
<string>Change &Template...</string>
|
|
</property>
|
|
</action>
|
|
<action name="actionReverseOrder" >
|
|
<property name="checkable" >
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text" >
|
|
<string>Reverse &Order</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>
|