Remove unused actions from ui files (#1655)
* Remove redundant actions in add dialog * Remove unused actions from main and browser
This commit is contained in:
parent
95dbf30fb9
commit
cc91017bf1
@ -88,386 +88,13 @@
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>750</width>
|
||||
<height>26</height>
|
||||
<height>22</height>
|
||||
</rect>
|
||||
</property>
|
||||
</widget>
|
||||
<action name="actionReschedule">
|
||||
<property name="text">
|
||||
<string notr="true">QT_ACCEL_RESCHEDULE</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionSelectAll">
|
||||
<property name="text">
|
||||
<string>qt_accel_select_all</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string notr="true">Ctrl+Alt+A</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionUndo">
|
||||
<property name="text">
|
||||
<string>qt_accel_undo</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string notr="true">Ctrl+Z</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionInvertSelection">
|
||||
<property name="text">
|
||||
<string>qt_accel_invert_selection</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string notr="true">Ctrl+Alt+S</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionFind">
|
||||
<property name="text">
|
||||
<string>qt_accel_find</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string notr="true">Ctrl+F</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionNote">
|
||||
<property name="text">
|
||||
<string>qt_accel_note</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string notr="true">Ctrl+Shift+N</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionNextCard">
|
||||
<property name="text">
|
||||
<string>qt_accel_next_card</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string notr="true">Ctrl+N</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionPreviousCard">
|
||||
<property name="text">
|
||||
<string>qt_accel_previous_card</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string notr="true">Ctrl+P</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionGuide">
|
||||
<property name="text">
|
||||
<string>qt_accel_guide</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string notr="true">F1</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionChangeModel">
|
||||
<property name="text">
|
||||
<string>browsing_change_note_type2</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string notr="true">Ctrl+Shift+M</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionSelectNotes">
|
||||
<property name="text">
|
||||
<string>qt_accel_select_notes</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionFindReplace">
|
||||
<property name="text">
|
||||
<string>qt_accel_find_and_replace</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string notr="true">Ctrl+Alt+F</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionSidebarFilter">
|
||||
<property name="text">
|
||||
<string>qt_accel_filter</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string notr="true">Ctrl+Shift+F</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionCardList">
|
||||
<property name="text">
|
||||
<string>browsing_card_list</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string notr="true">Ctrl+Shift+L</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionFindDuplicates">
|
||||
<property name="text">
|
||||
<string>qt_accel_find_duplicates</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionReposition">
|
||||
<property name="text">
|
||||
<string>browsing_reposition</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string notr="true">Ctrl+Shift+S</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionFirstCard">
|
||||
<property name="text">
|
||||
<string>browsing_first_card</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string notr="true">Home</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionLastCard">
|
||||
<property name="text">
|
||||
<string>browsing_last_card</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string notr="true">End</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionClose">
|
||||
<property name="text">
|
||||
<string>actions_close</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string notr="true">Ctrl+W</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="action_Info">
|
||||
<property name="text">
|
||||
<string>qt_accel_info</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string notr="true">Ctrl+Shift+I</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionAdd_Tags">
|
||||
<property name="text">
|
||||
<string>browsing_add_tags2</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string notr="true">Ctrl+Shift+A</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionRemove_Tags">
|
||||
<property name="text">
|
||||
<string>browsing_remove_tags</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string notr="true">Ctrl+Alt+Shift+A</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionToggle_Suspend">
|
||||
<property name="checkable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>browsing_toggle_suspend</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string notr="true">Ctrl+J</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionDelete">
|
||||
<property name="text">
|
||||
<string>actions_delete</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string notr="true">Ctrl+Del</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionAdd">
|
||||
<property name="text">
|
||||
<string>browsing_add_notes</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string notr="true">Ctrl+E</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionChange_Deck">
|
||||
<property name="text">
|
||||
<string>browsing_change_deck2</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string notr="true">Ctrl+D</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionRed_Flag">
|
||||
<property name="checkable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>actions_flag_red</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string notr="true">Ctrl+1</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionOrange_Flag">
|
||||
<property name="checkable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>actions_flag_orange</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string notr="true">Ctrl+2</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionGreen_Flag">
|
||||
<property name="checkable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>actions_flag_green</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string notr="true">Ctrl+3</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionBlue_Flag">
|
||||
<property name="checkable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>actions_flag_blue</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string notr="true">Ctrl+4</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionSidebar">
|
||||
<property name="text">
|
||||
<string>browsing_sidebar</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string notr="true">Ctrl+Shift+R</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionClear_Unused_Tags">
|
||||
<property name="text">
|
||||
<string>browsing_clear_unused_tags</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionManage_Note_Types">
|
||||
<property name="text">
|
||||
<string>browsing_manage_note_types</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionToggle_Mark">
|
||||
<property name="checkable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>browsing_toggle_mark</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string notr="true">Ctrl+K</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionExport">
|
||||
<property name="text">
|
||||
<string>qt_accel_export_notes</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string notr="true">Ctrl+Shift+E</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionCreateFilteredDeck">
|
||||
<property name="text">
|
||||
<string>qt_misc_create_filtered_deck</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string notr="true">Ctrl+G</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="action_set_due_date">
|
||||
<property name="text">
|
||||
<string>qt_accel_set_due_date</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string notr="true">Ctrl+Shift+D</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="action_forget">
|
||||
<property name="text">
|
||||
<string>qt_accel_forget</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string notr="true">Ctrl+Alt+N</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="action_toggle_mode">
|
||||
<property name="text">
|
||||
<string>browsing_toggle_showing_cards_notes</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string notr="true">Alt+T</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionRedo">
|
||||
<property name="text">
|
||||
<string>qt_accel_redo</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string notr="true">Ctrl+Shift+Z</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionPink_Flag">
|
||||
<property name="checkable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>actions_flag_pink</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string notr="true">Ctrl+5</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionTurquoise_Flag">
|
||||
<property name="checkable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>actions_flag_turquoise</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string notr="true">Ctrl+6</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionPurple_Flag">
|
||||
<property name="checkable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>actions_flag_purple</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string notr="true">Ctrl+7</string>
|
||||
</property>
|
||||
</action>
|
||||
</widget>
|
||||
<resources>
|
||||
<include location="icons.qrc"/>
|
||||
</resources>
|
||||
<connections>
|
||||
<connection>
|
||||
<sender>actionClose</sender>
|
||||
<signal>triggered()</signal>
|
||||
<receiver>Dialog</receiver>
|
||||
<slot>close()</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
<x>-1</x>
|
||||
<y>-1</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel">
|
||||
<x>374</x>
|
||||
<y>199</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
</connections>
|
||||
<connections/>
|
||||
</ui>
|
||||
|
@ -306,11 +306,6 @@
|
||||
<addaction name="menuJump"/>
|
||||
<addaction name="menu_Help"/>
|
||||
</widget>
|
||||
<action name="actionReschedule">
|
||||
<property name="text">
|
||||
<string notr="true">QT_ACCEL_RESCHEDULE</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionSelectAll">
|
||||
<property name="text">
|
||||
<string>qt_accel_select_all</string>
|
||||
|
@ -26,7 +26,7 @@
|
||||
<string notr="true">Anki</string>
|
||||
</property>
|
||||
<property name="windowIcon">
|
||||
<iconset resource="icons.qrc">
|
||||
<iconset>
|
||||
<normaloff>:/icons/anki.png</normaloff>:/icons/anki.png</iconset>
|
||||
</property>
|
||||
<widget class="QWidget" name="centralwidget">
|
||||
@ -46,7 +46,7 @@
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>667</width>
|
||||
<height>24</height>
|
||||
<height>22</height>
|
||||
</rect>
|
||||
</property>
|
||||
<widget class="QMenu" name="menuHelp">
|
||||
@ -146,24 +146,11 @@
|
||||
<string>qt_misc_check_the_files_in_the_media</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionOpenPluginFolder">
|
||||
<property name="text">
|
||||
<string>qt_accel_open_addons_folder</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionDonate">
|
||||
<property name="text">
|
||||
<string>qt_accel_support_anki</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionDownloadSharedPlugin">
|
||||
<property name="text">
|
||||
<string>qt_accel_browse_and_install</string>
|
||||
</property>
|
||||
<property name="statusTip">
|
||||
<string/>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionFullDatabaseCheck">
|
||||
<property name="text">
|
||||
<string>qt_accel_check_database</string>
|
||||
|
Loading…
Reference in New Issue
Block a user